@duetds/components 10.0.0-alpha.2 → 10.0.0-alpha.4

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 (730) hide show
  1. package/hydrate/index.js +818 -323
  2. package/lib/cjs/{a11y-utils-8177cf00.js → a11y-utils-5ac97fdd.js} +1 -1
  3. package/lib/cjs/{app-globals-718a3704.js → app-globals-087a6bf3.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-button_2.cjs.entry.js +16 -13
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +17 -47
  13. package/lib/cjs/duet-card.cjs.entry.js +10 -7
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +4 -4
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-chip_3.cjs.entry.js +9 -9
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +11 -11
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +12 -7
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +507 -14
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +7 -7
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +5 -5
  30. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-hero.cjs.entry.js +8 -8
  32. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  33. package/lib/cjs/duet-input_2.cjs.entry.js +12 -12
  34. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  35. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-modal.cjs.entry.js +10 -10
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
  44. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
  46. package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
  47. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -17
  50. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +6 -6
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +50 -50
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  56. package/lib/cjs/duet-select.cjs.entry.js +8 -8
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  58. package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
  63. package/lib/cjs/duet-slideout.cjs.entry.js +21 -18
  64. package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
  70. package/lib/cjs/duet-textarea.cjs.entry.js +7 -7
  71. package/lib/cjs/duet-toggle.cjs.entry.js +5 -5
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  83. package/lib/cjs/duet.cjs.js +3 -3
  84. package/lib/cjs/{errorcodes.utils-4e8a9de4.js → errorcodes.utils-62e9ce86.js} +1 -1
  85. package/lib/cjs/{focus-utils-2a0030aa.js → focus-utils-d551f3ab.js} +1 -1
  86. package/lib/cjs/{index-21e67ab3.js → index-b496e711.js} +1 -1
  87. package/lib/cjs/{label-2abeac23.js → label-65ad1748.js} +1 -1
  88. package/lib/cjs/{language-utils-b5940c7b.js → language-utils-de99a5da.js} +1 -1
  89. package/lib/cjs/loader.cjs.js +3 -3
  90. package/lib/cjs/{slot-utils-382633cf.js → slot-utils-0a5c7c03.js} +1 -1
  91. package/lib/cjs/{token-utils-12717808.js → token-utils-5000595c.js} +1 -1
  92. package/lib/cjs/{tokens.module-46ddb47a.js → tokens.module-7c947029.js} +16 -0
  93. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  94. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  95. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  96. package/lib/collection/components/duet-button/duet-button.js +10 -7
  97. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  98. package/lib/collection/components/duet-caption/duet-caption.js +2 -2
  99. package/lib/collection/components/duet-card/duet-card.js +7 -4
  100. package/lib/collection/components/duet-checkbox/duet-checkbox.css +9 -4
  101. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -6
  102. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  103. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  104. package/lib/collection/components/duet-choice/duet-choice.js +6 -6
  105. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  106. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  107. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  108. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  109. package/lib/collection/components/duet-date-picker/duet-date-picker.js +7 -2
  110. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  111. package/lib/collection/components/duet-editable-table/duet-editable-table.js +3 -6
  112. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  113. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  114. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  115. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  116. package/lib/collection/components/duet-grid/duet-grid.js +2 -2
  117. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  118. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  119. package/lib/collection/components/duet-hero/duet-hero.js +7 -10
  120. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  121. package/lib/collection/components/duet-input/duet-input.js +6 -6
  122. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  123. package/lib/collection/components/duet-link/duet-link.css +42 -0
  124. package/lib/collection/components/duet-link/duet-link.js +5 -42
  125. package/lib/collection/components/duet-list/duet-list.js +1 -1
  126. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  127. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  128. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  129. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  130. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  131. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  132. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  133. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  134. package/lib/collection/components/duet-modal/duet-modal.js +6 -6
  135. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  136. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  137. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  138. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  139. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  140. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  141. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  142. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  143. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  144. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +2 -2
  145. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  146. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  147. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  148. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  149. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  150. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  151. package/lib/collection/components/duet-scrollable/duet-scrollable.css +44 -1
  152. package/lib/collection/components/duet-scrollable/duet-scrollable.js +61 -8
  153. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  154. package/lib/collection/components/duet-select/duet-select.js +5 -5
  155. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  156. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  157. package/lib/collection/components/duet-slideout/duet-slideout.js +15 -12
  158. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  159. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  160. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  161. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  162. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  163. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  164. package/lib/collection/components/duet-step/duet-step.js +2 -2
  165. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  166. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  167. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  168. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  169. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  170. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  171. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  172. package/lib/collection/components/duet-tab-group/duet-tab-group.css +66 -56
  173. package/lib/collection/components/duet-tab-group/duet-tab-group.js +39 -40
  174. package/lib/collection/components/duet-table/duet-table-styles.js +499 -0
  175. package/lib/collection/components/duet-table/duet-table.js +5 -12
  176. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  177. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  178. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  179. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  180. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  181. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  182. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  183. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  184. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  185. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  186. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  187. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  188. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  189. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  190. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  191. package/lib/dist-custom-elements/duet-alert.js +1 -1
  192. package/lib/dist-custom-elements/duet-badge.js +1 -1
  193. package/lib/dist-custom-elements/duet-banner.js +4 -4
  194. package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
  195. package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
  196. package/lib/dist-custom-elements/duet-button.js +1 -1
  197. package/lib/dist-custom-elements/duet-callout.js +4 -4
  198. package/lib/dist-custom-elements/duet-caption.js +1 -1
  199. package/lib/dist-custom-elements/duet-card.js +11 -8
  200. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  201. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  202. package/lib/dist-custom-elements/duet-chip.js +1 -1
  203. package/lib/dist-custom-elements/duet-choice-group.js +10 -10
  204. package/lib/dist-custom-elements/duet-choice.js +10 -10
  205. package/lib/dist-custom-elements/duet-collapsible.js +4 -4
  206. package/lib/dist-custom-elements/duet-combobox.js +14 -14
  207. package/lib/dist-custom-elements/duet-contact-card.js +10 -10
  208. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  209. package/lib/dist-custom-elements/duet-date-picker.js +19 -14
  210. package/lib/dist-custom-elements/duet-divider.js +1 -1
  211. package/lib/dist-custom-elements/duet-editable-table.js +9 -9
  212. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  213. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  214. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  215. package/lib/dist-custom-elements/duet-footer.js +11 -11
  216. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  217. package/lib/dist-custom-elements/duet-grid.js +1 -1
  218. package/lib/dist-custom-elements/duet-header.js +8 -8
  219. package/lib/dist-custom-elements/duet-heading.js +1 -1
  220. package/lib/dist-custom-elements/duet-hero.js +14 -14
  221. package/lib/dist-custom-elements/duet-icon.js +1 -1
  222. package/lib/dist-custom-elements/duet-input.js +1 -1
  223. package/lib/dist-custom-elements/duet-label.js +2 -2
  224. package/lib/dist-custom-elements/duet-layout.js +6 -6
  225. package/lib/dist-custom-elements/duet-link.js +1 -1
  226. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  227. package/lib/dist-custom-elements/duet-list.js +1 -1
  228. package/lib/dist-custom-elements/duet-logo.js +1 -1
  229. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  230. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  231. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  232. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  233. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  234. package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
  235. package/lib/dist-custom-elements/duet-modal.js +14 -14
  236. package/lib/dist-custom-elements/duet-multiselect.js +13 -13
  237. package/lib/dist-custom-elements/duet-nav.js +2 -2
  238. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  239. package/lib/dist-custom-elements/duet-notification.js +4 -4
  240. package/lib/dist-custom-elements/duet-number-input.js +12 -12
  241. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  242. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  243. package/lib/dist-custom-elements/duet-pagination.js +24 -24
  244. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  245. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  246. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  247. package/lib/dist-custom-elements/duet-progress.js +1 -1
  248. package/lib/dist-custom-elements/duet-promo-card.js +6 -6
  249. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  250. package/lib/dist-custom-elements/duet-radio.js +4 -4
  251. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  252. package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
  253. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  254. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  255. package/lib/dist-custom-elements/duet-select.js +1 -1
  256. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  257. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  258. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  259. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  260. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  261. package/lib/dist-custom-elements/duet-slideout-panel.js +9 -9
  262. package/lib/dist-custom-elements/duet-slideout.js +19 -16
  263. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  264. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  265. package/lib/dist-custom-elements/duet-step.js +6 -6
  266. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  267. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  268. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  269. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  270. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  271. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  272. package/lib/dist-custom-elements/duet-tab-group.js +40 -77
  273. package/lib/dist-custom-elements/duet-tab.js +4 -4
  274. package/lib/dist-custom-elements/duet-table.js +1 -1
  275. package/lib/dist-custom-elements/duet-textarea.js +12 -12
  276. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  277. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  278. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  279. package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
  280. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  281. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  282. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  283. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  284. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  285. package/lib/dist-custom-elements/duet-tray.js +6 -6
  286. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  287. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  288. package/lib/dist-custom-elements/duet-upload.js +21 -21
  289. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  290. package/lib/dist-custom-elements/index.js +1 -1
  291. package/lib/dist-custom-elements/{p-88ed3495.js → p-0562173d.js} +2 -2
  292. package/lib/dist-custom-elements/{p-b4289ed0.js → p-06932c23.js} +5 -5
  293. package/lib/dist-custom-elements/{p-2c4fc6d3.js → p-09509e38.js} +3 -3
  294. package/lib/dist-custom-elements/{p-d77db171.js → p-188506d4.js} +1 -1
  295. package/lib/dist-custom-elements/{p-29782b53.js → p-19a763d1.js} +4 -4
  296. package/lib/dist-custom-elements/{p-4c1f4287.js → p-1f07910e.js} +5 -5
  297. package/lib/dist-custom-elements/{p-726ae243.js → p-3a8f6bf2.js} +3 -3
  298. package/lib/dist-custom-elements/{p-e4936fed.js → p-44f0c510.js} +12 -12
  299. package/lib/dist-custom-elements/{p-3b5e8904.js → p-48b9317e.js} +3 -3
  300. package/lib/dist-custom-elements/{p-c0a30d29.js → p-5c3b173b.js} +2 -2
  301. package/lib/dist-custom-elements/{p-f9994ef4.js → p-5ccb11e5.js} +4 -4
  302. package/lib/dist-custom-elements/{p-e5a55204.js → p-641af615.js} +12 -12
  303. package/lib/dist-custom-elements/{p-35ad7f77.js → p-69dae529.js} +3 -3
  304. package/lib/dist-custom-elements/{p-d5812145.js → p-7307e4ef.js} +2 -2
  305. package/lib/dist-custom-elements/p-77f4f1d9.js +642 -0
  306. package/lib/dist-custom-elements/{p-86f479be.js → p-7897b8a7.js} +4 -4
  307. package/lib/dist-custom-elements/{p-723b6358.js → p-82f4662e.js} +8 -39
  308. package/lib/dist-custom-elements/{p-1e88beeb.js → p-8b5ed6f5.js} +2 -2
  309. package/lib/dist-custom-elements/{p-5086d1a0.js → p-9263fe36.js} +2 -2
  310. package/lib/dist-custom-elements/{p-87b1c772.js → p-9a9bfcd7.js} +4 -4
  311. package/lib/dist-custom-elements/{p-a0f74881.js → p-9b7e188a.js} +7 -7
  312. package/lib/dist-custom-elements/{p-19172e2c.js → p-a6f6eeea.js} +4 -4
  313. package/lib/dist-custom-elements/{p-a9e09647.js → p-a95aa79f.js} +23 -14
  314. package/lib/dist-custom-elements/{p-6a285be8.js → p-b3ffc8ec.js} +2 -2
  315. package/lib/dist-custom-elements/{p-254d2993.js → p-b59bcc0d.js} +4 -4
  316. package/lib/dist-custom-elements/{p-a2b5c68e.js → p-b59d4ed8.js} +5 -5
  317. package/lib/dist-custom-elements/{p-3c7d413f.js → p-b605dc21.js} +3 -3
  318. package/lib/dist-custom-elements/p-bc8e5d5f.js +154 -0
  319. package/lib/dist-custom-elements/{p-fca5b65b.js → p-c5766108.js} +3 -3
  320. package/lib/dist-custom-elements/{p-a1e17113.js → p-ca6c91da.js} +15 -12
  321. package/lib/dist-custom-elements/{p-4c179c1e.js → p-cea716f7.js} +1 -1
  322. package/lib/dist-custom-elements/{p-d2a5148f.js → p-ceace5a5.js} +3 -3
  323. package/lib/dist-custom-elements/{p-64139e5c.js → p-d3f11b87.js} +3 -3
  324. package/lib/dist-custom-elements/{p-1df834b1.js → p-d46e8086.js} +4 -4
  325. package/lib/dist-custom-elements/{p-55bbb3b6.js → p-e13570ea.js} +15 -15
  326. package/lib/dist-custom-elements/{p-e774334b.js → p-f08fd5ce.js} +4 -4
  327. package/lib/dist-custom-elements/{p-56d9b926.js → p-f459d4e1.js} +3 -3
  328. package/lib/dist-custom-elements/{p-1f7ae97d.js → p-fa0f5c3a.js} +6 -6
  329. package/lib/dist-custom-elements/{p-7f69e1e3.js → p-fbf7b0a3.js} +5 -5
  330. package/lib/dist-custom-elements/{p-c81244d9.js → p-fc1fca67.js} +3 -3
  331. package/lib/duet/duet.esm.js +1 -1
  332. package/lib/duet/duet.js +1 -1
  333. package/lib/duet/{p-7f5c1da2.entry.js → p-000e222f.entry.js} +1 -1
  334. package/lib/duet/{p-1183d305.system.entry.js → p-0252f72e.system.entry.js} +1 -1
  335. package/lib/duet/p-02ed65bb.entry.js +4 -0
  336. package/lib/duet/p-0591a60a.entry.js +4 -0
  337. package/lib/duet/{p-8ad8b9a8.entry.js → p-065b1525.entry.js} +1 -1
  338. package/lib/duet/{p-b865116a.entry.js → p-07ee8a5a.entry.js} +1 -1
  339. package/lib/duet/{p-eca1904d.system.entry.js → p-094a08cd.system.entry.js} +1 -1
  340. package/lib/duet/{p-9fcce08c.system.entry.js → p-0ca126ad.system.entry.js} +2 -2
  341. package/lib/duet/p-0d7da85a.js +4 -0
  342. package/lib/duet/{p-8d462e3a.system.entry.js → p-0ede7f02.system.entry.js} +1 -1
  343. package/lib/duet/{p-95836be2.system.entry.js → p-0ee00147.system.entry.js} +1 -1
  344. package/lib/duet/{p-105f1a75.entry.js → p-0f6cce6b.entry.js} +1 -1
  345. package/lib/duet/p-1098a40f.system.js +4 -0
  346. package/lib/duet/{p-8b397c1a.entry.js → p-13dc711a.entry.js} +1 -1
  347. package/lib/duet/{p-d3c304b5.system.js → p-149b677a.system.js} +1 -1
  348. package/lib/duet/{p-f78099b6.entry.js → p-150dbbea.entry.js} +1 -1
  349. package/lib/duet/{p-4f527f43.entry.js → p-169b720a.entry.js} +1 -1
  350. package/lib/duet/{p-bc6e219f.system.entry.js → p-16d57da2.system.entry.js} +1 -1
  351. package/lib/duet/{p-7fe5e0dc.system.entry.js → p-1721c077.system.entry.js} +1 -1
  352. package/lib/duet/p-19119130.entry.js +4 -0
  353. package/lib/duet/p-1a570ee1.system.entry.js +4 -0
  354. package/lib/duet/p-1ac41e38.entry.js +4 -0
  355. package/lib/duet/{p-435a217b.entry.js → p-1bd826bf.entry.js} +1 -1
  356. package/lib/duet/{p-e5cb7fc9.entry.js → p-1e0cebdf.entry.js} +1 -1
  357. package/lib/duet/p-1e5e00f9.entry.js +4 -0
  358. package/lib/duet/{p-7606ec6c.system.entry.js → p-1feb6b08.system.entry.js} +1 -1
  359. package/lib/duet/{p-d85741b1.entry.js → p-20fd92d9.entry.js} +1 -1
  360. package/lib/duet/{p-376a0839.system.entry.js → p-23e0edcb.system.entry.js} +1 -1
  361. package/lib/duet/{p-705c5299.entry.js → p-23f70a40.entry.js} +1 -1
  362. package/lib/duet/{p-319e77d6.entry.js → p-25953772.entry.js} +1 -1
  363. package/lib/duet/{p-c6617f16.entry.js → p-26807a70.entry.js} +1 -1
  364. package/lib/duet/{p-8f31572d.system.entry.js → p-268864c3.system.entry.js} +1 -1
  365. package/lib/duet/{p-032fbfa1.system.entry.js → p-2bd1ad09.system.entry.js} +1 -1
  366. package/lib/duet/{p-02200dcc.entry.js → p-2dcfcae6.entry.js} +1 -1
  367. package/lib/duet/{p-a19244e5.system.js → p-2e0eb8a4.system.js} +1 -1
  368. package/lib/duet/{p-3b3c341e.system.entry.js → p-3170270d.system.entry.js} +1 -1
  369. package/lib/duet/{p-605e69c8.system.js → p-32a09a31.system.js} +1 -1
  370. package/lib/duet/{p-76d69a18.system.js → p-35a1ffee.system.js} +1 -1
  371. package/lib/duet/{p-df19c239.system.entry.js → p-3a1eeb98.system.entry.js} +1 -1
  372. package/lib/duet/{p-f2f1e0e9.entry.js → p-3a76a6b7.entry.js} +1 -1
  373. package/lib/duet/{p-ca691c4a.entry.js → p-3b807b7b.entry.js} +1 -1
  374. package/lib/duet/{p-a437992b.system.entry.js → p-3d6d7bad.system.entry.js} +1 -1
  375. package/lib/duet/{p-14bae734.system.entry.js → p-3d96fc7c.system.entry.js} +1 -1
  376. package/lib/duet/p-3e39a663.system.entry.js +4 -0
  377. package/lib/duet/{p-3b8dbebe.system.entry.js → p-3ee6543a.system.entry.js} +1 -1
  378. package/lib/duet/{p-97ec270c.entry.js → p-3f4ee42c.entry.js} +1 -1
  379. package/lib/duet/{p-eb0d15a0.system.entry.js → p-410f94e9.system.entry.js} +1 -1
  380. package/lib/duet/p-477a0ad7.system.entry.js +4 -0
  381. package/lib/duet/{p-e2daf94c.entry.js → p-4816c631.entry.js} +1 -1
  382. package/lib/duet/{p-d5dfa70d.system.entry.js → p-4a96a1cc.system.entry.js} +1 -1
  383. package/lib/duet/{p-a23eec0f.entry.js → p-4ac45e30.entry.js} +1 -1
  384. package/lib/duet/{p-0937f800.system.entry.js → p-4ba72133.system.entry.js} +1 -1
  385. package/lib/duet/{p-066b94ca.entry.js → p-4c30f1b5.entry.js} +1 -1
  386. package/lib/duet/{p-d62da84e.system.entry.js → p-4cd00958.system.entry.js} +1 -1
  387. package/lib/duet/{p-cbbf6d6a.system.js → p-4cff3036.system.js} +1 -1
  388. package/lib/duet/{p-abec198c.system.entry.js → p-4dcf7aab.system.entry.js} +1 -1
  389. package/lib/duet/{p-2437b4cb.js → p-51b2f340.js} +1 -1
  390. package/lib/duet/{p-2fa7ecef.entry.js → p-51b8e39a.entry.js} +1 -1
  391. package/lib/duet/{p-67dd83cc.entry.js → p-529bb649.entry.js} +1 -1
  392. package/lib/duet/{p-3d794db6.system.entry.js → p-539ee8e9.system.entry.js} +1 -1
  393. package/lib/duet/{p-0458abd0.system.entry.js → p-53b490bf.system.entry.js} +1 -1
  394. package/lib/duet/{p-265fdd97.system.entry.js → p-5428f3f5.system.entry.js} +1 -1
  395. package/lib/duet/{p-68fd5f9a.entry.js → p-547f2129.entry.js} +1 -1
  396. package/lib/duet/{p-f43e134e.system.entry.js → p-54a3643a.system.entry.js} +1 -1
  397. package/lib/duet/p-55309597.system.entry.js +4 -0
  398. package/lib/duet/{p-2af9e483.entry.js → p-57930d52.entry.js} +1 -1
  399. package/lib/duet/{p-6f285100.system.entry.js → p-57ab6af5.system.entry.js} +1 -1
  400. package/lib/duet/{p-3cd80f60.system.entry.js → p-58ea29ca.system.entry.js} +1 -1
  401. package/lib/duet/{p-27a43e79.entry.js → p-59435e55.entry.js} +1 -1
  402. package/lib/duet/{p-f8b6380d.entry.js → p-5acb3f21.entry.js} +1 -1
  403. package/lib/duet/{p-ed6a110f.system.entry.js → p-5ca36d56.system.entry.js} +1 -1
  404. package/lib/duet/{p-c7ecec29.entry.js → p-5dea17eb.entry.js} +1 -1
  405. package/lib/duet/{p-07200cbb.entry.js → p-5e234865.entry.js} +1 -1
  406. package/lib/duet/{p-3cd483ab.entry.js → p-5e780477.entry.js} +1 -1
  407. package/lib/duet/{p-502bf069.entry.js → p-5ebe5e38.entry.js} +1 -1
  408. package/lib/duet/{p-2034ac6f.system.entry.js → p-602843ca.system.entry.js} +1 -1
  409. package/lib/duet/{p-3ab3a8c6.entry.js → p-60d2344e.entry.js} +1 -1
  410. package/lib/duet/{p-58f6b887.system.entry.js → p-645cfb68.system.entry.js} +2 -2
  411. package/lib/duet/{p-d7d86092.js → p-6817c980.js} +1 -1
  412. package/lib/duet/{p-2af3edb3.system.entry.js → p-68209f39.system.entry.js} +2 -2
  413. package/lib/duet/{p-639def3e.system.entry.js → p-6898b482.system.entry.js} +1 -1
  414. package/lib/duet/p-6a263519.entry.js +4 -0
  415. package/lib/duet/{p-042576d6.system.entry.js → p-6a30f4a1.system.entry.js} +1 -1
  416. package/lib/duet/{p-e95e650d.system.entry.js → p-6c10d77d.system.entry.js} +1 -1
  417. package/lib/duet/{p-7813d124.system.entry.js → p-6e72268d.system.entry.js} +1 -1
  418. package/lib/duet/{p-947ceeb6.system.entry.js → p-6fe2f15f.system.entry.js} +1 -1
  419. package/lib/duet/p-6fe8172a.entry.js +4 -0
  420. package/lib/duet/p-735aecee.system.entry.js +4 -0
  421. package/lib/duet/{p-cef3ec26.entry.js → p-74f62fcc.entry.js} +1 -1
  422. package/lib/duet/{p-38908608.system.entry.js → p-751e58ce.system.entry.js} +1 -1
  423. package/lib/duet/{p-8ceddf7a.entry.js → p-76a9c7a5.entry.js} +1 -1
  424. package/lib/duet/{p-1d016525.system.entry.js → p-76ce944a.system.entry.js} +1 -1
  425. package/lib/duet/{p-a51f3a0b.entry.js → p-78368247.entry.js} +1 -1
  426. package/lib/duet/p-79bdb03d.entry.js +4 -0
  427. package/lib/duet/{p-0ecb70e0.system.entry.js → p-79e58ba1.system.entry.js} +2 -2
  428. package/lib/duet/{p-8abb0984.js → p-7a75bff7.js} +1 -1
  429. package/lib/duet/p-7b47d427.entry.js +4 -0
  430. package/lib/duet/{p-86176559.entry.js → p-7ee6ca05.entry.js} +1 -1
  431. package/lib/duet/{p-87e96a18.system.entry.js → p-80d8a60b.system.entry.js} +1 -1
  432. package/lib/duet/{p-1e17463d.system.js → p-81835239.system.js} +1 -1
  433. package/lib/duet/p-85e7cc53.entry.js +4 -0
  434. package/lib/duet/{p-d41543d3.entry.js → p-863b96d9.entry.js} +1 -1
  435. package/lib/duet/{p-f0fa9c9a.system.entry.js → p-885bdca8.system.entry.js} +1 -1
  436. package/lib/duet/{p-fdb3098f.system.entry.js → p-88f8dcab.system.entry.js} +1 -1
  437. package/lib/duet/{p-c551216e.system.entry.js → p-8bee9cd3.system.entry.js} +1 -1
  438. package/lib/duet/{p-c6995496.system.entry.js → p-8c0a6ad4.system.entry.js} +1 -1
  439. package/lib/duet/{p-ab4c886f.system.entry.js → p-8c7b6794.system.entry.js} +1 -1
  440. package/lib/duet/{p-7acabaa7.system.js → p-8e540cf9.system.js} +1 -1
  441. package/lib/duet/{p-84bfc619.system.entry.js → p-8f2cac21.system.entry.js} +1 -1
  442. package/lib/duet/{p-5e6b91f6.entry.js → p-8fe4cb7b.entry.js} +1 -1
  443. package/lib/duet/{p-e797e2f4.system.entry.js → p-915b2385.system.entry.js} +1 -1
  444. package/lib/duet/{p-b0b00dad.system.entry.js → p-942d73b3.system.entry.js} +1 -1
  445. package/lib/duet/{p-03af0f0d.system.entry.js → p-97406378.system.entry.js} +1 -1
  446. package/lib/duet/{p-a2b93336.system.entry.js → p-99c527c4.system.entry.js} +1 -1
  447. package/lib/duet/{p-77e70fca.entry.js → p-99d8e4b1.entry.js} +1 -1
  448. package/lib/duet/{p-772dbed5.entry.js → p-9a3a1129.entry.js} +1 -1
  449. package/lib/duet/p-9bcd8d52.system.js +4 -0
  450. package/lib/duet/{p-27ed5ca7.system.entry.js → p-9c9e3bf3.system.entry.js} +1 -1
  451. package/lib/duet/{p-bed279f6.entry.js → p-9cc7444d.entry.js} +1 -1
  452. package/lib/duet/{p-63016bc3.entry.js → p-9cdabda3.entry.js} +1 -1
  453. package/lib/duet/p-9d6cf60e.entry.js +4 -0
  454. package/lib/duet/{p-1da5945a.system.entry.js → p-9e014353.system.entry.js} +1 -1
  455. package/lib/duet/p-a030ecff.entry.js +4 -0
  456. package/lib/duet/{p-53366e23.entry.js → p-a49aa1e4.entry.js} +1 -1
  457. package/lib/duet/{p-e7558f6c.entry.js → p-a6ca2484.entry.js} +1 -1
  458. package/lib/duet/{p-8ff30ce6.system.entry.js → p-abb0f090.system.entry.js} +1 -1
  459. package/lib/duet/{p-8440bd4f.entry.js → p-af086dc4.entry.js} +1 -1
  460. package/lib/duet/{p-3b3432e2.system.entry.js → p-b065a169.system.entry.js} +1 -1
  461. package/lib/duet/p-b4f3e81a.js +4 -0
  462. package/lib/duet/{p-38685b43.system.entry.js → p-b5ce0b66.system.entry.js} +1 -1
  463. package/lib/duet/{p-d04dbf1f.system.entry.js → p-b6689aeb.system.entry.js} +1 -1
  464. package/lib/duet/{p-ffe6fbbb.entry.js → p-b7247c4a.entry.js} +1 -1
  465. package/lib/duet/p-b909d55e.system.entry.js +4 -0
  466. package/lib/duet/p-ba03d034.system.js +4 -0
  467. package/lib/duet/{p-ed17957c.system.entry.js → p-c31aff06.system.entry.js} +2 -2
  468. package/lib/duet/{p-3987eed8.system.entry.js → p-c4b27218.system.entry.js} +1 -1
  469. package/lib/duet/{p-807bf6da.system.entry.js → p-c4cd0199.system.entry.js} +1 -1
  470. package/lib/duet/{p-2b6a7397.js → p-c553a49a.js} +1 -1
  471. package/lib/duet/{p-77b21edc.entry.js → p-c59bc2db.entry.js} +1 -1
  472. package/lib/duet/{p-70651da4.system.entry.js → p-c64eb22a.system.entry.js} +1 -1
  473. package/lib/duet/{p-e283e9fe.entry.js → p-c86a2ae1.entry.js} +1 -1
  474. package/lib/duet/p-c8bd1ccb.entry.js +4 -0
  475. package/lib/duet/{p-4eb70cc2.system.entry.js → p-c90242c5.system.entry.js} +1 -1
  476. package/lib/duet/{p-10c530d1.js → p-cc67e773.js} +1 -1
  477. package/lib/duet/{p-dc4b5372.system.entry.js → p-cc70a233.system.entry.js} +1 -1
  478. package/lib/duet/{p-ffd1290e.system.entry.js → p-cc8d3ed0.system.entry.js} +1 -1
  479. package/lib/duet/{p-bf5c8102.entry.js → p-cd9f1743.entry.js} +1 -1
  480. package/lib/duet/{p-17aa3a20.entry.js → p-cfa7d3f2.entry.js} +1 -1
  481. package/lib/duet/{p-4f212753.entry.js → p-d07788a4.entry.js} +1 -1
  482. package/lib/duet/{p-328d9919.system.entry.js → p-d146e39b.system.entry.js} +1 -1
  483. package/lib/duet/{p-7cce22af.system.js → p-d41e4088.system.js} +1 -1
  484. package/lib/duet/{p-824d882f.entry.js → p-d4ccd7cd.entry.js} +1 -1
  485. package/lib/duet/{p-7512d569.entry.js → p-d71ee4e2.entry.js} +1 -1
  486. package/lib/duet/{p-48618d75.entry.js → p-d8e196af.entry.js} +1 -1
  487. package/lib/duet/{p-7a25f374.entry.js → p-dd7fb771.entry.js} +1 -1
  488. package/lib/duet/{p-b0d79ffe.entry.js → p-de4bf9cc.entry.js} +1 -1
  489. package/lib/duet/{p-88fe57e8.system.entry.js → p-e033daf1.system.entry.js} +1 -1
  490. package/lib/duet/{p-084ab781.entry.js → p-e0f5fed4.entry.js} +1 -1
  491. package/lib/duet/{p-d42b2af0.entry.js → p-e2c7e2d3.entry.js} +1 -1
  492. package/lib/duet/{p-7b8b93c3.entry.js → p-e385f91d.entry.js} +1 -1
  493. package/lib/duet/{p-472b3fbd.entry.js → p-e395172c.entry.js} +1 -1
  494. package/lib/duet/{p-26d1dc6c.system.entry.js → p-e4b4cb3c.system.entry.js} +1 -1
  495. package/lib/duet/{p-4bd72541.entry.js → p-e57690a5.entry.js} +1 -1
  496. package/lib/duet/{p-3b281171.entry.js → p-e7596a00.entry.js} +1 -1
  497. package/lib/duet/{p-8520e026.system.entry.js → p-ea4c67d7.system.entry.js} +1 -1
  498. package/lib/duet/{p-bbeafbd0.entry.js → p-eb00f684.entry.js} +1 -1
  499. package/lib/duet/p-ec87c2c0.entry.js +4 -0
  500. package/lib/duet/{p-eca03d5e.js → p-ecf89776.js} +1 -1
  501. package/lib/duet/p-f0d3cbf0.entry.js +4 -0
  502. package/lib/duet/{p-8c9eb171.js → p-f2462d98.js} +1 -1
  503. package/lib/duet/{p-1fd3ec9e.system.entry.js → p-f3e11ae2.system.entry.js} +1 -1
  504. package/lib/duet/{p-020be412.system.entry.js → p-f4cd0368.system.entry.js} +1 -1
  505. package/lib/duet/{p-274473a3.system.entry.js → p-f609ba36.system.entry.js} +1 -1
  506. package/lib/duet/{p-20213e01.system.entry.js → p-f64fe362.system.entry.js} +1 -1
  507. package/lib/duet/{p-009c7325.entry.js → p-f691b978.entry.js} +1 -1
  508. package/lib/duet/{p-bbb56267.entry.js → p-f8956559.entry.js} +1 -1
  509. package/lib/duet/{p-d62b6ca1.system.entry.js → p-fb8e8fbf.system.entry.js} +2 -2
  510. package/lib/duet/{p-2eae4a0b.js → p-fbc347fd.js} +1 -1
  511. package/lib/duet/{p-9dda3449.system.entry.js → p-fcd4f841.system.entry.js} +1 -1
  512. package/lib/esm/{a11y-utils-8fc393f6.js → a11y-utils-c52606bf.js} +1 -1
  513. package/lib/esm/{app-globals-00959ca9.js → app-globals-18e70157.js} +1 -1
  514. package/lib/esm/duet-action-button.entry.js +4 -4
  515. package/lib/esm/duet-alert.entry.js +3 -3
  516. package/lib/esm/duet-badge.entry.js +3 -3
  517. package/lib/esm/duet-banner.entry.js +4 -4
  518. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  519. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  520. package/lib/esm/duet-button_2.entry.js +16 -13
  521. package/lib/esm/duet-callout.entry.js +4 -4
  522. package/lib/esm/duet-caption_4.entry.js +17 -47
  523. package/lib/esm/duet-card.entry.js +10 -7
  524. package/lib/esm/duet-checkbox.entry.js +4 -4
  525. package/lib/esm/duet-checkmark.entry.js +3 -3
  526. package/lib/esm/duet-chip_3.entry.js +9 -9
  527. package/lib/esm/duet-choice_2.entry.js +11 -11
  528. package/lib/esm/duet-collapsible.entry.js +4 -4
  529. package/lib/esm/duet-combobox.entry.js +3 -3
  530. package/lib/esm/duet-contact-card.entry.js +4 -4
  531. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  532. package/lib/esm/duet-date-picker.entry.js +12 -7
  533. package/lib/esm/duet-divider_2.entry.js +5 -5
  534. package/lib/esm/duet-editable-table_3.entry.js +507 -14
  535. package/lib/esm/duet-empty-state.entry.js +3 -3
  536. package/lib/esm/duet-fieldset.entry.js +5 -5
  537. package/lib/esm/duet-file-chooser.entry.js +2 -2
  538. package/lib/esm/duet-footer.entry.js +7 -7
  539. package/lib/esm/duet-grid_2.entry.js +5 -5
  540. package/lib/esm/duet-header_2.entry.js +4 -4
  541. package/lib/esm/duet-hero.entry.js +8 -8
  542. package/lib/esm/duet-icon.entry.js +6 -6
  543. package/lib/esm/duet-input_2.entry.js +12 -12
  544. package/lib/esm/duet-layout.entry.js +7 -7
  545. package/lib/esm/duet-list_2.entry.js +4 -4
  546. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  547. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  548. package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
  549. package/lib/esm/duet-menu-bar-item.entry.js +6 -6
  550. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  551. package/lib/esm/duet-menu-bar.entry.js +4 -4
  552. package/lib/esm/duet-modal.entry.js +10 -10
  553. package/lib/esm/duet-multiselect.entry.js +9 -9
  554. package/lib/esm/duet-nav.entry.js +2 -2
  555. package/lib/esm/duet-notification_2.entry.js +6 -6
  556. package/lib/esm/duet-number-input.entry.js +5 -5
  557. package/lib/esm/duet-overlay.entry.js +2 -2
  558. package/lib/esm/duet-page-heading.entry.js +3 -3
  559. package/lib/esm/duet-pagination_2.entry.js +17 -17
  560. package/lib/esm/duet-progress.entry.js +2 -2
  561. package/lib/esm/duet-promo-card.entry.js +6 -6
  562. package/lib/esm/duet-radio_2.entry.js +6 -6
  563. package/lib/esm/duet-range-slider.entry.js +6 -6
  564. package/lib/esm/duet-scrollable_3.entry.js +50 -50
  565. package/lib/esm/duet-section-layout.entry.js +4 -4
  566. package/lib/esm/duet-select.entry.js +8 -8
  567. package/lib/esm/duet-shaped-image.entry.js +3 -3
  568. package/lib/esm/duet-show-more.entry.js +4 -4
  569. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  570. package/lib/esm/duet-slideout-link.entry.js +3 -3
  571. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
  572. package/lib/esm/duet-slideout-panel.entry.js +12 -12
  573. package/lib/esm/duet-slideout.entry.js +21 -18
  574. package/lib/esm/duet-step_2.entry.js +4 -4
  575. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  576. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
  577. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  578. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  579. package/lib/esm/duet-submenu-bar.entry.js +6 -6
  580. package/lib/esm/duet-textarea.entry.js +7 -7
  581. package/lib/esm/duet-toggle.entry.js +5 -5
  582. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  583. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
  584. package/lib/esm/duet-toolbar-item.entry.js +7 -7
  585. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  586. package/lib/esm/duet-toolbar.entry.js +3 -3
  587. package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
  588. package/lib/esm/duet-tooltip.entry.js +3 -3
  589. package/lib/esm/duet-tray.entry.js +5 -5
  590. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  591. package/lib/esm/duet-upload-item.entry.js +5 -5
  592. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  593. package/lib/esm/duet.js +4 -4
  594. package/lib/esm/{errorcodes.utils-d9431251.js → errorcodes.utils-e12abdc5.js} +1 -1
  595. package/lib/esm/{focus-utils-adcd9463.js → focus-utils-4226b57a.js} +1 -1
  596. package/lib/esm/{index-1d0b7c66.js → index-4b4e4ec8.js} +1 -1
  597. package/lib/esm/{label-ce262202.js → label-a30d1f04.js} +1 -1
  598. package/lib/esm/{language-utils-14969cef.js → language-utils-1b413a6b.js} +1 -1
  599. package/lib/esm/loader.js +4 -4
  600. package/lib/esm/{slot-utils-4e5ed4eb.js → slot-utils-ae4dc467.js} +1 -1
  601. package/lib/esm/{token-utils-a32eb753.js → token-utils-b9ba8c5e.js} +1 -1
  602. package/lib/esm/{tokens.module-a746651a.js → tokens.module-2d02f5ff.js} +1 -1
  603. package/lib/esm-es5/{a11y-utils-8fc393f6.js → a11y-utils-c52606bf.js} +1 -1
  604. package/lib/esm-es5/{app-globals-00959ca9.js → app-globals-18e70157.js} +1 -1
  605. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  606. package/lib/esm-es5/duet-alert.entry.js +1 -1
  607. package/lib/esm-es5/duet-badge.entry.js +1 -1
  608. package/lib/esm-es5/duet-banner.entry.js +1 -1
  609. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  610. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  611. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  612. package/lib/esm-es5/duet-callout.entry.js +1 -1
  613. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  614. package/lib/esm-es5/duet-card.entry.js +2 -2
  615. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  616. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  617. package/lib/esm-es5/duet-chip_3.entry.js +1 -1
  618. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  619. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  620. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  621. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  622. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  623. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  624. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  625. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  626. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  627. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  628. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  629. package/lib/esm-es5/duet-footer.entry.js +1 -1
  630. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  631. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  632. package/lib/esm-es5/duet-hero.entry.js +2 -2
  633. package/lib/esm-es5/duet-icon.entry.js +1 -1
  634. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  635. package/lib/esm-es5/duet-layout.entry.js +1 -1
  636. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  637. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  638. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  639. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  640. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  641. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  642. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  643. package/lib/esm-es5/duet-modal.entry.js +1 -1
  644. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  645. package/lib/esm-es5/duet-nav.entry.js +1 -1
  646. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  647. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  648. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  649. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  650. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  651. package/lib/esm-es5/duet-progress.entry.js +1 -1
  652. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  653. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  654. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  655. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  656. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  657. package/lib/esm-es5/duet-select.entry.js +1 -1
  658. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  659. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  660. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  661. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  662. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  663. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  664. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  665. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  666. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  667. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  668. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  669. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  670. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  671. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  672. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  673. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  674. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  675. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  676. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  677. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  678. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  679. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  680. package/lib/esm-es5/duet-tray.entry.js +1 -1
  681. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  682. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  683. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  684. package/lib/esm-es5/duet.js +1 -1
  685. package/lib/esm-es5/{errorcodes.utils-d9431251.js → errorcodes.utils-e12abdc5.js} +1 -1
  686. package/lib/esm-es5/focus-utils-4226b57a.js +4 -0
  687. package/lib/esm-es5/{index-1d0b7c66.js → index-4b4e4ec8.js} +1 -1
  688. package/lib/esm-es5/{label-ce262202.js → label-a30d1f04.js} +1 -1
  689. package/lib/esm-es5/{language-utils-14969cef.js → language-utils-1b413a6b.js} +1 -1
  690. package/lib/esm-es5/loader.js +1 -1
  691. package/lib/esm-es5/{slot-utils-4e5ed4eb.js → slot-utils-ae4dc467.js} +1 -1
  692. package/lib/esm-es5/{token-utils-a32eb753.js → token-utils-b9ba8c5e.js} +1 -1
  693. package/lib/esm-es5/{tokens.module-a746651a.js → tokens.module-2d02f5ff.js} +1 -1
  694. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -2
  695. package/lib/types/components/duet-link/duet-link.d.ts +0 -7
  696. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +8 -0
  697. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -4
  698. package/lib/types/components/duet-table/duet-table-styles.d.ts +1 -0
  699. package/lib/types/components.d.ts +12 -6
  700. package/package.json +3 -3
  701. package/lib/collection/components/duet-table/duet-table.css +0 -365
  702. package/lib/dist-custom-elements/p-5fbb6039.js +0 -154
  703. package/lib/dist-custom-elements/p-ffa44070.js +0 -148
  704. package/lib/duet/p-0c4aa4d0.system.entry.js +0 -4
  705. package/lib/duet/p-1004af75.js +0 -4
  706. package/lib/duet/p-150e5f1b.entry.js +0 -4
  707. package/lib/duet/p-23376e2a.entry.js +0 -4
  708. package/lib/duet/p-29672737.entry.js +0 -4
  709. package/lib/duet/p-2c9a6e05.entry.js +0 -4
  710. package/lib/duet/p-3f97122e.system.entry.js +0 -4
  711. package/lib/duet/p-4289f34a.entry.js +0 -4
  712. package/lib/duet/p-50ca9099.system.entry.js +0 -4
  713. package/lib/duet/p-5db9497a.entry.js +0 -4
  714. package/lib/duet/p-61a93486.system.entry.js +0 -4
  715. package/lib/duet/p-6c25b6a4.system.entry.js +0 -4
  716. package/lib/duet/p-716865fe.entry.js +0 -4
  717. package/lib/duet/p-7af3fb35.entry.js +0 -4
  718. package/lib/duet/p-806adaa3.entry.js +0 -4
  719. package/lib/duet/p-851e1a0f.entry.js +0 -4
  720. package/lib/duet/p-88d8265d.entry.js +0 -4
  721. package/lib/duet/p-965e597c.system.js +0 -4
  722. package/lib/duet/p-a48acf0f.system.entry.js +0 -4
  723. package/lib/duet/p-c1b1801d.entry.js +0 -4
  724. package/lib/duet/p-cdb6c612.entry.js +0 -4
  725. package/lib/duet/p-d3aa7a74.entry.js +0 -4
  726. package/lib/duet/p-dfef2cbe.entry.js +0 -4
  727. package/lib/duet/p-e1c881da.system.js +0 -4
  728. package/lib/duet/p-ef731dfb.system.js +0 -4
  729. package/lib/duet/p-fd78f61a.js +0 -4
  730. package/lib/esm-es5/focus-utils-adcd9463.js +0 -4
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function s(e){try{u(n.next(e))}catch(e){r(e)}}function o(e){try{u(n["throw"](e))}catch(e){r(e)}}function u(e){e.done?i(e.value):a(e.value).then(s,o)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(n=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];a=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-a19244e5.system.js","./p-e4c8559c.system.js","./p-49957220.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,i,n,a,r,s,o,u;return{setters:[function(e){t=e.r;i=e.h;n=e.H;a=e.g},function(e){r=e.a},function(e){s=e.e;o=e.d},function(e){u=e.i}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;top:0;z-index:1;background:rgb(240, 247, 250);transition:top 0.4s}.duet-submenu-bar.hidden{top:-200px}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(198, 225, 238)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{max-height:0;overflow:hidden;visibility:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;max-height:unset;overflow:visible;visibility:visible}}.duet-submenu-bar .items{width:100%;height:70vh;overflow-y:scroll;visibility:visible;background:rgb(240, 247, 250);border-bottom:1px solid rgb(181, 198, 208)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{max-height:0;overflow:hidden;visibility:hidden;border-bottom:0 solid rgb(181, 198, 208)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;visibility:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar.duet-theme-turva{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-submenu-bar.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 247, 250)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 28, 58)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}';var b=d;var c=e("duet_submenu_bar",function(){function e(e){var i=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.previousYScroll=0;this.handleMobileView=function(){if(i.mql[0].matches){i.mobile=false;i.enableBodyScroll()}else{i.mobile=true;if(!i.bodyScroll){i.disableBodyScroll()}}};this.onClick=function(){i.open=!i.open};this.enableBodyScroll=function(){if(i.nav){s(i.nav)}if(i.itemsContainer){s(i.itemsContainer)}};this.disableBodyScroll=function(){if(i.nav){o(i.nav,{reserveScrollBarGap:true})}if(i.itemsContainer){o(i.itemsContainer,{reserveScrollBarGap:true})}};this.checkIfHasItems=function(){var e=!!i.element.querySelector("duet-submenu-bar-dropdown-link");var t=!!i.element.querySelector("duet-submenu-bar-link");var n=!!i.element.querySelector("duet-submenu-bar-item");return e||t||n};this.hidden=false;this.mobile=true;this.bodyScroll=true;this.theme="";this.hideOnScroll=false;this.open=false;this.accessibleLabel=undefined}e.prototype.watchOpenStateHandler=function(e){var t=e;if(t){this.bodyScroll=false;this.disableBodyScroll()}else{this.enableBodyScroll();this.bodyScroll=true}};e.prototype.componentWillLoad=function(){u(this)};e.prototype.connectedCallback=function(){this.nav=document.querySelector("duet-nav > [slot='mobile']");this.hasItems=this.checkIfHasItems();this.handleMobileView();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.handleMobileView.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[];this.enableBodyScroll()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus(e);return[2]}))}))};e.prototype.checkScroll=function(){if(!this.hideOnScroll){return}if(window.scrollY>this.previousYScroll){if(window.scrollY>100){this.hidden=true}}else{if(window.scrollY<150){this.hidden=false}}this.previousYScroll=window.scrollY};e.prototype.render=function(){var e=this;return i(n,{key:"a63e21429e735858870de3a6c6b4f1d641ea0536"},i("nav",{key:"ec81c1ea9da9a6a1f976e4f809a44f5a0cc9129f",class:{"duet-submenu-bar":true,"duet-theme-turva":this.theme==="turva",hidden:this.hidden},"aria-label":this.accessibleLabel},this.hasItems&&i("button",{key:"9c7afa7571d91d251c0a9ed320dcfaefe4ff10ec",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},i("span",{key:"670e006fcab56b5057addd32c86e78c488a6a954",class:"label"},i("slot",{key:"6aeb5157b136b0d51ea614df7170db9901d7159a",name:"label"}),i("duet-icon",{key:"d7801a42f75a4b6dfde7c1bd197b5c4aafb7eb03",theme:this.theme,class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),i("div",{key:"b527227c328438130d7ec32a80c7d9ac8ee472b2",class:{"menu-container":true,hidden:!this.open},role:"presentation"},i("div",{key:"60bcdce4e176cf742905e6eb6e50d4dc8046b1be",role:this.mobile?"menu":null,id:"menu","aria-labelledby":this.mobile?"button":null,"aria-expanded":this.mobile?this.open?"true":"false":null,class:{items:true,hidden:!this.open},ref:function(t){return e.itemsContainer=t}},i("div",{key:"69d9ea394265451a554e19db4e5105e21027a61e",class:"list",role:this.mobile?"presentation":"list"},i("slot",{key:"95f8cedf2b0590010f0a6560531e9306350b2c37"}),i("div",{key:"780946443cd19822597df52bd006d3d3a30c2e5f",class:"list-padding"}))),i("duet-overlay",{key:"19734aa5ac1dd7c03192d3310518173fa8a43c07","keep-stacking-context":true,visible:this.open,"display-device":"not-large",transition:"immediate"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["watchOpenStateHandler"]}},enumerable:false,configurable:true});return e}());c.style=b}}}));
4
+ */System.register(["./p-2e0eb8a4.system.js","./p-e4c8559c.system.js","./p-49957220.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,i,n,a,r,s,o,u;return{setters:[function(e){t=e.r;i=e.h;n=e.H;a=e.g},function(e){r=e.a},function(e){s=e.e;o=e.d},function(e){u=e.i}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;top:0;z-index:1;background:rgb(240, 247, 250);transition:top 0.4s}.duet-submenu-bar.hidden{top:-200px}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(198, 225, 238)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{max-height:0;overflow:hidden;visibility:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;max-height:unset;overflow:visible;visibility:visible}}.duet-submenu-bar .items{width:100%;height:70vh;overflow-y:scroll;visibility:visible;background:rgb(240, 247, 250);border-bottom:1px solid rgb(181, 198, 208)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{max-height:0;overflow:hidden;visibility:hidden;border-bottom:0 solid rgb(181, 198, 208)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;visibility:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar.duet-theme-turva{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-submenu-bar.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 247, 250)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 28, 58)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}';var b=d;var c=e("duet_submenu_bar",function(){function e(e){var i=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.previousYScroll=0;this.handleMobileView=function(){if(i.mql[0].matches){i.mobile=false;i.enableBodyScroll()}else{i.mobile=true;if(!i.bodyScroll){i.disableBodyScroll()}}};this.onClick=function(){i.open=!i.open};this.enableBodyScroll=function(){if(i.nav){s(i.nav)}if(i.itemsContainer){s(i.itemsContainer)}};this.disableBodyScroll=function(){if(i.nav){o(i.nav,{reserveScrollBarGap:true})}if(i.itemsContainer){o(i.itemsContainer,{reserveScrollBarGap:true})}};this.checkIfHasItems=function(){var e=!!i.element.querySelector("duet-submenu-bar-dropdown-link");var t=!!i.element.querySelector("duet-submenu-bar-link");var n=!!i.element.querySelector("duet-submenu-bar-item");return e||t||n};this.hidden=false;this.mobile=true;this.bodyScroll=true;this.theme="";this.hideOnScroll=false;this.open=false;this.accessibleLabel=undefined}e.prototype.watchOpenStateHandler=function(e){var t=e;if(t){this.bodyScroll=false;this.disableBodyScroll()}else{this.enableBodyScroll();this.bodyScroll=true}};e.prototype.componentWillLoad=function(){u(this)};e.prototype.connectedCallback=function(){this.nav=document.querySelector("duet-nav > [slot='mobile']");this.hasItems=this.checkIfHasItems();this.handleMobileView();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.handleMobileView.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[];this.enableBodyScroll()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus(e);return[2]}))}))};e.prototype.checkScroll=function(){if(!this.hideOnScroll){return}if(window.scrollY>this.previousYScroll){if(window.scrollY>100){this.hidden=true}}else{if(window.scrollY<150){this.hidden=false}}this.previousYScroll=window.scrollY};e.prototype.render=function(){var e=this;return i(n,{key:"86badada1aee5007210401a18b909265c6e7da8e"},i("nav",{key:"f32fed7e0ce0788624a3e4255ae0db18c1d0a815",class:{"duet-submenu-bar":true,"duet-theme-turva":this.theme==="turva",hidden:this.hidden},"aria-label":this.accessibleLabel},this.hasItems&&i("button",{key:"023f42471735d52798e9b93e0097d092a876d970",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},i("span",{key:"e2dd228fb84c96175fe18c53885d5d7b29d0c227",class:"label"},i("slot",{key:"22b3d8b20a06e0ebb32f5389cc4e76b86470cffc",name:"label"}),i("duet-icon",{key:"aa83f5bb09c66b7b1e167e832c384726a0f39686",theme:this.theme,class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),i("div",{key:"ab3308f7c02cc8248bb249dd9254e1a6dde9c0f3",class:{"menu-container":true,hidden:!this.open},role:"presentation"},i("div",{key:"cd19031fc8263a08267dc1338031143f109f97c3",role:this.mobile?"menu":null,id:"menu","aria-labelledby":this.mobile?"button":null,"aria-expanded":this.mobile?this.open?"true":"false":null,class:{items:true,hidden:!this.open},ref:function(t){return e.itemsContainer=t}},i("div",{key:"aff4f8d6fe01ca9a2a25dcf4c3255cbea5fe2bb5",class:"list",role:this.mobile?"presentation":"list"},i("slot",{key:"157ba2c07ca33927c016826805d4abed7f5e2b4d"}),i("div",{key:"e86d0f34cecc3968fd93a43e4877393c68f518aa",class:"list-padding"}))),i("duet-overlay",{key:"e9e83e146db0024d79405ba9de389c647aa9f1f6","keep-stacking-context":true,visible:this.open,"display-device":"not-large",transition:"immediate"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["watchOpenStateHandler"]}},enumerable:false,configurable:true});return e}());c.style=b}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as n,g as t}from"./p-8abb0984.js";import{i as o}from"./p-aaa7a7bd.js";import{f as r}from"./p-a1b7f2a0.js";const i=class{constructor(a){e(this,a),this.theme="",this.active=!1,this.href="#",this.icon=void 0,this.caret=!1,this.highlight=!1}componentWillLoad(){o(this)}handleEscape(e){if(r(e)){const e=this.element.closest("duet-submenu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return a(n,{key:"a746efa1453d4cec928e66f4122f1a1b593e8442"},a("a",{key:"6c959b9aad16526f25fa0f8c94d544e47850a69b",class:{"duet-submenu-bar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:e=>this.handleEscape(e)},this.icon&&a("duet-icon",{key:"c0fc8773a756787903d3e312ebabdae1f5854445",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),a("span",{key:"e3970bb855fdb008fe5c71d5b70ffaa0c95c6ca1",class:"label-container"},a("span",{key:"615e56e9b3b4c900b96ae2e77435dcfd29a9a321",class:"label"},a("slot",{key:"66142de58ca0b982f962787e57583acf2645acd2"})),this.caret&&a("duet-icon",{key:"690f5210ff9271e47c36a9ec86fbe0c427a7e823",name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&a("duet-icon",{key:"019e32fdb4672495348327df056ff55e5654c91d",class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))}get element(){return t(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none}.duet-submenu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown-link .label-container{display:flex;flex:1;gap:12px;align-items:center;justify-content:flex-start}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.5rem 8px;font-size:1rem;line-height:1.5}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}.duet-submenu-bar-dropdown-link.active .active-check{display:none}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-submenu-bar-dropdown-link.active .label::after{display:none}.duet-submenu-bar-dropdown-link.active .active-check{display:block}.duet-submenu-bar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-submenu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(126, 2, 35)}';export{i as duet_submenu_bar_dropdown_link}
4
+ import{r as e,h as a,H as n,g as t}from"./p-7a75bff7.js";import{i as o}from"./p-aaa7a7bd.js";import{f as r}from"./p-a1b7f2a0.js";const i=class{constructor(a){e(this,a),this.theme="",this.active=!1,this.href="#",this.icon=void 0,this.caret=!1,this.highlight=!1}componentWillLoad(){o(this)}handleEscape(e){if(r(e)){const e=this.element.closest("duet-submenu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return a(n,{key:"8e6a108958719714fbefbffcef40f07ce8534b02"},a("a",{key:"12f951166275159eb55697c41c54d05ce416231f",class:{"duet-submenu-bar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:e=>this.handleEscape(e)},this.icon&&a("duet-icon",{key:"86b4f1dd2ed617060b2710bb94e62f824d5527a4",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),a("span",{key:"4c12186535ab8cd78eeb73256f2c5e7b1e1a42dc",class:"label-container"},a("span",{key:"746e73ea2b480e0300a8879d85170029c5c269ee",class:"label"},a("slot",{key:"110738471d576d743d9cfa0f615745b8ada02c1a"})),this.caret&&a("duet-icon",{key:"c865298fc0ca62b44faccbcf590c92994ed530f1",name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&a("duet-icon",{key:"2b841cf6e37e5f4b7df0505cdc058fda2726019b",class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))}get element(){return t(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none}.duet-submenu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown-link .label-container{display:flex;flex:1;gap:12px;align-items:center;justify-content:flex-start}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.5rem 8px;font-size:1rem;line-height:1.5}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}.duet-submenu-bar-dropdown-link.active .active-check{display:none}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-submenu-bar-dropdown-link.active .label::after{display:none}.duet-submenu-bar-dropdown-link.active .active-check{display:block}.duet-submenu-bar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-submenu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(126, 2, 35)}';export{i as duet_submenu_bar_dropdown_link}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as i,H as o,g as n}from"./p-8abb0984.js";import{i as a}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{s as c,u as r,f as h,c as d,b as p,o as u}from"./p-a1b7f2a0.js";import{g as l}from"./p-2437b4cb.js";import{q as b}from"./p-1004af75.js";import{o as m,f as g,s as f,c as k,b as v}from"./p-81287261.js";import{f as x}from"./p-2eae4a0b.js";import{T as y}from"./p-ca3cb21e.js";import{a as w}from"./p-f11208c3.js";import"./p-9c3c64b9.js";const C=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetRemove=e(this,"duetRemove",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.chipId=s("DuetChip"),this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"},this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"},this.enforceNoDisabledSelected=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.radioInputListenersRemove=t=>{t.removeEventListener("change",this.onRadioChange),t.removeEventListener("click",this.onRadioClick),t.removeEventListener("focus",this.onFocus),t.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=t=>{t.addEventListener("change",this.onRadioChange),t.addEventListener("click",this.onRadioClick),t.addEventListener("focus",this.onFocus),t.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const t=this.element.querySelector("input[slot=input]"),e=t||document.createElement("input");e.slot="input",e.ariaDisabled=this.disabled?"true":void 0,e.id=this.identifier||this.chipId,e.type="radio",e.name=this.name,e.value=this.value,e.checked=this.checked,t?this.radioInputListenersRemove(e):this.element.appendChild(e),this.radioInputListenersAdd(e),this.focusableElement=e},this.popupSetUp=()=>{const t=document.querySelector(`duet-popup-menu#${this.popup}`);if(t){this.popupElement=t,t.controller=this.element;const e=this.element.textContent,i=this.value;t.id||(t.id="popup-menu"),t.addEventListener("duetToggle",(t=>{this.popupOpen=t.detail.open}));const o=()=>{t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.active=!1}))};t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.addEventListener("click",(n=>{var a;const s=null!==(a=t.value)&&void 0!==a?a:t.innerText;t.active?(o(),this.element.textContent=e,this.value=i,this.checked=!1):(o(),t.active=!0,this.element.textContent=t.innerText,this.value=s,this.checked=!0),this.emitChange(n),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=t=>{this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=t=>{this.checked=!this.checked,this.emitChange(t)},this.onRadioChange=t=>{this.checked=this.focusableElement.checked,this.emitChange(t)},this.onRadioClick=t=>{this.disabled&&t.preventDefault()},this.onFilterClick=t=>{if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.popupElement&&(t.stopPropagation(),t.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=t=>{null==t||t.stopPropagation(),null==t||t.preventDefault(),this.duetRemove.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"}),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.inputChipHover=!1,this.inputChipDeleteFocus=!1,this.accessibleLabel=void 0,this.variation="button",this.size="medium",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.selected=!1,this.checked=!1,this.disabled=!1,this.accessibleExpanded=void 0,this.accessiblePopup="false"}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((t=>{t!==this.element&&(t.checked=!1)}))}componentWillLoad(){a(this),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){c(this)}disconnectedCallback(){r(this)}componentDidRender(){"radio"===this.variation&&this.radioInputSetUp()}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}getAccessibleDeleteLabel(){return`${l(this.deleteLabels)} ${this.element.textContent}`}getAccessibleInputChipLabel(){return`${this.element.textContent}${this.selected?` (${l(this.selectedForDeletionLabels)}) `:""},`}async setFocus(t){setTimeout((()=>this.focusableElement.focus(t)),200)}async setDeleteFocus(){setTimeout((()=>this.deleteButtonElement.focus()),200)}async removeChip(){this.onRemoveClick()}render(){var t;const e=this.identifier||this.chipId,n={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-selected":this.selected,"duet-chip-hover":this.inputChipHover,"duet-chip-delete-focus":this.inputChipDeleteFocus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},a={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.focusableElement=t};return i(o,{key:"a1e4d371f57abce15c06aa88bf2faab012bde60a",class:{[this.variation]:!0}},"button"===this.variation&&i("span",{key:"48b8e4b70be8c4511a33be55c6fd25ec850fe1c2",class:n},i("button",Object.assign({key:"ec9084347d6c67fb665312422a36282f753900af",id:e,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?t=>t.stopPropagation():void 0},a),i("span",{key:"733df1c9acec6cd645b28f8ed86af4c48a79273a",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"001d0ccf56f2d072f7e861bbb950f75ff6673223",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"7ddfa4406408234c391bcf674c0ba8aaaec21ee0"}))),"input"===this.variation&&i("span",{key:"727e2fc07c26dff9c68fcae934c1925aca396155",class:n,"aria-label":this.getAccessibleInputChipLabel()},i("button",Object.assign({key:"ea5ee0837d8912fbb3434a2a38c7bc4d5d0975b5",id:e,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:()=>this.inputChipHover=!0,onMouseOut:()=>this.inputChipHover=!1,onClick:()=>this.selected=!this.selected},a),i("span",{key:"b318ffad1b0057ef1812018dc1e524ec8cf62091",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"c85184dcc2864532c7820bc01eb1ad48d9ef0fbd",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"d8871a7204049ace2b8295db0a13428caa96b57a"})),i("button",{key:"ec772bd91b3a8131145348fc67703f3ee4515702",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:()=>this.inputChipDeleteFocus=!0,onBlur:()=>this.inputChipDeleteFocus=!1,ref:t=>this.deleteButtonElement=t},i("duet-icon",{key:"903ab2300e7a977392b42927034941e43292d983",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&i("span",{key:"3660c3e7ff2a0eaff17ebbe34981cbf5909d0f0d",class:n},i("input",Object.assign({key:"d46cb417fe2464eb10908d01929c125e9bea5677","aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(t=this.popupElement)||void 0===t?void 0:t.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:e,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},a)),i("label",{key:"4ee86b0611315406cbd1b6dfbcdd42106ba84554",htmlFor:e},this.icon&&i("span",{key:"9514104bed3050807ea0b30550f9c0892d545daa",class:"duet-chip-icon-container"},i("duet-icon",{key:"f8000d1fce7ecbba8072545eaa78014913109aca",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"3d9ad0a9a4075b1d4e9339c485ee3180cf44cae1",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"2d5eef8328f0fa155877cb1f21017024140f81aa"}),this.popupElement&&i("span",{key:"a8073e5008dd5aebab4ed7af69a2be3833cc5103",class:"duet-chip-popup-disclosure"},i("duet-icon",{key:"124c026eecc172483e1988197edfa334736dbee4",name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&i("span",{key:"78b2f4b2f12a5d37a82a44ec03c121548ec26c05",class:n},i("slot",{key:"7d0f2d9039581110bad1cac19a35fc64b5554930",name:"input"}),i("label",{key:"12093ea0d2a2d97b73b7847384a80108e3e6eb3d",htmlFor:e},this.icon&&i("span",{key:"073c4aeefdf6b0e9c4b39c2d821c157f3f8c7285",class:"duet-chip-icon-container"},i("duet-icon",{key:"20a39d0858cfba1c30c25532485adbc904fb3fe4",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"2b7124ccc84b91f81b938a7f52e193daf7002cd0",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"9165ca7f004968f8c8505822c98281eec4583329"}))))}get element(){return n(this)}static get watchers(){return{checked:["clearOtherRadioButtons"]}}};C.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}';const z=class{constructor(i){t(this,i),this.duetToggle=e(this,"duetToggle",7),this.setOpenButton=t=>{if(t)try{const e=t;e.accessiblePopup="true",e.accessibleExpanded=!1,this.controllerIcon&&e.setAttribute("trailing-icon","action-arrow-down-small"),this.openButton=e}catch(t){}},this.openButtonEventListener=()=>{this.toggle()},this.updatePlacement=async()=>{if(!this.openButton)return;const t=[m({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&g(),f({padding:5})].filter(Boolean),e=await k(this.openButton,this.menuElement,{middleware:t,placement:this.placement,strategy:this.position});this.menuY=e.y,this.menuX=e.x},this.open=!1,this.menuY=void 0,this.menuX=void 0,this.accessibleLabel=void 0,this.accessibleRole="menu",this.theme="",this.skipTeleport=void 0,this.placement="bottom-start",this.forcePlacement=!1,this.allowVerticalFlip=!0,this.position="absolute",this.mainAxisOffset=0,this.crossAxisOffset=0,this.controllerIcon="action-arrow-down-small",this.scrollLimit=void 0}get controller(){return this._controller}set controller(t){this._controller!==t&&(this._controller=t,"string"==typeof t?(this.setOpenButton(document.getElementById(t)),this.openButton&&this.openButton.addEventListener("click",this.openButtonEventListener)):this.setOpenButton(t))}get opener(){return this._controller}set opener(t){this.controller=t}componentWillLoad(){a(this)}componentDidLoad(){this.updatePlacement()}connectedCallback(){this.teleport||(this.teleport=new y(this.element)),this.teleport&&this.teleport.activate()}disconnectedCallback(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.openButton&&(this.openButton.removeEventListener("click",this.openButtonEventListener),this.controllerIcon&&this.openButton.removeAttribute("trailing-icon"))}handleKeyUp(t){this.open&&h(t)&&this.hide()}async handleKeyDown(t){if(this.open){if(d(t)){t.preventDefault();const e=await this.getFocusedItemIndex();-1!==e&&(e<this.itemElements.length-1?this.itemElements[e+1].setFocus():this.itemElements[0].setFocus())}if(p(t)){t.preventDefault();const e=await this.getFocusedItemIndex();-1!==e&&(0===e?this.itemElements[this.itemElements.length-1].setFocus():this.itemElements[e-1].setFocus())}u(t)&&"menu"===this.accessibleRole&&(t.preventDefault(),this.hide())}}handleClick(t){const e=t.composedPath().every((t=>t!==this.element&&t!==this.openButton));this.open&&e&&this.hide()}async isOpen(){return this.open}async show(){this.open=!0}async hide(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.open=!1}async toggle(){this.open?this.hide():this.show()}handleOpenChange(t,e){!!t!=!!e&&(this.open&&!e?(this.openButton&&(this.openButton.accessibleExpanded=!0),"listbox"!==this.accessibleRole&&this.teleport.makeSiblingsInert(),this.updatePlacement(),this.menuElement&&this.openButton&&(this.autoUpdateCleanup=v(this.openButton,this.menuElement,this.updatePlacement)),setTimeout((()=>{"menu"===this.accessibleRole&&this.itemElements[0].setFocus(),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"})}),200)):!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),this.autoUpdateCleanup&&this.autoUpdateCleanup(),setTimeout((()=>{"menu"===this.accessibleRole&&x(this.openButton),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"}),"listbox"!==this.accessibleRole&&this.teleport.removeInertFromSiblings()}),200)))}get itemElements(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))}get popupMenuStyleHeight(){if(this.itemElements.length>0&&this.scrollLimit){const t=2*Number(b.replace("px",""));return`${this.itemElements[0].offsetHeight*this.scrollLimit+t}px`}return"auto"}async getFocusedItemIndex(){const t=this.itemElements;for(let e=0;e<t.length;e++)if(await t[e].isFocused())return e;return-1}render(){return i(o,{key:"4754c8522cdd93a4e90398840cb321821636b489"},i("div",{key:"45ceb31093aa93bf21e61daed2c77c4ba816556f",ref:t=>{this.menuElement=t},style:{top:`${this.menuY}px`,left:`${this.menuX}px`,position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight},class:{open:this.open,"duet-popup-menu-list":!0,"duet-theme-turva":"turva"===this.theme,"scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},i("slot",{key:"88dde9607c352adc70eb6a27b5fab917585cef1e"})))}get element(){return n(this)}static get watchers(){return{open:["handleOpenChange"]}}};z.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";const j=class{constructor(i){t(this,i),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.focus=!1,this.accessibleLabel=void 0,this.accessibleRole="menuitem",this.theme="",this.url=void 0,this.external=!1,this.targetLanguage=void 0,this.value=void 0,this.leadingIcon=void 0,this.leadingIconColor=void 0,this.trailingIcon=void 0,this.trailingText=void 0,this.active=!1,this.activeDescendant=!1}componentWillLoad(){a(this)}async setFocus(t){setTimeout((()=>this.itemElement.focus(t)),200)}async isFocused(){return this.focus}render(){const t=this.url?"a":"button";return i(o,{key:"d8a0f9f62ecc1abedce8431e27331ff3d88f4c24",role:this.accessibleRole},i(t,{key:"998d7156c8a1e789405240a5927923e83130eb48",ref:t=>this.itemElement=t,tabIndex:"listitem"===this.accessibleRole?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"a"===t?"link":"button","aria-label":this.accessibleLabel,class:{"duet-popup-menu-item":!0,active:this.active,"duet-theme-turva":"turva"===this.theme,"active-descendant":this.activeDescendant},value:this.value,href:this.url,target:this.external?"_blank":void 0,rel:this.external?"noopener":void 0,lang:"button"===t?void 0:this.targetLanguage,hreflang:"button"===t?void 0:this.targetLanguage},this.leadingIcon&&i("duet-icon",{key:"db04fcce497b69525b6dafe5179aaff15a61a98f",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),i("span",{key:"f67feb833576c6272f80097877c16cc0c68f41f8",class:"duet-popup-menu-item-label"},i("slot",{key:"bd8abe74d51a7398ab7ba70813dc1449ad5e0bb4"})),(this.trailingIcon||this.active||this.url&&this.external)&&i("duet-icon",{key:"3f75ee757d5ff1b5fa9055b897fd51c31f6919d5",name:this.url&&this.external?w.title:this.active?"messaging-checked-small":this.trailingIcon,size:this.url&&this.external||this.active?"xx-small":"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&i("span",{key:"e716737df75eb8ee5512b2075e37ef539fe4ef2c",class:"duet-popup-menu-item-trailing"},this.trailingText)))}get element(){return n(this)}};j.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';export{C as duet_chip,z as duet_popup_menu,j as duet_popup_menu_item}
4
+ import{r as t,c as e,h as i,H as o,g as a}from"./p-7a75bff7.js";import{i as n}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{s as c,u as r,f as h,c as d,b as p,o as u}from"./p-a1b7f2a0.js";import{g as l}from"./p-51b2f340.js";import{I as b}from"./p-0d7da85a.js";import{o as m,f as g,s as f,c as k,b as v}from"./p-81287261.js";import{f as x}from"./p-fbc347fd.js";import{T as y}from"./p-ca3cb21e.js";import{a as w}from"./p-f11208c3.js";import"./p-9c3c64b9.js";const C=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetRemove=e(this,"duetRemove",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.chipId=s("DuetChip"),this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"},this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"},this.enforceNoDisabledSelected=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.radioInputListenersRemove=t=>{t.removeEventListener("change",this.onRadioChange),t.removeEventListener("click",this.onRadioClick),t.removeEventListener("focus",this.onFocus),t.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=t=>{t.addEventListener("change",this.onRadioChange),t.addEventListener("click",this.onRadioClick),t.addEventListener("focus",this.onFocus),t.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const t=this.element.querySelector("input[slot=input]"),e=t||document.createElement("input");e.slot="input",e.ariaDisabled=this.disabled?"true":void 0,e.id=this.identifier||this.chipId,e.type="radio",e.name=this.name,e.value=this.value,e.checked=this.checked,t?this.radioInputListenersRemove(e):this.element.appendChild(e),this.radioInputListenersAdd(e),this.focusableElement=e},this.popupSetUp=()=>{const t=document.querySelector(`duet-popup-menu#${this.popup}`);if(t){this.popupElement=t,t.controller=this.element;const e=this.element.textContent,i=this.value;t.id||(t.id="popup-menu"),t.addEventListener("duetToggle",(t=>{this.popupOpen=t.detail.open}));const o=()=>{t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.active=!1}))};t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.addEventListener("click",(a=>{var n;const s=null!==(n=t.value)&&void 0!==n?n:t.innerText;t.active?(o(),this.element.textContent=e,this.value=i,this.checked=!1):(o(),t.active=!0,this.element.textContent=t.innerText,this.value=s,this.checked=!0),this.emitChange(a),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=t=>{this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=t=>{this.checked=!this.checked,this.emitChange(t)},this.onRadioChange=t=>{this.checked=this.focusableElement.checked,this.emitChange(t)},this.onRadioClick=t=>{this.disabled&&t.preventDefault()},this.onFilterClick=t=>{if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.popupElement&&(t.stopPropagation(),t.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=t=>{null==t||t.stopPropagation(),null==t||t.preventDefault(),this.duetRemove.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"}),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.inputChipHover=!1,this.inputChipDeleteFocus=!1,this.accessibleLabel=void 0,this.variation="button",this.size="medium",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.selected=!1,this.checked=!1,this.disabled=!1,this.accessibleExpanded=void 0,this.accessiblePopup="false"}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((t=>{t!==this.element&&(t.checked=!1)}))}componentWillLoad(){n(this),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){c(this)}disconnectedCallback(){r(this)}componentDidRender(){"radio"===this.variation&&this.radioInputSetUp()}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}getAccessibleDeleteLabel(){return`${l(this.deleteLabels)} ${this.element.textContent}`}getAccessibleInputChipLabel(){return`${this.element.textContent}${this.selected?` (${l(this.selectedForDeletionLabels)}) `:""},`}async setFocus(t){setTimeout((()=>this.focusableElement.focus(t)),200)}async setDeleteFocus(){setTimeout((()=>this.deleteButtonElement.focus()),200)}async removeChip(){this.onRemoveClick()}render(){var t;const e=this.identifier||this.chipId,a={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-selected":this.selected,"duet-chip-hover":this.inputChipHover,"duet-chip-delete-focus":this.inputChipDeleteFocus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},n={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.focusableElement=t};return i(o,{key:"f5866959a8c96e4c06f87b9da16bb1a1fce05235",class:{[this.variation]:!0}},"button"===this.variation&&i("span",{key:"f118e5cb6fd7e7a36b783b6b136b85848493d7b2",class:a},i("button",Object.assign({key:"8136c5fc8d81b414f102d52af06bef9a4b85bf8c",id:e,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?t=>t.stopPropagation():void 0},n),i("span",{key:"bcbd7ed8bda270105ad63bda748c3e99440e210a",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"878b7a3bd90f777342a9f01ec3b9d6487c84ae62",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"80af3c2e2ed0326f64ba76df23cb013ad6453bc7"}))),"input"===this.variation&&i("span",{key:"b58b2486ea2a68bf3cb4f7936acd3c1bae7a8f01",class:a,"aria-label":this.getAccessibleInputChipLabel()},i("button",Object.assign({key:"aab83e094723fea4006b2d6d5b7d0c7561741dc0",id:e,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:()=>this.inputChipHover=!0,onMouseOut:()=>this.inputChipHover=!1,onClick:()=>this.selected=!this.selected},n),i("span",{key:"7060c0297c7a9ac439e1b8cacf331286076e49d3",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"285b4f499a36e796777a68ac9d625776bd01f8fe",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"abad02d6dc1809c0bed85b1c51e9150835470e24"})),i("button",{key:"89239750f6c9738272cc92142889f59a7c8d4ea0",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:()=>this.inputChipDeleteFocus=!0,onBlur:()=>this.inputChipDeleteFocus=!1,ref:t=>this.deleteButtonElement=t},i("duet-icon",{key:"da6a4b111356b20f82bfc083cbaaf35ce9facdaa",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&i("span",{key:"a7f9ee8ddaf8f256bf6a43ec10e4df16da91fe01",class:a},i("input",Object.assign({key:"9717dd6ef3002cb5bb0382bbcf0c93f4e4b9a7e6","aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(t=this.popupElement)||void 0===t?void 0:t.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:e,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},n)),i("label",{key:"1cf57481446293957a2a639afea5a72d847f82eb",htmlFor:e},this.icon&&i("span",{key:"491a9eb7a0d9ea0fa1ed30e49826ecc51e5fa394",class:"duet-chip-icon-container"},i("duet-icon",{key:"1ca20585deaa344a434a013fac217e8191432b31",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"6bfd6b12f71a7264b657c164a748de134d0e7976",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"f51bf27633eb450f0469f43b569e6dc8ec19a5a2"}),this.popupElement&&i("span",{key:"c8e24b22bc5dada17637c970f5c240a0ab1432dd",class:"duet-chip-popup-disclosure"},i("duet-icon",{key:"77bff8f2d2d4d2bacfd35e466c8917af0dee3712",name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&i("span",{key:"9301ae9f35e1f8b98e9fb22581054a7d9e4e95f7",class:a},i("slot",{key:"ef01900b142a3ccbb3df9609de81c765d171fc7a",name:"input"}),i("label",{key:"5803f303e6073ea2521400ad5a019668752dc72f",htmlFor:e},this.icon&&i("span",{key:"3a02f6262d9409fd67f5dec28333813e00059ee2",class:"duet-chip-icon-container"},i("duet-icon",{key:"782a8428f4516926dd572640670084f17f1a0a6c",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"20bbe0863bb89ba63507469f3d47c910ca08842c",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"b9f66eeaa21825e40fde477edc0928e461ff3b62"}))))}get element(){return a(this)}static get watchers(){return{checked:["clearOtherRadioButtons"]}}};C.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}';const z=class{constructor(i){t(this,i),this.duetToggle=e(this,"duetToggle",7),this.setOpenButton=t=>{if(t)try{const e=t;e.accessiblePopup="true",e.accessibleExpanded=!1,this.controllerIcon&&e.setAttribute("trailing-icon","action-arrow-down-small"),this.openButton=e}catch(t){}},this.openButtonEventListener=()=>{this.toggle()},this.updatePlacement=async()=>{if(!this.openButton)return;const t=[m({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&g(),f({padding:5})].filter(Boolean),e=await k(this.openButton,this.menuElement,{middleware:t,placement:this.placement,strategy:this.position});this.menuY=e.y,this.menuX=e.x},this.open=!1,this.menuY=void 0,this.menuX=void 0,this.accessibleLabel=void 0,this.accessibleRole="menu",this.theme="",this.skipTeleport=void 0,this.placement="bottom-start",this.forcePlacement=!1,this.allowVerticalFlip=!0,this.position="absolute",this.mainAxisOffset=0,this.crossAxisOffset=0,this.controllerIcon="action-arrow-down-small",this.scrollLimit=void 0}get controller(){return this._controller}set controller(t){this._controller!==t&&(this._controller=t,"string"==typeof t?(this.setOpenButton(document.getElementById(t)),this.openButton&&this.openButton.addEventListener("click",this.openButtonEventListener)):this.setOpenButton(t))}get opener(){return this._controller}set opener(t){this.controller=t}componentWillLoad(){n(this)}componentDidLoad(){this.updatePlacement()}connectedCallback(){this.teleport||(this.teleport=new y(this.element)),this.teleport&&this.teleport.activate()}disconnectedCallback(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.openButton&&(this.openButton.removeEventListener("click",this.openButtonEventListener),this.controllerIcon&&this.openButton.removeAttribute("trailing-icon"))}handleKeyUp(t){this.open&&h(t)&&this.hide()}async handleKeyDown(t){if(this.open){if(d(t)){t.preventDefault();const e=await this.getFocusedItemIndex();-1!==e&&(e<this.itemElements.length-1?this.itemElements[e+1].setFocus():this.itemElements[0].setFocus())}if(p(t)){t.preventDefault();const e=await this.getFocusedItemIndex();-1!==e&&(0===e?this.itemElements[this.itemElements.length-1].setFocus():this.itemElements[e-1].setFocus())}u(t)&&"menu"===this.accessibleRole&&(t.preventDefault(),this.hide())}}handleClick(t){const e=t.composedPath().every((t=>t!==this.element&&t!==this.openButton));this.open&&e&&this.hide()}async isOpen(){return this.open}async show(){this.open=!0}async hide(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.open=!1}async toggle(){this.open?this.hide():this.show()}handleOpenChange(t,e){!!t!=!!e&&(this.open&&!e?(this.openButton&&(this.openButton.accessibleExpanded=!0),"listbox"!==this.accessibleRole&&this.teleport.makeSiblingsInert(),this.updatePlacement(),this.menuElement&&this.openButton&&(this.autoUpdateCleanup=v(this.openButton,this.menuElement,this.updatePlacement)),setTimeout((()=>{"menu"===this.accessibleRole&&this.itemElements[0].setFocus(),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"})}),200)):!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),this.autoUpdateCleanup&&this.autoUpdateCleanup(),setTimeout((()=>{"menu"===this.accessibleRole&&x(this.openButton),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"}),"listbox"!==this.accessibleRole&&this.teleport.removeInertFromSiblings()}),200)))}get itemElements(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))}get popupMenuStyleHeight(){if(this.itemElements.length>0&&this.scrollLimit){const t=2*Number(b.replace("px",""));return`${this.itemElements[0].offsetHeight*this.scrollLimit+t}px`}return"auto"}async getFocusedItemIndex(){const t=this.itemElements;for(let e=0;e<t.length;e++)if(await t[e].isFocused())return e;return-1}render(){return i(o,{key:"c5d59c4859a8b66d3fdc725163b4163599c70a6f"},i("div",{key:"376869b621cf3f1899ef6d1e9c1e913bb47fc83f",ref:t=>{this.menuElement=t},style:{top:`${this.menuY}px`,left:`${this.menuX}px`,position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight},class:{open:this.open,"duet-popup-menu-list":!0,"duet-theme-turva":"turva"===this.theme,"scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},i("slot",{key:"7a5793c36e4103077f1e8165478b410a5068e4a0"})))}get element(){return a(this)}static get watchers(){return{open:["handleOpenChange"]}}};z.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";const j=class{constructor(i){t(this,i),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.focus=!1,this.accessibleLabel=void 0,this.accessibleRole="menuitem",this.theme="",this.url=void 0,this.external=!1,this.targetLanguage=void 0,this.value=void 0,this.leadingIcon=void 0,this.leadingIconColor=void 0,this.trailingIcon=void 0,this.trailingText=void 0,this.active=!1,this.activeDescendant=!1}componentWillLoad(){n(this)}async setFocus(t){setTimeout((()=>this.itemElement.focus(t)),200)}async isFocused(){return this.focus}render(){const t=this.url?"a":"button";return i(o,{key:"cba4450c5f4e743f1c54c4736930fd263acba1db",role:this.accessibleRole},i(t,{key:"94c16ad9906c2ea626f186a405a044f8c0fdc38b",ref:t=>this.itemElement=t,tabIndex:"listitem"===this.accessibleRole?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"a"===t?"link":"button","aria-label":this.accessibleLabel,class:{"duet-popup-menu-item":!0,active:this.active,"duet-theme-turva":"turva"===this.theme,"active-descendant":this.activeDescendant},value:this.value,href:this.url,target:this.external?"_blank":void 0,rel:this.external?"noopener":void 0,lang:"button"===t?void 0:this.targetLanguage,hreflang:"button"===t?void 0:this.targetLanguage},this.leadingIcon&&i("duet-icon",{key:"bc37f155bb1a3c6e0519f1b673682840e7cc2838",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),i("span",{key:"641cb769d15e68d2e05893737b2712cb22916084",class:"duet-popup-menu-item-label"},i("slot",{key:"c4e79af7b0a972b68a6a30ca479d3fe49ec0ac57"})),(this.trailingIcon||this.active||this.url&&this.external)&&i("duet-icon",{key:"d5ae36ac91afb6b5f9a6bfe461a10b68ee0f916e",name:this.url&&this.external?w.title:this.active?"messaging-checked-small":this.trailingIcon,size:this.url&&this.external||this.active?"xx-small":"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&i("span",{key:"79631aaffd5c2b020ebc6f37f0770147ae8291fa",class:"duet-popup-menu-item-trailing"},this.trailingText)))}get element(){return a(this)}};j.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';export{C as duet_chip,z as duet_popup_menu,j as duet_popup_menu_item}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as s,H as i,g as r}from"./p-8abb0984.js";const h=class{constructor(s){t(this,s),this.replacePlaceHolders=t=>{const s=t=>t>1?`${t} ${this.statusMessageLabel.files}`:`${t} ${this.statusMessageLabel.file}`;return t.replace("{filesUploaded}",s(this.valid)).replace("{filesInProgress}",s(this.inprogress)).replace("{filesTotal}",s(this.total)).replace("{filesWithErrors}",s(this.invalid))},this.getStatusMessage=()=>{const{done:t,inProgress:s,doneWithErrors:i,inProgressWithErrors:r}=this.statusMessageLabel,h=this.invalid>0,a=this.inprogress>0,e=this.valid+this.invalid===this.total&&!a;this.valid!==this.total||a||h?this.inprogress>0&&h?this.statusMessage=this.replacePlaceHolders(r):a?this.statusMessage=this.replacePlaceHolders(s):e&&(this.statusMessage=this.replacePlaceHolders(i)):this.statusMessage=this.replacePlaceHolders(t)},this.statusMessage=null,this.statusMessageLabel=null,this.accessibleAriaLive="polite",this.valid=void 0,this.total=void 0,this.invalid=void 0,this.inprogress=void 0}watchHandler(t,s){t!==s&&this.getStatusMessage()}render(){return s(i,{key:"177f33a14fe939c866cc4b465b1886899d97af29",role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},s("duet-visually-hidden",{key:"410c70a49016691f5795d537a66ead6cc2a9bb64"},this.statusMessage))}get element(){return r(this)}static get watchers(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}}};export{h as duet_upload_aria_status}
4
+ import{r as t,h as s,H as i,g as e}from"./p-7a75bff7.js";const r=class{constructor(s){t(this,s),this.replacePlaceHolders=t=>{const s=t=>t>1?`${t} ${this.statusMessageLabel.files}`:`${t} ${this.statusMessageLabel.file}`;return t.replace("{filesUploaded}",s(this.valid)).replace("{filesInProgress}",s(this.inprogress)).replace("{filesTotal}",s(this.total)).replace("{filesWithErrors}",s(this.invalid))},this.getStatusMessage=()=>{const{done:t,inProgress:s,doneWithErrors:i,inProgressWithErrors:e}=this.statusMessageLabel,r=this.invalid>0,a=this.inprogress>0,h=this.valid+this.invalid===this.total&&!a;this.valid!==this.total||a||r?this.inprogress>0&&r?this.statusMessage=this.replacePlaceHolders(e):a?this.statusMessage=this.replacePlaceHolders(s):h&&(this.statusMessage=this.replacePlaceHolders(i)):this.statusMessage=this.replacePlaceHolders(t)},this.statusMessage=null,this.statusMessageLabel=null,this.accessibleAriaLive="polite",this.valid=void 0,this.total=void 0,this.invalid=void 0,this.inprogress=void 0}watchHandler(t,s){t!==s&&this.getStatusMessage()}render(){return s(i,{key:"68e88af39c2e495698149c4934fe34e466db3a45",role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},s("duet-visually-hidden",{key:"b3ae2e032c905605445f4eb5ad3a29ae11251fa6"},this.statusMessage))}get element(){return e(this)}static get watchers(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}}};export{r as duet_upload_aria_status}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-a19244e5.system.js","./p-e4c8559c.system.js","./p-e216bea4.system.js","./p-1e17463d.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,n,a,o,r,s,d,h;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;o=e.g},function(e){r=e.a;s=e.c},function(e){d=e.i},function(e){h=e.a},function(){}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';var c=u;var l=e("duet_menu_bar",function(){function e(e){var n=this;t(this,e);this.duetEvent=i(this,"duetEvent",7);this.mql=[window.matchMedia(r.replace(/'/g,"")),window.matchMedia(s.replace(/'/g,""))];this.boundMqlFunctions=[];this.previousYScroll=0;this.scrollbarCheck=function(){n.leftMoreVisible=n.container.scrollLeft>0;n.rightMoreVisible=n.container.scrollLeft!==n.container.scrollWidth-n.container.clientWidth};this.scrollToActive=function(){var e=n.element.querySelectorAll("[active]");var t;e.forEach((function(e){if(e.active){t=e}}));if(t&&t.offsetLeft){if(t.offsetLeft>50){n.container.scrollLeft=t.offsetLeft-n.element.getBoundingClientRect().width/2+t.offsetWidth/2}}};this.checkCenterSlot=function(){var e=n.element.querySelector('[slot="center"]');n.centerSlotUsed=!!e};this.changeLogoSize=function(){if(n.mql[1].matches&&n.centerSlotUsed){n.logoSize="large"}else{n.logoSize="medium"}};this.handleLogoClick=function(e){n.duetEvent.emit({name:"logoClick",component:"duet-menu-bar",data:{logoHref:n.logoHref},originalEvent:e})};this.hidden=false;this.onBottom=false;this.logoSize="large";this.leftMoreVisible=false;this.rightMoreVisible=false;this.centerSlotUsed=false;this.theme="";this.language=h();this.logo=true;this.logoHref=undefined;this.logoLinkAccessibleLabel=undefined;this.accessibleLabel=undefined;this.hideOnScroll=false}e.prototype.checkScroll=function(){var e=this;if(!this.hideOnScroll){return}if(window.scrollY>this.previousYScroll){if(window.scrollY>100){if(this.hideOnScroll){clearTimeout(this.zindexTimer);this.onBottom=true}this.hidden=true}}else{if(window.scrollY<150){if(this.hideOnScroll){this.zindexTimer=setTimeout((function(){e.onBottom=false}),300)}this.hidden=false}}this.previousYScroll=window.scrollY};e.prototype.componentWillLoad=function(){d(this)};e.prototype.connectedCallback=function(){this.changeLogoSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeLogoSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}this.checkCenterSlot()};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.componentDidLoad=function(){var e=this;setTimeout((function(){e.scrollbarCheck();e.scrollToActive();e.checkCenterSlot()}),0)};e.prototype.onWindowResize=function(){var e=this;clearTimeout(this.resizeTimer);this.resizeTimer=setTimeout((function(){e.scrollToActive()}),100)};e.prototype.render=function(){var e=this;var t=document.querySelectorAll("duet-slideout").length>0;var i=t&&!this.logo;return n(a,{key:"7424032f4fe4cf9e7391b652faddecf381ffd039"},n("nav",{key:"8c3201741b36da474a2241e8ba5b3e1dfb53a61e",class:{"duet-menu-bar":true,"duet-theme-turva":this.theme==="turva","horizontal-nav":i,"duet-menu-bar-slim":!this.centerSlotUsed,hidden:this.hidden&&this.hideOnScroll,bottom:this.onBottom},"aria-label":this.accessibleLabel},n("div",{key:"343657eeb7bbc89db0881a7bb0fe485bfcd6cdd6",class:"top"}),n("div",{key:"7252aede6443560c0dd9d9b1da3be093312468aa",class:{container:true},ref:function(t){return e.container=t},onScroll:function(){return e.scrollbarCheck()}},this.logo&&n("div",{key:"95c2d74cb086c7ae350a20b2f10555ac8a9ccf18"},n("duet-logo",{key:"00d5ca62ce150e05e4015f1597692ed9122303e0",size:this.logoSize,margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language})),n("div",{key:"d11a1fe47483eaa847dd6e1b33fe3f022182056f",class:"list center",role:"list"},n("div",{key:"70d5324316868d9eac48fcf6f6519fce58f08411",class:"more-left",hidden:!this.leftMoreVisible,role:"presentation"}),n("slot",{key:"3565b69ae8c95cbe9dcda578b6870cfcb680fa3e",name:"center"}),n("div",{key:"ea2d3738b94bcfec575da5cb1e2896e152780f2c",class:"more-right",hidden:!this.rightMoreVisible,role:"presentation"})),n("div",{key:"bc825dee9988ee497c9df9ef96a94c76d58e0de9",class:"list right",role:"list"},n("slot",{key:"3ebc272f053762d22d0fb80bc22093edf171fffa",name:"right"}))),n("div",{key:"6ee303d3e34ebda33fefbd13d0b13ea0d43fbfa6",class:"bottom"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());l.style=c}}}));
4
+ System.register(["./p-2e0eb8a4.system.js","./p-e4c8559c.system.js","./p-e216bea4.system.js","./p-81835239.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,n,a,o,r,s,d,h;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;o=e.g},function(e){r=e.a;s=e.c},function(e){d=e.i},function(e){h=e.a},function(){}],execute:function(){var c='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';var u=c;var l=e("duet_menu_bar",function(){function e(e){var n=this;t(this,e);this.duetEvent=i(this,"duetEvent",7);this.mql=[window.matchMedia(r.replace(/'/g,"")),window.matchMedia(s.replace(/'/g,""))];this.boundMqlFunctions=[];this.previousYScroll=0;this.scrollbarCheck=function(){n.leftMoreVisible=n.container.scrollLeft>0;n.rightMoreVisible=n.container.scrollLeft!==n.container.scrollWidth-n.container.clientWidth};this.scrollToActive=function(){var e=n.element.querySelectorAll("[active]");var t;e.forEach((function(e){if(e.active){t=e}}));if(t&&t.offsetLeft){if(t.offsetLeft>50){n.container.scrollLeft=t.offsetLeft-n.element.getBoundingClientRect().width/2+t.offsetWidth/2}}};this.checkCenterSlot=function(){var e=n.element.querySelector('[slot="center"]');n.centerSlotUsed=!!e};this.changeLogoSize=function(){if(n.mql[1].matches&&n.centerSlotUsed){n.logoSize="large"}else{n.logoSize="medium"}};this.handleLogoClick=function(e){n.duetEvent.emit({name:"logoClick",component:"duet-menu-bar",data:{logoHref:n.logoHref},originalEvent:e})};this.hidden=false;this.onBottom=false;this.logoSize="large";this.leftMoreVisible=false;this.rightMoreVisible=false;this.centerSlotUsed=false;this.theme="";this.language=h();this.logo=true;this.logoHref=undefined;this.logoLinkAccessibleLabel=undefined;this.accessibleLabel=undefined;this.hideOnScroll=false}e.prototype.checkScroll=function(){var e=this;if(!this.hideOnScroll){return}if(window.scrollY>this.previousYScroll){if(window.scrollY>100){if(this.hideOnScroll){clearTimeout(this.zindexTimer);this.onBottom=true}this.hidden=true}}else{if(window.scrollY<150){if(this.hideOnScroll){this.zindexTimer=setTimeout((function(){e.onBottom=false}),300)}this.hidden=false}}this.previousYScroll=window.scrollY};e.prototype.componentWillLoad=function(){d(this)};e.prototype.connectedCallback=function(){this.changeLogoSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeLogoSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}this.checkCenterSlot()};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.componentDidLoad=function(){var e=this;setTimeout((function(){e.scrollbarCheck();e.scrollToActive();e.checkCenterSlot()}),0)};e.prototype.onWindowResize=function(){var e=this;clearTimeout(this.resizeTimer);this.resizeTimer=setTimeout((function(){e.scrollToActive()}),100)};e.prototype.render=function(){var e=this;var t=document.querySelectorAll("duet-slideout").length>0;var i=t&&!this.logo;return n(a,{key:"879fc36781875cd6dea48e11839a85a185085dc0"},n("nav",{key:"2ea40e5fc7e651f516d4f9edae5ac2f71fd4fee9",class:{"duet-menu-bar":true,"duet-theme-turva":this.theme==="turva","horizontal-nav":i,"duet-menu-bar-slim":!this.centerSlotUsed,hidden:this.hidden&&this.hideOnScroll,bottom:this.onBottom},"aria-label":this.accessibleLabel},n("div",{key:"ff8cc7d764c170ddd58d7ed93375961a95db7e20",class:"top"}),n("div",{key:"f1a58089bfde393327f4602887e2c3bb850f2344",class:{container:true},ref:function(t){return e.container=t},onScroll:function(){return e.scrollbarCheck()}},this.logo&&n("div",{key:"f3ef014e2ea267d5b52553854490be997f13cf25"},n("duet-logo",{key:"063b69ae891ce4cb9bc6960aa0f0a9dbeca46cb8",size:this.logoSize,margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language})),n("div",{key:"241a7083365bb7b039787e4f8debcd9185092057",class:"list center",role:"list"},n("div",{key:"e91f65554fe261b6eac8f2e27b1a38a41f26ad11",class:"more-left",hidden:!this.leftMoreVisible,role:"presentation"}),n("slot",{key:"54aca3809af67d932ccde820be7575dceb6c422c",name:"center"}),n("div",{key:"89998cee04eba79bb73de1a494b5a6b87790276b",class:"more-right",hidden:!this.rightMoreVisible,role:"presentation"})),n("div",{key:"e949ddcfac19ccaf615fdcbc2ce2faacbf7b9a91",class:"list right",role:"list"},n("slot",{key:"c29da062d16c0070f56c034008c6cc911f6570b2",name:"right"}))),n("div",{key:"02cca0e6a68888052ccc9721adc8d8692b6f2841",class:"bottom"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());l.style=u}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-a19244e5.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,o,a,r,n;return{setters:[function(e){t=e.r;o=e.h;a=e.H;r=e.g},function(e){n=e.i}],execute:function(){var i='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-link.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.negative duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-link:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-link:hover.negative{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-link:hover.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active{color:rgb(8, 42, 77)}.duet-toolbar-link.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active.negative::after{display:none}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}';var l=i;var b=e("duet_toolbar_link",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.active=false;this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e;var t=this.variation==="negative"?"negative":"white";return o(a,{key:"2656a1b596a4b66cf46c4f417335e35eb881dab2",role:"listitem"},o("a",{key:"ce034bce2589926b97d4bb34280799747927414f",class:(e={"duet-toolbar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},e[t]=true,e),href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&o("duet-icon",{key:"0fc473d63161aaa4922c4557f902e170f68464ed",size:"x-small",name:this.icon,margin:"none",theme:this.theme,color:"currentColor"}),o("slot",{key:"beba45fdc4e282f23e04735c6491c67f65ac7b7f"})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());b.style=l}}}));
4
+ System.register(["./p-2e0eb8a4.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,o,a,r,n;return{setters:[function(e){t=e.r;o=e.h;a=e.H;r=e.g},function(e){n=e.i}],execute:function(){var i='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-link.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.negative duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-link:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-link:hover.negative{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-link:hover.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active{color:rgb(8, 42, 77)}.duet-toolbar-link.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active.negative::after{display:none}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}';var l=i;var b=e("duet_toolbar_link",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.active=false;this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e;var t=this.variation==="negative"?"negative":"white";return o(a,{key:"56d638c52e6ef59f5a1273a2cb5d2cf9d996005c",role:"listitem"},o("a",{key:"07e65b8ed6600bfb30800874b9c6cf1987e5daea",class:(e={"duet-toolbar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},e[t]=true,e),href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&o("duet-icon",{key:"fefe79b575bcc816d4d5c803f75f0ea66e2b4eac",size:"x-small",name:this.icon,margin:"none",theme:this.theme,color:"currentColor"}),o("slot",{key:"5c58ccf2a15c5eb4ca70c25fe1bbe45fedb094a5"})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());b.style=l}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as i,h as e,F as a,H as s,g as n}from"./p-8abb0984.js";import{i as o}from"./p-aaa7a7bd.js";import{c as r}from"./p-5e59e970.js";import{d as h}from"./p-9e371678.js";import{k as d,l,d as c,b as p,a as u,c as b,m as g,n as m}from"./p-a1b7f2a0.js";import{g as f,c as v,d as k}from"./p-2437b4cb.js";import{p as y}from"./p-9c3c64b9.js";import{b as w,a as x}from"./p-10c530d1.js";import"./p-1004af75.js";const S=class{constructor(e){t(this,e),this.duetPageChange=i(this,"duetPageChange",3),this.listId=r("duet-pagination-list"),this.firstRenderDone=!1,this.handleMediaQueryChange=t=>{this.matchesCompactBreakpoint=w.includes(this.compactBreakpoint)?t.matches:!t.matches},this.actionChain=async(t,i)=>{if(0===t)this.current=1;else if(t>this.totalPages)this.current=this.totalPages;else if(i!==t){const i=Math.ceil(t/this.visibleItems)-1;i!==this.internalSectionIndex&&(this.internalSectionIndex=i,await this.setFocus())}return!0},this.emitPageEvent=(t,i)=>{const e=Number(i||this.current);this.duetPageChange.emit({component:"duet-pagination",from:e*this.take,to:e*this.take+this.take,current:e,take:this.take,type:"page",originalEvent:t})},this.getEnteredNumber=h((t=>{this.emitPageEvent(t,this.numbersStore),this.current=Number(this.numbersStore),this.numbersStore="",this.duetPageChange.emit({component:"duet-pagination",from:this.current*this.take,to:this.current*this.take+this.take,current:this.current,take:this.take,type:"jump",originalEvent:t})}),500),this.processedPageLinks=null,this.numbersStore="",this.matchesCompactBreakpoint=!1,this.totalPages=10,this.internalSectionIndex=0,this.theme="",this.disabled=!1,this.variation="default",this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}},this.accessibleLabels=f(this.accessibleLabelsDefaults),this.take=5,this.visibleItems=5,this.total=1e3,this.compactBreakpoint="x-small",this.ariaControls="",this.current=1,this.pageLinks=void 0}watchPropTotalHandler(){return this.calculatePageTake(),!0}watchStateHandler(t,i){return this.actionChain(t,i)}componentWillLoad(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1,this.calculatePageTake(),o(this),this.refresh()}componentDidLoad(){this.firstRenderDone=!0}componentWillRender(){0!==this.internalSectionIndex&&this.internalSectionIndex!==this.totalPages&&this.calculatePageTake()}componentDidRender(){this.firstRenderDone&&!this.processedPageLinks&&this.setFocus()}connectedCallback(){this.mq=matchMedia("none"===this.compactBreakpoint?"all":x[this.compactBreakpoint]),this.mq.addEventListener("change",h(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),v(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){this.mq.removeEventListener("change",this.handleMediaQueryChange),this.mq=null,this.matchesCompactBreakpoint=!1,k(this)}async refresh(){this.processedPageLinks=y(this.pageLinks)}calculatePageTake(){this.totalPages=Math.ceil(this.total/this.take)}async onMouseHandler(t,i){this.disabled||(this.processedPageLinks||(t.preventDefault(),t.stopPropagation(),this.current=this.current+i),this.emitPageEvent(t))}async onKeyboardDown(t){if(this.disabled)return;let i=this.current;(c(t)||p(t))&&i--,(u(t)||b(t))&&i++,d(t)&&i<=this.totalPages&&(this.current=i,this.processedPageLinks?(this.emitPageEvent(t,i-1),window.open(this.processedPageLinks[i-1],"_self","")):this.emitPageEvent(t)),l(t)&&this.shouldDisplayNavigation()&&(this.numbersStore=this.numbersStore+t.key,Number(this.numbersStore)>this.totalPages&&(this.numbersStore=this.totalPages+""),this.getEnteredNumber(t))}async setFocus(){const t=this.nativeNav.querySelector(`[data-id='${this.current}']`);t&&await t.setFocus()}pageClickHandler(t){const i=Number(t.target.getAttribute("data-id"));this.processedPageLinks||(t.preventDefault(),this.current=i),this.emitPageEvent(t,i)}selectClickHandler(t){t.preventDefault();const i=Number(t.target.value);this.current=i,this.processedPageLinks?(this.emitPageEvent(t,i-1),window.open(this.processedPageLinks[i-1],"_self","")):this.emitPageEvent(t,i)}sectionClickHandler(t,i){t.preventDefault();let e=this.internalSectionIndex+i;e*(this.take*this.visibleItems)>this.total&&(e=this.internalSectionIndex),this.internalSectionIndex=e>=0?e:0}jumpToStart(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=0,this.current=1),this.emitPageEvent(t)}jumpToEnd(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1),this.current=this.totalPages),this.emitPageEvent(t)}renderPageButton(t){return e("duet-button",{disabled:this.disabled,class:{"duet-pagination-link":!0},id:`page-${t}-button`,color:t!==this.current?"turva"!==this.theme?"secondary":"secondary-turva":"turva"!==this.theme?"primary":"primary-turva","data-id":t,"center-text":!0,variation:"plain",margin:"none",accessibleLabel:`${this.accessibleLabels.go_to} ${t}`,onClick:t=>this.pageClickHandler(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:void 0},e("div",{class:"duet-pagination-page-number","aria-hidden":!0},t))}renderPageNumbers(){const t=[];let i=this.internalSectionIndex*this.visibleItems;do{if(i++,i>this.totalPages)break;t.push(e("li",{class:{"duet-pagination-item":!0,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},this.renderPageButton(i)))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t}renderSelect(){const t=[];for(let i=1;i<=this.totalPages;i++)t.push({value:i.toString(),label:i.toString()});const i=e("duet-select",{disabled:this.disabled,theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(t),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}",`${this.totalPages}`),labelHidden:!0,onDuetChange:t=>this.selectClickHandler(t),margin:"none"});return e("li",null,i,e("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))}shouldDisplayNavigation(){return!("compact"===this.variation||this.matchesCompactBreakpoint||2*this.visibleItems>this.total/this.take)}render(){return e(s,{key:"daea491f2370780c5e3e6a4cd10b222c6f204bad",onKeyDown:t=>this.onKeyboardDown(t),class:{"duet-theme-turva":"turva"===this.theme}},e("nav",{key:"0056afc5f4b9f874a19554b938d03df0b13caa5e",role:"navigation","aria-labelledby":this.accessibleLabelledBy?`${this.accessibleLabelledBy} ${this.listId}`:this.listId,"aria-describedby":this.accessibleDescribedBy?`${this.accessibleDescribedBy} ${this.listId}`:this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:t=>this.nativeNav=t,"aria-controls":this.ariaControls,class:{"duet-pagination-nav":!0,[`duet-pagination-variation-${this.variation}`]:!0}},""!==this.numbersStore&&e("div",{key:"c0fa6438d96e246e62a4ce15c1638c118cc63053","aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":`${this.accessibleLabels.jump_to} ${this.numbersStore}`,part:"navigation-overlay"},e("duet-badge",{key:"09ae84b926b6e97750610c4428d192209311eb52",theme:this.theme},"jump to page : ",this.numbersStore)),e("ol",{key:"fcc9993c0f574de2425b2393371f56a5494521bb",id:this.listId,class:{"duet-pagination":!0,"duet-pagination-is-dimmed":""!==this.numbersStore},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},("compact"===this.variation||this.matchesCompactBreakpoint)&&e("li",{key:"8127fcbb52bfda473e30eeeaa34073717065aad5",class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"b3f562761d6472473e40aa2658c1d5382c7ac8a9",disabled:0===this.internalSectionIndex&&this.current<=1||this.disabled,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0})),e("li",{key:"0d47396b8bb09354305c09e4f0e587c8b433e8ea",class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"8fd72a014f15fdd035a3a9fa78ed220d55c3d9e7",disabled:!!(0===this.internalSectionIndex&&this.current<=1||this.current<=1&&this.processedPageLinks||this.disabled),"data-direction":"back",onClick:t=>this.onMouseHandler(t,-1),"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:void 0})),0!==this.internalSectionIndex&&this.shouldDisplayNavigation()&&e(a,{key:"dc791af4a42d6a664dfe1baf2b1c35f47a7d627b"},e("li",{key:"d1d84353c99d4076b5bd8ac6383d0e95253f96bf",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{key:"5cb0dc775e9ca49bf7bf667ae76ef0ee36b6d0c2",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:"turva"!==this.theme?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0},e("div",{key:"4062749e18165803b2c4937749e77dc230443aa7",class:"duet-pagination-page-number"},"1"))),e("li",{key:"6d07aebfe3bb2ddc457f3453b36eb7a837a2c5c8",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{key:"1d465e129c648a19fa45c841dfcf19e90369513f",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,-1),theme:this.theme},e("div",{key:"f73557f0b2e790a5b5cfff9cdff6a05eaab02d8c",class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&e(a,{key:"386478132136a68d5c922d38b667dc96a156576f"},(this.internalSectionIndex+1)*this.visibleItems!=this.totalPages-1&&e("li",{key:"2c7367f40dd3a559cec343a371211d540a23b37b",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{key:"df7704130f6009b9474f00b03e5c3671ea66a7a1",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,1),theme:this.theme},e("div",{key:"366cb74b1e6b6966eae94e513a9fbda1ab8cdbd0",class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),e("li",{key:"22971b983614be021c0669a769f7ede8f434364e",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{key:"a7c6988541fe49affc34d3cdcc27f42fcc06f0ae",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:void 0},e("div",{key:"4fffc0cf1c3272ba864a279d7d358f17d0ea71aa",class:"duet-pagination-page-number"},this.totalPages)))),e("li",{key:"7aeb378f34c1a3a5d7634dba9954fc313e1a2a5d",class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"692fb6352c1cfab7cb27e15196eae4cc492b4596",disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks)||this.disabled,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:t=>this.onMouseHandler(t,1),"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:void 0})),("compact"===this.variation||this.matchesCompactBreakpoint)&&e("li",{key:"cc45b6cc3f4e6ffb875ba66c879122404305370d",class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"3028a4c627308fd49384465465882bb4fd9be7f6",disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.disabled,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:void 0})))))}get element(){return n(this)}static get watchers(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}}};S.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';const _=class{constructor(e){t(this,e),this.duetRangeStepUpdate=i(this,"duetRangeStepUpdate",7),this.leftBn=r("duetRangeStepper-left"),this.rightBn=r("duetRangeStepper-right"),this.handleClick=(t,i)=>{t.preventDefault(),this.stepIndex+=i,this.clampStepIndex(),this.handleStepClick(t)},this.buttonLeftDisabled=!1,this.buttonRightDisabled=!1,this.theme="",this.disabled=!1,this.stepIndex=1,this.stepSize=50,this.total=1e3,this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}},this.ariaLabels=f(this.ariaLabelsDefaults),this.ariaControls=""}watchStepIndexStateHandler(t){this.leftBnRef&&this.rightBnRef&&(t<=1?(this.element===document.activeElement&&this.rightBnRef.setFocus(),this.buttonLeftDisabled=!0):this.buttonLeftDisabled=!1,t>=this.total/this.stepSize?(this.element===document.activeElement&&this.leftBnRef.setFocus(),this.buttonRightDisabled=!0):this.buttonRightDisabled=!1)}watchStepSizeStateHandler(t,i){t!==i&&(this.stepIndex*t>this.total&&(this.stepIndex=Math.ceil(this.total/t)),this.watchStepIndexStateHandler(this.stepIndex))}handleStepClick(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})}componentWillLoad(){o(this),this.clampStepIndex()}componentDidLoad(){this.watchStepIndexStateHandler(this.stepIndex)}connectedCallback(){v(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})}disconnectedCallback(){k(this)}clampStepIndex(){this.stepIndex<1?this.stepIndex=1:this.stepIndex*this.stepSize>this.total&&(this.stepIndex=Math.ceil(this.total/this.stepSize))}getFrom(){return Math.floor((this.stepIndex-1)*this.stepSize)+1}getTo(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)}generateStepSize(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))}generatePreviousIncrementLabel(){return 1===this.getFrom()?"":this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))}generateNextIncrementLabel(){return this.getTo()===this.total?"":this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))}async onKeyboardDown(t){if(this.disabled)return;let i=this.stepIndex,e=1;(c(t)||p(t)||g(t))&&(i--,e=-1,this.leftBnRef.setFocus()),(u(t)||b(t)||m(t))&&(i++,e=1),d(t)&&i>0&&i*this.stepSize<=this.total&&this.handleClick(t,e)}render(){return e("div",{key:"e398ec0cf2d35150c78f4e3475fd7e4c95d646ad",class:{"duet-range-stepper":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:t=>this.onKeyboardDown(t),"aria-controls":this.ariaControls},e("span",{key:"24a874579791e03416eb316216ea44c6d35d7e0b",class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),e("duet-action-button",{key:"13d2b13c96b44797b61192a0e99c63ec0098e7a6",disabled:this.disabled||this.buttonLeftDisabled,class:"duet-range-step-button duet-range-step-minus",onClick:t=>this.handleClick(t,-1),id:this.leftBn,"accessible-label":`${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`,ref:t=>this.leftBnRef=t,part:"navigation-arrow",iconName:"action-arrow-left-small",title:""}),e("duet-action-button",{key:"d8b25262e3f9549252640e5479b83dd2c7ea4930",disabled:this.disabled||this.buttonRightDisabled,class:"duet-range-step-button duet-range-step-plus",onClick:t=>this.handleClick(t,1),"accessible-label":`${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`,id:this.rightBn,ref:t=>this.rightBnRef=t,part:"navigation-arrow",iconName:"action-arrow-right-small",title:""}))}get element(){return n(this)}static get watchers(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}}};_.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(8, 42, 77)}.duet-range-stepper ::part(button){border:0}";export{S as duet_pagination,_ as duet_range_stepper}
4
+ import{r as t,c as i,h as e,F as a,H as s,g as n}from"./p-7a75bff7.js";import{i as o}from"./p-aaa7a7bd.js";import{c as r}from"./p-5e59e970.js";import{d as h}from"./p-9e371678.js";import{k as d,l,d as c,b as p,a as u,c as b,m as g,n as m}from"./p-a1b7f2a0.js";import{g as f,c as v,d as k}from"./p-51b2f340.js";import{p as y}from"./p-9c3c64b9.js";import{b as w,a as x}from"./p-cc67e773.js";import"./p-0d7da85a.js";const S=class{constructor(e){t(this,e),this.duetPageChange=i(this,"duetPageChange",3),this.listId=r("duet-pagination-list"),this.firstRenderDone=!1,this.handleMediaQueryChange=t=>{this.matchesCompactBreakpoint=w.includes(this.compactBreakpoint)?t.matches:!t.matches},this.actionChain=async(t,i)=>{if(0===t)this.current=1;else if(t>this.totalPages)this.current=this.totalPages;else if(i!==t){const i=Math.ceil(t/this.visibleItems)-1;i!==this.internalSectionIndex&&(this.internalSectionIndex=i,await this.setFocus())}return!0},this.emitPageEvent=(t,i)=>{const e=Number(i||this.current);this.duetPageChange.emit({component:"duet-pagination",from:e*this.take,to:e*this.take+this.take,current:e,take:this.take,type:"page",originalEvent:t})},this.getEnteredNumber=h((t=>{this.emitPageEvent(t,this.numbersStore),this.current=Number(this.numbersStore),this.numbersStore="",this.duetPageChange.emit({component:"duet-pagination",from:this.current*this.take,to:this.current*this.take+this.take,current:this.current,take:this.take,type:"jump",originalEvent:t})}),500),this.processedPageLinks=null,this.numbersStore="",this.matchesCompactBreakpoint=!1,this.totalPages=10,this.internalSectionIndex=0,this.theme="",this.disabled=!1,this.variation="default",this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}},this.accessibleLabels=f(this.accessibleLabelsDefaults),this.take=5,this.visibleItems=5,this.total=1e3,this.compactBreakpoint="x-small",this.ariaControls="",this.current=1,this.pageLinks=void 0}watchPropTotalHandler(){return this.calculatePageTake(),!0}watchStateHandler(t,i){return this.actionChain(t,i)}componentWillLoad(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1,this.calculatePageTake(),o(this),this.refresh()}componentDidLoad(){this.firstRenderDone=!0}componentWillRender(){0!==this.internalSectionIndex&&this.internalSectionIndex!==this.totalPages&&this.calculatePageTake()}componentDidRender(){this.firstRenderDone&&!this.processedPageLinks&&this.setFocus()}connectedCallback(){this.mq=matchMedia("none"===this.compactBreakpoint?"all":x[this.compactBreakpoint]),this.mq.addEventListener("change",h(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),v(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){this.mq.removeEventListener("change",this.handleMediaQueryChange),this.mq=null,this.matchesCompactBreakpoint=!1,k(this)}async refresh(){this.processedPageLinks=y(this.pageLinks)}calculatePageTake(){this.totalPages=Math.ceil(this.total/this.take)}async onMouseHandler(t,i){this.disabled||(this.processedPageLinks||(t.preventDefault(),t.stopPropagation(),this.current=this.current+i),this.emitPageEvent(t))}async onKeyboardDown(t){if(this.disabled)return;let i=this.current;(c(t)||p(t))&&i--,(u(t)||b(t))&&i++,d(t)&&i<=this.totalPages&&(this.current=i,this.processedPageLinks?(this.emitPageEvent(t,i-1),window.open(this.processedPageLinks[i-1],"_self","")):this.emitPageEvent(t)),l(t)&&this.shouldDisplayNavigation()&&(this.numbersStore=this.numbersStore+t.key,Number(this.numbersStore)>this.totalPages&&(this.numbersStore=this.totalPages+""),this.getEnteredNumber(t))}async setFocus(){const t=this.nativeNav.querySelector(`[data-id='${this.current}']`);t&&await t.setFocus()}pageClickHandler(t){const i=Number(t.target.getAttribute("data-id"));this.processedPageLinks||(t.preventDefault(),this.current=i),this.emitPageEvent(t,i)}selectClickHandler(t){t.preventDefault();const i=Number(t.target.value);this.current=i,this.processedPageLinks?(this.emitPageEvent(t,i-1),window.open(this.processedPageLinks[i-1],"_self","")):this.emitPageEvent(t,i)}sectionClickHandler(t,i){t.preventDefault();let e=this.internalSectionIndex+i;e*(this.take*this.visibleItems)>this.total&&(e=this.internalSectionIndex),this.internalSectionIndex=e>=0?e:0}jumpToStart(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=0,this.current=1),this.emitPageEvent(t)}jumpToEnd(t){this.processedPageLinks||(t.preventDefault(),this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1),this.current=this.totalPages),this.emitPageEvent(t)}renderPageButton(t){return e("duet-button",{disabled:this.disabled,class:{"duet-pagination-link":!0},id:`page-${t}-button`,color:t!==this.current?"turva"!==this.theme?"secondary":"secondary-turva":"turva"!==this.theme?"primary":"primary-turva","data-id":t,"center-text":!0,variation:"plain",margin:"none",accessibleLabel:`${this.accessibleLabels.go_to} ${t}`,onClick:t=>this.pageClickHandler(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:void 0},e("div",{class:"duet-pagination-page-number","aria-hidden":!0},t))}renderPageNumbers(){const t=[];let i=this.internalSectionIndex*this.visibleItems;do{if(i++,i>this.totalPages)break;t.push(e("li",{class:{"duet-pagination-item":!0,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},this.renderPageButton(i)))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t}renderSelect(){const t=[];for(let i=1;i<=this.totalPages;i++)t.push({value:i.toString(),label:i.toString()});const i=e("duet-select",{disabled:this.disabled,theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(t),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}",`${this.totalPages}`),labelHidden:!0,onDuetChange:t=>this.selectClickHandler(t),margin:"none"});return e("li",null,i,e("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))}shouldDisplayNavigation(){return!("compact"===this.variation||this.matchesCompactBreakpoint||2*this.visibleItems>this.total/this.take)}render(){return e(s,{key:"30de52a909e492fdf1657c4bd3eebd9f2b5e7ce5",onKeyDown:t=>this.onKeyboardDown(t),class:{"duet-theme-turva":"turva"===this.theme}},e("nav",{key:"f9d6d3b7dd05fbe03ac5ce4f26a970fc0a910148",role:"navigation","aria-labelledby":this.accessibleLabelledBy?`${this.accessibleLabelledBy} ${this.listId}`:this.listId,"aria-describedby":this.accessibleDescribedBy?`${this.accessibleDescribedBy} ${this.listId}`:this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:t=>this.nativeNav=t,"aria-controls":this.ariaControls,class:{"duet-pagination-nav":!0,[`duet-pagination-variation-${this.variation}`]:!0}},""!==this.numbersStore&&e("div",{key:"b9dd4683843d23fd6b20949c3450975618bc89de","aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":`${this.accessibleLabels.jump_to} ${this.numbersStore}`,part:"navigation-overlay"},e("duet-badge",{key:"2542f6c5314a62428349bd0436797981da27c338",theme:this.theme},"jump to page : ",this.numbersStore)),e("ol",{key:"711c642a86b6dc98cdbdc16da341c54a7b8766ba",id:this.listId,class:{"duet-pagination":!0,"duet-pagination-is-dimmed":""!==this.numbersStore},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},("compact"===this.variation||this.matchesCompactBreakpoint)&&e("li",{key:"718fab989ed95629e2f0f1931050e108d33af422",class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"7a1ef30c44c48f27ecdcc2bf82cc485f9673c94d",disabled:0===this.internalSectionIndex&&this.current<=1||this.disabled,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0})),e("li",{key:"d115b1124e52420444757f87d6624d2e40e77a89",class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"52d006b1e131affc614ab29024a7848a01915203",disabled:!!(0===this.internalSectionIndex&&this.current<=1||this.current<=1&&this.processedPageLinks||this.disabled),"data-direction":"back",onClick:t=>this.onMouseHandler(t,-1),"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:void 0})),0!==this.internalSectionIndex&&this.shouldDisplayNavigation()&&e(a,{key:"892a8fa21fed391bfc0d4f0cc470c8a43abb9591"},e("li",{key:"a9a0723b8cac250b46469ae8fbfccb12d3445cb8",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{key:"d4f9df2d63ec2fbb5146ba5f1dc9f53daf1751c3",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:"turva"!==this.theme?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:void 0},e("div",{key:"c15f10460ee1306690c5db36ff31aa040f11d9d9",class:"duet-pagination-page-number"},"1"))),e("li",{key:"3962965f5d1e02c314dcfbcbd11674f0ca1e4ce1",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{key:"1fad2120a544e51c5873833b118a009939c14666",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,-1),theme:this.theme},e("div",{key:"ac8ef66bae9e009774d16bf21fc5661ae360ed11",class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&e(a,{key:"31467f256cb9d230e4b5380fd3692cea3f9c5f18"},(this.internalSectionIndex+1)*this.visibleItems!=this.totalPages-1&&e("li",{key:"da33ca9bd87f9404b0fd44bc8cefc86f0e74694e",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{key:"87c534e17d295316d3f55a2fb9a295de896bc242",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,1),theme:this.theme},e("div",{key:"f24ee3b11997ee6c9bb6679b72b835207cd1e40c",class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),e("li",{key:"59e1750d08f948b3f137bc256a3bf07529b6f738",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{key:"326c765824df1ec4bca3ab5267f8a0ffe865e374",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:void 0},e("div",{key:"78cd1fc5457e7f3196d53dfc08e6fca9389a711e",class:"duet-pagination-page-number"},this.totalPages)))),e("li",{key:"5d76476a62efbb068ca0c6a1cff04e0099c395ed",class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"3209c80c6eec5207fc6a37af528397eedf2f0f70",disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks)||this.disabled,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:t=>this.onMouseHandler(t,1),"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:void 0})),("compact"===this.variation||this.matchesCompactBreakpoint)&&e("li",{key:"bf2ed784874ca4a76e96fd6d6b05f448c8485e6f",class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"85815333b5d1a0ab326e11bc457240284557d92e",disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.disabled,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:void 0})))))}get element(){return n(this)}static get watchers(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}}};S.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';const _=class{constructor(e){t(this,e),this.duetRangeStepUpdate=i(this,"duetRangeStepUpdate",7),this.leftBn=r("duetRangeStepper-left"),this.rightBn=r("duetRangeStepper-right"),this.handleClick=(t,i)=>{t.preventDefault(),this.stepIndex+=i,this.clampStepIndex(),this.handleStepClick(t)},this.buttonLeftDisabled=!1,this.buttonRightDisabled=!1,this.theme="",this.disabled=!1,this.stepIndex=1,this.stepSize=50,this.total=1e3,this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}},this.ariaLabels=f(this.ariaLabelsDefaults),this.ariaControls=""}watchStepIndexStateHandler(t){this.leftBnRef&&this.rightBnRef&&(t<=1?(this.element===document.activeElement&&this.rightBnRef.setFocus(),this.buttonLeftDisabled=!0):this.buttonLeftDisabled=!1,t>=this.total/this.stepSize?(this.element===document.activeElement&&this.leftBnRef.setFocus(),this.buttonRightDisabled=!0):this.buttonRightDisabled=!1)}watchStepSizeStateHandler(t,i){t!==i&&(this.stepIndex*t>this.total&&(this.stepIndex=Math.ceil(this.total/t)),this.watchStepIndexStateHandler(this.stepIndex))}handleStepClick(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})}componentWillLoad(){o(this),this.clampStepIndex()}componentDidLoad(){this.watchStepIndexStateHandler(this.stepIndex)}connectedCallback(){v(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})}disconnectedCallback(){k(this)}clampStepIndex(){this.stepIndex<1?this.stepIndex=1:this.stepIndex*this.stepSize>this.total&&(this.stepIndex=Math.ceil(this.total/this.stepSize))}getFrom(){return Math.floor((this.stepIndex-1)*this.stepSize)+1}getTo(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)}generateStepSize(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))}generatePreviousIncrementLabel(){return 1===this.getFrom()?"":this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))}generateNextIncrementLabel(){return this.getTo()===this.total?"":this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))}async onKeyboardDown(t){if(this.disabled)return;let i=this.stepIndex,e=1;(c(t)||p(t)||g(t))&&(i--,e=-1,this.leftBnRef.setFocus()),(u(t)||b(t)||m(t))&&(i++,e=1),d(t)&&i>0&&i*this.stepSize<=this.total&&this.handleClick(t,e)}render(){return e("div",{key:"72ad680e3e9c66bb07767d39809f1c9238e72e57",class:{"duet-range-stepper":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:t=>this.onKeyboardDown(t),"aria-controls":this.ariaControls},e("span",{key:"06a6d22a4872a4f52d52853769e886b5101016a9",class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),e("duet-action-button",{key:"a91caa95ba2262118e2d0a5615da3bbdc3cd456d",disabled:this.disabled||this.buttonLeftDisabled,class:"duet-range-step-button duet-range-step-minus",onClick:t=>this.handleClick(t,-1),id:this.leftBn,"accessible-label":`${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`,ref:t=>this.leftBnRef=t,part:"navigation-arrow",iconName:"action-arrow-left-small",title:""}),e("duet-action-button",{key:"a03a4cdd46c44378b5e544f0a1287320a58cfc58",disabled:this.disabled||this.buttonRightDisabled,class:"duet-range-step-button duet-range-step-plus",onClick:t=>this.handleClick(t,1),"accessible-label":`${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`,id:this.rightBn,ref:t=>this.rightBnRef=t,part:"navigation-arrow",iconName:"action-arrow-right-small",title:""}))}get element(){return n(this)}static get watchers(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}}};_.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(8, 42, 77)}.duet-range-stepper ::part(button){border:0}";export{S as duet_pagination,_ as duet_range_stepper}
@@ -1,5 +1,5 @@
1
1
  var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,n=1,t=arguments.length;n<t;n++){e=arguments[n];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))r[i]=e[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function f(r){try{o(t.next(r))}catch(r){a(r)}}function u(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?n(r.value):i(r.value).then(f,u)}o((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,f;return f={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function u(r){return function(e){return o([r,e])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(r,n)}catch(r){u=[6,r];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t=r("N","duet");var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:true,invisiblePrehydration:false,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:true,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var a=r("E",{cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.1.2"});var f=Object.defineProperty;var u=function(r,e){for(var n in e)f(r,n,{get:e[n],enumerable:true})};var o=r("B",{isDev:false,isBrowser:true,isServer:false,isTesting:false});var l=new WeakMap;var v=function(r){return l.get(r)};var s=r("r",(function(r,e){return l.set(e.t=r,e)}));var c=function(r,e){var n={i:0,$hostElement$:r,u:e,o:new Map};{n.l=new Promise((function(r){return n.v=r}))}{n.h=new Promise((function(r){return n.p=r}));r["s-p"]=[];r["s-rc"]=[]}return l.set(r,n)};var d=function(r,e){return e in r};var h=function(r,e){return(0,console.error)(r,e)};var p=new Map;var m=function(r,n,t){var i=r.m.replace(/-/g,"_");var a=r.$;if(!a){return void 0}var f=p.get(a);if(f){return f[i]}
4
+ */System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t=r("N","duet");var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:true,invisiblePrehydration:false,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:true,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:true,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var a=r("E",{cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.1.4"});var f=Object.defineProperty;var u=function(r,e){for(var n in e)f(r,n,{get:e[n],enumerable:true})};var o=r("B",{isDev:false,isBrowser:true,isServer:false,isTesting:false});var l=new WeakMap;var v=function(r){return l.get(r)};var s=r("r",(function(r,e){return l.set(e.t=r,e)}));var c=function(r,e){var n={i:0,$hostElement$:r,u:e,o:new Map};{n.l=new Promise((function(r){return n.v=r}))}{n.h=new Promise((function(r){return n.p=r}));r["s-p"]=[];r["s-rc"]=[]}return l.set(r,n)};var d=function(r,e){return e in r};var h=function(r,e){return(0,console.error)(r,e)};var p=new Map;var m=function(r,n,t){var i=r.m.replace(/-/g,"_");var a=r.$;if(!a){return void 0}var f=p.get(a);if(f){return f[i]}
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{p.set(a,r)}return r[i]}),h)};var y=new Map;var $="r";var b="o";var w="s";var g="t";var _="c";var S="s-id";var j="sty-id";var O="c-id";var k="slot-fb{display:contents}slot-fb[hidden]{display:none}";var x="http://www.w3.org/1999/xlink";var A=typeof window!=="undefined"?window:{};var C=r("d",A.document||{head:{}});var E={i:0,_:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var T=function(){var r=false;try{C.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){r=true}}))}catch(r){}return r}();var D=r("p",(function(r){return Promise.resolve(r)}));var R=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var L=false;var N=[];var F=[];var M=function(r,e){return function(n){r.push(n);if(!L){L=true;if(e&&E.i&4){U(P)}else{E.raf(P)}}}};var I=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){h(r)}}r.length=0};var P=function(){I(N);{I(F);if(L=N.length>0){E.raf(P)}}};var U=function(r){return D().then(r)};var W=M(F,true);var B={};var H="http://www.w3.org/2000/svg";var V="http://www.w3.org/1999/xhtml";var z=function(r){return r!=null};var G=function(r){r=typeof r;return r==="object"||r==="function"};function Q(r){var e,n,t;return(t=(n=(e=r.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var q={};u(q,{err:function(){return X},map:function(){return J},ok:function(){return K},unwrap:function(){return Y},unwrapErr:function(){return Z}});var K=function(r){return{isOk:true,isErr:false,value:r}};var X=function(r){return{isOk:false,isErr:true,value:r}};function J(r,e){if(r.isOk){var n=e(r.value);if(n instanceof Promise){return n.then((function(r){return K(r)}))}else{return K(n)}}if(r.isErr){var t=r.value;return X(t)}throw"should never get here"}var Y=function(r){if(r.isOk){return r.value}else{throw r.value}};var Z=function(r){if(r.isErr){return r.value}else{throw r.value}};var rr=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var f=null;var u=false;var o=false;var l=[];var v=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){v(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!G(i)){i=String(i)}if(u&&o){l[l.length-1].S+=i}else{l.push(u?er(null,i):i)}o=u}}};v(n);if(e){if(e.key){a=e.key}if(e.name){f=e.name}{var s=e.className||e.class;if(s){e.class=typeof s!=="object"?s:Object.keys(s).filter((function(r){return s[r]})).join(" ")}}}if(typeof r==="function"){return r(e===null?{}:e,l,ir)}var c=er(r,null);c.j=e;if(l.length>0){c.O=l}{c.k=a}{c.A=f}return c}));var er=function(r,e){var n={i:0,C:r,S:e,T:null,O:null};{n.j=null}{n.k=null}{n.A=null}return n};var nr=r("H",{});var tr=function(r){return r&&r.C===nr};var ir={forEach:function(r,e){return r.map(ar).forEach(e)},map:function(r,e){return r.map(ar).map(e).map(fr)}};var ar=function(r){return{vattrs:r.j,vchildren:r.O,vkey:r.k,vname:r.A,vtag:r.C,vtext:r.S}};var fr=function(r){if(typeof r.vtag==="function"){var e=__assign({},r.vattrs);if(r.vkey){e.key=r.vkey}if(r.vname){e.name=r.vname}return rr.apply(void 0,__spreadArray([r.vtag,e],r.vchildren||[],false))}var n=er(r.vtag,r.vtext);n.j=r.vattrs;n.O=r.vchildren;n.k=r.vkey;n.A=r.vname;return n};var ur=function(r,e,n,t,i,a){if(n!==t){var f=d(r,e);var u=e.toLowerCase();if(e==="class"){var o=r.classList;var l=lr(n);var v=lr(t);if(r["s-si"]&&v.indexOf(r["s-si"])<0){v.push(r["s-si"])}o.remove.apply(o,l.filter((function(r){return r&&!v.includes(r)})));o.add.apply(o,v.filter((function(r){return r&&!l.includes(r)})))}else if(e==="style"){{for(var s in n){if(!t||t[s]==null){if(s.includes("-")){r.style.removeProperty(s)}else{r.style[s]=""}}}}for(var s in t){if(!n||t[s]!==n[s]){if(s.includes("-")){r.style.setProperty(s,t[s])}else{r.style[s]=t[s]}}}}else if(e==="key");else if(e==="ref"){if(t){t(r)}}else if(!f&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(d(A,u)){e=u.slice(2)}else{e=u[2]+e.slice(3)}if(n||t){var c=e.endsWith(vr);e=e.replace(sr,"");if(n){E.rel(r,e,n,c)}if(t){E.ael(r,e,t,c)}}}else{var h=G(t);if((f||h&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var p=t==null?"":t;if(e==="list"){f=false}else if(n==null||r[e]!=p){if(typeof r.__lookupSetter__(e)==="function"){r[e]=p}else{r.setAttribute(e,p)}}}else{r[e]=t}}catch(r){}}var m=false;{if(u!==(u=u.replace(/^xlink\:?/,""))){e=u;m=true}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){if(m){r.removeAttributeNS(x,e)}else{r.removeAttribute(e)}}}else if((!f||a&4||i)&&!h){t=t===true?"":t;if(m){r.setAttributeNS(x,e,t)}else{r.setAttribute(e,t)}}}}};var or=/\s/;var lr=function(r){return"object"==typeof r&&"baseVal"in r&&(r=r.baseVal),r?r.split(or):[]};var vr="Capture";var sr=new RegExp(vr+"$");var cr=function(r,e,n){var t=e.T.nodeType===11&&e.T.host?e.T.host:e.T;var i=r&&r.j||B;var a=e.j||B;{for(var f=0,u=dr(Object.keys(i));f<u.length;f++){var o=u[f];if(!(o in a)){ur(t,o,i[o],void 0,n,e.i)}}}for(var l=0,v=dr(Object.keys(a));l<v.length;l++){var o=v[l];ur(t,o,i[o],a[o],n,e.i)}};function dr(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var hr;var pr;var mr;var yr=false;var $r=false;var br=false;var wr=false;var gr=function(r,e,n,t){var a;var f=e.O[n];var u=0;var o;var l;var v;if(!yr){br=true;if(f.C==="slot"){if(hr){t.classList.add(hr+"-s")}f.i|=f.O?2:1}}if(f.S!==null){o=f.T=C.createTextNode(f.S)}else if(f.i&1){o=f.T=C.createTextNode("")}else{if(!wr){wr=f.C==="svg"}o=f.T=C.createElementNS(wr?H:V,!yr&&i.slotRelocation&&f.i&2?"slot-fb":f.C);if(wr&&f.C==="foreignObject"){wr=false}{cr(null,f,wr)}var s=o.getRootNode();var c=!s.querySelector("body");if(!c&&i.scoped&&z(hr)&&o["s-si"]!==hr){o.classList.add(o["s-si"]=hr)}{Mr(o,t)}if(f.O){for(u=0;u<f.O.length;++u){l=gr(r,f,u,o);if(l){o.appendChild(l)}}}{if(f.C==="svg"){wr=false}else if(o.tagName==="foreignObject"){wr=true}}}o["s-hn"]=mr;{if(f.i&(2|1)){o["s-sr"]=true;o["s-cr"]=pr;o["s-sn"]=f.A||"";o["s-rf"]=(a=f.j)==null?void 0:a.ref;v=r&&r.O&&r.O[n];if(v&&v.C===f.C&&r.T){{_r(r.T,false)}}}}return o};var _r=function(r,e){E.i|=1;var n=Array.from(r.__childNodes||r.childNodes);if(r["s-sr"]&&i.experimentalSlotFixes){var t=r;while(t=t.nextSibling){if(t&&t["s-sn"]===r["s-sn"]&&t["s-sh"]===mr){n.push(t)}}}for(var a=n.length-1;a>=0;a--){var f=n[a];if(f["s-hn"]!==mr&&f["s-ol"]){Nr(Ar(f),f,xr(f));f["s-ol"].remove();f["s-ol"]=void 0;f["s-sh"]=void 0;br=true}if(e){_r(f,e)}}E.i&=~1};var Sr=function(r,e,n,t,i,a){var f=r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(f.shadowRoot&&f.tagName===mr){f=f.shadowRoot}for(;i<=a;++i){if(t[i]){u=gr(null,n,i,r);if(u){t[i].T=u;Nr(f,u,xr(e))}}}};var jr=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.T;Lr(i);if(a){{$r=true;if(a["s-ol"]){a["s-ol"].remove()}else{_r(a,true)}}a.remove()}}}};var Or=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var f=0;var u=0;var o=0;var l=e.length-1;var v=e[0];var s=e[l];var c=t.length-1;var d=t[0];var h=t[c];var p;var m;while(a<=l&&f<=c){if(v==null){v=e[++a]}else if(s==null){s=e[--l]}else if(d==null){d=t[++f]}else if(h==null){h=t[--c]}else if(kr(v,d,i)){Cr(v,d,i);v=e[++a];d=t[++f]}else if(kr(s,h,i)){Cr(s,h,i);s=e[--l];h=t[--c]}else if(kr(v,h,i)){if(v.C==="slot"||h.C==="slot"){_r(v.T.parentNode,false)}Cr(v,h,i);Nr(r,v.T,s.T.nextSibling);v=e[++a];h=t[--c]}else if(kr(s,d,i)){if(v.C==="slot"||h.C==="slot"){_r(s.T.parentNode,false)}Cr(s,d,i);Nr(r,s.T,v.T);s=e[--l];d=t[++f]}else{u=-1;{for(o=a;o<=l;++o){if(e[o]&&e[o].k!==null&&e[o].k===d.k){u=o;break}}}if(u>=0){m=e[u];if(m.C!==d.C){p=gr(e&&e[f],n,u,r)}else{Cr(m,d,i);e[u]=void 0;p=m.T}d=t[++f]}else{p=gr(e&&e[f],n,f,r);d=t[++f]}if(p){{Nr(Ar(v.T),p,xr(v.T))}}}}if(a>l){Sr(r,t[c+1]==null?null:t[c+1].T,n,t,f,c)}else if(f>c){jr(e,a,l)}};var kr=function(r,e,n){if(n===void 0){n=false}if(r.C===e.C){if(r.C==="slot"){if("D"in r&&n&&r.T.nodeType!==8){return false}return r.A===e.A}if(!n){return r.k===e.k}return true}return false};var xr=function(r){return r&&r["s-ol"]||r};var Ar=function(r){return(r["s-ol"]?r["s-ol"]:r).parentNode};var Cr=function(r,e,n){if(n===void 0){n=false}var t=e.T=r.T;var a=r.O;var f=e.O;var u=e.C;var o=e.S;var l;if(o===null){{wr=u==="svg"?true:u==="foreignObject"?false:wr}{if(u==="slot"&&!yr);else{cr(r,e,wr)}}if(a!==null&&f!==null){Or(t,a,e,f,n)}else if(f!==null){if(r.S!==null){t.textContent=""}Sr(t,null,e,f,0,f.length-1)}else if(!n&&i.updatable&&a!==null){jr(a,0,a.length-1)}if(wr&&u==="svg"){wr=false}}else if(l=t["s-cr"]){l.parentNode.textContent=o}else if(r.S!==o){t.data=o}};var Er=function(r){var e=r.__childNodes||r.childNodes;for(var n=0,t=e;n<t.length;n++){var i=t[n];if(i.nodeType===1){if(i["s-sr"]){var a=i["s-sn"];i.hidden=false;for(var f=0,u=e;f<u.length;f++){var o=u[f];if(o!==i){if(o["s-hn"]!==i["s-hn"]||a!==""){if(o.nodeType===1&&(a===o.getAttribute("slot")||a===o["s-sn"])||o.nodeType===3&&a===o["s-sn"]){i.hidden=true;break}}else if(a===o["s-sn"]){if(o.nodeType===1||o.nodeType===3&&o.textContent.trim()!==""){i.hidden=true;break}}}}}Er(i)}}};var Tr=[];var Dr=function(r){var e;var n;var t;var a=r.__childNodes||r.childNodes;for(var f=0,u=a;f<u.length;f++){var o=u[f];if(o["s-sr"]&&(e=o["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;var l=o["s-sn"];var v=function(){e=n[t];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==o["s-hn"]&&!i.experimentalSlotFixes){if(Rr(e,l)){var r=Tr.find((function(r){return r.R===e}));$r=true;e["s-sn"]=e["s-sn"]||l;if(r){r.R["s-sh"]=o["s-hn"];r.L=o}else{e["s-sh"]=o["s-hn"];Tr.push({L:o,R:e})}if(e["s-sr"]){Tr.map((function(n){if(Rr(n.R,e["s-sn"])){r=Tr.find((function(r){return r.R===e}));if(r&&!n.L){n.L=r.L}}}))}}else if(!Tr.some((function(r){return r.R===e}))){Tr.push({R:e})}}};for(t=n.length-1;t>=0;t--){v()}}if(o.nodeType===1){Dr(o)}}};var Rr=function(r,e){if(r.nodeType===1){if(r.getAttribute("slot")===null&&e===""){return true}if(r.getAttribute("slot")===e){return true}return false}if(r["s-sn"]===e){return true}return e===""};var Lr=function(r){{r.j&&r.j.ref&&r.j.ref(null);r.O&&r.O.map(Lr)}};var Nr=function(r,e,n){var t=r==null?void 0:r.insertBefore(e,n);{Mr(e,r)}return t};var Fr=function(r){var e=[];if(r){e.push.apply(e,__spreadArray(__spreadArray(__spreadArray([],r["s-scs"]||[],false),[r["s-si"],r["s-sc"]],false),Fr(r.parentElement),false))}return e};var Mr=function(r,e,n){if(n===void 0){n=false}var t;if(r&&e&&r.nodeType===1){var i=new Set(Fr(e).filter(Boolean));if(i.size){(t=r.classList)==null?void 0:t.add.apply(t,r["s-scs"]=Array.from(i));if(r["s-ol"]||n){for(var a=0,f=Array.from(r.__childNodes||r.childNodes);a<f.length;a++){var u=f[a];Mr(u,r,true)}}}}};var Ir=function(r,e,n){if(n===void 0){n=false}var t,i,a,f;var u=r.$hostElement$;var o=r.u;var l=r.N||er(null,null);var v=tr(e)?e:rr(null,null,e);mr=u.tagName;if(o.F){v.j=v.j||{};o.F.map((function(r){var e=r[0],n=r[1];return v.j[n]=u[e]}))}if(n&&v.j){for(var s=0,c=Object.keys(v.j);s<c.length;s++){var d=c[s];if(u.hasAttribute(d)&&!["key","ref","style","class"].includes(d)){v.j[d]=u[d]}}}v.C=null;v.i|=4;r.N=v;v.T=l.T=u.shadowRoot||u;{hr=u["s-sc"]}yr=(o.i&1)!==0;{pr=u["s-cr"];$r=false}Cr(l,v,n);{E.i|=1;if(br){Dr(v.T);for(var h=0,p=Tr;h<p.length;h++){var m=p[h];var y=m.R;if(!y["s-ol"]){var $=C.createTextNode("");$["s-nr"]=y;Nr(y.parentNode,y["s-ol"]=$,y)}}for(var b=0,w=Tr;b<w.length;b++){var m=w[b];var y=m.R;var g=m.L;if(g){var _=g.parentNode;var S=g.nextSibling;{var $=(t=y["s-ol"])==null?void 0:t.previousSibling;while($){var j=(i=$["s-nr"])!=null?i:null;if(j&&j["s-sn"]===y["s-sn"]&&_===j.parentNode){j=j.nextSibling;while(j===y||(j==null?void 0:j["s-sr"])){j=j==null?void 0:j.nextSibling}if(!j||!j["s-nr"]){S=j;break}}$=$.previousSibling}}if(!S&&_!==y.parentNode||y.nextSibling!==S){if(y!==S){if(!y["s-hn"]&&y["s-ol"]){y["s-hn"]=y["s-ol"].parentNode.nodeName}Nr(_,y,S);if(y.nodeType===1){y.hidden=(a=y["s-ih"])!=null?a:false}}}y&&typeof g["s-rf"]==="function"&&g["s-rf"](y)}else{if(y.nodeType===1){if(n){y["s-ih"]=(f=y.hidden)!=null?f:false}y.hidden=true}}}}if($r){Er(v.T)}E.i&=~1;Tr.length=0}pr=void 0};var Pr=function(r){var e=function(r){__extends(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}e.prototype.item=function(r){return this[r]};return e}(Array);var n=globalThis.Node&&Object.getOwnPropertyDescriptor(Node.prototype,"childNodes");if(!n){n=Object.getOwnPropertyDescriptor(r,"childNodes")}if(n)Object.defineProperty(r,"__childNodes",n);var t=Object.getOwnPropertyDescriptor(Element.prototype,"children");if(!t){t=Object.getOwnPropertyDescriptor(r,"children")}if(t)Object.defineProperty(r,"__children",t);Object.defineProperty(r,"children",{get:function(){return this.childNodes.filter((function(r){return r.nodeType===1}))}});Object.defineProperty(r,"childElementCount",{get:function(){return this.children.length}});if(!n)return;Object.defineProperty(r,"childNodes",{get:function(){var r,n;if(!E.i||!((r=v(this))==null?void 0:r.i)||(E.i&1)===0&&((n=v(this))==null?void 0:n.i)&2){var t=new e;var i=Wr(this.__childNodes);t.push.apply(t,i);return t}return e.from(this.__childNodes)}})};var Ur=function(r,e,n,t){var i;if(r["s-ol"]&&r["s-ol"].isConnected){i=r["s-ol"]}else{i=document.createTextNode("");i["s-nr"]=r}if(!e["s-cr"]||!e["s-cr"].parentNode)return;var a=e["s-cr"].parentNode;var f=n?a.__prepend||a.prepend:a.__appendChild||a.appendChild;if(typeof t!=="undefined"){{i["s-oo"]=t;var u=a.__childNodes||a.childNodes;var o=[i];u.forEach((function(r){if(r["s-nr"])o.push(r)}));o.sort((function(r,e){if(!r["s-oo"]||r["s-oo"]<e["s-oo"])return-1;else if(!e["s-oo"]||e["s-oo"]<r["s-oo"])return 1;return 0}));o.forEach((function(r){return f.call(a,r)}))}}else{f.call(a,i)}r["s-ol"]=i;r["s-sh"]=e["s-hn"]};var Wr=function(r){var e=[];for(var n=0;n<r.length;n++){var t=r[n]["s-nr"];if(t&&t.isConnected){e.push(t)}}return e};var Br=function(r,e){if(e===void 0){e=""}{return function(){return}}};var Hr=function(r,e){{return function(){return}}};var Vr=function(r,e,n,t){var i=Br("hydrateClient",e);var a=r.shadowRoot;var f=[];var u=[];var o=[];var l=a?[]:null;var v=er(e,null);v.T=r;if(!E.M){Gr(C.body,E.M=new Map)}r[S]=n;r.removeAttribute(S);t.N=zr(v,f,u,l,r,r,n,o);var s=0;var c=f.length;var d;for(s;s<c;s++){d=f[s];var h=d.I+"."+d.D;var p=E.M.get(h);var m=d.T;if(!a){m["s-hn"]=e.toUpperCase();if(d.C==="slot"){m["s-cr"]=r["s-cr"]}}if(p&&p.isConnected){if(a&&p["s-en"]===""){p.parentNode.insertBefore(m,p.nextSibling)}p.parentNode.removeChild(p);if(!a){m["s-oo"]=parseInt(d.D)}}E.M.delete(h)}var y=[];var $=0;var b=o.length;var w;var g;var _;var j;for($;$<b;$++){w=o[$];if(!w||!w.length)continue;_=w.length;g=0;for(g;g<_;g++){j=w[g];if(!y[j.hostId]){y[j.hostId]=E.M.get(j.hostId)}if(!y[j.hostId])continue;var O=y[j.hostId];if(!O.shadowRoot||!a){j.slot["s-cr"]=O["s-cr"];if(!j.slot["s-cr"]&&O.shadowRoot){j.slot["s-cr"]=O}else{var k=O.__childNodes||O.childNodes;j.slot["s-cr"]=k[0]}Ur(j.node,j.slot,false,j.node["s-oo"])}if(O.shadowRoot&&j.node.parentElement!==O){O.appendChild(j.node)}}}if(a){var x=0;var A=l.length;for(x;x<A;x++){a.appendChild(l[x])}Array.from(r.childNodes).forEach((function(r){if(r.nodeType===8&&typeof r["s-sn"]!=="string"){r.parentNode.removeChild(r)}}))}t.$hostElement$=r;i()};var zr=function(r,e,n,t,i,a,f,u){if(u===void 0){u=[]}var o;var l;var v;var s;var c=i["s-sc"];if(a.nodeType===1){o=a.getAttribute(O);if(o){l=o.split(".");if(l[0]===f||l[0]==="0"){v=Qr({i:0,I:l[0],D:l[1],P:l[2],U:l[3],C:a.tagName.toLowerCase(),T:a,j:{class:a.className}});e.push(v);a.removeAttribute(O);if(!r.O){r.O=[]}var d=v.T.getAttribute("s-sn");if(typeof d==="string"){if(v.C==="slot-fb"){qr(d,l[2],v,a,r,e,n,t,u)}v.T["s-sn"]=d;v.T.removeAttribute("s-sn")}if(v.U!==void 0){r.O[v.U]=v}if(c)a["s-si"]=c;r=v;if(t&&v.P==="0"){t[v.U]=v.T}}}if(a.shadowRoot){for(s=a.shadowRoot.childNodes.length-1;s>=0;s--){zr(r,e,n,t,i,a.shadowRoot.childNodes[s],f,u)}}var h=a.__childNodes||a.childNodes;for(s=h.length-1;s>=0;s--){zr(r,e,n,t,i,h[s],f,u)}}else if(a.nodeType===8){l=a.nodeValue.split(".");if(l[1]===f||l[1]==="0"){o=l[0];v=Qr({I:l[1],D:l[2],P:l[3],U:l[4]||"0",T:a,j:null,O:null,k:null,A:null,C:null,S:null});if(o===g){v.T=a.nextSibling;if(v.T&&v.T.nodeType===3){v.S=v.T.textContent;e.push(v);a.remove();if(f===v.I){if(!r.O){r.O=[]}r.O[v.U]=v}if(t&&v.P==="0"){t[v.U]=v.T}}}else if(o===_){v.T=a.nextSibling;if(v.T&&v.T.nodeType===8){e.push(v);a.remove()}}else if(v.I===f){if(o===w){v.C="slot";var d=a["s-sn"]=v.A=l[5]||"";qr(d,l[2],v,a,r,e,n,t,u)}else if(o===$){if(t){a.remove()}else{i["s-cr"]=a;a["s-cn"]=true}}}}}else if(r&&r.C==="style"){var p=er(null,a.textContent);p.T=a;p.U="0";r.O=[p]}return r};var Gr=function(r,e){if(r.nodeType===1){var n=r[S]||r.getAttribute(S);if(n){e.set(n,r)}var t=0;if(r.shadowRoot){for(;t<r.shadowRoot.childNodes.length;t++){Gr(r.shadowRoot.childNodes[t],e)}}var i=r.__childNodes||r.childNodes;for(t=0;t<i.length;t++){Gr(i[t],e)}}else if(r.nodeType===8){var a=r.nodeValue.split(".");if(a[0]===b){e.set(a[1]+"."+a[2],r);r.nodeValue="";r["s-en"]=a[3]}}};var Qr=function(r){var e={i:0,I:null,D:null,P:null,U:"0",T:null,j:null,O:null,k:null,A:null,C:null,S:null};return __assign(__assign({},e),r)};function qr(r,e,n,t,i,a,f,u,o){t["s-sr"]=true;var l=(i==null?void 0:i.T)?i.T["s-id"]||i.T.getAttribute("s-id"):"";if(u){var v=n.T=C.createElement(n.C);if(n.A){n.T.setAttribute("name",r)}if(l&&l!==n.I){i.T.insertBefore(v,i.T.children[0])}else{t.parentNode.insertBefore(n.T,t)}Kr(o,e,r,t,n.I);t.remove();if(n.P==="0"){u[n.U]=n.T}}else{var v=n.T;var s=l&&l!==n.I&&i.T.shadowRoot;Kr(o,e,r,t,s?l:n.I);if(s){i.T.insertBefore(v,i.T.children[0])}a.push(n)}f.push(n);if(!i.O){i.O=[]}i.O[n.U]=n}var Kr=function(r,e,n,t,i){var a=t.nextSibling;r[e]=r[e]||[];while(a&&((a["getAttribute"]&&a.getAttribute("slot")||a["s-sn"])===n||n===""&&!a["s-sn"]&&(a.nodeType===8&&a.nodeValue.indexOf(".")!==1||a.nodeType===3))){a["s-sn"]=n;r[e].push({slot:t,node:a,hostId:i});a=a.nextSibling}};var Xr=function(r,e){if(r!=null&&!G(r)){if(e&4){return r==="false"?false:r===""||!!r}if(e&2){return parseFloat(r)}if(e&1){return String(r)}return r}return r};var Jr=r("g",(function(r){return v(r).$hostElement$}));var Yr=r("c",(function(r,e,n){var t=Jr(r);return{emit:function(r){return Zr(t,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}}}));var Zr=function(r,e,n){var t=E.ce(e,n);r.dispatchEvent(t);return t};var re=new WeakMap;var ee=function(r,e,n){var t=y.get(r);if(R&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}y.set(r,t)};var ne=function(r,e,n){var t;var i=ie(e);var a=y.get(i);r=r.nodeType===11?r:C;if(a){if(typeof a==="string"){r=r.head||r;var f=re.get(r);var u=void 0;if(!f){re.set(r,f=new Set)}if(!f.has(i)){if(r.host&&(u=r.querySelector("[".concat(j,'="').concat(i,'"]')))){u.innerHTML=a}else{u=C.createElement("style");u.innerHTML=a;var o=(t=E.W)!=null?t:Q(C);if(o!=null){u.setAttribute("nonce",o)}if(!(e.i&1)){if(r.nodeName==="HEAD"){var l=r.querySelectorAll("link[rel=preconnect]");var v=l.length>0?l[l.length-1].nextSibling:r.querySelector("style");r.insertBefore(u,v)}else if("host"in r){if(R){var s=new CSSStyleSheet;s.replaceSync(a);r.adoptedStyleSheets=__spreadArray([s],r.adoptedStyleSheets,true)}else{var c=r.querySelector("style");if(c){c.innerHTML=a+c.innerHTML}else{r.prepend(u)}}}else{r.append(u)}}if(e.i&1&&r.nodeName!=="HEAD"){r.insertBefore(u,null)}}if(e.i&4){u.innerHTML+=k}if(f){f.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var te=function(r){var e=r.u;var n=r.$hostElement$;var t=e.i;var i=Br("attachStyles",e.m);var a=ne(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10&&t&2){n["s-sc"]=a;n.classList.add(a+"-h");if(t&2){n.classList.add(a+"-s")}}i()};var ie=function(r,e){return"sc-"+r.m};var ae=function(r,e){if(e&&!r.B&&e["s-p"]){e["s-p"].push(new Promise((function(e){return r.B=e})))}};var fe=function(r,e){{r.i|=16}if(r.i&4){r.i|=512;return}ae(r,r.H);var n=function(){return ue(r,e)};return W(n)};var ue=function(r,e){var n=r.$hostElement$;var t=Br("scheduleUpdate",r.u.m);var i=r.t;if(!i){throw new Error("Can't render component <".concat(n.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var a;if(e){{r.i|=256;if(r.V){r.V.map((function(r){var e=r[0],n=r[1];return he(i,e,n)}));r.V=void 0}}{a=he(i,"componentWillLoad")}}{a=oe(a,(function(){return he(i,"componentWillRender")}))}t();return oe(a,(function(){return ve(r,i,e)}))};var oe=function(r,e){return le(r)?r.then(e).catch((function(r){console.error(r);e()})):e()};var le=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var ve=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l;return __generator(this,(function(v){i=r.$hostElement$;a=Br("update",r.u.m);f=i["s-rc"];if(t){te(r)}u=Br("render",r.u.m);{se(r,e,i,t)}if(f){f.map((function(r){return r()}));i["s-rc"]=void 0}u();a();{o=(n=i["s-p"])!=null?n:[];l=function(){return ce(r)};if(o.length===0){l()}else{Promise.all(o).then(l);r.i|=4;o.length=0}}return[2]}))}))};var se=function(r,e,n,t){try{e=e.render();{r.i&=~16}{r.i|=2}{{{Ir(r,e,t)}}}}catch(e){h(e,r.$hostElement$)}return null};var ce=function(r){var e=r.u.m;var n=r.$hostElement$;var t=Br("postUpdate",e);var i=r.t;var a=r.H;{he(i,"componentDidRender")}if(!(r.i&64)){r.i|=64;{pe(n)}{he(i,"componentDidLoad")}t();{r.p(n);if(!a){de()}}}else{{he(i,"componentDidUpdate")}t()}{r.v(n)}{if(r.B){r.B();r.B=void 0}if(r.i&512){U((function(){return fe(r,false)}))}r.i&=~(4|512)}};var de=function(r){{pe(C.documentElement)}U((function(){return Zr(A,"appload",{detail:{namespace:t}})}))};var he=function(r,e,n){if(r&&r[e]){try{return r[e](n)}catch(r){h(r)}}return void 0};var pe=function(r){var e;return r.classList.add((e=i.hydratedSelectorName)!=null?e:"hydrated")};var me=function(r,e){return v(r).o.get(e)};var ye=function(r,e,n,t){var i=v(r);if(!i){throw new Error("Couldn't find host element for \"".concat(t.m,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'))}var a=i.$hostElement$;var f=i.o.get(e);var u=i.i;var o=i.t;n=Xr(n,t.G[e][0]);var l=Number.isNaN(f)&&Number.isNaN(n);var s=n!==f&&!l;if((!(u&8)||f===void 0)&&s){i.o.set(e,n);if(o){if(t.q&&u&128){var c=t.q[e];if(c){c.map((function(r){try{o[r](n,f,e)}catch(r){h(r,a)}}))}}if((u&(2|16))===2){fe(i,false)}}}};var $e=function(r,e,n){var t,i;var a=r.prototype;if(e.G||(e.q||r.watchers)){if(r.watchers&&!e.q){e.q=r.watchers}var f=Object.entries((t=e.G)!=null?t:{});f.map((function(r){var t=r[0],i=r[1][0];if(i&31||n&2&&i&32){if((i&2048)===0){Object.defineProperty(a,t,{get:function(){return me(this,t)},set:function(r){ye(this,t,r,e)},configurable:true,enumerable:true})}else if(n&1&&i&2048){{Object.defineProperty(a,t,{get:function(){var r=v(this);var e=r?r.t:a;if(!e)return;return e[t]},configurable:true,enumerable:true})}if(i&4096){var f=Object.getOwnPropertyDescriptor(a,t).set;Object.defineProperty(a,t,{set:function(r){var n=this;var i=v(this);if(f){var a=i.$hostElement$[t];if(!i.o.get(t)&&a){i.o.set(t,a)}f.apply(this,[Xr(r,e.G[t][0])]);ye(this,t,i.$hostElement$[t],e);return}if(!i)return;var u=function(){var a=i.t[t];if(!i.o.get(t)&&a){i.o.set(t,a)}i.t[t]=Xr(r,e.G[t][0]);ye(n,t,i.t[t],e)};if(i.t){u()}else{i.h.then((function(){return u()}))}}})}}}else if(n&1&&i&64){Object.defineProperty(a,t,{value:function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}var n;var i=v(this);return(n=i==null?void 0:i.l)==null?void 0:n.then((function(){var e;return(e=i.t)==null?void 0:e[t].apply(e,r)}))}})}}));if(n&1){var u=new Map;a.attributeChangedCallback=function(r,n,t){var i=this;E.jmp((function(){var f;var o=u.get(r);if(i.hasOwnProperty(o)){t=i[o];delete i[o]}else if(a.hasOwnProperty(o)&&typeof i[o]==="number"&&i[o]==t){return}else if(o==null){var l=v(i);var s=l==null?void 0:l.i;if(s&&!(s&8)&&s&128&&t!==n){var c=l.t;var d=(f=e.q)==null?void 0:f[r];d==null?void 0:d.forEach((function(e){if(c[e]!=null){c[e].call(c,t,n,r)}}))}return}var h=Object.getOwnPropertyDescriptor(a,o);if(!h.get||!!h.set){i[o]=t===null&&typeof i[o]==="boolean"?false:t}}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((i=e.q)!=null?i:{}),true),f.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i;var a=t[1]||n;u.set(a,n);if(t[0]&512){(i=e.F)==null?void 0:i.push([n,a])}return a})),true)))}}return r};var be=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l,v,s,c,d;return __generator(this,(function(p){switch(p.label){case 0:if(!((e.i&32)===0))return[3,6];e.i|=32;i=t.$;if(!i)return[3,4];a=m(t);if(!(a&&"then"in a))return[3,2];f=Hr();return[4,a];case 1:n=p.sent();f();return[3,3];case 2:n=a;p.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.m,"#").concat(e.K,'" was not found'))}if(!n.isProxied){{t.q=n.watchers}$e(n,t,2);n.isProxied=true}u=Br("createInstance",t.m);{e.i|=8}try{new n(e)}catch(r){h(r)}{e.i&=~8}{e.i|=128}u();we(e.t);return[3,5];case 4:n=r.constructor;o=r.localName;customElements.whenDefined(o).then((function(){return e.i|=128}));p.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}v=ie(t);if(!y.has(v)){s=Br("registerStyles",t.m);ee(v,l,!!(t.i&1));s()}}p.label=6;case 6:c=e.H;d=function(){return fe(e,true)};if(c&&c["s-rc"]){c["s-rc"].push(d)}else{d()}return[2]}}))}))};var we=function(r){{he(r,"connectedCallback")}};var ge=function(r){if((E.i&1)===0){var e=v(r);var n=e.u;var t=Br("connectedCallback",n.m);if(!(e.i&1)){e.i|=1;var i=void 0;{i=r.getAttribute(S);if(i){if(n.i&1){var a=ne(r.shadowRoot,n);r.classList.remove(a+"-h",a+"-s")}else if(n.i&2){var a=ie(n);r["s-sc"]=a}Vr(r,n.m,i,e)}}if(!i){if(n.i&(4|8)){_e(r)}}{var f=r;while(f=f.parentNode||f.host){if(f.nodeType===1&&f.hasAttribute("s-id")&&f["s-p"]||f["s-p"]){ae(e,e.H=f);break}}}if(n.G){Object.entries(n.G).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{U((function(){return be(r,e,n)}))}}else{xe(r,e,n.X);if(e==null?void 0:e.t){we(e.t)}else if(e==null?void 0:e.h){e.h.then((function(){return we(e.t)}))}}t()}};var _e=function(r){var e=r["s-cr"]=C.createComment("");e["s-cn"]=true;Nr(r,e,r.firstChild)};var Se=function(r){{he(r,"disconnectedCallback")}};var je=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((E.i&1)===0){e=v(r);{if(e.J){e.J.map((function(r){return r()}));e.J=void 0}}if(e==null?void 0:e.t){Se(e.t)}else if(e==null?void 0:e.h){e.h.then((function(){return Se(e.t)}))}}return[2]}))}))};var Oe=r("b",(function(r,e){if(e===void 0){e={}}var n;var t=Br();var i=[];var a=e.exclude||[];var f=A.customElements;var u=C.head;var o=u.querySelector("meta[charset]");var l=C.createElement("style");var s=[];var d;var h=true;Object.assign(E,e);E._=new URL(e.resourcesUrl||"./",C.baseURI).href;{E.i|=2}var p=false;r.map((function(r){r[1].map((function(e){var n;var t={i:e[0],m:e[1],G:e[2],X:e[3]};if(t.i&4){p=true}{t.G=e[2]}{t.X=e[3]}{t.F=[]}{t.q=(n=e[4])!=null?n:{}}var u=t.m;var o=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;n.hasRegisteredEventListeners=false;e=n;c(e,t);if(t.i&1){{if(!e.shadowRoot){{e.attachShadow({mode:"open",delegatesFocus:!!(t.i&16)})}}else{if(e.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(t.m,"! Mode is set to ").concat(e.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return n}e.prototype.connectedCallback=function(){var r=this;var e=v(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;xe(this,e,t.X)}if(d){clearTimeout(d);d=null}if(h){s.push(this)}else{E.jmp((function(){return ge(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;E.jmp((function(){return je(r)}))};e.prototype.componentOnReady=function(){return v(this).h};return e}(HTMLElement);{{Pr(o.prototype)}}t.$=r[0];if(!a.includes(u)&&!f.get(u)){i.push(u);f.define(u,$e(o,t,1))}}))}));if(i.length>0){if(p){l.textContent+=k}if(l.innerHTML.length){l.setAttribute("data-styles","");var m=(n=E.W)!=null?n:Q(C);if(m!=null){l.setAttribute("nonce",m)}u.insertBefore(l,o?o.nextSibling:u.firstChild)}}h=false;if(s.length){s.map((function(r){return r.connectedCallback()}))}else{{E.jmp((function(){return d=setTimeout(de,30)}))}}t()}));var ke=r("F",(function(r,e){return e}));var xe=function(r,e,n,t){if(n){n.map((function(n){var t=n[0],i=n[1],a=n[2];var f=Ce(r,t);var u=Ae(e,a);var o=Ee(t);E.ael(f,i,u,o);(e.J=e.J||[]).push((function(){return E.rel(f,i,u,o)}))}))}};var Ae=function(r,e){return function(n){var t;try{{if(r.i&256){(t=r.t)==null?void 0:t[e](n)}else{(r.V=r.V||[]).push([e,n])}}}catch(r){h(r)}}};var Ce=function(r,e){if(e&4)return C;if(e&8)return A;if(e&16)return C.body;return r};var Ee=function(r){return T?{passive:(r&1)!==0,capture:(r&2)!==0}:(r&2)!==0};var Te=r("s",(function(r){return E.W=r}))}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-a19244e5.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,r,a,o,n;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);background:none;outline:1px solid rgb(212, 223, 229);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);background:none;outline-color:rgb(222, 224, 228)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{border-color:rgb(181, 198, 208);outline-color:rgb(8, 42, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(199, 202, 207);outline-color:rgb(23, 28, 58)}';var g=d;var b=e("duet_badge",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.background="normal";this.margin="auto"}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e;var t="background-".concat(this.background);return r(a,{key:"ae708838b39b1a8db655ca27383e92baba3795fd",class:{"duet-m-0":this.margin==="none"}},r("span",{key:"29dbf98cb938dcd05be7a57c20e355db1e05b1df",class:(e={"duet-badge":true},e[this.variation]=true,e[t]=true,e["duet-theme-turva"]=this.theme==="turva",e)},r("slot",{key:"aa2b310511ff50a759a7ef772a38ddbe196ef74a"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());b.style=g}}}));
4
+ System.register(["./p-2e0eb8a4.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,r,a,o,n;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);background:none;outline:1px solid rgb(212, 223, 229);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);background:none;outline-color:rgb(222, 224, 228)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{border-color:rgb(181, 198, 208);outline-color:rgb(8, 42, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(199, 202, 207);outline-color:rgb(23, 28, 58)}';var g=d;var b=e("duet_badge",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.background="normal";this.margin="auto"}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e;var t="background-".concat(this.background);return r(a,{key:"525eb1a4fac6b096cf70238684abf6beaccf1b60",class:{"duet-m-0":this.margin==="none"}},r("span",{key:"6a6c8598ed37316d2952574df604014f0f4fcb08",class:(e={"duet-badge":true},e[this.variation]=true,e[t]=true,e["duet-theme-turva"]=this.theme==="turva",e)},r("slot",{key:"10a0b5fe2c183d0497b8968917b3ea9bb776aab6"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());b.style=g}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-a19244e5.system.js"],(function(n){"use strict";return{setters:[function(){}],execute:function(){var t=function(){{globalThis.ds={log:function(){return},warn:function(){return},info:function(){return}}}};var r=function(){t()};var u=n("g",r)}}}));
4
+ System.register(["./p-2e0eb8a4.system.js"],(function(n){"use strict";return{setters:[function(){}],execute:function(){var t=function(){{globalThis.ds={log:function(){return},warn:function(){return},info:function(){return}}}};var e=function(){t()};var r=n("g",e)}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-1e17463d.system.js","./p-98636086.system.js"],(function(e){"use strict";var n,t;return{setters:[function(e){n=e.g},function(e){t=e.p}],execute:function(){var r=e("g",(function(e,n){var r={type:undefined,system_message:undefined,message:undefined};n=t(n);r=n.filter((function(n){return n.type==e}))[0];if(!r){r=n.filter((function(e){return e.type==="default"}))[0]}return r}));var u=e("a",(function(e,t){var u=r(e,t);var s=n(u.message);if(s===""||!s){return u.system_message}else{return s}}))}}}));
4
+ System.register(["./p-81835239.system.js","./p-98636086.system.js"],(function(e){"use strict";var n,t;return{setters:[function(e){n=e.g},function(e){t=e.p}],execute:function(){var r=e("g",(function(e,n){var r={type:undefined,system_message:undefined,message:undefined};n=t(n);r=n.filter((function(n){return n.type==e}))[0];if(!r){r=n.filter((function(e){return e.type==="default"}))[0]}return r}));var u=e("a",(function(e,t){var u=r(e,t);var s=n(u.message);if(s===""||!s){return u.system_message}else{return s}}))}}}));