@duetds/components 9.10.0 → 9.12.0

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 (903) hide show
  1. package/hydrate/index.js +428 -325
  2. package/lib/cjs/{a11y-utils-8d6392a1.js → a11y-utils-17338d5a.js} +1 -1
  3. package/lib/cjs/{app-globals-1fed75c2.js → app-globals-de9f3d43.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +32 -9
  6. package/lib/cjs/duet-badge.cjs.entry.js +5 -5
  7. package/lib/cjs/duet-banner.cjs.entry.js +5 -5
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-button_2.cjs.entry.js +13 -12
  11. package/lib/cjs/duet-callout.cjs.entry.js +6 -6
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +19 -17
  13. package/lib/cjs/duet-card.cjs.entry.js +7 -7
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +5 -5
  16. package/lib/cjs/duet-chip.cjs.entry.js +13 -6
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +12 -6
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +6 -6
  19. package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +6 -6
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +5 -5
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +7 -7
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-footer.cjs.entry.js +9 -9
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  31. package/lib/cjs/duet-hero.cjs.entry.js +10 -10
  32. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  33. package/lib/cjs/duet-input_2.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  35. package/lib/cjs/duet-list_2.cjs.entry.js +12 -6
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -5
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -5
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -7
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -5
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  42. package/lib/cjs/duet-modal.cjs.entry.js +12 -12
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  44. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  46. package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
  47. package/lib/cjs/duet-overlay.cjs.entry.js +4 -4
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
  50. package/lib/cjs/duet-phone-input.cjs.entry.js +15 -14
  51. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +12 -12
  52. package/lib/cjs/duet-progress.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  54. package/lib/cjs/duet-radio_2.cjs.entry.js +11 -5
  55. package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-scrollable_3.cjs.entry.js +15 -15
  57. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-select.cjs.entry.js +4 -4
  59. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-share-chart.cjs.entry.js +15 -8
  62. package/lib/cjs/duet-show-more.cjs.entry.js +6 -6
  63. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  64. package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
  65. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  66. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
  67. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  68. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  69. package/lib/cjs/duet-step_2.cjs.entry.js +5 -5
  70. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -5
  71. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
  72. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
  73. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  75. package/lib/cjs/duet-textarea.cjs.entry.js +12 -6
  76. package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -5
  78. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -7
  79. package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
  80. package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -5
  81. package/lib/cjs/duet-toolbar.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -10
  83. package/lib/cjs/duet-tooltip.cjs.entry.js +10 -4
  84. package/lib/cjs/duet-tray.cjs.entry.js +6 -6
  85. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  86. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  87. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  88. package/lib/cjs/duet.cjs.js +3 -3
  89. package/lib/cjs/{errorcodes.utils-70dc1564.js → errorcodes.utils-59b11a3f.js} +1 -1
  90. package/lib/cjs/{floating-ui.dom.esm-806e7c53.js → floating-ui.dom.esm-bdde8521.js} +50 -27
  91. package/lib/cjs/{focus-utils-bd12eea6.js → focus-utils-cb7618f0.js} +1 -1
  92. package/lib/cjs/{index-2cabe082.js → index-f95ed539.js} +1 -1
  93. package/lib/cjs/{language-utils-1f1602eb.js → language-utils-13e031de.js} +9 -1
  94. package/lib/cjs/loader.cjs.js +3 -3
  95. package/lib/cjs/{slot-utils-19838006.js → slot-utils-f0500106.js} +1 -1
  96. package/lib/cjs/{themeable-component-ad21363c.js → themeable-component-851fd595.js} +8 -1
  97. package/lib/collection/common/themeable-component.js +8 -1
  98. package/lib/collection/components/duet-action-button/duet-action-button.css +15 -0
  99. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  100. package/lib/collection/components/duet-alert/duet-alert.js +29 -6
  101. package/lib/collection/components/duet-badge/duet-badge.css +12 -0
  102. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  103. package/lib/collection/components/duet-banner/duet-banner.js +3 -3
  104. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  105. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +11 -0
  106. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  107. package/lib/collection/components/duet-button/duet-button.css +61 -0
  108. package/lib/collection/components/duet-button/duet-button.js +10 -10
  109. package/lib/collection/components/duet-callout/duet-callout.css +5 -0
  110. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  111. package/lib/collection/components/duet-caption/duet-caption.css +4 -0
  112. package/lib/collection/components/duet-caption/duet-caption.js +3 -3
  113. package/lib/collection/components/duet-card/duet-card.css +13 -0
  114. package/lib/collection/components/duet-card/duet-card.js +6 -6
  115. package/lib/collection/components/duet-checkbox/duet-checkbox.css +11 -0
  116. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  117. package/lib/collection/components/duet-chip/duet-chip.css +25 -0
  118. package/lib/collection/components/duet-chip/duet-chip.js +16 -7
  119. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  120. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  121. package/lib/collection/components/duet-choice/duet-choice.css +51 -0
  122. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  123. package/lib/collection/components/duet-choice-group/duet-choice-group.js +9 -0
  124. package/lib/collection/components/duet-collapsible/duet-collapsible.css +8 -0
  125. package/lib/collection/components/duet-collapsible/duet-collapsible.js +5 -5
  126. package/lib/collection/components/duet-combobox/duet-combobox.css +7 -0
  127. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  128. package/lib/collection/components/duet-contact-card/duet-contact-card.css +4 -0
  129. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  130. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +9 -0
  131. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +2 -2
  132. package/lib/collection/components/duet-date-picker/duet-date-picker.css +37 -1
  133. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  134. package/lib/collection/components/duet-divider/duet-divider.js +2 -2
  135. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  136. package/lib/collection/components/duet-empty-state/duet-empty-state.css +4 -0
  137. package/lib/collection/components/duet-empty-state/duet-empty-state.js +3 -3
  138. package/lib/collection/components/duet-fieldset/duet-fieldset.css +4 -0
  139. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  140. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +2 -2
  141. package/lib/collection/components/duet-footer/duet-footer.css +15 -0
  142. package/lib/collection/components/duet-footer/duet-footer.js +11 -11
  143. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  144. package/lib/collection/components/duet-grid-item/duet-grid-item.css +4 -0
  145. package/lib/collection/components/duet-header/duet-header.css +69 -0
  146. package/lib/collection/components/duet-header/duet-header.js +15 -15
  147. package/lib/collection/components/duet-heading/duet-heading.css +4 -0
  148. package/lib/collection/components/duet-heading/duet-heading.js +3 -3
  149. package/lib/collection/components/duet-hero/duet-hero.css +17 -0
  150. package/lib/collection/components/duet-hero/duet-hero.js +10 -10
  151. package/lib/collection/components/duet-icon/duet-icon.css +7 -0
  152. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  153. package/lib/collection/components/duet-input/duet-input.css +34 -0
  154. package/lib/collection/components/duet-input/duet-input.js +8 -8
  155. package/lib/collection/components/duet-label/duet-label.css +4 -0
  156. package/lib/collection/components/duet-label/duet-label.js +2 -2
  157. package/lib/collection/components/duet-layout/duet-layout.js +6 -6
  158. package/lib/collection/components/duet-link/duet-link.css +22 -0
  159. package/lib/collection/components/duet-link/duet-link.js +8 -2
  160. package/lib/collection/components/duet-list/duet-list.js +4 -4
  161. package/lib/collection/components/duet-list-item/duet-list-item.css +20 -0
  162. package/lib/collection/components/duet-list-item/duet-list-item.js +35 -2
  163. package/lib/collection/components/duet-logo/duet-logo.js +2 -2
  164. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +7 -0
  165. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  166. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +6 -0
  167. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  168. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +13 -0
  169. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  170. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +7 -0
  171. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  172. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +15 -0
  173. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  174. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +12 -0
  175. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  176. package/lib/collection/components/duet-modal/duet-modal.css +10 -2
  177. package/lib/collection/components/duet-modal/duet-modal.js +10 -10
  178. package/lib/collection/components/duet-multiselect/duet-multiselect.css +30 -0
  179. package/lib/collection/components/duet-multiselect/duet-multiselect.js +11 -11
  180. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  181. package/lib/collection/components/duet-notification/duet-notification.css +16 -0
  182. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  183. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +12 -0
  184. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  185. package/lib/collection/components/duet-number-input/duet-number-input.css +7 -0
  186. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  187. package/lib/collection/components/duet-overlay/duet-overlay.css +4 -0
  188. package/lib/collection/components/duet-overlay/duet-overlay.js +2 -2
  189. package/lib/collection/components/duet-page-heading/duet-page-heading.css +27 -11
  190. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  191. package/lib/collection/components/duet-pagination/duet-pagination.css +4 -0
  192. package/lib/collection/components/duet-pagination/duet-pagination.js +13 -13
  193. package/lib/collection/components/duet-paragraph/duet-paragraph.css +7 -0
  194. package/lib/collection/components/duet-paragraph/duet-paragraph.js +5 -5
  195. package/lib/collection/components/duet-phone-input/duet-phone-input.js +15 -14
  196. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +4 -0
  197. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +4 -4
  198. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +10 -0
  199. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +4 -4
  200. package/lib/collection/components/duet-progress/duet-progress.css +19 -0
  201. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  202. package/lib/collection/components/duet-radio/duet-radio.css +20 -0
  203. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  204. package/lib/collection/components/duet-radio-group/duet-radio-group.js +9 -0
  205. package/lib/collection/components/duet-range-slider/duet-range-slider.css +40 -0
  206. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  207. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +4 -0
  208. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +3 -3
  209. package/lib/collection/components/duet-scrollable/duet-scrollable.css +7 -0
  210. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  211. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  212. package/lib/collection/components/duet-select/duet-select.css +33 -0
  213. package/lib/collection/components/duet-select/duet-select.js +5 -5
  214. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  215. package/lib/collection/components/duet-share-chart/duet-share-chart.css +4 -0
  216. package/lib/collection/components/duet-share-chart/duet-share-chart.js +10 -4
  217. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  218. package/lib/collection/components/duet-show-more/duet-show-more.css +4 -0
  219. package/lib/collection/components/duet-show-more/duet-show-more.js +3 -3
  220. package/lib/collection/components/duet-slideout/duet-slideout.css +28 -0
  221. package/lib/collection/components/duet-slideout/duet-slideout.js +5 -5
  222. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +4 -0
  223. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  224. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +10 -0
  225. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  226. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +20 -0
  227. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  228. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +13 -0
  229. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  230. package/lib/collection/components/duet-spacer/duet-spacer.js +3 -3
  231. package/lib/collection/components/duet-spinner/duet-spinner.css +3 -0
  232. package/lib/collection/components/duet-spinner/duet-spinner.js +4 -6
  233. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  234. package/lib/collection/components/duet-step/duet-step.css +13 -0
  235. package/lib/collection/components/duet-step/duet-step.js +2 -2
  236. package/lib/collection/components/duet-stepper/duet-stepper.js +2 -2
  237. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +14 -0
  238. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  239. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +31 -0
  240. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  241. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +18 -0
  242. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  243. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +20 -0
  244. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  245. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +22 -0
  246. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  247. package/lib/collection/components/duet-tab-group/duet-tab-group.css +31 -0
  248. package/lib/collection/components/duet-tab-group/duet-tab-group.js +9 -9
  249. package/lib/collection/components/duet-table/duet-table.css +64 -7
  250. package/lib/collection/components/duet-table/duet-table.js +2 -2
  251. package/lib/collection/components/duet-textarea/duet-textarea.css +29 -0
  252. package/lib/collection/components/duet-textarea/duet-textarea.js +36 -8
  253. package/lib/collection/components/duet-toggle/duet-toggle.css +11 -0
  254. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  255. package/lib/collection/components/duet-toolbar/duet-toolbar.css +7 -0
  256. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  257. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +21 -0
  258. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  259. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +10 -0
  260. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  261. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +25 -0
  262. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  263. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +24 -0
  264. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  265. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +7 -0
  266. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  267. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +25 -0
  268. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  269. package/lib/collection/components/duet-tooltip/duet-tooltip.js +7 -1
  270. package/lib/collection/components/duet-tray/duet-tray.css +12 -0
  271. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  272. package/lib/collection/components/duet-upload/duet-upload.js +16 -16
  273. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  274. package/lib/collection/components/duet-upload-item/duet-upload-item.js +4 -4
  275. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  276. package/lib/collection/utils/language-utils.js +7 -0
  277. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  278. package/lib/dist-custom-elements/duet-alert.js +1 -1
  279. package/lib/dist-custom-elements/duet-badge.js +1 -1
  280. package/lib/dist-custom-elements/duet-banner.js +6 -6
  281. package/lib/dist-custom-elements/duet-breadcrumb.js +9 -9
  282. package/lib/dist-custom-elements/duet-breadcrumbs.js +6 -6
  283. package/lib/dist-custom-elements/duet-button.js +1 -1
  284. package/lib/dist-custom-elements/duet-callout.js +6 -6
  285. package/lib/dist-custom-elements/duet-caption.js +1 -1
  286. package/lib/dist-custom-elements/duet-card.js +8 -8
  287. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  288. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  289. package/lib/dist-custom-elements/duet-chip.js +1 -1
  290. package/lib/dist-custom-elements/duet-choice-group.js +17 -11
  291. package/lib/dist-custom-elements/duet-choice.js +7 -7
  292. package/lib/dist-custom-elements/duet-collapsible.js +7 -7
  293. package/lib/dist-custom-elements/duet-combobox.js +18 -18
  294. package/lib/dist-custom-elements/duet-contact-card.js +13 -13
  295. package/lib/dist-custom-elements/duet-cookie-consent.js +9 -9
  296. package/lib/dist-custom-elements/duet-date-picker.js +16 -16
  297. package/lib/dist-custom-elements/duet-divider.js +1 -1
  298. package/lib/dist-custom-elements/duet-editable-table.js +9 -9
  299. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  300. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  301. package/lib/dist-custom-elements/duet-file-chooser.js +4 -4
  302. package/lib/dist-custom-elements/duet-footer.js +14 -14
  303. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  304. package/lib/dist-custom-elements/duet-grid.js +1 -1
  305. package/lib/dist-custom-elements/duet-header.js +11 -11
  306. package/lib/dist-custom-elements/duet-heading.js +1 -1
  307. package/lib/dist-custom-elements/duet-hero.js +17 -17
  308. package/lib/dist-custom-elements/duet-icon.js +1 -1
  309. package/lib/dist-custom-elements/duet-input.js +1 -1
  310. package/lib/dist-custom-elements/duet-label.js +1 -1
  311. package/lib/dist-custom-elements/duet-layout.js +6 -6
  312. package/lib/dist-custom-elements/duet-link.js +1 -1
  313. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  314. package/lib/dist-custom-elements/duet-list.js +1 -1
  315. package/lib/dist-custom-elements/duet-logo.js +1 -1
  316. package/lib/dist-custom-elements/duet-menu-bar-button.js +6 -6
  317. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -6
  318. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +8 -8
  319. package/lib/dist-custom-elements/duet-menu-bar-item.js +7 -7
  320. package/lib/dist-custom-elements/duet-menu-bar-link.js +6 -6
  321. package/lib/dist-custom-elements/duet-menu-bar.js +7 -7
  322. package/lib/dist-custom-elements/duet-modal.js +17 -17
  323. package/lib/dist-custom-elements/duet-multiselect.js +17 -17
  324. package/lib/dist-custom-elements/duet-nav.js +3 -3
  325. package/lib/dist-custom-elements/duet-notification-drawer.js +9 -9
  326. package/lib/dist-custom-elements/duet-notification.js +7 -7
  327. package/lib/dist-custom-elements/duet-number-input.js +14 -14
  328. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  329. package/lib/dist-custom-elements/duet-page-heading.js +7 -7
  330. package/lib/dist-custom-elements/duet-pagination.js +27 -27
  331. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  332. package/lib/dist-custom-elements/duet-phone-input.js +29 -28
  333. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  334. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  335. package/lib/dist-custom-elements/duet-progress.js +1 -1
  336. package/lib/dist-custom-elements/duet-promo-card.js +6 -6
  337. package/lib/dist-custom-elements/duet-radio-group.js +17 -11
  338. package/lib/dist-custom-elements/duet-radio.js +3 -3
  339. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  340. package/lib/dist-custom-elements/duet-range-stepper.js +9 -9
  341. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  342. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  343. package/lib/dist-custom-elements/duet-select.js +1 -1
  344. package/lib/dist-custom-elements/duet-shaped-image.js +4 -4
  345. package/lib/dist-custom-elements/duet-share-chart-item.js +2 -2
  346. package/lib/dist-custom-elements/duet-share-chart.js +14 -8
  347. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  348. package/lib/dist-custom-elements/duet-slideout-lang.js +6 -6
  349. package/lib/dist-custom-elements/duet-slideout-link.js +7 -7
  350. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -8
  351. package/lib/dist-custom-elements/duet-slideout-panel.js +11 -11
  352. package/lib/dist-custom-elements/duet-slideout.js +10 -10
  353. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  354. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  355. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  356. package/lib/dist-custom-elements/duet-step.js +6 -6
  357. package/lib/dist-custom-elements/duet-stepper.js +5 -5
  358. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -6
  359. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -8
  360. package/lib/dist-custom-elements/duet-submenu-bar-item.js +6 -6
  361. package/lib/dist-custom-elements/duet-submenu-bar-link.js +5 -5
  362. package/lib/dist-custom-elements/duet-submenu-bar.js +10 -10
  363. package/lib/dist-custom-elements/duet-tab-group.js +14 -14
  364. package/lib/dist-custom-elements/duet-tab.js +3 -3
  365. package/lib/dist-custom-elements/duet-table.js +1 -1
  366. package/lib/dist-custom-elements/duet-textarea.js +21 -14
  367. package/lib/dist-custom-elements/duet-toggle.js +4 -4
  368. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -6
  369. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +8 -8
  370. package/lib/dist-custom-elements/duet-toolbar-item.js +8 -8
  371. package/lib/dist-custom-elements/duet-toolbar-link.js +6 -6
  372. package/lib/dist-custom-elements/duet-toolbar.js +5 -5
  373. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  374. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  375. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  376. package/lib/dist-custom-elements/duet-tray.js +8 -8
  377. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  378. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  379. package/lib/dist-custom-elements/duet-upload.js +24 -24
  380. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  381. package/lib/dist-custom-elements/index.js +1 -1
  382. package/lib/dist-custom-elements/{p-ff095cab.js → p-0a43db61.js} +1 -1
  383. package/lib/dist-custom-elements/{p-c54248bf.js → p-12cf3255.js} +12 -12
  384. package/lib/dist-custom-elements/{p-677fcb67.js → p-1b299c30.js} +14 -14
  385. package/lib/dist-custom-elements/p-2481bfc5.js +148 -0
  386. package/lib/dist-custom-elements/{p-b32d48da.js → p-2c7f0e6d.js} +3 -3
  387. package/lib/dist-custom-elements/{p-2e417433.js → p-347269f4.js} +8 -1
  388. package/lib/dist-custom-elements/{p-c7712328.js → p-35931465.js} +16 -8
  389. package/lib/dist-custom-elements/{p-7dea8a97.js → p-3aa7aac5.js} +7 -7
  390. package/lib/dist-custom-elements/{p-7e67ae98.js → p-3ca82863.js} +6 -6
  391. package/lib/dist-custom-elements/{p-f5be092d.js → p-40d0bfa5.js} +13 -13
  392. package/lib/dist-custom-elements/{p-5763ed84.js → p-411abee5.js} +7 -7
  393. package/lib/dist-custom-elements/{p-25f05029.js → p-4955a87e.js} +12 -4
  394. package/lib/dist-custom-elements/{p-fea27a32.js → p-4eeb120b.js} +5 -5
  395. package/lib/dist-custom-elements/{p-e31e739d.js → p-5047b835.js} +5 -5
  396. package/lib/dist-custom-elements/{p-53b5cfe0.js → p-5653ce28.js} +3 -3
  397. package/lib/dist-custom-elements/{p-712cc0fe.js → p-596ae966.js} +4 -4
  398. package/lib/dist-custom-elements/{p-7cadfedf.js → p-6076cf75.js} +3 -3
  399. package/lib/dist-custom-elements/{p-bd5fd00c.js → p-62aa9a5c.js} +3 -3
  400. package/lib/dist-custom-elements/{p-8d4e4d69.js → p-6d877bbf.js} +5 -5
  401. package/lib/dist-custom-elements/{p-b0dff124.js → p-717c0cc2.js} +4 -4
  402. package/lib/dist-custom-elements/{p-27fb3377.js → p-725d4f73.js} +6 -6
  403. package/lib/dist-custom-elements/{p-2e20762b.js → p-74ea266b.js} +6 -6
  404. package/lib/dist-custom-elements/{p-63aa9cea.js → p-7b06c584.js} +1 -1
  405. package/lib/dist-custom-elements/{p-9de33ddc.js → p-82035e12.js} +6 -5
  406. package/lib/dist-custom-elements/{p-5e2338eb.js → p-8e19ab0d.js} +12 -12
  407. package/lib/dist-custom-elements/{p-d5edc293.js → p-a736142a.js} +7 -7
  408. package/lib/dist-custom-elements/{p-f3d8c18f.js → p-a7811f8d.js} +11 -7
  409. package/lib/dist-custom-elements/{p-069c0fe6.js → p-a854645c.js} +10 -10
  410. package/lib/dist-custom-elements/{p-c438143f.js → p-a8c78fc2.js} +6 -6
  411. package/lib/dist-custom-elements/{p-c6b8e67d.js → p-ab9d3cc3.js} +2 -2
  412. package/lib/dist-custom-elements/{p-4ed4b660.js → p-b2f82888.js} +4 -4
  413. package/lib/dist-custom-elements/{p-4a11f35f.js → p-b3b28d5d.js} +3 -3
  414. package/lib/dist-custom-elements/{p-bb5d976b.js → p-b74fcc3c.js} +3 -3
  415. package/lib/dist-custom-elements/{p-198def8a.js → p-b8d7c4ed.js} +18 -18
  416. package/lib/dist-custom-elements/{p-33764e75.js → p-bdba7fe5.js} +10 -10
  417. package/lib/dist-custom-elements/{p-11e985ad.js → p-c359e540.js} +63 -34
  418. package/lib/dist-custom-elements/{p-f581a504.js → p-c5c6b81d.js} +5 -5
  419. package/lib/dist-custom-elements/{p-4f90efab.js → p-c75b3485.js} +5 -5
  420. package/lib/dist-custom-elements/{p-946e5932.js → p-c8430012.js} +2 -2
  421. package/lib/dist-custom-elements/{p-cccc3195.js → p-d0c03178.js} +5 -5
  422. package/lib/dist-custom-elements/{p-35375593.js → p-d9b2e80e.js} +8 -1
  423. package/lib/dist-custom-elements/{p-e6685574.js → p-f8f5a07b.js} +37 -14
  424. package/lib/duet/duet.esm.js +1 -1
  425. package/lib/duet/duet.js +1 -1
  426. package/lib/duet/{p-2dd01837.entry.js → p-00a283a1.entry.js} +1 -1
  427. package/lib/duet/p-054726f0.entry.js +4 -0
  428. package/lib/duet/{p-26f06c40.system.entry.js → p-05abacee.system.entry.js} +1 -1
  429. package/lib/duet/{p-dfb3f974.entry.js → p-06050c44.entry.js} +1 -1
  430. package/lib/duet/p-0a53642c.system.js +4 -0
  431. package/lib/duet/{p-eb11a1ef.entry.js → p-0cb4394e.entry.js} +1 -1
  432. package/lib/duet/p-0ee5d1a8.entry.js +4 -0
  433. package/lib/duet/p-0f03d470.system.entry.js +4 -0
  434. package/lib/duet/{p-d521e905.entry.js → p-0ff8d0d2.entry.js} +1 -1
  435. package/lib/duet/{p-ae212566.entry.js → p-10362d33.entry.js} +1 -1
  436. package/lib/duet/{p-5b8909b1.entry.js → p-11c40b7a.entry.js} +1 -1
  437. package/lib/duet/{p-560bd847.entry.js → p-12266b76.entry.js} +1 -1
  438. package/lib/duet/p-123e0a90.entry.js +4 -0
  439. package/lib/duet/p-138eda83.entry.js +4 -0
  440. package/lib/duet/{p-bddfed11.entry.js → p-1594b16e.entry.js} +1 -1
  441. package/lib/duet/p-15c4d9d3.entry.js +4 -0
  442. package/lib/duet/{p-59b74bd6.system.entry.js → p-16efea64.system.entry.js} +1 -1
  443. package/lib/duet/{p-8873a340.system.entry.js → p-1716496c.system.entry.js} +1 -1
  444. package/lib/duet/p-1844bba6.system.entry.js +4 -0
  445. package/lib/duet/p-1b3cd1cf.system.entry.js +4 -0
  446. package/lib/duet/{p-8fbdfdf2.system.entry.js → p-1b91f618.system.entry.js} +1 -1
  447. package/lib/duet/p-1e05468b.system.entry.js +4 -0
  448. package/lib/duet/{p-ab836d90.entry.js → p-1e6d238e.entry.js} +1 -1
  449. package/lib/duet/p-223bde44.system.entry.js +4 -0
  450. package/lib/duet/p-23979a8a.entry.js +4 -0
  451. package/lib/duet/{p-e8916361.system.entry.js → p-2515927d.system.entry.js} +2 -2
  452. package/lib/duet/p-2ba15b62.entry.js +4 -0
  453. package/lib/duet/p-2d24087d.system.entry.js +4 -0
  454. package/lib/duet/p-2e640148.system.entry.js +4 -0
  455. package/lib/duet/{p-0d217cea.entry.js → p-2e7a523c.entry.js} +1 -1
  456. package/lib/duet/{p-0f1573cd.system.entry.js → p-300e113e.system.entry.js} +1 -1
  457. package/lib/duet/{p-cda10bf2.entry.js → p-31225a99.entry.js} +1 -1
  458. package/lib/duet/p-312d40db.system.entry.js +4 -0
  459. package/lib/duet/p-317570ca.system.entry.js +4 -0
  460. package/lib/duet/p-347269f4.js +4 -0
  461. package/lib/duet/{p-62d07347.entry.js → p-35199f33.entry.js} +1 -1
  462. package/lib/duet/p-35366baa.entry.js +4 -0
  463. package/lib/duet/{p-3831d96f.entry.js → p-35fe78f1.entry.js} +1 -1
  464. package/lib/duet/{p-ac25657f.system.entry.js → p-36bb96cd.system.entry.js} +1 -1
  465. package/lib/duet/{p-d5fa54d8.entry.js → p-38be52d6.entry.js} +1 -1
  466. package/lib/duet/{p-9c45f20e.system.entry.js → p-392f64d4.system.entry.js} +2 -2
  467. package/lib/duet/{p-c18cb1b4.system.entry.js → p-393b3fbf.system.entry.js} +1 -1
  468. package/lib/duet/p-3957eca9.system.entry.js +4 -0
  469. package/lib/duet/{p-4352aaf0.entry.js → p-3c820e0e.entry.js} +1 -1
  470. package/lib/duet/{p-660bc17d.system.entry.js → p-3e0306da.system.entry.js} +1 -1
  471. package/lib/duet/{p-49aa0899.system.entry.js → p-3f3389c9.system.entry.js} +2 -2
  472. package/lib/duet/p-3f39d155.system.js +4 -0
  473. package/lib/duet/{p-848856d3.entry.js → p-406fef20.entry.js} +1 -1
  474. package/lib/duet/{p-7a541100.system.entry.js → p-409a8a9b.system.entry.js} +1 -1
  475. package/lib/duet/{p-227794ab.entry.js → p-41285cb3.entry.js} +1 -1
  476. package/lib/duet/{p-cc605f5d.system.js → p-42617c96.system.js} +1 -1
  477. package/lib/duet/p-4373618f.js +4 -0
  478. package/lib/duet/{p-d2341beb.entry.js → p-43bb67a2.entry.js} +1 -1
  479. package/lib/duet/p-4490c500.system.js +4 -0
  480. package/lib/duet/{p-746258dd.entry.js → p-456ccb67.entry.js} +1 -1
  481. package/lib/duet/{p-6f0631c1.entry.js → p-479f6467.entry.js} +1 -1
  482. package/lib/duet/p-482bf57b.system.entry.js +4 -0
  483. package/lib/duet/p-48512063.system.entry.js +4 -0
  484. package/lib/duet/p-48706635.entry.js +4 -0
  485. package/lib/duet/{p-05792935.entry.js → p-48dc77a4.entry.js} +1 -1
  486. package/lib/duet/p-4c1395a3.system.entry.js +4 -0
  487. package/lib/duet/{p-d63e0c73.entry.js → p-4cd633db.entry.js} +1 -1
  488. package/lib/duet/p-4f1b19b2.system.entry.js +4 -0
  489. package/lib/duet/{p-be503b8d.entry.js → p-4fb776ac.entry.js} +1 -1
  490. package/lib/duet/{p-0cf9503e.system.entry.js → p-52693beb.system.entry.js} +1 -1
  491. package/lib/duet/{p-03030951.system.entry.js → p-554e5216.system.entry.js} +1 -1
  492. package/lib/duet/{p-34996284.system.entry.js → p-55ad66c5.system.entry.js} +1 -1
  493. package/lib/duet/{p-632c96a5.system.entry.js → p-562434dc.system.entry.js} +1 -1
  494. package/lib/duet/{p-bc359337.entry.js → p-5654364d.entry.js} +1 -1
  495. package/lib/duet/p-56fdc283.entry.js +4 -0
  496. package/lib/duet/{p-256f0f81.entry.js → p-59191e5a.entry.js} +1 -1
  497. package/lib/duet/{p-83d690fa.entry.js → p-5965f57e.entry.js} +1 -1
  498. package/lib/duet/{p-491d6e7b.entry.js → p-5a2780d0.entry.js} +1 -1
  499. package/lib/duet/p-5a5965d0.system.entry.js +4 -0
  500. package/lib/duet/p-5aee98ad.system.js +4 -0
  501. package/lib/duet/p-5af9a3f8.entry.js +4 -0
  502. package/lib/duet/{p-565eaedb.system.entry.js → p-5c0c225c.system.entry.js} +1 -1
  503. package/lib/duet/p-5eb3e3d7.system.entry.js +4 -0
  504. package/lib/duet/{p-8069a1d0.system.entry.js → p-634b73a9.system.entry.js} +2 -2
  505. package/lib/duet/p-64614ba8.system.entry.js +4 -0
  506. package/lib/duet/{p-5fd14a22.system.js → p-64df53ba.system.js} +1 -1
  507. package/lib/duet/p-655280e9.system.entry.js +4 -0
  508. package/lib/duet/p-65ec821a.entry.js +4 -0
  509. package/lib/duet/{p-35e0c423.entry.js → p-66de7804.entry.js} +1 -1
  510. package/lib/duet/p-68058ed9.entry.js +4 -0
  511. package/lib/duet/{p-181a535c.entry.js → p-685046d1.entry.js} +1 -1
  512. package/lib/duet/{p-fcd4b8c6.system.entry.js → p-68cd4af2.system.entry.js} +2 -2
  513. package/lib/duet/p-6b072424.system.entry.js +4 -0
  514. package/lib/duet/{p-0aa281bb.entry.js → p-6b8fbaf4.entry.js} +1 -1
  515. package/lib/duet/p-6ca43344.entry.js +4 -0
  516. package/lib/duet/{p-48ceea40.system.entry.js → p-6cb20295.system.entry.js} +1 -1
  517. package/lib/duet/{p-7ba1239e.entry.js → p-750cac7b.entry.js} +1 -1
  518. package/lib/duet/{p-5f6b4df5.entry.js → p-755b3457.entry.js} +1 -1
  519. package/lib/duet/p-759e1c85.entry.js +4 -0
  520. package/lib/duet/{p-57fdf264.system.entry.js → p-764c22a6.system.entry.js} +1 -1
  521. package/lib/duet/p-7651a241.entry.js +4 -0
  522. package/lib/duet/{p-30bb744d.entry.js → p-791591c2.entry.js} +1 -1
  523. package/lib/duet/p-7a84043d.entry.js +4 -0
  524. package/lib/duet/{p-c379d3f3.js → p-7aa5139c.js} +1 -1
  525. package/lib/duet/{p-a21d58a6.system.entry.js → p-7bb4b1b8.system.entry.js} +2 -2
  526. package/lib/duet/{p-ea88f789.entry.js → p-7e37eaa1.entry.js} +1 -1
  527. package/lib/duet/{p-8d098836.system.entry.js → p-7f2db066.system.entry.js} +1 -1
  528. package/lib/duet/p-7fca21d1.js +4 -0
  529. package/lib/duet/p-8141b163.system.entry.js +4 -0
  530. package/lib/duet/{p-c20f85ec.entry.js → p-82219311.entry.js} +1 -1
  531. package/lib/duet/p-868ae989.system.entry.js +4 -0
  532. package/lib/duet/{p-6c5e01fd.entry.js → p-87c5e510.entry.js} +1 -1
  533. package/lib/duet/p-8d27357f.entry.js +4 -0
  534. package/lib/duet/{p-b8185220.entry.js → p-8da06f1c.entry.js} +1 -1
  535. package/lib/duet/p-8f415fc6.entry.js +4 -0
  536. package/lib/duet/{p-c5d8d5c5.system.entry.js → p-8f9a62b4.system.entry.js} +1 -1
  537. package/lib/duet/p-91fc8ab0.entry.js +4 -0
  538. package/lib/duet/p-921e7403.system.entry.js +4 -0
  539. package/lib/duet/{p-52946b3c.system.entry.js → p-950e9846.system.entry.js} +1 -1
  540. package/lib/duet/p-9602606e.entry.js +4 -0
  541. package/lib/duet/p-96640cb1.system.entry.js +4 -0
  542. package/lib/duet/p-96ae488b.system.entry.js +4 -0
  543. package/lib/duet/{p-1c51d7fe.system.entry.js → p-97a1e216.system.entry.js} +1 -1
  544. package/lib/duet/{p-f0f5dccd.system.entry.js → p-990744ed.system.entry.js} +1 -1
  545. package/lib/duet/{p-afbfff41.entry.js → p-99945784.entry.js} +1 -1
  546. package/lib/duet/p-9b3ba455.entry.js +4 -0
  547. package/lib/duet/{p-8e8e1939.system.entry.js → p-a08aec07.system.entry.js} +1 -1
  548. package/lib/duet/{p-c9e7e6ba.entry.js → p-a61448f4.entry.js} +1 -1
  549. package/lib/duet/p-a61e8e43.system.js +4 -0
  550. package/lib/duet/p-a6faa337.system.entry.js +4 -0
  551. package/lib/duet/{p-f1473cb8.entry.js → p-a7b28d53.entry.js} +1 -1
  552. package/lib/duet/p-a800c69d.system.entry.js +4 -0
  553. package/lib/duet/{p-b7803656.system.entry.js → p-a90951a6.system.entry.js} +1 -1
  554. package/lib/duet/p-a92495c0.entry.js +4 -0
  555. package/lib/duet/p-aefcf0ba.system.entry.js +4 -0
  556. package/lib/duet/{p-b2593361.entry.js → p-b3462305.entry.js} +1 -1
  557. package/lib/duet/p-b37f618f.system.entry.js +4 -0
  558. package/lib/duet/p-b5327a09.system.entry.js +4 -0
  559. package/lib/duet/p-b7c553d3.system.entry.js +4 -0
  560. package/lib/duet/p-b82a5dcc.js +4 -0
  561. package/lib/duet/{p-b431845b.system.entry.js → p-b8d157df.system.entry.js} +2 -2
  562. package/lib/duet/{p-9da042c5.entry.js → p-b9dac869.entry.js} +1 -1
  563. package/lib/duet/{p-ece81418.system.entry.js → p-bcb0aced.system.entry.js} +2 -2
  564. package/lib/duet/{p-772b7ce4.system.entry.js → p-bcb89dab.system.entry.js} +1 -1
  565. package/lib/duet/p-bd70d732.entry.js +4 -0
  566. package/lib/duet/{p-8afd07f1.entry.js → p-be3f9ffd.entry.js} +1 -1
  567. package/lib/duet/{p-6b170f41.entry.js → p-bf483110.entry.js} +1 -1
  568. package/lib/duet/p-c0145260.system.entry.js +4 -0
  569. package/lib/duet/p-c02333fd.js +5 -0
  570. package/lib/duet/p-c10d1980.system.entry.js +4 -0
  571. package/lib/duet/{p-70421809.entry.js → p-c3950528.entry.js} +1 -1
  572. package/lib/duet/{p-8b9b609d.system.entry.js → p-c5288771.system.entry.js} +2 -2
  573. package/lib/duet/{p-b0ef9b4d.entry.js → p-c6b8f64a.entry.js} +1 -1
  574. package/lib/duet/{p-23dce278.entry.js → p-c6d2737c.entry.js} +1 -1
  575. package/lib/duet/p-c76e51f5.system.entry.js +4 -0
  576. package/lib/duet/{p-add8dca5.entry.js → p-c7d459d2.entry.js} +1 -1
  577. package/lib/duet/p-c8c01e02.system.entry.js +4 -0
  578. package/lib/duet/p-c8c08319.system.js +4 -0
  579. package/lib/duet/{p-5e7305c3.entry.js → p-caf2d96b.entry.js} +1 -1
  580. package/lib/duet/{p-ff1ead2c.system.entry.js → p-cb97873b.system.entry.js} +1 -1
  581. package/lib/duet/{p-781fd796.entry.js → p-cc67a438.entry.js} +1 -1
  582. package/lib/duet/p-cdc33419.system.entry.js +4 -0
  583. package/lib/duet/p-cfe4c0d3.entry.js +4 -0
  584. package/lib/duet/p-d066c499.system.entry.js +4 -0
  585. package/lib/duet/{p-9c3a6e95.js → p-d10927bb.js} +1 -1
  586. package/lib/duet/p-d4bf2c73.entry.js +4 -0
  587. package/lib/duet/p-d7f543fb.js +4 -0
  588. package/lib/duet/{p-ee19a820.system.entry.js → p-d8194eb8.system.entry.js} +1 -1
  589. package/lib/duet/{p-b24d3435.js → p-d827c031.js} +1 -1
  590. package/lib/duet/{p-df6e744f.entry.js → p-d83b438d.entry.js} +1 -1
  591. package/lib/duet/p-d8861775.system.js +4 -0
  592. package/lib/duet/{p-b896491f.entry.js → p-dbd55e19.entry.js} +1 -1
  593. package/lib/duet/{p-8c171e30.entry.js → p-dc26df20.entry.js} +1 -1
  594. package/lib/duet/{p-10bf6ea1.system.entry.js → p-dd943766.system.entry.js} +1 -1
  595. package/lib/duet/p-e030f688.entry.js +4 -0
  596. package/lib/duet/p-e09ae7be.system.entry.js +4 -0
  597. package/lib/duet/{p-0360c2f6.entry.js → p-e4a715d6.entry.js} +1 -1
  598. package/lib/duet/{p-84a505ae.system.entry.js → p-e5f0135b.system.entry.js} +1 -1
  599. package/lib/duet/p-e67a5b0c.system.entry.js +4 -0
  600. package/lib/duet/p-e95a1c5d.system.entry.js +4 -0
  601. package/lib/duet/p-ec62f075.system.entry.js +4 -0
  602. package/lib/duet/{p-fa2b069d.system.js → p-ee989afa.system.js} +1 -1
  603. package/lib/duet/{p-c73528d2.entry.js → p-f7f8738a.entry.js} +1 -1
  604. package/lib/duet/{p-e22cf329.system.entry.js → p-f7fff51b.system.entry.js} +1 -1
  605. package/lib/duet/p-f844f9c2.system.entry.js +4 -0
  606. package/lib/duet/p-f9a4a204.system.entry.js +4 -0
  607. package/lib/duet/{p-8deb4d8a.system.entry.js → p-f9b1c4e7.system.entry.js} +1 -1
  608. package/lib/duet/p-fa3d5398.system.entry.js +4 -0
  609. package/lib/duet/p-faf8ef41.entry.js +4 -0
  610. package/lib/duet/{p-12449975.entry.js → p-fcee82e3.entry.js} +1 -1
  611. package/lib/duet/{p-6c38e525.system.entry.js → p-fdcca028.system.entry.js} +1 -1
  612. package/lib/duet/p-fe6fb2cd.system.entry.js +4 -0
  613. package/lib/esm/{a11y-utils-d1cc06c2.js → a11y-utils-97fcdba3.js} +1 -1
  614. package/lib/esm/{app-globals-47aea494.js → app-globals-bf48f89e.js} +1 -1
  615. package/lib/esm/duet-action-button.entry.js +4 -4
  616. package/lib/esm/duet-alert.entry.js +32 -9
  617. package/lib/esm/duet-badge.entry.js +5 -5
  618. package/lib/esm/duet-banner.entry.js +5 -5
  619. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  620. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  621. package/lib/esm/duet-button_2.entry.js +13 -12
  622. package/lib/esm/duet-callout.entry.js +6 -6
  623. package/lib/esm/duet-caption_4.entry.js +19 -17
  624. package/lib/esm/duet-card.entry.js +7 -7
  625. package/lib/esm/duet-checkbox.entry.js +3 -3
  626. package/lib/esm/duet-checkmark.entry.js +5 -5
  627. package/lib/esm/duet-chip.entry.js +13 -6
  628. package/lib/esm/duet-choice_2.entry.js +12 -6
  629. package/lib/esm/duet-collapsible.entry.js +6 -6
  630. package/lib/esm/duet-combobox.entry.js +5 -5
  631. package/lib/esm/duet-contact-card.entry.js +6 -6
  632. package/lib/esm/duet-cookie-consent.entry.js +4 -4
  633. package/lib/esm/duet-date-picker.entry.js +6 -6
  634. package/lib/esm/duet-divider_2.entry.js +4 -4
  635. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  636. package/lib/esm/duet-empty-state.entry.js +5 -5
  637. package/lib/esm/duet-fieldset.entry.js +7 -7
  638. package/lib/esm/duet-file-chooser.entry.js +3 -3
  639. package/lib/esm/duet-footer.entry.js +9 -9
  640. package/lib/esm/duet-grid_2.entry.js +3 -3
  641. package/lib/esm/duet-header_2.entry.js +5 -5
  642. package/lib/esm/duet-hero.entry.js +10 -10
  643. package/lib/esm/duet-icon.entry.js +6 -6
  644. package/lib/esm/duet-input_2.entry.js +6 -6
  645. package/lib/esm/duet-layout.entry.js +7 -7
  646. package/lib/esm/duet-list_2.entry.js +12 -6
  647. package/lib/esm/duet-menu-bar-button.entry.js +5 -5
  648. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -5
  649. package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -7
  650. package/lib/esm/duet-menu-bar-item.entry.js +8 -8
  651. package/lib/esm/duet-menu-bar-link.entry.js +5 -5
  652. package/lib/esm/duet-menu-bar.entry.js +6 -6
  653. package/lib/esm/duet-modal.entry.js +12 -12
  654. package/lib/esm/duet-multiselect.entry.js +10 -10
  655. package/lib/esm/duet-nav.entry.js +3 -3
  656. package/lib/esm/duet-notification_2.entry.js +9 -9
  657. package/lib/esm/duet-number-input.entry.js +5 -5
  658. package/lib/esm/duet-overlay.entry.js +4 -4
  659. package/lib/esm/duet-page-heading.entry.js +5 -5
  660. package/lib/esm/duet-pagination_2.entry.js +18 -18
  661. package/lib/esm/duet-phone-input.entry.js +15 -14
  662. package/lib/esm/duet-popup-menu_2.entry.js +12 -12
  663. package/lib/esm/duet-progress.entry.js +4 -4
  664. package/lib/esm/duet-promo-card.entry.js +5 -5
  665. package/lib/esm/duet-radio_2.entry.js +11 -5
  666. package/lib/esm/duet-range-slider.entry.js +3 -3
  667. package/lib/esm/duet-scrollable_3.entry.js +15 -15
  668. package/lib/esm/duet-section-layout.entry.js +4 -4
  669. package/lib/esm/duet-select.entry.js +4 -4
  670. package/lib/esm/duet-shaped-image.entry.js +4 -4
  671. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  672. package/lib/esm/duet-share-chart.entry.js +15 -8
  673. package/lib/esm/duet-show-more.entry.js +6 -6
  674. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  675. package/lib/esm/duet-slideout-link.entry.js +8 -8
  676. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  677. package/lib/esm/duet-slideout-panel.entry.js +12 -12
  678. package/lib/esm/duet-slideout.entry.js +10 -10
  679. package/lib/esm/duet-status-icon.entry.js +3 -3
  680. package/lib/esm/duet-step_2.entry.js +5 -5
  681. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -5
  682. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  683. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  684. package/lib/esm/duet-submenu-bar-link.entry.js +4 -4
  685. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  686. package/lib/esm/duet-textarea.entry.js +12 -6
  687. package/lib/esm/duet-toggle.entry.js +3 -3
  688. package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -5
  689. package/lib/esm/duet-toolbar-dropdown.entry.js +7 -7
  690. package/lib/esm/duet-toolbar-item.entry.js +9 -9
  691. package/lib/esm/duet-toolbar-link.entry.js +5 -5
  692. package/lib/esm/duet-toolbar.entry.js +5 -5
  693. package/lib/esm/duet-tooltip-button_2.entry.js +10 -10
  694. package/lib/esm/duet-tooltip.entry.js +10 -4
  695. package/lib/esm/duet-tray.entry.js +6 -6
  696. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  697. package/lib/esm/duet-upload-item.entry.js +6 -6
  698. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  699. package/lib/esm/duet.js +4 -4
  700. package/lib/esm/{errorcodes.utils-304f8760.js → errorcodes.utils-c88abf11.js} +1 -1
  701. package/lib/esm/{floating-ui.dom.esm-ebc91b33.js → floating-ui.dom.esm-ef361ca5.js} +50 -27
  702. package/lib/esm/{focus-utils-2858c284.js → focus-utils-be0374e1.js} +1 -1
  703. package/lib/esm/{index-b3c02ed1.js → index-01321175.js} +1 -1
  704. package/lib/esm/{language-utils-bd203b69.js → language-utils-f3bce1d0.js} +9 -2
  705. package/lib/esm/loader.js +4 -4
  706. package/lib/esm/{slot-utils-ddf92cbc.js → slot-utils-cdfa84b2.js} +1 -1
  707. package/lib/esm/{themeable-component-2575bd2f.js → themeable-component-4fc6639e.js} +8 -1
  708. package/lib/esm-es5/{a11y-utils-d1cc06c2.js → a11y-utils-97fcdba3.js} +1 -1
  709. package/lib/esm-es5/{app-globals-47aea494.js → app-globals-bf48f89e.js} +1 -1
  710. package/lib/esm-es5/duet-action-button.entry.js +2 -2
  711. package/lib/esm-es5/duet-alert.entry.js +1 -1
  712. package/lib/esm-es5/duet-badge.entry.js +1 -1
  713. package/lib/esm-es5/duet-banner.entry.js +1 -1
  714. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  715. package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
  716. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  717. package/lib/esm-es5/duet-callout.entry.js +1 -1
  718. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  719. package/lib/esm-es5/duet-card.entry.js +2 -2
  720. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  721. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  722. package/lib/esm-es5/duet-chip.entry.js +1 -1
  723. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  724. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  725. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  726. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  727. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  728. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  729. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  730. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  731. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  732. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  733. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  734. package/lib/esm-es5/duet-footer.entry.js +1 -1
  735. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  736. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  737. package/lib/esm-es5/duet-hero.entry.js +1 -1
  738. package/lib/esm-es5/duet-icon.entry.js +1 -1
  739. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  740. package/lib/esm-es5/duet-layout.entry.js +1 -1
  741. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  742. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  743. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  744. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  745. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  746. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  747. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  748. package/lib/esm-es5/duet-modal.entry.js +1 -1
  749. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  750. package/lib/esm-es5/duet-nav.entry.js +1 -1
  751. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  752. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  753. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  754. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  755. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  756. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  757. package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
  758. package/lib/esm-es5/duet-progress.entry.js +1 -1
  759. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  760. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  761. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  762. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  763. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  764. package/lib/esm-es5/duet-select.entry.js +2 -2
  765. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  766. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  767. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  768. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  769. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  770. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  771. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  772. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  773. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  774. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  775. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  776. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  777. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
  778. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  779. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  780. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  781. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  782. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  783. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  784. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  785. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  786. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  787. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  788. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  789. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  790. package/lib/esm-es5/duet-tray.entry.js +1 -1
  791. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  792. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  793. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  794. package/lib/esm-es5/duet.js +1 -1
  795. package/lib/esm-es5/{errorcodes.utils-304f8760.js → errorcodes.utils-c88abf11.js} +1 -1
  796. package/lib/esm-es5/floating-ui.dom.esm-ef361ca5.js +4 -0
  797. package/lib/esm-es5/focus-utils-be0374e1.js +4 -0
  798. package/lib/esm-es5/index-01321175.js +4 -0
  799. package/lib/esm-es5/language-utils-f3bce1d0.js +4 -0
  800. package/lib/esm-es5/loader.js +1 -1
  801. package/lib/esm-es5/{slot-utils-ddf92cbc.js → slot-utils-cdfa84b2.js} +1 -1
  802. package/lib/esm-es5/themeable-component-4fc6639e.js +4 -0
  803. package/lib/types/components/duet-alert/duet-alert.d.ts +1 -0
  804. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  805. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -0
  806. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  807. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  808. package/lib/types/components/duet-spinner/duet-spinner.d.ts +1 -0
  809. package/lib/types/components/duet-textarea/duet-textarea.d.ts +4 -2
  810. package/lib/types/components.d.ts +22 -4
  811. package/lib/types/utils/language-utils.d.ts +1 -0
  812. package/package.json +4 -4
  813. package/lib/dist-custom-elements/p-ed78992c.js +0 -148
  814. package/lib/duet/p-01348e9f.entry.js +0 -4
  815. package/lib/duet/p-0d371a54.system.entry.js +0 -4
  816. package/lib/duet/p-0dc9089b.system.js +0 -4
  817. package/lib/duet/p-0e99e5b6.system.entry.js +0 -4
  818. package/lib/duet/p-105bf1f9.system.js +0 -4
  819. package/lib/duet/p-10fac679.js +0 -4
  820. package/lib/duet/p-110fa6e9.system.entry.js +0 -4
  821. package/lib/duet/p-15517973.js +0 -4
  822. package/lib/duet/p-15c59101.system.entry.js +0 -4
  823. package/lib/duet/p-1609d3c9.system.entry.js +0 -4
  824. package/lib/duet/p-2031c589.entry.js +0 -4
  825. package/lib/duet/p-22ec82df.system.entry.js +0 -4
  826. package/lib/duet/p-292026db.system.js +0 -4
  827. package/lib/duet/p-29c4602c.entry.js +0 -4
  828. package/lib/duet/p-2b5cb07f.system.entry.js +0 -4
  829. package/lib/duet/p-2c404946.system.entry.js +0 -4
  830. package/lib/duet/p-2e417433.js +0 -4
  831. package/lib/duet/p-30294ab6.entry.js +0 -4
  832. package/lib/duet/p-34885521.system.entry.js +0 -4
  833. package/lib/duet/p-35cfdff0.system.entry.js +0 -4
  834. package/lib/duet/p-36a8f8f4.system.entry.js +0 -4
  835. package/lib/duet/p-3f505e48.system.entry.js +0 -4
  836. package/lib/duet/p-42f4c0d3.system.entry.js +0 -4
  837. package/lib/duet/p-4baf6865.system.entry.js +0 -4
  838. package/lib/duet/p-503054f4.entry.js +0 -4
  839. package/lib/duet/p-53f4c672.system.entry.js +0 -4
  840. package/lib/duet/p-56310ace.system.entry.js +0 -4
  841. package/lib/duet/p-5bc6745e.system.entry.js +0 -4
  842. package/lib/duet/p-5ebe409e.entry.js +0 -4
  843. package/lib/duet/p-6229bcd8.system.js +0 -4
  844. package/lib/duet/p-623f2c56.system.entry.js +0 -4
  845. package/lib/duet/p-6dbdbf9e.entry.js +0 -4
  846. package/lib/duet/p-71707f01.system.js +0 -4
  847. package/lib/duet/p-735538d4.system.entry.js +0 -4
  848. package/lib/duet/p-73637076.system.entry.js +0 -4
  849. package/lib/duet/p-75da1794.system.entry.js +0 -4
  850. package/lib/duet/p-7624dfa6.entry.js +0 -4
  851. package/lib/duet/p-77a675de.system.entry.js +0 -4
  852. package/lib/duet/p-7cdb6d46.system.entry.js +0 -4
  853. package/lib/duet/p-80dcb50b.system.entry.js +0 -4
  854. package/lib/duet/p-81287261.js +0 -4
  855. package/lib/duet/p-8484d6b9.entry.js +0 -4
  856. package/lib/duet/p-87f45793.entry.js +0 -4
  857. package/lib/duet/p-8abf565d.entry.js +0 -4
  858. package/lib/duet/p-8d7ba2b4.system.entry.js +0 -4
  859. package/lib/duet/p-8e12c0ce.system.entry.js +0 -4
  860. package/lib/duet/p-931af035.system.entry.js +0 -4
  861. package/lib/duet/p-960dadab.entry.js +0 -4
  862. package/lib/duet/p-971ba868.system.entry.js +0 -4
  863. package/lib/duet/p-9a4e23d0.entry.js +0 -4
  864. package/lib/duet/p-a02ce43d.entry.js +0 -4
  865. package/lib/duet/p-a1b8b34b.system.entry.js +0 -4
  866. package/lib/duet/p-a6bd55da.entry.js +0 -4
  867. package/lib/duet/p-a6c71c24.system.entry.js +0 -4
  868. package/lib/duet/p-aa94134c.js +0 -4
  869. package/lib/duet/p-abfadcdb.system.entry.js +0 -4
  870. package/lib/duet/p-aed9ad99.system.entry.js +0 -4
  871. package/lib/duet/p-b06a4da0.system.entry.js +0 -4
  872. package/lib/duet/p-b55d39ac.system.js +0 -4
  873. package/lib/duet/p-b65350dc.entry.js +0 -4
  874. package/lib/duet/p-b6f48f4d.entry.js +0 -4
  875. package/lib/duet/p-b756baa9.system.entry.js +0 -4
  876. package/lib/duet/p-b7ed82f4.system.entry.js +0 -4
  877. package/lib/duet/p-bca2ccb3.system.entry.js +0 -4
  878. package/lib/duet/p-c4d14a4a.entry.js +0 -4
  879. package/lib/duet/p-c4d6fd64.system.entry.js +0 -4
  880. package/lib/duet/p-c5d06c1b.system.entry.js +0 -4
  881. package/lib/duet/p-c5eac926.system.entry.js +0 -4
  882. package/lib/duet/p-c9099a4c.system.entry.js +0 -4
  883. package/lib/duet/p-c999bd81.system.js +0 -4
  884. package/lib/duet/p-cf9767ff.js +0 -5
  885. package/lib/duet/p-d057a6d8.entry.js +0 -4
  886. package/lib/duet/p-d0c8f7e6.system.entry.js +0 -4
  887. package/lib/duet/p-d40db25d.entry.js +0 -4
  888. package/lib/duet/p-d4f9cffa.system.entry.js +0 -4
  889. package/lib/duet/p-d784f598.entry.js +0 -4
  890. package/lib/duet/p-dd65ad86.system.entry.js +0 -4
  891. package/lib/duet/p-e009bc05.entry.js +0 -4
  892. package/lib/duet/p-e63c7eb8.entry.js +0 -4
  893. package/lib/duet/p-e6a41ac2.entry.js +0 -4
  894. package/lib/duet/p-f048548e.entry.js +0 -4
  895. package/lib/duet/p-f0f695e9.entry.js +0 -4
  896. package/lib/duet/p-f24b12de.entry.js +0 -4
  897. package/lib/duet/p-f40d3751.entry.js +0 -4
  898. package/lib/duet/p-f81ed60a.system.entry.js +0 -4
  899. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  900. package/lib/esm-es5/focus-utils-2858c284.js +0 -4
  901. package/lib/esm-es5/index-b3c02ed1.js +0 -4
  902. package/lib/esm-es5/language-utils-bd203b69.js +0 -4
  903. package/lib/esm-es5/themeable-component-2575bd2f.js +0 -4
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,a,o){function r(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,i){function n(t){try{s(o.next(t))}catch(t){i(t)}}function u(t){try{s(o["throw"](t))}catch(t){i(t)}}function s(t){t.done?a(t.value):r(t.value).then(n,u)}s((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,n;return n={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function u(t){return function(e){return s([t,e])}}function s(u){if(o)throw new TypeError("Generator is already executing.");while(n&&(n=0,u[0]&&(a=0)),a)try{if(o=1,r&&(i=u[0]&2?r["return"]:u[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;if(r=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:a.label++;return{value:u[1],done:false};case 5:a.label++;r=u[1];u=[0];continue;case 7:u=a.ops.pop();a.trys.pop();continue;default:if(!(i=a.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){a=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(u[0]===6&&a.label<i[1]){a.label=i[1];i=u;break}if(i&&a.label<i[2]){a.label=i[2];a.ops.push(u);break}if(i[2])a.ops.pop();a.trys.pop();continue}u=e.call(t,a)}catch(t){u=[6,t];r=0}finally{o=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-ee989afa.system.js","./p-0a53642c.system.js","./p-a61e8e43.system.js","./p-752fa0fc.system.js","./p-5aee98ad.system.js","./p-9508ee67.system.js","./p-e6b5a1c7.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(t){"use strict";var e,a,o,r,i,n,u,s,d,l,b,c,h,p,f,g,m,v,x,k,w,y;return{setters:[function(t){e=t.r;a=t.h;o=t.H;r=t.g;i=t.c},function(t){n=t.i},function(t){u=t.h;s=t.a},function(t){d=t.s;l=t.u;b=t.o;c=t.p;h=t.d;p=t.b;f=t.a;g=t.c},function(t){m=t.g;v=t.c;x=t.d;k=t.a},function(t){w=t.d},function(t){y=t.c},function(){},function(){}],execute:function(){var z="*,*::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;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute{position:absolute;top:0;z-index:210;width:auto;height:100%;padding:0 16px;background-color:rgb(255, 255, 255)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.left{left:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button{position:absolute;display:flex;flex:0 0 auto;flex-basis:40px;align-items:center;height:100%;cursor:pointer;transition:transform 300ms ease}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button:active duet-icon{transition:transform 300ms ease;transform:scale(0.8)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--left{left:0;padding:10px 10px 10px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--right{right:0;padding:10px 0 10px 10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--top{align-items:flex-start}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--bottom{align-items:flex-end}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute{padding:0 7px;border:1px solid rgb(212, 223, 229)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--left{border-radius:8px 0 0 8px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--right{border-radius:0 8px 8px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(0, 119, 179);border-width:2px;}.duet-theme-turva :host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button[hidden]{display:none !important}:host .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;padding-inline:10px;margin-inline:-10px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;-webkit-mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);-webkit-mask-size:50% 100%, 50% 100%;-webkit-mask-position:left, right;-webkit-mask-repeat:no-repeat;mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);mask-size:50% 100%, 50% 100%;mask-position:left, right;mask-repeat:no-repeat;}:host .duet-scrollable-items .duet-scrollable-list--absolute{padding-right:0;padding-left:2px;margin-inline:0;-webkit-mask:none !important;mask:none !important}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items .duet-scrollable-list.gap-none{gap:0}:host .duet-scrollable-items .duet-scrollable-list.gap-large{gap:20px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--xx-small{padding-top:4px;padding-bottom:4px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--x-small{padding-top:8px;padding-bottom:8px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--small{padding-top:12px;padding-bottom:12px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--medium{padding-top:16px;padding-bottom:16px}:host .duet-scrollable-items .duet-scrollable-list.duet-scrollable-stretch{width:100%}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}:host(.duet-theme-turva2) .duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:#fbe4d6}:host(.duet-theme-turva2) .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:#fbe4d6}";var _=z;var j=t("duet_scrollable",function(){function t(t){var a=this;e(this,t);this.currentIndex=0;this.scrollPaneElement=undefined;this.hasCollapseButtonLabelSlot=false;this.resizeObserver=new ResizeObserver((function(t){if((t===null||t===void 0?void 0:t.length)===1){var e=a.getOverlayWidth();a.checkScrollingNeeded(t[0].target,e)}}));this.collapsedOnClick=function(){a.collapsed=!a.collapsed};this.scrollPaneAtStart=true;this.needsScrolling=true;this.scrollPaneAtEnd=false;this.childrenData={};this.theme="";this.identifier="";this.collapsed=false;this.buttons=true;this.buttonAlignment="center";this.buttonPosition="relative";this.center=false;this.padding="none";this.gap="large";this.selected=0;this.stretch=false}t.prototype.watchPropHandler=function(t){this.scrollToElement(t,"center")};t.prototype.componentWillLoad=function(){n(this);this.hasCollapseButtonLabelSlot=u(this.element,"collapse-button-label")};t.prototype.componentDidLoad=function(){var t=this;requestAnimationFrame((function(){if(t.scrollPaneElement){var e=t.buttonPosition==="absolute"?0:5;t.checkScrollingNeeded(t.scrollPaneElement,e);t.updateScrollButtons();t.resizeObserver.observe(t.scrollPaneElement)}}))};t.prototype.disconnectedCallback=function(){this.resizeObserver.disconnect()};t.prototype.getScrollPaneElements=function(){return s(this.element)};t.prototype.checkScrollingNeeded=function(t,e){if(t===void 0){t=this.scrollPaneElement}if(e===void 0){e=5}var a;if(!t){return}var o=((a=t.parentElement)===null||a===void 0?void 0:a.getBoundingClientRect().width)||0;var r=t.scrollWidth;var i=this.getOverlayWidth()*2;this.needsScrolling=r-i>o+e;if(!this.needsScrolling){this.scrollPaneAtStart=true;this.scrollPaneAtEnd=true}else{this.updateScrollButtons()}};t.prototype.getLastVisibleElement=function(){var t=this;var e=this.getScrollPaneElements().find((function(e){return e.getBoundingClientRect().x+e.getBoundingClientRect().width-t.scrollPaneElement.getBoundingClientRect().x>t.scrollPaneElement.clientWidth}));var a=this.getScrollPaneElements().indexOf(e);if(e.clientWidth>this.scrollPaneElement.clientWidth){return a}return a-1};t.prototype.getFirstVisibleElement=function(){var t=this;var e=this.getScrollPaneElements();var a=e.find((function(e){return e.getBoundingClientRect().x>t.scrollPaneElement.getBoundingClientRect().x}));var o=!a?e.length:e.indexOf(a);var r=Math.max(o-1,0);if(e[r].clientWidth>this.scrollPaneElement.clientWidth){return r}return o};t.prototype.updateScrollButtons=function(t,e){if(t===void 0){t=null}if(e===void 0){e=this.scrollPaneElement}if(!this.buttons){return}if(t&&t.clientWidth>this.scrollPaneElement.clientWidth){var a=this.getScrollPaneElements().indexOf(t);if(a==0){this.scrollPaneAtStart=true}if(a==this.getScrollPaneElements().length-1){this.scrollPaneAtEnd=true}return}if(e.scrollLeft<=0){this.scrollPaneAtStart=true}else if(e.scrollLeft>0){this.scrollPaneAtStart=false}var o=Math.round(e.clientWidth+e.scrollLeft+this.getOverlayWidth());var r=Math.round(e.scrollWidth);this.scrollPaneAtEnd=o>=r};t.prototype.scrollToElement=function(t,e){var a=this;if(t===void 0){t=this.currentIndex}var o=this.getScrollPaneElements();if(!o||o.length===0){return}if(t+1>=o.length){t=o.length-1}if(t<0){t=0}var r=o[0].getBoundingClientRect().x;var i=5;var n=function(){if(o[0].getBoundingClientRect().x===r){i--;if(i!==0){window.requestAnimationFrame(n);return}a.updateScrollButtons(o[t])}else{window.requestAnimationFrame(n);r=o[0].getBoundingClientRect().x}};o[t].scrollIntoView({behavior:"smooth",block:"nearest",inline:e});window.requestAnimationFrame(n)};t.prototype.scrollLeft=function(){this.scrollPaneAtEnd=false;var t=this.getFirstVisibleElement();this.scrollToElement(t-1,"center")};t.prototype.scrollRight=function(){this.scrollPaneAtStart=false;var t=this.getLastVisibleElement();this.scrollToElement(t+1,"center")};t.prototype.getOverlayWidth=function(){return this.buttonPosition==="absolute"?0:10};t.prototype.renderButton=function(t){var e,o;var r=this;var i=this.theme==="turva"?"color-primary-darker-turva":"color-primary";var n=this.theme==="turva"?"color-gray-turva":"color-gray";var u=function(){if(t==="left"){r.scrollLeft()}else{r.scrollRight()}};var s=t==="left"?this.scrollPaneAtStart:this.scrollPaneAtEnd;return a("div",{class:(e={"duet-scrollable-button-container":true},e["".concat(t)]=true,e["duet-scrollable-button-container--occluded"]=!this.needsScrolling,e["duet-scrollable-button-container--".concat(this.buttonPosition)]=true,e),hidden:!this.buttons||this.buttonPosition==="absolute"&&s},a("span",{part:"".concat(this.identifier,"-button-").concat(t),"aria-hidden":"true",class:(o={"duet-scrollable-button":true},o["duet-scrollable-button--".concat(this.buttonPosition)]=true,o["duet-scrollable-button--".concat(this.buttonAlignment)]=true,o["duet-scrollable-button--".concat(t)]=true,o),onClick:function(){u();if(document.activeElement){document.activeElement.blur()}},hidden:!this.buttons||s},a("duet-icon",{color:s?n:i,name:t==="left"?"action-arrow-left":"action-arrow-right",size:this.buttonPosition==="absolute"?"x-small":"small",margin:"none"})))};t.prototype.render=function(){var t;var e=this;return a(o,{key:"fc5cbda348d0355f0d099d89dd8418207b762788",class:{"duet-theme-turva":this.theme==="turva","duet-theme-default":this.theme==="default"}},this.hasCollapseButtonLabelSlot&&a("div",{key:"3e9bd6fc04f24564eb9cb3a6a2810a4eae817316",class:{collapse:true,hide:!this.needsScrolling&&!this.collapsed}},a("duet-button",{key:"bb24a52b6f19eb479d5d89611382093095eec895",variation:"plain",margin:"none","center-text":true,onClick:function(){return e.collapsedOnClick()}},a("slot",{key:"3f0973a591d40475081199c18df434406de413c4",name:"collapse-button-label"}))),a("div",{key:"7fecc01c6395afef2353c3eb4e3447c1e019daf1",class:{"duet-scrollable-items":true,buttons:this.buttons,center:this.center,"duet-theme-turva":this.theme==="turva"}},this.buttons&&this.renderButton("left"),a("div",{key:"eef96129135056ddd374f36b2aa85e385a675dca",class:(t={"duet-scrollable-list":true},t["duet-scrollable-list--".concat(this.buttonPosition)]=true,t["gap-".concat(this.gap)]=true,t.collapsed=this.collapsed,t["duet-overflow-padding--".concat(this.padding)]=this.padding!=="none",t["duet-scrollable-list--".concat(this.buttonPosition)]=this.buttonPosition==="absolute",t["duet-scrollable-stretch"]=this.stretch,t),onScroll:function(){return e.updateScrollButtons()},ref:function(t){return e.scrollPaneElement=t}},a("slot",{key:"d7b6a4370e3ab8766a882fd00768e71266f2f4b1"})),this.buttons&&this.renderButton("right")))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["watchPropHandler"]}},enumerable:false,configurable:true});return t}());j.style=_;var S=".sc-duet-tab-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}.duet-tab.has-content-id.sc-duet-tab,.duet-tab.has-content-id.selected.sc-duet-tab{display:none}.user-is-tabbing.sc-duet-tab-h .duet-tab.sc-duet-tab:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-tab-h .duet-tab.duet-theme-turva.sc-duet-tab:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";var I=S;var U=t("duet_tab",function(){function t(t){var a=this;e(this,t);this.setupContentElement=function(){if(a.contentId){a.tabpanelElement=document.getElementById(a.contentId);if(a.tabpanelElement){a.tabpanelElement.setAttribute("role","tabpanel");a.tabpanelElement.setAttribute("tabindex","-1");a.tabpanelElement.removeEventListener("focus",a.tabpanelElementFocusListener);a.tabpanelElement.removeEventListener("blur",a.tabpanelElementBlurListener);a.tabpanelElement.addEventListener("focus",a.tabpanelElementFocusListener);a.tabpanelElement.addEventListener("blur",a.tabpanelElementBlurListener);if(a.accessibleDescription){a.tabpanelElement.setAttribute("aria-description",a.accessibleDescription)}if(a.accessibleLabelledBy){a.tabpanelElement.setAttribute("aria-labelledby",a.accessibleLabelledBy)}if(a.selected){a.tabpanelElement.toggleAttribute("hidden",false)}else{a.tabpanelElement.toggleAttribute("hidden",true)}}}};this.tabpanelElementFocusListener=function(){if(a.element.classList.contains("user-is-tabbing")){a.tabpanelElement.style.outline="0";a.tabpanelElement.style.boxShadow=w(a.theme==="turva"?"focus-turva":"focus")}};this.tabpanelElementBlurListener=function(){a.tabpanelElement.style.outline=null;a.tabpanelElement.style.boxShadow=null};this.theme="";this.label=undefined;this.caption=undefined;this.selected=undefined;this.notificationMark=undefined;this.accessibleDescriptionDefault=null;this.accessibleDescription=this.accessibleDescriptionDefault?m(this.accessibleDescriptionDefault):null;this.accessibleLabelledBy=undefined;this.contentId=undefined}t.prototype.componentWillLoad=function(){n(this)};t.prototype.connectedCallback=function(){v(this,{prop:"accessibleDescription",defaults:"accessibleDescriptionDefault"});d(this);this.setupContentElement()};t.prototype.disconnectedCallback=function(){x(this);l(this);if(this.tabpanelElement){this.tabpanelElement.removeEventListener("focus",this.tabpanelElementFocusListener.bind(this));this.tabpanelElement.removeEventListener("blur",this.tabpanelElementBlurListener.bind(this));this.tabpanelElement=undefined}};t.prototype.setupSelected=function(t,e){if(!!t===!!e){return}this.setupContentElement()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.tabpanelElement.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;return a("div",{ref:function(e){if(!t.contentId){t.tabpanelElement=e}},role:"tabpanel",class:{"duet-theme-turva":this.theme==="turva","duet-tab":true,selected:this.selected,"has-content-id":!!this.contentId},"aria-description":this.accessibleDescription,"aria-labelledby":this.accessibleLabelledBy,tabindex:"-1"},a("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["setupSelected"]}},enumerable:false,configurable:true});return t}());U.style=I;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;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(222, 224, 228)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-top:0;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper{}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper{position:relative;width:100%;overflow:hidden;border-radius:8px;}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay{display:contents}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background,.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .border{position:absolute;width:100%;height:100%;pointer-events:none;border-radius:8px}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background{z-index:100;background:rgb(245, 248, 250)}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background::after{position:absolute;top:0;left:0;width:100%;height:100%;margin-block:1px;content:"";border-radius:8px;box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-theme-turva .duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background::after{box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .border{z-index:206;border:1px solid rgb(212, 223, 229)}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:inline-block;width:auto;padding:20px;margin-left:-2px;overflow:visible;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;line-height:1.1;text-align:left;text-decoration:none;cursor:pointer;border-right:2px solid rgb(212, 223, 229);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-group-stretch .duet-tab-button{flex:1 1 0;min-width:fit-content;text-align:center}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button{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-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button:hover{z-index:200;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-tab-button:hover{border-color:rgba(199, 202, 207, 0.8)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(198, 12, 48);border-color:rgb(222, 224, 228);border-bottom-color:rgb(198, 12, 48)}.duet-tab-button:focus{z-index:205;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tab-variation-default .duet-tab-button{z-index:200;padding:11px 20px 13px 20px;overflow:hidden;font-size:0.875rem;color:rgb(62, 84, 102);background:rgb(245, 248, 250);border:1px solid rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button.switch-large-at-always{padding:15px 28px 17px 28px;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-default .duet-tab-button.switch-large-at-small{padding:15px 28px 17px 28px;font-size:1rem}}.duet-tab-variation-default .duet-tab-button.selected{color:rgb(8, 42, 77);background:rgb(255, 255, 255);transition:none}.duet-tab-variation-default .duet-tab-button.selected::before{position:absolute;right:-1px;bottom:0;z-index:300;display:block;width:calc(100% + 2px);height:2px;content:"";background-color:rgb(0, 119, 179)}.duet-tab-variation-default .duet-tab-button.selected:focus-visible{outline:2px solid rgba(0, 119, 179, 0.8);outline-offset:-5px;box-shadow:none !important}.duet-tab-variation-default .duet-tab-button.selected:focus-visible::before{height:0}.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(30, 45, 59);background:rgb(228, 236, 239)}.duet-tab-variation-default .duet-tab-button:first-child{border-radius:8px 0 0 8px}.duet-tab-variation-default .duet-tab-button:last-child{border-radius:0 8px 8px 0}.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button{z-index:200}.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button:last-child{border-radius:0}.duet-theme-turva.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button::before{height:3px}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(71, 78, 101)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(23, 28, 58);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::before{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){z-index:200;box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:hover:not(.selected){z-index:200;color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:focus-visible{border-color:rgb(222, 224, 228);outline-color:rgba(199, 202, 207, 0.8)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding:12px 0;margin-left:0;font-size:0.875rem;color:rgb(81, 105, 123);border-width:0;border-bottom:2px solid transparent;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button.switch-large-at-always{padding:20px 0;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-plain .duet-tab-button.switch-large-at-small{padding:20px 0;font-size:1rem}}.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button{color:rgb(71, 78, 101)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(45, 52, 79);border-bottom:2px solid rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(23, 28, 58);border-bottom:2px solid rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(181, 198, 208);border-top:2px solid rgb(181, 198, 208);border-bottom-color:rgb(0, 119, 179);border-left:2px solid rgb(181, 198, 208);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(181, 198, 208);border-bottom-color:rgb(113, 118, 132)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(240, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(113, 118, 132);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(98, 121, 138)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;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}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:" ";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{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-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(113, 118, 132)}:host(.duet-theme-turva2){}:host(.duet-theme-turva2) .duet-theme-turva .duet-tab-group-tabs.duet-tab-variation-plain{border-bottom-color:#ffefe5}:host(.duet-theme-turva2) .duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{border-bottom:2px solid #e61740}:host(.duet-theme-turva2) .duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{border-bottom:2px solid #e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-tab-button{color:#171c3a}:host(.duet-theme-turva2) .duet-theme-turva .duet-tab-button.selected{color:#171c3a;border-color:#ffefe5;border-bottom-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::before{background-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva.duet-tab-variation-default .duet-tab-button:focus-visible{border-color:#ffefe5}';var E=C;var A=t("duet_tab_group",function(){function t(t){var a=this;e(this,t);this.duetChange=i(this,"duetChange",3);this.duetTabChange=i(this,"duetTabChange",7);this.duetTabChangeRequested=i(this,"duetTabChangeRequested",7);this.id=y("DuetTabGroup");this.handleKeyDown=function(t){var e;if(h(t)||p(t)){e=t.target.previousElementSibling}else if(f(t)||g(t)){e=t.target.nextElementSibling}if(b(t)&&!c(t)){t.preventDefault();a.element.querySelector(":scope > duet-tab[selected]").setFocus()}if(e){t.preventDefault();e.click();e.focus()}};this.onTabSelect=function(t){if(a.tabChangeConfirm){if(t!==a.selected){var e={value:t,component:"duet-tab-group"};a.duetTabChangeRequested.emit(e)}}else{a.openTab(t)}};this.scrollToActive=function(){setTimeout((function(){var t=a.tabsContainer.querySelector(".selected");if(t){t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}}),50)};this.tabs=[];this.selected=undefined;this.theme="";this.scrolls=true;this.collapses=false;this.accessibleLabel=undefined;this.variation="default";this.language=k();this.labelDefaults={fi:"Valitse",en:"Choose",sv:"Välj"};this.label=m(this.labelDefaults,this.language);this.labelHidden=true;this.identifier=this.id;this.margin="auto";this.padding="auto";this.setTabIndex=true;this.tabChangeConfirm=false;this.switchLargeBreakpoint="small";this.fillSpace=false;this.stretch=false}t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){switch(e.label){case 0:if(typeof MutationObserver!=="undefined"){this.mutationO=new MutationObserver((function(){t.updateTabs()}));this.mutationO.observe(this.element,{attributes:true,attributeFilter:["label"],childList:true,characterData:true,subtree:true})}return[4,this.updateTabs()];case 1:e.sent();d(this);return[2]}}))}))};t.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}l(this)};t.prototype.componentWillLoad=function(){n(this)};t.prototype.componentDidLoad=function(){var t=this;this.intersectionObserver=new IntersectionObserver((function(e){if(e.length>0&&e[0].isIntersecting){t.scrollToActive();t.intersectionObserver.disconnect()}}),{root:null,threshold:0});this.intersectionObserver.observe(this.element)};t.prototype.openTab=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){if(t>=this.tabs.length){throw new Error("[duet-tabs] Index ".concat(t," is out of bounds of tabs length"))}this.selected=t;this.tabs.forEach((function(e,a){e.selected=a===t}));this.scrollToActive();e={value:t,component:"duet-tab-group"};this.duetChange.emit(e);this.duetTabChange.emit(e);return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){console.log("[duet-tabs] Refresh method is deprecated and will be removed in the future version.");return[2]}))}))};t.prototype.getTabs=function(){var t=this;var e=Array.from(this.element.querySelectorAll("duet-tab"));var a=e.filter((function(e){return e.closest("duet-tab-group")===t.element}));if(a.length===0){throw new Error("[duet-tabs] Must have at least one tab")}return a};t.prototype.getButtonId=function(t){return"".concat(this.id,"-button-").concat(t)};t.prototype.getTabId=function(t){return"".concat(this.id,"-tab-").concat(t)};t.prototype.getAccessibleDescription=function(t){var e=this.tabs[t].getAttribute("accessible-description")||null;return e};t.prototype.updateTabs=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){this.selected=undefined;this.tabs=this.getTabs();this.tabs.forEach((function(e,a){e.id=t.getTabId(a);if(e.selected){if(t.selected===undefined){t.selected=a}else{e.selected=false}}}));if(this.selected===undefined){this.selected=0;this.tabs[0].selected=true}return[2]}))}))};t.prototype.isCentered=function(){return window&&window.getComputedStyle(this.element).textAlign=="center"};t.prototype.render=function(){var t;var e=this;var o=this.variation==="plain-scrolling"?"duet-tab-variation-plain":"duet-tab-variation-".concat(this.variation);var r=this.variation==="checked"||this.variation==="plain-scrolling";var i="switch-large-at-".concat(this.switchLargeBreakpoint?this.switchLargeBreakpoint:"small");var n=this.tabs.map((function(t,o){var r;return a("button",{role:"tab",id:e.getButtonId(o),"aria-selected":t.selected?"true":"false","aria-description":e.getAccessibleDescription(o),tabindex:t.selected?"0":"-1",part:"".concat(e.identifier,"-button ").concat(t.selected?"".concat(e.identifier,"-button--selected"):""),type:"button",class:(r={"duet-p-0":e.padding==="none","duet-tab-button":true,"stackable-tab":e.variation==="checked"&&e.tabs.length<=3,selected:t.selected},r["duet-notification-mark-".concat(t.notificationMark)]=!!t.notificationMark,r[i]=["default","plain","plain-scrolling"].includes(e.variation)?true:false,r),onClick:function(){return e.onTabSelect(o)},onKeyDown:function(t){return e.handleKeyDown(t)}},e.variation==="checked"?a("div",{class:{"checked-tab-content":true,"stackable-checked-tab-content":e.tabs.length<=3}},a("div",{class:{"checked-tab-description":true,"stackable-description":e.tabs.length<=3}},a("p",null,t.label),a("p",{class:{"tab-caption":true,selected:t.selected}},t.caption)),a("div",{class:{"stackable-checkmark":e.tabs.length<=3}},a("duet-checkmark",{theme:e.theme,checked:t.selected,type:"radio","presentation-only":true,center:true}))):t.label)}));return a("div",{key:"65d54bf37b3b0932c751aa4e83f624640ebe9582",class:(t={"duet-tab-group":true,"duet-theme-turva":this.theme==="turva"},t[o]=true,t["duet-tab-plain-scrolling"]=this.variation==="plain-scrolling",t["duet-tab-group-scrolls"]=true,t),"aria-label":this.accessibleLabel},a("div",{key:"7e87ceae30d8592e78e653583cef697027c5795f",role:"tablist",class:{"duet-m-0":this.margin==="none"||this.variation==="checked","duet-tab-group-tabs":true,"duet-tab-group-hidden":this.tabs.length>3&&!r,"duet-tab-group-fill-space":this.fillSpace&&!this.stretch&&this.variation==="default","duet-tab-group-stretch":this.stretch},ref:function(t){e.tabsContainer=t}},this.variation==="checked"?n:a("div",{class:{"duet-tab-group-scrollable-wrapper":true,"duet-tab-group-fill-space-wrapper":this.fillSpace&&this.variation==="default"}},this.fillSpace&&!this.stretch&&this.variation==="default"&&a("div",{class:"duet-scrollable-stretch-overlay"},a("div",{class:"background"}),a("div",{class:"border"})),a("duet-scrollable",{selected:this.selected,identifier:this.identifier,gap:["default","plain","plain-scrolling"].includes(this.variation)?"none":"large",buttonPosition:this.variation==="default"?"absolute":"relative",center:this.isCentered()?this.isCentered():this.element.style.textAlign=="center",theme:this.theme,stretch:this.stretch},n))),a("div",{key:"ffe1a88c1c80818ba0406333400d4aa4e3ae6101",class:{"duet-tab-group-content":true,"duet-m-0":this.margin==="none","checked-group-content":this.variation==="checked"}},a("slot",{key:"11959e3d29cc4dfda1bffdda369167447e1b3449"})))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());A.style=E}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,o){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,s){function l(e){try{n(o.next(e))}catch(e){s(e)}}function a(e){try{n(o["throw"](e))}catch(e){s(e)}}function n(e){e.done?i(e.value):r(e.value).then(l,a)}n((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},o,r,s,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(e){return function(t){return n([e,t])}}function n(a){if(o)throw new TypeError("Generator is already executing.");while(l&&(l=0,a[0]&&(i=0)),i)try{if(o=1,r&&(s=a[0]&2?r["return"]:a[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;if(r=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(a[0]===6&&i.label<s[1]){i.label=s[1];s=a;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(a);break}if(s[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];r=0}finally{o=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var o=0,r=t.length,s;o<r;o++){if(s||!(o in t)){if(!s)s=Array.prototype.slice.call(t,0,o);s[o]=t[o]}}return e.concat(s||Array.prototype.slice.call(t))};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-ee989afa.system.js","./p-0a53642c.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-5aee98ad.system.js","./p-a61e8e43.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,o,r,s,l,a,n,u,c,d,h,m,b,f,p,g,v,x;return{setters:[function(e){t=e.r;i=e.c;o=e.h;r=e.H;s=e.g},function(e){l=e.i},function(e){a=e.c},function(e){n=e.f;u=e.o;c=e.j;d=e.d;h=e.b;m=e.a;b=e.c},function(e){f=e.a;p=e.c;g=e.d},function(e){v=e.c},function(e){x=e.p}],execute:function(){var y='*,*::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:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;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}.duet-theme-turva .duet-multiselect-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;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;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{border-color:rgb(127, 150, 165);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(143, 147, 158);box-shadow:0 0 0 1px #747475}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(8, 42, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;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-weight:600;line-height:1.25;color:rgb(8, 42, 77);background:#d9ebf4;border-radius:20rem}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{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-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{border-color:rgb(214, 28, 82) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-multiselect{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);border-color:rgb(143, 147, 158)}.duet-multiselect svg{width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 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:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(212, 223, 229)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{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(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(8, 42, 77)}.duet-multiselect-checkboxes fieldset{margin-top:8px;margin-bottom:12px}.duet-multiselect-checkboxes fieldset+fieldset{margin-top:28px}.duet-multiselect-checkboxes legend{margin-bottom:12px;font-size:1rem;font-weight:600}.duet-multiselect-help{display:block;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(98, 121, 138);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{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(143, 147, 158)}.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect:focus,:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:#171c3a}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect[disabled]{color:#171c3a !important;background:#fcf7f3 !important;border-color:#fcf7f3 !important;-webkit-text-fill-color:#171c3a !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect{color:#171c3a}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect svg{color:#171c3a}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect .duet-multiselect-badge{color:#171c3a;background:#e8e8eb}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes{border-color:#ffefe5}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:#171c3a}';var k=y;function w(e,t){return e.includes(t)?e.filter((function(e){return e!==t})):__spreadArray(__spreadArray([],e,true),[t],false)}var S=e("duet_multiselect",function(){function e(e){var o=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.errorId=a("DuetError");this.labelId=a("DuetLabel");this.topCaptionId=a("DuetCaptionTop");this.selectedLangObject={en:"selected",fi:"valittu",sv:"vald"};this.selectAllLabel={en:"Select all",fi:"Valitse kaikki",sv:"Välj alla"};this.clearAllLabel={en:"Clear all",fi:"Tyhjennä kaikki",sv:"Rensa alla"};this.placeholderLabel={en:"Hint",fi:"Vihje",sv:"Tips"};this.onChange=function(e){o.duetChange.emit({originalEvent:e,value:o.value,component:"duet-multiselect"})};this.onBlur=function(e){o.duetBlur.emit({originalEvent:e,value:o.value,component:"duet-multiselect"})};this.onFocus=function(e){o.duetFocus.emit({originalEvent:e,value:o.value,component:"duet-multiselect"})};this.onMultiselectKeyDown=function(e){if(n(e)||u(e)){if(o.checkboxesVisible){o.checkboxesVisible=false;o.multiselectElement.focus();e.preventDefault()}}};this.onMultiselectInputKeyDown=function(e){if(c(e)){e.preventDefault();o.toggleCheckboxes();setTimeout((function(){if(o.checkboxesVisible){var e=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(o.allControls?-2:0)));if(e){e.focus()}}}),200)}};this.onCheckboxKeyDown=function(e,t){var i;if(d(e)||h(e)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(t-1)))}else if(m(e)||b(e)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(t+1)))}if(i){i.focus();e.preventDefault();o.activeDescendant=i.id}};this.toggleCheckboxes=function(){o.checkboxesVisible=!o.checkboxesVisible};this.toggleCheckbox=function(e,t){o.value=w(o.value,t);o.onChange(e)};this.handleSelectAllClick=function(e){o.value=o.processedItems;o.onChange(e)};this.handleClearAllClick=function(e){o.value=[];o.onChange(e)};this.getOptionIdentifier=function(e){return"".concat(o.identifier,"-option-").concat(e)};this.getDescribedBy=function(){var e=[];if(o.isCaptionVisible&&o.topCaptionId){e.push(o.topCaptionId)}if(o.accessibleDescribedBy){e.push(o.accessibleDescribedBy)}if(o.error){e.push(o.errorId)}return e.length>0?e.join(" "):null};this.processedItems=[];this.processedGroups=[];this.checkboxesVisible=false;this.activeDescendant="";this.language=f();this.margin="auto";this.error="";this.accessibleLiveError="polite";this.expand=false;this.value=[];this.theme="";this.labelHidden=false;this.identifier=a("DuetMultiselect");this.allControls=false;this.placeholder="";this.caption=undefined;this.items=undefined;this.disabled=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.accessibleDescribedBy=undefined;this.tooltip="";this.tooltipDirection="auto"}e.prototype.handleFocus=function(e){var t=this;var i=e.composedPath().every((function(e){return e!==t.element}));if(i){this.checkboxesVisible=false}};e.prototype.componentWillLoad=function(){l(this);this.isCaptionVisible=!!this.caption;v(this.element,"tooltip","duet-tooltip",1,true);this.refresh()};e.prototype.connectedCallback=function(){p(this)};e.prototype.disconnectedCallback=function(){g(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.multiselectElement){this.multiselectElement.focus(e)}return[2]}))}))};e.prototype.selectWithValues=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){t=this.processedItems.filter((function(t){return e.includes(t.value)}));this.value=Array.from(new Set(__spreadArray(__spreadArray([],this.value,true),t,true)));return[2]}))}))};e.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){var e;var t=this;return __generator(this,(function(i){e=x(this.items);this.processedItems=[];this.processedGroups=[];if(!e||e.length===0){return[2]}if(e[0].items!==undefined){this.processedGroups=e}else{this.processedGroups=[{label:"",items:e}]}this.processedGroups.forEach((function(e){return e.items.forEach((function(e){return t.processedItems.push(e)}))}));return[2]}))}))};e.prototype.render=function(){var e=this;var t;return o(r,{key:"e933fce43ece20fa3594dda5d6d94ccec3eee384",class:{"duet-m-0":this.margin==="none","duet-expand":this.expand}},o("div",{key:"172c8416e6bcea127b91615f030e589d55456577",class:{"duet-multiselect-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva","duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:function(t){return e.onMultiselectKeyDown(t)}},o("duet-label",{key:"c527b091b91bbc52d86e99d5dff9115cc8d6aeeb",theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:this.identifier},this.label),this.tooltip&&o("duet-tooltip",{key:"f3596fdcc13e54984e38299db1cd32a541ce22aa",class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{key:"5c0ec4c3de6ed4d0df0e9ecc97e10b16ec52974f",name:"tooltip"}),this.caption&&o("duet-caption",{key:"8cae964591dce5a58a576ed00209f1f50b89bd1b",id:this.topCaptionId,size:"medium"},this.caption),o("div",{key:"31780c7861708d52df9f5bc7fd7714259a2abdb8",class:"duet-multiselect-wrapper"},o("button",{key:"2ffdcde08e1d5fcc3c63bcfd48bf22831dea2296",id:this.identifier,ref:function(t){return e.multiselectElement=t},class:{"duet-multiselect":true,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:function(){return e.toggleCheckboxes()},onFocus:function(t){return e.onFocus(t)},onBlur:function(t){return e.onBlur(t)},role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":"".concat(this.identifier,"-checkboxes"),onKeyDown:function(t){return e.onMultiselectInputKeyDown(t)},disabled:this.disabled},o("span",{key:"2b04c64dd7004356a0dd7833be28935c39e50217",role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":"".concat(this.identifier,"-checkboxes"),"aria-label":this.placeholderLabel[this.language],class:"duet-multiselect-label"},this.placeholder),this.value&&this.value.length>0&&o("span",{key:"c952cd7f33d700d4af685ff3b7fc19de02054f1f",class:"duet-multiselect-badge"},this.value.length,o("duet-visually-hidden",{key:"b9bf58b48509aaedd4f2e0cb05aec8cc192f2eee"},this.selectedLangObject[this.language],", ",this.value.map((function(e){return e.label})).join(", "))),o("svg",{key:"5ecaefc2630e9810f4f9f5887677b9f87dc91ff1",class:{"duet-multiselect-icon":true,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"4c3240169e55ab9b2daca51cce27dfc8c20dbeb0",d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))),o("div",{key:"b473ebcd1f110e4d6151b5dbc49b08f6347eae37",id:"".concat(this.identifier,"-checkboxes"),role:"listbox",class:{"duet-multiselect-checkboxes":true,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},((t=this.processedItems)===null||t===void 0?void 0:t.length)&&this.allControls&&o("div",{key:"9f299cd541560553ea17e375851abb114dc8008f",class:"duet-multiselect-all-control-buttons"},o("button",{key:"dcf47773c56375580656437e03ccd4e0a66614e9",class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:function(t){return e.onCheckboxKeyDown(t,-2)}},this.selectAllLabel[this.language]),o("button",{key:"601c87eb96bfe560d68f6a8d9680278b60e1cc10",class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:function(t){return e.onCheckboxKeyDown(t,-1)}},this.clearAllLabel[this.language])),this.processedItems&&this.processedGroups.map((function(t){return o("fieldset",null,t.label&&o("legend",null,t.label),t.items.map((function(t,i){var r,s;return o("duet-checkbox",{identifier:e.getOptionIdentifier(i),role:"option",label:t.label,value:t.value,key:t.value,checked:(r=e.value)===null||r===void 0?void 0:r.includes(t),"accessible-selected":((s=e.value)===null||s===void 0?void 0:s.includes(t))?"true":undefined,disabled:!e.checkboxesVisible||t.disabled,onDuetChange:function(i){return e.toggleCheckbox(i,t)},onKeyDown:function(t){return e.onCheckboxKeyDown(t,i)},theme:e.theme})})))})))),o("span",{key:"40712a9ae545260e392b6bbe7fc741a8ff4981bf",class:"duet-multiselect-help duet-multiselect-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&o("span",{key:"eb59b5ccb5fa6ccff42f7b1ac44d0439874561ed"},this.error))))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{items:["refresh"]}},enumerable:false,configurable:true});return e}());S.style=k}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-ee989afa.system.js","./p-9d336f77.system.js","./p-0a53642c.system.js","./p-5aee98ad.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.b},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:0;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:0;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)}:host(.duet-theme-turva2) .duet-theme-turva .center{color:#171c3a}:host(.duet-theme-turva2) .duet-theme-turva .right{color:#171c3a}';var l=u;var c=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(){n.checkCenterSlot();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:"664846aed5fa5418883aa8e7d285f43bca31b9b7"},n("nav",{key:"67eb2be48aa07d8839de507ac2e7a3d549a7bf1b",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:"e4cb471892ccd3b07e2ba137cfe5f09d2aede935",class:"top"}),n("div",{key:"a3956e49657add3b004a7f48c1039c95e768cf3f",class:{container:true},ref:function(t){return e.container=t},onScroll:function(){return e.scrollbarCheck()}},this.logo&&n("div",{key:"daa83bf253d89d2691a128d4449ec3bd27a0fd1c"},n("duet-logo",{key:"519732ee4b3a9e8db70315d561859b569c3acf9d",size:this.logoSize,margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language})),n("div",{key:"7baa6a6cfbfcfe80e4965d9a2ba8fbd5c2e908fb",class:"list center",role:"list"},n("div",{key:"214ec3b02204a0ff8f09f5ebe8545b3b52e4b27a",class:"more-left",hidden:!this.leftMoreVisible,role:"presentation"}),n("slot",{key:"8f039e09a7b69764151356d5697a2ab65e7b5a2e",name:"center"}),n("div",{key:"25fb60d81a3cb648049e51f9497282feddf24d48",class:"more-right",hidden:!this.rightMoreVisible,role:"presentation"})),n("div",{key:"b86943b205d836a309c61260e20599ff95bf1a1a",class:"list right",role:"list"},n("slot",{key:"16eaaf4fb82ae25c9fd3d8324134f100b0b77c19",name:"right"}))),n("div",{key:"637eb362a07458d226c916447385262fb2b0c32d",class:"bottom"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());c.style=l}}}));
@@ -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.22"});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.2.0"});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
- import{r as e,h as t,H as i,g as a}from"./p-cf9767ff.js";import{a as s}from"./p-d32bd233.js";import{e as n,d as o}from"./p-8354d1f1.js";import{i as d}from"./p-2e417433.js";const r=class{constructor(t){e(this,t),this.mql=[window.matchMedia(s.replace(/'/g,""))],this.boundMqlFunctions=[],this.previousYScroll=0,this.handleMobileView=()=>{this.mql[0].matches?(this.mobile=!1,this.enableBodyScroll()):(this.mobile=!0,this.bodyScroll||this.disableBodyScroll())},this.onClick=()=>{this.open=!this.open},this.enableBodyScroll=()=>{this.nav&&n(this.nav),this.itemsContainer&&n(this.itemsContainer)},this.disableBodyScroll=()=>{this.nav&&o(this.nav,{reserveScrollBarGap:!0}),this.itemsContainer&&o(this.itemsContainer,{reserveScrollBarGap:!0})},this.checkIfHasItems=()=>{const e=!!this.element.querySelector("duet-submenu-bar-dropdown-link"),t=!!this.element.querySelector("duet-submenu-bar-link"),i=!!this.element.querySelector("duet-submenu-bar-item");return e||t||i},this.hidden=!1,this.mobile=!0,this.bodyScroll=!0,this.theme="",this.hideOnScroll=!1,this.open=!1,this.accessibleLabel=void 0}watchOpenStateHandler(e){e?(this.bodyScroll=!1,this.disableBodyScroll()):(this.enableBodyScroll(),this.bodyScroll=!0)}componentWillLoad(){d(this)}connectedCallback(){this.nav=document.querySelector("duet-nav > [slot='mobile']"),this.hasItems=this.checkIfHasItems(),this.handleMobileView();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.handleMobileView.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[],this.enableBodyScroll()}async setFocus(e){this.button.focus(e)}checkScroll(){this.hideOnScroll&&(window.scrollY>this.previousYScroll?window.scrollY>100&&(this.hidden=!0):window.scrollY<150&&(this.hidden=!1),this.previousYScroll=window.scrollY)}render(){return t(i,{key:"417d739470c7fe9b87ddc61a9f660113df598c22"},t("nav",{key:"139ebc35685702253a213c7105407af7a141a62c",class:{"duet-submenu-bar":!0,"duet-theme-turva":"turva"===this.theme,hidden:this.hidden},"aria-label":this.accessibleLabel},this.hasItems&&t("button",{key:"501638b4c30ab12368c39a05f74bb1c3b1317362",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},t("span",{key:"403ee71ef7c4a79e36018e751e8beb7dc48049c9",class:"label"},t("slot",{key:"d3c17dd11de845bb119d8f753fd358bd2c65a6d9",name:"label"}),t("duet-icon",{key:"81b28c9228a242a36202f53c9ed9fd8a8b609221",theme:this.theme,class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"ba2b698fcce4246cbd779e87dfac3a6be181d926",class:{"menu-container":!0,hidden:!this.open},role:"presentation"},t("div",{key:"e76659541e9d8c28c9dad388f363d794e6d352e1",role:this.mobile?"menu":null,id:"menu","aria-labelledby":this.mobile?"button":null,"aria-expanded":this.mobile?this.open?"true":"false":null,class:{items:!0,hidden:!this.open},ref:e=>this.itemsContainer=e},t("div",{key:"51f96f2351bc5d0e236ce4b36f71aaa5054e5f15",class:"list",role:this.mobile?"presentation":"list"},t("slot",{key:"e82358ec5faa3172b05111c5cb8b4a92af93408b"}),t("div",{key:"1dc90575c0ca00419a1a6dabc94d997a658b4d04",class:"list-padding"}))),t("duet-overlay",{key:"6a46e855d0da8c13ca1bff8f69016dfab10afa5d","keep-stacking-context":!0,visible:this.open,"display-device":"not-large",transition:"immediate"}))))}get element(){return a(this)}static get watchers(){return{open:["watchOpenStateHandler"]}}};r.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%}: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)}}';export{r as duet_submenu_bar}
4
+ import{r as e,h as t,H as i,g as a}from"./p-c02333fd.js";import{a as s}from"./p-d32bd233.js";import{e as n,d as o}from"./p-8354d1f1.js";import{i as d}from"./p-347269f4.js";const r=class{constructor(t){e(this,t),this.mql=[window.matchMedia(s.replace(/'/g,""))],this.boundMqlFunctions=[],this.previousYScroll=0,this.handleMobileView=()=>{this.mql[0].matches?(this.mobile=!1,this.enableBodyScroll()):(this.mobile=!0,this.bodyScroll||this.disableBodyScroll())},this.onClick=()=>{this.open=!this.open},this.enableBodyScroll=()=>{this.nav&&n(this.nav),this.itemsContainer&&n(this.itemsContainer)},this.disableBodyScroll=()=>{this.nav&&o(this.nav,{reserveScrollBarGap:!0}),this.itemsContainer&&o(this.itemsContainer,{reserveScrollBarGap:!0})},this.checkIfHasItems=()=>{const e=!!this.element.querySelector("duet-submenu-bar-dropdown-link"),t=!!this.element.querySelector("duet-submenu-bar-link"),i=!!this.element.querySelector("duet-submenu-bar-item");return e||t||i},this.hidden=!1,this.mobile=!0,this.bodyScroll=!0,this.theme="",this.hideOnScroll=!1,this.open=!1,this.accessibleLabel=void 0}watchOpenStateHandler(e){e?(this.bodyScroll=!1,this.disableBodyScroll()):(this.enableBodyScroll(),this.bodyScroll=!0)}componentWillLoad(){d(this)}connectedCallback(){this.nav=document.querySelector("duet-nav > [slot='mobile']"),this.hasItems=this.checkIfHasItems(),this.handleMobileView();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.handleMobileView.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[],this.enableBodyScroll()}async setFocus(e){this.button.focus(e)}checkScroll(){this.hideOnScroll&&(window.scrollY>this.previousYScroll?window.scrollY>100&&(this.hidden=!0):window.scrollY<150&&(this.hidden=!1),this.previousYScroll=window.scrollY)}render(){return t(i,{key:"8d2a6b2a0b7c84afb8d61508907992f8b6bdda06"},t("nav",{key:"98d23766ad48d99a0838520d6f67ce91b412198e",class:{"duet-submenu-bar":!0,"duet-theme-turva":"turva"===this.theme,hidden:this.hidden},"aria-label":this.accessibleLabel},this.hasItems&&t("button",{key:"d7480f342588cc6a36320b77a896dcab23b6eaa6",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},t("span",{key:"4993924e6fc711bebf1730098bfce3b03352d3a3",class:"label"},t("slot",{key:"96d2a2598974b954d7356e30f0944a1391889b81",name:"label"}),t("duet-icon",{key:"31f715447d28b021e55472a6f0206d416ec9bfad",theme:this.theme,class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"dcee976dcad422cad0659ab4660908a5a3cc199a",class:{"menu-container":!0,hidden:!this.open},role:"presentation"},t("div",{key:"06f7df5458d96f348d6ee9fd51ed36b8882b786b",role:this.mobile?"menu":null,id:"menu","aria-labelledby":this.mobile?"button":null,"aria-expanded":this.mobile?this.open?"true":"false":null,class:{items:!0,hidden:!this.open},ref:e=>this.itemsContainer=e},t("div",{key:"8e176f888c84b7c1ac873f24412679426a872326",class:"list",role:this.mobile?"presentation":"list"},t("slot",{key:"f4df0b6566761ccbde3d382f29a1100bfb12ad15"}),t("div",{key:"5f95cb75994341f33fe801a198c6d907c08b497c",class:"list-padding"}))),t("duet-overlay",{key:"af3a1f80bede46a7a8aba422119493ae64fb8cf0","keep-stacking-context":!0,visible:this.open,"display-device":"not-large",transition:"immediate"}))))}get element(){return a(this)}static get watchers(){return{open:["watchOpenStateHandler"]}}};r.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%}: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)}}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva{background:#fcf7f3;border-bottom-color:#ffefe5}:host(.duet-theme-turva2) .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}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva .items{background:#fcf7f3}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva .mobile-background{background:#171c3a}';export{r as duet_submenu_bar}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-fa2b069d.system.js","./p-6229bcd8.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var n,t,a,o,r,i;return{setters:[function(e){n=e.r;t=e.h;a=e.H;o=e.g},function(e){r=e.i},function(e){i=e.f}],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%;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)}';var u=d;var s=e("duet_submenu_bar_dropdown_link",function(){function e(e){n(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined;this.caret=false;this.highlight=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.handleEscape=function(e){if(i(e)){var n=this.element.closest("duet-submenu-bar-dropdown");n.open=false;n.setFocus()}};e.prototype.render=function(){var e=this;return t(a,{key:"c9c117e150388808484adcbb1b89d8a1f402c5dd"},t("a",{key:"4b79d238f3e36813339bea04e3c9a559ee3972a6",class:{"duet-submenu-bar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:function(n){return e.handleEscape(n)}},this.icon&&t("duet-icon",{key:"f0de902b75bd2c14f2e5ab7bab9045c6f7516219",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),t("span",{key:"fb4cc6db27bd38658bbca4c0ac023c60b8c1f9f1",class:"label-container"},t("span",{key:"4451bf79f482417ca15545d3c066d1bb5f2fabf4",class:"label"},t("slot",{key:"ff2def8614a7757177b420f8f0f071d5f6b2dda8"})),this.caret&&t("duet-icon",{key:"d2e513116a7031390c920b937617b8f365c2fa9a",name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&t("duet-icon",{key:"0b9751d96777023aef4b13d1b06ac493975f219a",class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=u}}}));
4
+ System.register(["./p-ee989afa.system.js","./p-0a53642c.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,a,n,o,r,i;return{setters:[function(e){t=e.r;a=e.h;n=e.H;o=e.g},function(e){r=e.i},function(e){i=e.f}],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;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)}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva{color:#171c3a}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:#e61740}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva.active{background:#fcf7f3}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva:hover{background:#ffefe5}}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva.highlight{color:#e61740}';var d=u;var s=e("duet_submenu_bar_dropdown_link",function(){function e(e){t(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined;this.caret=false;this.highlight=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.handleEscape=function(e){if(i(e)){var t=this.element.closest("duet-submenu-bar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return a(n,{key:"4c88ac33c4d5a8c55dcf089231ac23a7c3107ffa"},a("a",{key:"4ef81ca8437bbc26bd559fc76ac8434d35a52f3b",class:{"duet-submenu-bar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&a("duet-icon",{key:"8c837f0188dc98d57c0a2a746bf3e9361feb2777",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),a("span",{key:"913bb6c4477411898a7e7ff43ea85c0afaf97f2f",class:"label-container"},a("span",{key:"e3117259f4bd9101db5fe1587ee4b1785fe31440",class:"label"},a("slot",{key:"8a4bb1311544492d308473df41ad19e82ac9162c"})),this.caret&&a("duet-icon",{key:"10fa1e1927b9c6a4a6186a547498505065c86927",name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&a("duet-icon",{key:"bd0321e5a2da527156ae208eaace152c92bb2a67",class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=d}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-ee989afa.system.js"],(function(e){"use strict";var t,n,c,u;return{setters:[function(e){t=e.r;n=e.h;c=e.H;u=e.g}],execute:function(){var a=e("duet_share_chart_item",function(){function e(e){t(this,e);this.value=0;this.color=undefined}e.prototype.render=function(){return n(c,{key:"0c89fc95cf25c2faf556ea7b7de8ace02d848ce9"},n("div",{key:"8cdb7f31ae240b68eda387beb52855c36acef5e6",hidden:true},n("slot",{key:"6858e722e101a5d677b61dada80744180b31fbe0"})))};Object.defineProperty(e.prototype,"element",{get:function(){return u(this)},enumerable:false,configurable:true});return e}())}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-ee989afa.system.js","./p-0a53642c.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-5aee98ad.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,s,o,i,a,n,r,c,h,u,l,d;return{setters:[function(e){t=e.r;s=e.c;o=e.h;i=e.H;a=e.g},function(e){n=e.i},function(e){r=e.c},function(e){c=e.i},function(e){h=e.a;u=e.g;l=e.c;d=e.d},function(){}],execute:function(){var m='*,*::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:block}.duet-show-more{margin-bottom:16px !important;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;line-height:1.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-show-more.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-show-more.duet-theme-turva .content:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-theme-turva2) .duet-show-more.duet-theme-turva{color:#171c3a}';var b=m;var f=e("duet_show_more",function(){function e(e){var o=this;t(this,e);this.duetToggle=s(this,"duetToggle",7);this.contentId=r("DuetShowMore");this.buttonId=r("DuetShowMoreButton");this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.handleKeyDown=function(e){if(c(e)){o.handleClick(e)}};this.handleClick=function(e){e.preventDefault();var t=!o.open;o.open=t;if(t){setTimeout((function(){o.contentElement.focus()}),100);setTimeout((function(){o.buttonAriaOpen=t}),500)}else{o.buttonAriaOpen=t}o.duetToggle.emit({component:"duet-show-more",originalEvent:e})};this.buttonAriaOpen=false;this.theme="";this.language=h();this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"};this.showMoreLabel=u(this.showMoreLabelDefaults);this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"};this.showLessLabel=u(this.showLessLabelDefaults);this.showMoreAccessibleLabelDefaults={fi:"Näytä lisää tästä aiheesta",sv:"Visa mer om detta ämne",en:"Show more about this subject"};this.showMoreAccessibleLabel=u(this.showMoreAccessibleLabelDefaults);this.showLessAccessibleLabelDefaults={fi:"Näytä vähemmän tästä aiheesta",sv:"Visa mindre om detta ämne",en:"Show less about this subject"};this.showLessAccessibleLabel=u(this.showLessAccessibleLabelDefaults);this.margin="auto";this.buttonMargin="auto";this.buttonPadding="auto";this.open=false}e.prototype.componentWillLoad=function(){n(this);this.buttonAriaOpen=this.open};e.prototype.connectedCallback=function(){l(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])};e.prototype.disconnectedCallback=function(){d(this)};e.prototype.render=function(){var e=this;return o(i,{key:"f3173450b4f7285549fb9eddf878c9fbb75539ac"},o("div",{key:"6df93a8cfbb0308957ccf9755e3aa2a382f3390d",class:{"duet-show-more":true,"duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none",open:this.open}},o("div",{key:"ef68cd495253247788c1966b5fbf0794694dcee7",ref:function(t){return e.contentElement=t},class:{content:true},id:this.contentId,tabindex:this.open?"-1":""},o("div",{key:"7ef4551d4014d3767c7c5c1295cdd932b573dbe5",class:{"slotted-content":true}},o("slot",{key:"cb62e16a9d8397cee71e1df9d905310e8c399c69"}))),o("duet-button",{key:"b70902ab3cdb24cb1e63fc36c143bc6e39ace4d7",id:this.buttonId,variation:"plain","accessible-label":this.buttonAriaOpen?this.showLessAccessibleLabel:this.showMoreAccessibleLabel,"accessible-expanded":this.buttonAriaOpen?"true":"false","accessible-controls":this.contentId,accessiblePressed:this.isSafariBrowser?this.open:null,onClick:this.handleClick,onKeyDown:this.handleKeyDown,"icon-right":true,icon:this.open?"action-arrow-up-small":"action-arrow-down-small","icon-size":"medium-small",size:"small",margin:this.buttonMargin,padding:this.buttonPadding,theme:this.theme==="turva"?"turva":"default"},o("span",{key:"d38229ca020c8d226fade3be4a0be3ad502cbb06"},this.open?this.showLessLabel:this.showMoreLabel))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());f.style=b}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-fa2b069d.system.js"],(function(e){"use strict";var t,r,n,i;return{setters:[function(e){t=e.r;r=e.h;n=e.H;i=e.g}],execute:function(){var a=e("duet_upload_aria_status",function(){function e(e){var r=this;t(this,e);this.replacePlaceHolders=function(e){var t=function(e){return e>1?"".concat(e," ").concat(r.statusMessageLabel.files):"".concat(e," ").concat(r.statusMessageLabel.file)};return e.replace("{filesUploaded}",t(r.valid)).replace("{filesInProgress}",t(r.inprogress)).replace("{filesTotal}",t(r.total)).replace("{filesWithErrors}",t(r.invalid))};this.getStatusMessage=function(){var e=r.statusMessageLabel,t=e.done,n=e.inProgress,i=e.doneWithErrors,a=e.inProgressWithErrors;var u=r.invalid>0;var s=r.inprogress>0;var l=r.inprogress>0&&u;var f=r.valid===r.total&&!s&&!u;var c=r.valid+r.invalid===r.total&&!s;if(f){r.statusMessage=r.replacePlaceHolders(t);return}else if(l){r.statusMessage=r.replacePlaceHolders(a);return}else if(s){r.statusMessage=r.replacePlaceHolders(n);return}else if(c){r.statusMessage=r.replacePlaceHolders(i);return}return};this.statusMessage=null;this.statusMessageLabel=null;this.accessibleAriaLive="polite";this.valid=undefined;this.total=undefined;this.invalid=undefined;this.inprogress=undefined}e.prototype.watchHandler=function(e,t){if(e!==t){this.getStatusMessage()}};e.prototype.render=function(){return r(n,{key:"6103e8e2440fd8f218c74edc3e2596250b409a44",role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},r("duet-visually-hidden",{key:"62c48599fbae0deb08fbf07cee0d31ceb98070be"},this.statusMessage))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}},enumerable:false,configurable:true});return e}())}}}));
4
+ System.register(["./p-ee989afa.system.js"],(function(e){"use strict";var t,r,n,i;return{setters:[function(e){t=e.r;r=e.h;n=e.H;i=e.g}],execute:function(){var a=e("duet_upload_aria_status",function(){function e(e){var r=this;t(this,e);this.replacePlaceHolders=function(e){var t=function(e){return e>1?"".concat(e," ").concat(r.statusMessageLabel.files):"".concat(e," ").concat(r.statusMessageLabel.file)};return e.replace("{filesUploaded}",t(r.valid)).replace("{filesInProgress}",t(r.inprogress)).replace("{filesTotal}",t(r.total)).replace("{filesWithErrors}",t(r.invalid))};this.getStatusMessage=function(){var e=r.statusMessageLabel,t=e.done,n=e.inProgress,i=e.doneWithErrors,a=e.inProgressWithErrors;var u=r.invalid>0;var s=r.inprogress>0;var f=r.inprogress>0&&u;var l=r.valid===r.total&&!s&&!u;var c=r.valid+r.invalid===r.total&&!s;if(l){r.statusMessage=r.replacePlaceHolders(t);return}else if(f){r.statusMessage=r.replacePlaceHolders(a);return}else if(s){r.statusMessage=r.replacePlaceHolders(n);return}else if(c){r.statusMessage=r.replacePlaceHolders(i);return}return};this.statusMessage=null;this.statusMessageLabel=null;this.accessibleAriaLive="polite";this.valid=undefined;this.total=undefined;this.invalid=undefined;this.inprogress=undefined}e.prototype.watchHandler=function(e,t){if(e!==t){this.getStatusMessage()}};e.prototype.render=function(){return r(n,{key:"9685e13fa1fc7c234bb0e0c1f54badc3fd1b06bc",role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},r("duet-visually-hidden",{key:"aeb1d5dcd04a29bb048877305ff3f836c401b62e"},this.statusMessage))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}},enumerable:false,configurable:true});return e}())}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,n,e,i){function o(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,r){function a(t){try{s(i.next(t))}catch(t){r(t)}}function u(t){try{s(i["throw"](t))}catch(t){r(t)}}function s(t){t.done?e(t.value):o(t.value).then(a,u)}s((i=i.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,o,r,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(n){return s([t,n])}}function s(u){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(e=0)),e)try{if(i=1,o&&(r=u[0]&2?o["return"]:u[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,u[1])).done)return r;if(o=0,r)u=[u[0]&2,r.value];switch(u[0]){case 0:case 1:r=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;o=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]<r[3])){e.label=u[1];break}if(u[0]===6&&e.label<r[1]){e.label=r[1];r=u;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(u);break}if(r[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];o=0}finally{i=r=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-ee989afa.system.js","./p-0a53642c.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-752fa0fc.system.js","./p-5aee98ad.system.js","./p-9508ee67.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(t){"use strict";var n,e,i,o,r,a,u,s,c,d,h,b,f,l,p;return{setters:[function(t){n=t.r;e=t.c;i=t.h;o=t.H;r=t.g},function(t){a=t.i},function(t){u=t.c},function(t){s=t.d},function(t){c=t.i},function(t){d=t.g;h=t.c;b=t.d},function(t){f=t.c;l=t.g;p=t.s},function(){},function(){}],execute:function(){var m="*,*::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-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva{color:#171c3a;background:#fcf7f3}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:not(:disabled):hover{background:#efebe7}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:focus{box-shadow:0 0 0 2px #171c3a !important}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:active:focus{background:#e3dedb !important;box-shadow:none}";var v=m;var g=t("duet_action_button",function(){function t(t){var i=this;n(this,t);this.duetActionEvent=e(this,"duetActionEvent",6);this.listId=u("duet-action-button");this.emitPageEvent=s((function(t){i.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:i.actionId,name:i.actionName,meta:i.actionMeta,id:i.listId})}));this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName=undefined;this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleTitle=true;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"};this.accessibleLabel=d(this.accessibleLabelsDefaults);this.accessibleControls="";this.url=undefined}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(c(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.getTitle=function(){if(typeof this.accessibleTitle==="string"){return this.accessibleTitle}if(this.accessibleTitle===true&&this.actionName){return f("".concat(this.actionName))}return null};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){b(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t;var n=this;var e=this.color==="currentColor"?"currentColor":l(this.color,this.theme);var r=l(this.background,this.theme);var a=r?p(r,-.1):r;var u=r?"\n button.duet-action-button {\n background: ".concat(r," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(a," !important;\n }\n "):"";var s={color:e,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};var c={ref:function(t){return n.nativeButton=t},part:"button",style:s,disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t["duet-theme-turva"]=this.theme==="turva",t)};return i(o,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:function(t){return n.onKeyboardDown(t)}},i("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:u}),this.url&&!this.disabled?i("a",Object.assign({},c,{href:this.url}),i("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):i("button",Object.assign({},c,{onClick:function(t){return n.onMouseHandler(t)}}),i("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),i("duet-visually-hidden",null,i("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());g.style=v}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,h as e,H as a,g as r}from"./p-c02333fd.js";import{i as s}from"./p-347269f4.js";import{f as i}from"./p-4373618f.js";import{a as o}from"./p-d10927bb.js";import{g as h}from"./p-5de30279.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const c=class{constructor(e){t(this,e),this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"],this.colorPickCount=0,this.items=void 0,this.theme="",this.unit="%"}componentWillLoad(){s(this)}connectedCallback(){this.childObserver=new MutationObserver(this.updateChartItems.bind(this)),this.childObserver.observe(this.element,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.updateChartItems()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0)}pickColor(){const t=this.defaultColors[this.colorPickCount];return this.colorPickCount+=1,this.colorPickCount>this.defaultColors.length-1&&(this.colorPickCount=0),t}updateChartItems(){const t=o(this.element).filter((t=>"duet-share-chart-item"===t.tagName.toLocaleLowerCase()));this.items=t.map((t=>({text:t.textContent,value:t.value,color:t.color||this.pickColor()}))),this.itemsTotalValue=this.items.reduce(((t,{value:e})=>t+e),0)}render(){return e(a,{key:"8cde787631aaefbe212629a037cf8c398cd2f083"},e("div",{key:"f7632b55f599164ae9dc6c8af3f70fcc7188e8a6",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.map((t=>e("span",{class:"duet-share-chart-share",style:{width:t.value/this.itemsTotalValue*100+"%",backgroundColor:h(t.color,this.theme)}})))),e("ul",{key:"b7902638812b20d9afd3d5bc156e74b1ed162d8c",class:"duet-share-chart-item-list"},this.items.map((t=>e("li",{class:{"duet-theme-turva":"turva"===this.theme}},e("span",{class:"duet-share-chart-item-color",style:{background:h(t.color,this.theme)}}),e("span",{class:"duet-share-chart-item-text"},t.text,":"),e("span",{class:"duet-share-chart-item-value"}," ",i(t.value)," ",this.unit),"%"!==this.unit&&e("duet-visually-hidden",null,`${i(t.value/this.itemsTotalValue*100,0)} %`))))),e("slot",{key:"4d57f6b752926c779e6b2f52b217383cb135c236"}))}get element(){return r(this)}};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}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;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-style:normal;font-weight:400;font-variant-numeric:tabular-nums;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.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-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:#171c3a}';export{c as duet_share_chart}
@@ -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-cf9767ff.js";import{i as o}from"./p-2e417433.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-a45e3f8b.js";import{g as f,c as v,d as k}from"./p-10fac679.js";import{p as y}from"./p-9c3c64b9.js";import{b as w,a as x}from"./p-5de30279.js";import"./p-17efced0.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)});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:"bbd85aaf7cec037863e62449e53dc79850615e68",onKeyDown:t=>this.onKeyboardDown(t),class:{"duet-theme-turva":"turva"===this.theme}},e("nav",{key:"c94a34a3f69d9f743499a00ace0f273ecc64384a",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:"ed7656da1a3a9f606cc63018833c8ad54fd2da2a","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:"c2457234d5e4827da9730d753f05d5a8d1c06756",theme:this.theme},"jump to page : ",this.numbersStore)),e("ol",{key:"86efc4ee55dcd2ac47af68e39db42f26e8b2e8fe",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:"e6e7af25d894edcf0549bc37c437952f6e2a5768",class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"4b68b2b1661169ab04879656a2e965a50f9f1849",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:"e118983480f408814517696235620d6ca7c52e28",class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"952f820c61dbd46f107da9982473c44c92d1654b",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:"64b3f4da24ce028db1125795596beaf6cfd65aeb"},e("li",{key:"c477461d7d68392025f704c5a2df666822b3c1c4",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{key:"8198df04fb593ebcf8a50918c8ffd3fc96bce3bc",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:"0d1ecd17b7660a6c2ca5ead362b19a39922526f1",class:"duet-pagination-page-number"},"1"))),e("li",{key:"068cc3aa779f838d88e5946716ac2179bd7284c7",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{key:"a3737335bec51de3f6721d2ebd59fa005d8bf3b3",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:"403386bfcdb3933adefbbff420f237daa67c2480",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:"b8f9ec799fc41d772075e4cf385cbb2805168fcd"},(this.internalSectionIndex+1)*this.visibleItems!=this.totalPages-1&&e("li",{key:"ba47f6c267f218fddf7ef826806e3bd77a72d52f",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{key:"e04c5a6f32318c61562edd6303e049294a3af437",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:"0f3ec8318ff63e99860219c2f25d0b70068be1a3",class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),e("li",{key:"59c7ba37271b7c8dfb09f8bc251160519adaa324",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{key:"ba66d5bd4910f5f0e3afabb3856e55d9d8a1c734",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:"fc7212709dc3ed1839226979c3cd3b123bd3c9af",class:"duet-pagination-page-number"},this.totalPages)))),e("li",{key:"49845c246a1bc03efc19cc2fb0d72f1d002edad6",class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"63003ee428957aabe687072ab56094d17d00c6a6",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:"4017283c7ba18818612767cf4d1c940bb13bbaba",class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"9625bd8c9071ec35ed43439fbb84334e04f071da",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:"fa2c2642d5a39d629ac91c1bba26a684b132847e",class:{"duet-range-stepper":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:t=>this.onKeyboardDown(t),"aria-controls":this.ariaControls},e("span",{key:"b13479a4081d1c96598a9a6a155a7ba13bb571a7",class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),e("duet-action-button",{key:"929da802a06c142ef0bf763b8d1ef05ddf296c8a",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:"cb496f9a6d6776c1083ca280ad2770c6f8ca489b",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-c02333fd.js";import{i as o}from"./p-347269f4.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-a45e3f8b.js";import{g as f,c as v,d as k}from"./p-4373618f.js";import{p as y}from"./p-9c3c64b9.js";import{b as w,a as x}from"./p-5de30279.js";import"./p-17efced0.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)});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:"2a6229532f13b87abbe9516a7e1d963f326bbe5f",onKeyDown:t=>this.onKeyboardDown(t),class:{"duet-theme-turva":"turva"===this.theme}},e("nav",{key:"17bb09135ec2469462f97327dd10fc4df8b7ba2f",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:"d7790c2abfd67c48c2c00902c68974dd8626bf71","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:"8575683476771915a156987555b607d1d2aa41d8",theme:this.theme},"jump to page : ",this.numbersStore)),e("ol",{key:"611763930ab1762f00066404535bf671646f11c7",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:"07de0cbb95475c4f651e407083a98842e6f8ce1c",class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"6ac18d6caf5e66bcbb2d7081ddb6f15ad002cb32",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:"a77c83085ba874fa552956d7bacbaa51df0f60dc",class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"9b88ef244fddf7edb6b198a2eeaa39e17bdf97c1",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:"484cab98fb6fe5db348a64fa07a1f1c121ba4466"},e("li",{key:"107163ced817f01f0396ef770709d8f79aa850cc",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{key:"f3990bec3ff33472269bfe339ccb14fdaecea604",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:"7f1dc1c7b3be8cec6ccb6316e92581b9647c30c4",class:"duet-pagination-page-number"},"1"))),e("li",{key:"eb308628880c8e4b3b26c58458e7206aabd5a9d5",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{key:"a82f0b31fe15c31942c3dde3704657117adc85a0",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:"accb27855f8adce6868045c91119095db44c737c",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:"472d8b4c7ba1d4970f3dca8c20db2d0677d887c3"},(this.internalSectionIndex+1)*this.visibleItems!=this.totalPages-1&&e("li",{key:"dd9a303384ff2e3305cb0fe933c65de2c3b52bc4",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{key:"bfcf00cc19f04fcdb04338328e903775968aa679",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:"9663d211118c3d4eaf8dc7c486f537876465d90f",class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),e("li",{key:"a8384c6ae3229e426b4dcca36496b3957aeec92b",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{key:"adef2d4a9d24ef1b6b6555ef83795b65c3aa7e39",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:"a22f994edb17fa5865b564324bf3199970e2ae2a",class:"duet-pagination-page-number"},this.totalPages)))),e("li",{key:"d1d2308979af9cda7b793a5b945044e22c64a891",class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"29a745ff6e2ea1485c4fd7aef4e658b343fa9c1b",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:"668f3da154d7d5d42f115cf197a95b8a83ba9365",class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{key:"eefec009212d7dee560c9f21d1cdf959bfaac645",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)}:host(.duet-theme-turva2.duet-theme-turva) .duet-pagination-total-pages{color:#171c3a}';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:"3fa08eaa9b32a3e86c05908cf62749a1f2d06160",class:{"duet-range-stepper":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:t=>this.onKeyboardDown(t),"aria-controls":this.ariaControls},e("span",{key:"3cc01c7b2b558f049f5dce477ac09d2046f9adaf",class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),e("duet-action-button",{key:"be8e08eb55049747a64b8dbedf553809958ef6fa",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:"0930fe197ce06ee4ab4d9f513ee72054b6406e93",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}:host(.duet-theme-turva2) .duet-theme-turva .duet-range-step-counter{color:#171c3a}";export{S as duet_pagination,_ as duet_range_stepper}