@duetds/components 9.5.2 → 9.7.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 (754) hide show
  1. package/hydrate/index.js +287 -234
  2. package/lib/cjs/{a11y-utils-8e2be21b.js → a11y-utils-25ba7ab3.js} +1 -1
  3. package/lib/cjs/{app-globals-617d939b.js → app-globals-f3fcb8f4.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-alert.cjs.entry.js +16 -16
  6. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  10. package/lib/cjs/duet-button_2.cjs.entry.js +9 -9
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +30 -13
  13. package/lib/cjs/duet-card.cjs.entry.js +5 -5
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-combobox.cjs.entry.js +8 -4
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +7 -6
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +7 -7
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  31. package/lib/cjs/duet-hero.cjs.entry.js +8 -8
  32. package/lib/cjs/duet-icon.cjs.entry.js +4 -4
  33. package/lib/cjs/duet-input_2.cjs.entry.js +9 -3
  34. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  35. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-modal.cjs.entry.js +12 -12
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +8 -8
  44. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
  46. package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
  47. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +15 -15
  50. package/lib/cjs/duet-phone-input.cjs.entry.js +9 -3
  51. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +20 -9
  52. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  55. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-scrollable_3.cjs.entry.js +28 -26
  57. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  62. package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -6
  63. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
  64. package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
  65. package/lib/cjs/duet-slideout.cjs.entry.js +9 -9
  66. package/lib/cjs/duet-status-icon.cjs.entry.js +8 -8
  67. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  69. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
  70. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  71. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  72. package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
  74. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
  77. package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
  78. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  80. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +7 -7
  81. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  82. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  83. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  84. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  85. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  86. package/lib/cjs/duet.cjs.js +3 -3
  87. package/lib/cjs/{errorcodes.utils-a69cd631.js → errorcodes.utils-6adb39b6.js} +1 -1
  88. package/lib/cjs/{focus-utils-2a54eb7a.js → focus-utils-f0ed0617.js} +1 -1
  89. package/lib/cjs/{index-206506a2.js → index-bd0d3a3a.js} +6 -6
  90. package/lib/cjs/{language-utils-6754f426.js → language-utils-38c8559b.js} +1 -1
  91. package/lib/cjs/loader.cjs.js +3 -3
  92. package/lib/cjs/{slot-utils-aa13b3a0.js → slot-utils-e7a090af.js} +1 -1
  93. package/lib/cjs/{teleport-c6f8391a.js → teleport-c0eede18.js} +2 -2
  94. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  95. package/lib/collection/components/duet-alert/duet-alert.css +75 -36
  96. package/lib/collection/components/duet-alert/duet-alert.js +38 -17
  97. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  98. package/lib/collection/components/duet-banner/duet-banner.js +3 -3
  99. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  100. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  101. package/lib/collection/components/duet-button/duet-button.js +10 -10
  102. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  103. package/lib/collection/components/duet-caption/duet-caption.js +3 -3
  104. package/lib/collection/components/duet-card/duet-card.js +6 -6
  105. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  106. package/lib/collection/components/duet-chip/duet-chip.js +7 -7
  107. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  108. package/lib/collection/components/duet-choice/duet-choice.js +4 -4
  109. package/lib/collection/components/duet-collapsible/duet-collapsible.js +5 -5
  110. package/lib/collection/components/duet-combobox/duet-combobox.js +8 -4
  111. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  112. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +2 -2
  113. package/lib/collection/components/duet-date-picker/duet-date-picker.js +27 -6
  114. package/lib/collection/components/duet-divider/duet-divider.js +2 -2
  115. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  116. package/lib/collection/components/duet-empty-state/duet-empty-state.js +3 -3
  117. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  118. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +2 -2
  119. package/lib/collection/components/duet-footer/duet-footer.js +11 -11
  120. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  121. package/lib/collection/components/duet-header/duet-header.js +15 -15
  122. package/lib/collection/components/duet-heading/duet-heading.js +3 -3
  123. package/lib/collection/components/duet-hero/duet-hero.js +10 -10
  124. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  125. package/lib/collection/components/duet-input/duet-input.js +36 -8
  126. package/lib/collection/components/duet-label/duet-label.js +2 -2
  127. package/lib/collection/components/duet-layout/duet-layout.js +6 -6
  128. package/lib/collection/components/duet-link/duet-link.js +25 -4
  129. package/lib/collection/components/duet-list/duet-list.js +4 -4
  130. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  131. package/lib/collection/components/duet-logo/duet-logo.js +2 -2
  132. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  133. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  134. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  135. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  136. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  137. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  138. package/lib/collection/components/duet-modal/duet-modal.css +3 -13
  139. package/lib/collection/components/duet-modal/duet-modal.js +10 -10
  140. package/lib/collection/components/duet-multiselect/duet-multiselect.js +11 -11
  141. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  142. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  143. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  144. package/lib/collection/components/duet-number-input/duet-number-input.js +6 -6
  145. package/lib/collection/components/duet-overlay/duet-overlay.js +2 -2
  146. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  147. package/lib/collection/components/duet-pagination/duet-pagination.js +13 -13
  148. package/lib/collection/components/duet-paragraph/duet-paragraph.js +5 -5
  149. package/lib/collection/components/duet-phone-input/duet-phone-input.js +32 -4
  150. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +16 -4
  151. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +4 -4
  152. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  153. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  154. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  155. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +3 -3
  156. package/lib/collection/components/duet-scrollable/duet-scrollable.css +4 -1
  157. package/lib/collection/components/duet-scrollable/duet-scrollable.js +35 -17
  158. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  159. package/lib/collection/components/duet-select/duet-select.js +5 -5
  160. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  161. package/lib/collection/components/duet-show-more/duet-show-more.js +3 -3
  162. package/lib/collection/components/duet-slideout/duet-slideout.js +5 -5
  163. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  164. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  165. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  166. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  167. package/lib/collection/components/duet-spacer/duet-spacer.js +3 -3
  168. package/lib/collection/components/duet-spinner/duet-spinner.js +3 -3
  169. package/lib/collection/components/duet-status-icon/duet-status-icon.js +7 -7
  170. package/lib/collection/components/duet-step/duet-step.js +2 -2
  171. package/lib/collection/components/duet-stepper/duet-stepper.js +2 -2
  172. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  173. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  174. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  175. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  176. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  177. package/lib/collection/components/duet-tab-group/duet-tab-group.css +90 -14
  178. package/lib/collection/components/duet-tab-group/duet-tab-group.js +56 -9
  179. package/lib/collection/components/duet-table/duet-table.js +2 -2
  180. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  181. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  182. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  183. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  184. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  185. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  186. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  187. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  188. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  189. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  190. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  191. package/lib/collection/components/duet-upload/duet-upload.js +16 -16
  192. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  193. package/lib/collection/components/duet-upload-item/duet-upload-item.js +4 -4
  194. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  195. package/lib/collection/utils/teleport.js +2 -2
  196. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  197. package/lib/dist-custom-elements/duet-alert.js +1 -1
  198. package/lib/dist-custom-elements/duet-badge.js +1 -1
  199. package/lib/dist-custom-elements/duet-banner.js +5 -5
  200. package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
  201. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  202. package/lib/dist-custom-elements/duet-button.js +1 -1
  203. package/lib/dist-custom-elements/duet-callout.js +4 -4
  204. package/lib/dist-custom-elements/duet-caption.js +1 -1
  205. package/lib/dist-custom-elements/duet-card.js +6 -6
  206. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  207. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  208. package/lib/dist-custom-elements/duet-chip.js +1 -1
  209. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  210. package/lib/dist-custom-elements/duet-choice.js +5 -5
  211. package/lib/dist-custom-elements/duet-collapsible.js +5 -5
  212. package/lib/dist-custom-elements/duet-combobox.js +20 -16
  213. package/lib/dist-custom-elements/duet-contact-card.js +10 -10
  214. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  215. package/lib/dist-custom-elements/duet-date-picker.js +17 -15
  216. package/lib/dist-custom-elements/duet-divider.js +1 -1
  217. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  218. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  219. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  220. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  221. package/lib/dist-custom-elements/duet-footer.js +11 -11
  222. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  223. package/lib/dist-custom-elements/duet-grid.js +1 -1
  224. package/lib/dist-custom-elements/duet-header.js +8 -8
  225. package/lib/dist-custom-elements/duet-heading.js +1 -1
  226. package/lib/dist-custom-elements/duet-hero.js +14 -14
  227. package/lib/dist-custom-elements/duet-icon.js +1 -1
  228. package/lib/dist-custom-elements/duet-input.js +1 -1
  229. package/lib/dist-custom-elements/duet-label.js +1 -1
  230. package/lib/dist-custom-elements/duet-layout.js +6 -6
  231. package/lib/dist-custom-elements/duet-link.js +1 -1
  232. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  233. package/lib/dist-custom-elements/duet-list.js +1 -1
  234. package/lib/dist-custom-elements/duet-logo.js +1 -1
  235. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  236. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  237. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  238. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  239. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  240. package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
  241. package/lib/dist-custom-elements/duet-modal.js +16 -16
  242. package/lib/dist-custom-elements/duet-multiselect.js +14 -14
  243. package/lib/dist-custom-elements/duet-nav.js +2 -2
  244. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  245. package/lib/dist-custom-elements/duet-notification.js +4 -4
  246. package/lib/dist-custom-elements/duet-number-input.js +12 -12
  247. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  248. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  249. package/lib/dist-custom-elements/duet-pagination.js +24 -24
  250. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  251. package/lib/dist-custom-elements/duet-phone-input.js +23 -16
  252. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  253. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  254. package/lib/dist-custom-elements/duet-progress.js +1 -1
  255. package/lib/dist-custom-elements/duet-promo-card.js +5 -5
  256. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  257. package/lib/dist-custom-elements/duet-radio.js +1 -1
  258. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  259. package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
  260. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  261. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  262. package/lib/dist-custom-elements/duet-select.js +1 -1
  263. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  264. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  265. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  266. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  267. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  268. package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
  269. package/lib/dist-custom-elements/duet-slideout.js +8 -8
  270. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  271. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  272. package/lib/dist-custom-elements/duet-status-icon.js +1 -103
  273. package/lib/dist-custom-elements/duet-step.js +4 -4
  274. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  275. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  276. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  277. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  278. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  279. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  280. package/lib/dist-custom-elements/duet-tab-group.js +21 -12
  281. package/lib/dist-custom-elements/duet-tab.js +1 -1
  282. package/lib/dist-custom-elements/duet-table.js +1 -1
  283. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  284. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  285. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  286. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  287. package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
  288. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  289. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  290. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  291. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  292. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  293. package/lib/dist-custom-elements/duet-tray.js +5 -5
  294. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  295. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  296. package/lib/dist-custom-elements/duet-upload.js +42 -36
  297. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  298. package/lib/dist-custom-elements/index.js +1 -1
  299. package/lib/dist-custom-elements/{p-1cc451fc.js → p-03ab6108.js} +2 -2
  300. package/lib/dist-custom-elements/{p-53b3bd2d.js → p-1a622e52.js} +3 -3
  301. package/lib/dist-custom-elements/{p-1f86efd7.js → p-1d3954cb.js} +3 -3
  302. package/lib/dist-custom-elements/{p-673093b5.js → p-1dd720f0.js} +17 -10
  303. package/lib/dist-custom-elements/{p-ce7d290f.js → p-1f125fa8.js} +19 -23
  304. package/lib/dist-custom-elements/{p-c3d01088.js → p-233b4c3c.js} +28 -16
  305. package/lib/dist-custom-elements/{p-a571ab43.js → p-25c3394c.js} +3 -3
  306. package/lib/dist-custom-elements/{p-a317fac9.js → p-25ea4fbc.js} +2 -2
  307. package/lib/dist-custom-elements/{p-8882b67b.js → p-2a7ecb51.js} +5 -5
  308. package/lib/dist-custom-elements/{p-6dd74d76.js → p-3132451c.js} +2 -2
  309. package/lib/dist-custom-elements/{p-ec26aeea.js → p-3a9b4b57.js} +3 -3
  310. package/lib/dist-custom-elements/{p-495fa25d.js → p-52e36342.js} +1 -1
  311. package/lib/dist-custom-elements/{p-6f36f4f3.js → p-55d85326.js} +5 -5
  312. package/lib/dist-custom-elements/p-59f0edd5.js +108 -0
  313. package/lib/dist-custom-elements/{p-69756ccb.js → p-60f2dd6f.js} +1 -1
  314. package/lib/dist-custom-elements/{p-519df228.js → p-677769ce.js} +3 -3
  315. package/lib/dist-custom-elements/{p-5a892951.js → p-6c6dbfe6.js} +12 -12
  316. package/lib/dist-custom-elements/p-6f0f0340.js +213 -0
  317. package/lib/dist-custom-elements/{p-6888c8d6.js → p-70bef044.js} +3 -3
  318. package/lib/dist-custom-elements/{p-935c69ca.js → p-7408a383.js} +4 -4
  319. package/lib/dist-custom-elements/{p-b54dea97.js → p-78076fd7.js} +3 -3
  320. package/lib/dist-custom-elements/{p-1b7f952f.js → p-81505f0b.js} +2 -2
  321. package/lib/dist-custom-elements/{p-fba92a7b.js → p-86162600.js} +7 -7
  322. package/lib/dist-custom-elements/{p-136dc3af.js → p-8c022d66.js} +4 -4
  323. package/lib/dist-custom-elements/{p-ca3cb21e.js → p-8cb0e6bd.js} +2 -2
  324. package/lib/dist-custom-elements/{p-accb4fa9.js → p-9091f589.js} +9 -9
  325. package/lib/dist-custom-elements/{p-2bb0877f.js → p-9760ce0e.js} +2 -2
  326. package/lib/dist-custom-elements/{p-79957fa3.js → p-992b1ceb.js} +1 -1
  327. package/lib/dist-custom-elements/{p-9f5cc4e3.js → p-99a2aeb6.js} +3 -3
  328. package/lib/dist-custom-elements/{p-fd01fff8.js → p-9d87ca15.js} +3 -3
  329. package/lib/dist-custom-elements/{p-aedaa6be.js → p-a97b2383.js} +2 -2
  330. package/lib/dist-custom-elements/{p-9126e8a2.js → p-bda6f3f9.js} +6 -6
  331. package/lib/dist-custom-elements/{p-d3f39f5e.js → p-bff79ef5.js} +8 -8
  332. package/lib/dist-custom-elements/{p-320da2a2.js → p-c6b96452.js} +3 -3
  333. package/lib/dist-custom-elements/{p-6646e07d.js → p-cf873d23.js} +2 -2
  334. package/lib/dist-custom-elements/{p-ef2dcc5a.js → p-d6ce295d.js} +4 -4
  335. package/lib/dist-custom-elements/{p-f7a60dd8.js → p-e0fa87f3.js} +3 -3
  336. package/lib/dist-custom-elements/{p-9614cc57.js → p-eb167bf0.js} +4 -4
  337. package/lib/dist-custom-elements/{p-1a4430e2.js → p-ec479ece.js} +2 -2
  338. package/lib/dist-custom-elements/{p-dbea5087.js → p-f5c940d5.js} +1 -1
  339. package/lib/dist-custom-elements/{p-38cb34bf.js → p-fe23c57b.js} +25 -5
  340. package/lib/duet/duet.esm.js +1 -1
  341. package/lib/duet/duet.js +1 -1
  342. package/lib/duet/{p-9936eb61.entry.js → p-008d13f6.entry.js} +1 -1
  343. package/lib/duet/{p-b2a64677.system.entry.js → p-00eb86f7.system.entry.js} +1 -1
  344. package/lib/duet/{p-0d512165.entry.js → p-02624d47.entry.js} +1 -1
  345. package/lib/duet/{p-6c8361b8.entry.js → p-035193bd.entry.js} +1 -1
  346. package/lib/duet/{p-d6f8386e.entry.js → p-03c79def.entry.js} +1 -1
  347. package/lib/duet/{p-4994dbf2.system.entry.js → p-03d9ea48.system.entry.js} +1 -1
  348. package/lib/duet/{p-42868a02.system.entry.js → p-047bf506.system.entry.js} +1 -1
  349. package/lib/duet/{p-8e40c17e.entry.js → p-04acf023.entry.js} +1 -1
  350. package/lib/duet/p-07f563b1.js +4 -0
  351. package/lib/duet/{p-0c115b39.js → p-09e6f01c.js} +1 -1
  352. package/lib/duet/{p-64542862.entry.js → p-0aec719a.entry.js} +1 -1
  353. package/lib/duet/{p-976918a1.system.entry.js → p-0b44f354.system.entry.js} +1 -1
  354. package/lib/duet/{p-818b5277.entry.js → p-0cdbf1c3.entry.js} +1 -1
  355. package/lib/duet/{p-cf900c12.system.entry.js → p-0d9c8f18.system.entry.js} +1 -1
  356. package/lib/duet/p-0e0c1abe.system.js +4 -0
  357. package/lib/duet/{p-bd5bc40f.system.entry.js → p-0f6140cf.system.entry.js} +1 -1
  358. package/lib/duet/{p-a4650edb.entry.js → p-1013472f.entry.js} +1 -1
  359. package/lib/duet/p-11b053ad.entry.js +4 -0
  360. package/lib/duet/{p-4460ee6c.js → p-11d704ac.js} +1 -1
  361. package/lib/duet/{p-031f13b0.system.entry.js → p-12a60f38.system.entry.js} +1 -1
  362. package/lib/duet/{p-a9f4cfe4.entry.js → p-136be903.entry.js} +1 -1
  363. package/lib/duet/p-16494063.entry.js +4 -0
  364. package/lib/duet/{p-57d70be4.system.entry.js → p-171de312.system.entry.js} +1 -1
  365. package/lib/duet/{p-b4151081.system.entry.js → p-18775501.system.entry.js} +1 -1
  366. package/lib/duet/{p-915e55ec.entry.js → p-19682bba.entry.js} +1 -1
  367. package/lib/duet/{p-5f56c425.system.entry.js → p-1ba8274b.system.entry.js} +1 -1
  368. package/lib/duet/p-1d02ebd2.entry.js +4 -0
  369. package/lib/duet/p-20f3f09a.entry.js +4 -0
  370. package/lib/duet/{p-5c91da22.entry.js → p-215c864f.entry.js} +1 -1
  371. package/lib/duet/{p-53d7ea2c.entry.js → p-2217828e.entry.js} +1 -1
  372. package/lib/duet/{p-0b986e9b.entry.js → p-223c20f3.entry.js} +1 -1
  373. package/lib/duet/{p-7373389d.entry.js → p-23005ca3.entry.js} +1 -1
  374. package/lib/duet/{p-009738f9.entry.js → p-233ca05d.entry.js} +1 -1
  375. package/lib/duet/{p-f91f1fc4.system.entry.js → p-241e75c1.system.entry.js} +1 -1
  376. package/lib/duet/{p-67ea455b.system.entry.js → p-24749cae.system.entry.js} +1 -1
  377. package/lib/duet/{p-de32ceff.system.entry.js → p-24bfae26.system.entry.js} +1 -1
  378. package/lib/duet/{p-8741bd70.entry.js → p-27848324.entry.js} +1 -1
  379. package/lib/duet/{p-679b55fe.entry.js → p-289149a6.entry.js} +1 -1
  380. package/lib/duet/p-2926c851.system.entry.js +4 -0
  381. package/lib/duet/p-292b14e4.entry.js +4 -0
  382. package/lib/duet/{p-419bca5b.system.entry.js → p-29c15fc5.system.entry.js} +1 -1
  383. package/lib/duet/{p-280063be.system.entry.js → p-2b159e34.system.entry.js} +1 -1
  384. package/lib/duet/{p-70a7f815.entry.js → p-2c8199ef.entry.js} +1 -1
  385. package/lib/duet/{p-225d100c.entry.js → p-2daa1149.entry.js} +1 -1
  386. package/lib/duet/p-3277aae2.entry.js +4 -0
  387. package/lib/duet/{p-b1487aa4.system.entry.js → p-388fb6f4.system.entry.js} +1 -1
  388. package/lib/duet/{p-9eeaf2e9.js → p-3b75c778.js} +1 -1
  389. package/lib/duet/p-3c07985a.system.js +5 -0
  390. package/lib/duet/{p-fd7ff8da.system.entry.js → p-3c8ffc42.system.entry.js} +1 -1
  391. package/lib/duet/{p-226aa2e9.system.entry.js → p-3d0ce27c.system.entry.js} +1 -1
  392. package/lib/duet/{p-accd2829.system.entry.js → p-3e1757d6.system.entry.js} +1 -1
  393. package/lib/duet/{p-f3c5e966.system.entry.js → p-3eba0ef4.system.entry.js} +1 -1
  394. package/lib/duet/{p-538e55e5.entry.js → p-417300dc.entry.js} +1 -1
  395. package/lib/duet/{p-d3b2d5de.system.entry.js → p-419c2f7d.system.entry.js} +1 -1
  396. package/lib/duet/{p-fda88cec.system.entry.js → p-42ab25f5.system.entry.js} +1 -1
  397. package/lib/duet/{p-013c9fff.entry.js → p-42e199a5.entry.js} +1 -1
  398. package/lib/duet/{p-b994aa71.system.entry.js → p-442cd997.system.entry.js} +1 -1
  399. package/lib/duet/{p-24898376.entry.js → p-466faf9e.entry.js} +1 -1
  400. package/lib/duet/p-4a67f962.entry.js +4 -0
  401. package/lib/duet/{p-948b038a.system.entry.js → p-4da60c16.system.entry.js} +1 -1
  402. package/lib/duet/{p-8b353b35.system.entry.js → p-4f8c34d8.system.entry.js} +1 -1
  403. package/lib/duet/{p-81e906ff.system.entry.js → p-52a04950.system.entry.js} +1 -1
  404. package/lib/duet/{p-5b86d3c0.entry.js → p-560c1d62.entry.js} +1 -1
  405. package/lib/duet/{p-05e3b483.system.entry.js → p-5715df68.system.entry.js} +1 -1
  406. package/lib/duet/{p-7c74b0a5.system.entry.js → p-57c54c6b.system.entry.js} +2 -2
  407. package/lib/duet/{p-b92193a6.system.entry.js → p-583bed26.system.entry.js} +1 -1
  408. package/lib/duet/{p-9b702bc1.system.entry.js → p-5a44810f.system.entry.js} +1 -1
  409. package/lib/duet/{p-9261386e.system.entry.js → p-5b3edba3.system.entry.js} +2 -2
  410. package/lib/duet/{p-f12a93a9.system.entry.js → p-5c1f23fb.system.entry.js} +1 -1
  411. package/lib/duet/{p-8beb97fe.system.entry.js → p-5c6462f5.system.entry.js} +1 -1
  412. package/lib/duet/{p-7b5c18ba.system.entry.js → p-5ef3fea9.system.entry.js} +1 -1
  413. package/lib/duet/{p-053ef6d1.system.entry.js → p-5ef95413.system.entry.js} +1 -1
  414. package/lib/duet/{p-8b2056f0.system.js → p-604c0163.system.js} +1 -1
  415. package/lib/duet/{p-3af95762.system.js → p-619c9d96.system.js} +1 -1
  416. package/lib/duet/{p-b86a869b.entry.js → p-6355cee3.entry.js} +1 -1
  417. package/lib/duet/{p-6365f418.system.entry.js → p-636f9d1d.system.entry.js} +1 -1
  418. package/lib/duet/{p-591ce092.entry.js → p-64345805.entry.js} +1 -1
  419. package/lib/duet/{p-426d835f.entry.js → p-644ed943.entry.js} +1 -1
  420. package/lib/duet/{p-7ff034b0.system.entry.js → p-64e4169d.system.entry.js} +2 -2
  421. package/lib/duet/{p-dd8cad8a.entry.js → p-66472ff9.entry.js} +1 -1
  422. package/lib/duet/{p-82cf9d43.entry.js → p-6699249f.entry.js} +1 -1
  423. package/lib/duet/{p-7e0e5b92.entry.js → p-67837d32.entry.js} +1 -1
  424. package/lib/duet/{p-580978f0.system.entry.js → p-6800f4a8.system.entry.js} +1 -1
  425. package/lib/duet/{p-f6c800dd.system.entry.js → p-6865c3ad.system.entry.js} +1 -1
  426. package/lib/duet/{p-caf28e68.system.entry.js → p-691cd3b2.system.entry.js} +1 -1
  427. package/lib/duet/{p-38487de7.system.entry.js → p-6ab3400e.system.entry.js} +1 -1
  428. package/lib/duet/{p-f36f2f4b.entry.js → p-6d384417.entry.js} +1 -1
  429. package/lib/duet/{p-72809aec.system.js → p-6f71d987.system.js} +1 -1
  430. package/lib/duet/{p-0121cfad.entry.js → p-6f7f6164.entry.js} +1 -1
  431. package/lib/duet/{p-519297ed.system.entry.js → p-6fb2114f.system.entry.js} +1 -1
  432. package/lib/duet/{p-fb4c1c0a.system.entry.js → p-759dc158.system.entry.js} +1 -1
  433. package/lib/duet/{p-af55cef5.entry.js → p-78ee75a3.entry.js} +1 -1
  434. package/lib/duet/{p-04dcf198.entry.js → p-79a0ae27.entry.js} +1 -1
  435. package/lib/duet/{p-94179cd5.system.entry.js → p-7a586e24.system.entry.js} +1 -1
  436. package/lib/duet/{p-204e76d3.entry.js → p-7a974bb3.entry.js} +1 -1
  437. package/lib/duet/{p-d1464455.system.entry.js → p-7cec26c0.system.entry.js} +1 -1
  438. package/lib/duet/{p-580d4d53.entry.js → p-7e12ea5d.entry.js} +1 -1
  439. package/lib/duet/{p-d0edb7b9.system.entry.js → p-7eb542cb.system.entry.js} +1 -1
  440. package/lib/duet/{p-936b8007.system.entry.js → p-802dabda.system.entry.js} +2 -2
  441. package/lib/duet/p-822babea.entry.js +4 -0
  442. package/lib/duet/{p-8c2bc346.system.entry.js → p-834c5688.system.entry.js} +1 -1
  443. package/lib/duet/{p-c35a3eb6.system.entry.js → p-8360e947.system.entry.js} +1 -1
  444. package/lib/duet/{p-955ccb5a.system.entry.js → p-84c8fa96.system.entry.js} +1 -1
  445. package/lib/duet/{p-430404c6.entry.js → p-85747aeb.entry.js} +1 -1
  446. package/lib/duet/{p-31f93fec.system.entry.js → p-8b84e7d1.system.entry.js} +1 -1
  447. package/lib/duet/{p-ea29ebbb.system.entry.js → p-8bc6d884.system.entry.js} +1 -1
  448. package/lib/duet/p-8cb0e6bd.js +4 -0
  449. package/lib/duet/{p-318498a5.entry.js → p-8d3ca486.entry.js} +1 -1
  450. package/lib/duet/{p-ddd70eeb.system.entry.js → p-928ad147.system.entry.js} +1 -1
  451. package/lib/duet/{p-df82459a.entry.js → p-94cb0a4d.entry.js} +1 -1
  452. package/lib/duet/p-95020901.js +5 -0
  453. package/lib/duet/{p-fb4f24c4.system.entry.js → p-9560ca18.system.entry.js} +1 -1
  454. package/lib/duet/p-95b4c987.system.js +4 -0
  455. package/lib/duet/{p-07f8adab.entry.js → p-9637810d.entry.js} +1 -1
  456. package/lib/duet/{p-d287e564.entry.js → p-9640580e.entry.js} +1 -1
  457. package/lib/duet/{p-6c6981db.system.entry.js → p-973ce37e.system.entry.js} +1 -1
  458. package/lib/duet/p-98c5e8a1.entry.js +4 -0
  459. package/lib/duet/{p-0fdf67d6.system.entry.js → p-9965e073.system.entry.js} +1 -1
  460. package/lib/duet/{p-fc4861d9.system.entry.js → p-9ae862fd.system.entry.js} +1 -1
  461. package/lib/duet/p-9cd2590a.entry.js +4 -0
  462. package/lib/duet/{p-618b1c12.entry.js → p-a2f7581b.entry.js} +1 -1
  463. package/lib/duet/{p-818fd2f6.entry.js → p-a3e89f27.entry.js} +1 -1
  464. package/lib/duet/{p-d98c8e4e.system.entry.js → p-a42257c5.system.entry.js} +1 -1
  465. package/lib/duet/{p-f248e320.system.entry.js → p-a6cf0ec6.system.entry.js} +1 -1
  466. package/lib/duet/{p-897f21a7.system.js → p-a777581b.system.js} +1 -1
  467. package/lib/duet/{p-8bed7caf.entry.js → p-a8094216.entry.js} +1 -1
  468. package/lib/duet/{p-44e4cc6f.entry.js → p-a82320be.entry.js} +1 -1
  469. package/lib/duet/p-a9028d0d.system.entry.js +4 -0
  470. package/lib/duet/{p-20b0dacc.system.entry.js → p-a9cb1a1c.system.entry.js} +1 -1
  471. package/lib/duet/{p-572bf138.entry.js → p-ab05fb0b.entry.js} +1 -1
  472. package/lib/duet/{p-827c2a0d.system.entry.js → p-ad1e8555.system.entry.js} +1 -1
  473. package/lib/duet/{p-6a689584.system.entry.js → p-b0fa3186.system.entry.js} +1 -1
  474. package/lib/duet/p-b1f33063.system.js +4 -0
  475. package/lib/duet/p-b201f9a1.entry.js +4 -0
  476. package/lib/duet/{p-1370b18f.entry.js → p-b550a913.entry.js} +1 -1
  477. package/lib/duet/{p-c613e449.system.entry.js → p-b58600dd.system.entry.js} +1 -1
  478. package/lib/duet/p-bb631281.system.entry.js +4 -0
  479. package/lib/duet/{p-9192b71d.system.entry.js → p-c02504cf.system.entry.js} +1 -1
  480. package/lib/duet/p-c0709af2.system.js +4 -0
  481. package/lib/duet/p-c15142f5.entry.js +4 -0
  482. package/lib/duet/{p-d2f008ef.entry.js → p-c501d02b.entry.js} +1 -1
  483. package/lib/duet/{p-f57f0b8c.entry.js → p-c52e55a7.entry.js} +1 -1
  484. package/lib/duet/p-c7b93da9.entry.js +4 -0
  485. package/lib/duet/{p-6d1f93c1.entry.js → p-c847be46.entry.js} +1 -1
  486. package/lib/duet/{p-d046f3f0.system.entry.js → p-c85ccca5.system.entry.js} +2 -2
  487. package/lib/duet/{p-cb5d825f.system.entry.js → p-ce22fae3.system.entry.js} +1 -1
  488. package/lib/duet/{p-3c466cd8.entry.js → p-ce3b6d30.entry.js} +1 -1
  489. package/lib/duet/{p-c1380dcb.system.entry.js → p-ceb10175.system.entry.js} +2 -2
  490. package/lib/duet/{p-b1db69df.entry.js → p-d38c3f99.entry.js} +1 -1
  491. package/lib/duet/{p-8acb2a04.entry.js → p-d5d810e3.entry.js} +1 -1
  492. package/lib/duet/p-d68b2e69.entry.js +4 -0
  493. package/lib/duet/{p-35950181.entry.js → p-d6f95f08.entry.js} +1 -1
  494. package/lib/duet/{p-f2f75690.entry.js → p-da05b632.entry.js} +1 -1
  495. package/lib/duet/{p-6270b097.entry.js → p-da245696.entry.js} +1 -1
  496. package/lib/duet/{p-eab15c94.system.entry.js → p-dae00c9e.system.entry.js} +1 -1
  497. package/lib/duet/{p-ee5c74bc.system.entry.js → p-db32bf8d.system.entry.js} +1 -1
  498. package/lib/duet/{p-cb15af71.entry.js → p-dbf45e6e.entry.js} +1 -1
  499. package/lib/duet/p-dc1bbd4a.entry.js +4 -0
  500. package/lib/duet/{p-0dcc1a8b.system.entry.js → p-dce091f0.system.entry.js} +1 -1
  501. package/lib/duet/p-defffdba.entry.js +4 -0
  502. package/lib/duet/p-e0fd88f6.system.entry.js +4 -0
  503. package/lib/duet/{p-759dca5c.system.entry.js → p-e1044629.system.entry.js} +1 -1
  504. package/lib/duet/{p-8594d015.system.entry.js → p-e2b8bf66.system.entry.js} +1 -1
  505. package/lib/duet/{p-68ab87cc.entry.js → p-e324d239.entry.js} +1 -1
  506. package/lib/duet/p-e3d07bc5.entry.js +4 -0
  507. package/lib/duet/p-e61d5b18.entry.js +4 -0
  508. package/lib/duet/p-e62b1dce.js +4 -0
  509. package/lib/duet/{p-04b258fd.entry.js → p-e773ef6f.entry.js} +1 -1
  510. package/lib/duet/p-e8cddd7e.system.entry.js +4 -0
  511. package/lib/duet/{p-12b625a8.entry.js → p-ea48ed7c.entry.js} +1 -1
  512. package/lib/duet/{p-78b02eb3.system.entry.js → p-ea555470.system.entry.js} +1 -1
  513. package/lib/duet/{p-32ef55ff.system.entry.js → p-eb56df32.system.entry.js} +2 -2
  514. package/lib/duet/{p-9db6f107.system.entry.js → p-ebd74504.system.entry.js} +1 -1
  515. package/lib/duet/{p-420817c5.system.entry.js → p-eed5a31c.system.entry.js} +1 -1
  516. package/lib/duet/p-f24b08b0.entry.js +4 -0
  517. package/lib/duet/{p-1428de02.entry.js → p-f325a273.entry.js} +1 -1
  518. package/lib/duet/{p-74f81150.entry.js → p-f3a1ae8c.entry.js} +1 -1
  519. package/lib/duet/{p-c936b330.system.entry.js → p-f3ccef8a.system.entry.js} +1 -1
  520. package/lib/duet/{p-b9231b8e.entry.js → p-fd2afc4b.entry.js} +1 -1
  521. package/lib/duet/{p-a1c6f370.entry.js → p-ff6fefe1.entry.js} +1 -1
  522. package/lib/duet/{p-5baa6a33.js → p-ff8513b0.js} +1 -1
  523. package/lib/esm/{a11y-utils-d3187c9b.js → a11y-utils-164dbfa3.js} +1 -1
  524. package/lib/esm/{app-globals-aa323b86.js → app-globals-ae08927b.js} +1 -1
  525. package/lib/esm/duet-action-button.entry.js +2 -2
  526. package/lib/esm/duet-alert.entry.js +16 -16
  527. package/lib/esm/duet-badge.entry.js +3 -3
  528. package/lib/esm/duet-banner.entry.js +4 -4
  529. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  530. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  531. package/lib/esm/duet-button_2.entry.js +9 -9
  532. package/lib/esm/duet-callout.entry.js +4 -4
  533. package/lib/esm/duet-caption_4.entry.js +30 -13
  534. package/lib/esm/duet-card.entry.js +5 -5
  535. package/lib/esm/duet-checkbox.entry.js +1 -1
  536. package/lib/esm/duet-checkmark.entry.js +3 -3
  537. package/lib/esm/duet-chip.entry.js +3 -3
  538. package/lib/esm/duet-choice_2.entry.js +4 -4
  539. package/lib/esm/duet-collapsible.entry.js +4 -4
  540. package/lib/esm/duet-combobox.entry.js +8 -4
  541. package/lib/esm/duet-contact-card.entry.js +4 -4
  542. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  543. package/lib/esm/duet-date-picker.entry.js +7 -6
  544. package/lib/esm/duet-divider_2.entry.js +3 -3
  545. package/lib/esm/duet-editable-table_3.entry.js +7 -7
  546. package/lib/esm/duet-empty-state.entry.js +3 -3
  547. package/lib/esm/duet-fieldset.entry.js +5 -5
  548. package/lib/esm/duet-file-chooser.entry.js +2 -2
  549. package/lib/esm/duet-footer.entry.js +7 -7
  550. package/lib/esm/duet-grid_2.entry.js +1 -1
  551. package/lib/esm/duet-header_2.entry.js +3 -3
  552. package/lib/esm/duet-hero.entry.js +8 -8
  553. package/lib/esm/duet-icon.entry.js +4 -4
  554. package/lib/esm/duet-input_2.entry.js +9 -3
  555. package/lib/esm/duet-layout.entry.js +7 -7
  556. package/lib/esm/duet-list_2.entry.js +4 -4
  557. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  558. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  559. package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
  560. package/lib/esm/duet-menu-bar-item.entry.js +6 -6
  561. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  562. package/lib/esm/duet-menu-bar.entry.js +4 -4
  563. package/lib/esm/duet-modal.entry.js +12 -12
  564. package/lib/esm/duet-multiselect.entry.js +8 -8
  565. package/lib/esm/duet-nav.entry.js +2 -2
  566. package/lib/esm/duet-notification_2.entry.js +6 -6
  567. package/lib/esm/duet-number-input.entry.js +4 -4
  568. package/lib/esm/duet-overlay.entry.js +2 -2
  569. package/lib/esm/duet-page-heading.entry.js +3 -3
  570. package/lib/esm/duet-pagination_2.entry.js +15 -15
  571. package/lib/esm/duet-phone-input.entry.js +9 -3
  572. package/lib/esm/duet-popup-menu_2.entry.js +20 -9
  573. package/lib/esm/duet-progress.entry.js +2 -2
  574. package/lib/esm/duet-promo-card.entry.js +4 -4
  575. package/lib/esm/duet-radio_2.entry.js +2 -2
  576. package/lib/esm/duet-range-slider.entry.js +1 -1
  577. package/lib/esm/duet-scrollable_3.entry.js +28 -26
  578. package/lib/esm/duet-section-layout.entry.js +4 -4
  579. package/lib/esm/duet-select.entry.js +2 -2
  580. package/lib/esm/duet-shaped-image.entry.js +3 -3
  581. package/lib/esm/duet-show-more.entry.js +4 -4
  582. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  583. package/lib/esm/duet-slideout-link.entry.js +6 -6
  584. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
  585. package/lib/esm/duet-slideout-panel.entry.js +10 -10
  586. package/lib/esm/duet-slideout.entry.js +9 -9
  587. package/lib/esm/duet-status-icon.entry.js +8 -8
  588. package/lib/esm/duet-step_2.entry.js +2 -2
  589. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  590. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
  591. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  592. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  593. package/lib/esm/duet-submenu-bar.entry.js +6 -6
  594. package/lib/esm/duet-textarea.entry.js +3 -3
  595. package/lib/esm/duet-toggle.entry.js +1 -1
  596. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  597. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
  598. package/lib/esm/duet-toolbar-item.entry.js +7 -7
  599. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  600. package/lib/esm/duet-toolbar.entry.js +3 -3
  601. package/lib/esm/duet-tooltip-button_2.entry.js +7 -7
  602. package/lib/esm/duet-tooltip.entry.js +2 -2
  603. package/lib/esm/duet-tray.entry.js +4 -4
  604. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  605. package/lib/esm/duet-upload-item.entry.js +5 -5
  606. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  607. package/lib/esm/duet.js +4 -4
  608. package/lib/esm/{errorcodes.utils-2a62c871.js → errorcodes.utils-9f14b707.js} +1 -1
  609. package/lib/esm/{focus-utils-27172227.js → focus-utils-abef2c27.js} +1 -1
  610. package/lib/esm/{index-2ab7ff5a.js → index-4a2cda26.js} +6 -6
  611. package/lib/esm/{language-utils-579bbfe7.js → language-utils-84825af4.js} +1 -1
  612. package/lib/esm/loader.js +4 -4
  613. package/lib/esm/{slot-utils-2fa37472.js → slot-utils-b8ef3101.js} +1 -1
  614. package/lib/esm/{teleport-546f382d.js → teleport-aa27d5f9.js} +2 -2
  615. package/lib/esm-es5/{a11y-utils-d3187c9b.js → a11y-utils-164dbfa3.js} +1 -1
  616. package/lib/esm-es5/{app-globals-aa323b86.js → app-globals-ae08927b.js} +1 -1
  617. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  618. package/lib/esm-es5/duet-alert.entry.js +2 -2
  619. package/lib/esm-es5/duet-badge.entry.js +1 -1
  620. package/lib/esm-es5/duet-banner.entry.js +1 -1
  621. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  622. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  623. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  624. package/lib/esm-es5/duet-callout.entry.js +1 -1
  625. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  626. package/lib/esm-es5/duet-card.entry.js +2 -2
  627. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  628. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  629. package/lib/esm-es5/duet-chip.entry.js +1 -1
  630. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  631. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  632. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  633. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  634. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  635. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  636. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  637. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  638. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  639. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  640. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  641. package/lib/esm-es5/duet-footer.entry.js +1 -1
  642. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  643. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  644. package/lib/esm-es5/duet-hero.entry.js +2 -2
  645. package/lib/esm-es5/duet-icon.entry.js +1 -1
  646. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  647. package/lib/esm-es5/duet-layout.entry.js +1 -1
  648. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  649. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  650. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  651. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  652. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  653. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  654. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  655. package/lib/esm-es5/duet-modal.entry.js +1 -1
  656. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  657. package/lib/esm-es5/duet-nav.entry.js +1 -1
  658. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  659. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  660. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  661. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  662. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  663. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  664. package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
  665. package/lib/esm-es5/duet-progress.entry.js +1 -1
  666. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  667. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  668. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  669. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  670. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  671. package/lib/esm-es5/duet-select.entry.js +1 -1
  672. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  673. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  674. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  675. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  676. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  677. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  678. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  679. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  680. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  681. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  682. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  683. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  684. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  685. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  686. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  687. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  688. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  689. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  690. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  691. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  692. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  693. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  694. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  695. package/lib/esm-es5/duet-tray.entry.js +1 -1
  696. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  697. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  698. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  699. package/lib/esm-es5/duet.js +1 -1
  700. package/lib/esm-es5/{errorcodes.utils-2a62c871.js → errorcodes.utils-9f14b707.js} +1 -1
  701. package/lib/esm-es5/{focus-utils-27172227.js → focus-utils-abef2c27.js} +1 -1
  702. package/lib/esm-es5/index-4a2cda26.js +4 -0
  703. package/lib/esm-es5/{language-utils-579bbfe7.js → language-utils-84825af4.js} +1 -1
  704. package/lib/esm-es5/loader.js +1 -1
  705. package/lib/esm-es5/{slot-utils-2fa37472.js → slot-utils-b8ef3101.js} +1 -1
  706. package/lib/esm-es5/teleport-aa27d5f9.js +4 -0
  707. package/lib/types/components/duet-alert/duet-alert.d.ts +13 -5
  708. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
  709. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
  710. package/lib/types/components/duet-input/duet-input.d.ts +4 -0
  711. package/lib/types/components/duet-link/duet-link.d.ts +3 -0
  712. package/lib/types/components/duet-number-input/duet-number-input.d.ts +2 -1
  713. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +4 -0
  714. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +2 -0
  715. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +5 -0
  716. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -0
  717. package/lib/types/components.d.ts +66 -10
  718. package/package.json +4 -4
  719. package/lib/dist-custom-elements/p-9fda1d1d.js +0 -205
  720. package/lib/duet/p-0ac49d24.entry.js +0 -4
  721. package/lib/duet/p-0f99e898.entry.js +0 -4
  722. package/lib/duet/p-1219c4af.system.js +0 -4
  723. package/lib/duet/p-12b57efb.entry.js +0 -4
  724. package/lib/duet/p-14fe190e.system.js +0 -5
  725. package/lib/duet/p-1a73d27a.entry.js +0 -4
  726. package/lib/duet/p-1b269e8b.system.entry.js +0 -4
  727. package/lib/duet/p-2100fda2.system.entry.js +0 -4
  728. package/lib/duet/p-277c4782.entry.js +0 -4
  729. package/lib/duet/p-2f8ffc2b.system.entry.js +0 -4
  730. package/lib/duet/p-336da573.entry.js +0 -4
  731. package/lib/duet/p-38ff8286.js +0 -4
  732. package/lib/duet/p-3acc8647.system.js +0 -4
  733. package/lib/duet/p-43cbc2bf.entry.js +0 -4
  734. package/lib/duet/p-43f0aaf5.entry.js +0 -4
  735. package/lib/duet/p-4670cbd2.entry.js +0 -4
  736. package/lib/duet/p-530e612b.js +0 -4
  737. package/lib/duet/p-5c3998b7.entry.js +0 -4
  738. package/lib/duet/p-5e0bfce0.entry.js +0 -4
  739. package/lib/duet/p-5ff9214f.entry.js +0 -4
  740. package/lib/duet/p-7d396a31.entry.js +0 -4
  741. package/lib/duet/p-85c02068.entry.js +0 -4
  742. package/lib/duet/p-88f046a0.entry.js +0 -4
  743. package/lib/duet/p-98012c62.entry.js +0 -4
  744. package/lib/duet/p-a5fac26c.entry.js +0 -4
  745. package/lib/duet/p-aada68bf.entry.js +0 -4
  746. package/lib/duet/p-bf039477.system.entry.js +0 -4
  747. package/lib/duet/p-c46cff2a.system.js +0 -4
  748. package/lib/duet/p-ca3cb21e.js +0 -4
  749. package/lib/duet/p-d693003b.entry.js +0 -4
  750. package/lib/duet/p-ecb2aca6.js +0 -5
  751. package/lib/duet/p-ed82b53d.system.entry.js +0 -4
  752. package/lib/duet/p-f6b21d17.system.js +0 -4
  753. package/lib/esm-es5/index-2ab7ff5a.js +0 -4
  754. package/lib/esm-es5/teleport-546f382d.js +0 -4
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,a,i){function o(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,n){function r(t){try{u(i.next(t))}catch(t){n(t)}}function s(t){try{u(i["throw"](t))}catch(t){n(t)}}function u(t){t.done?a(t.value):o(t.value).then(r,s)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,o,n,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return u([t,e])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(a=0)),a)try{if(i=1,o&&(n=s[0]&2?o["return"]:s[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,s[1])).done)return n;if(o=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;o=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){a.label=s[1];break}if(s[0]===6&&a.label<n[1]){a.label=n[1];n=s;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(s);break}if(n[2])a.ops.pop();a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t];o=0}finally{i=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-14fe190e.system.js","./p-e216bea4.system.js","./p-c46cff2a.system.js","./p-752fa0fc.system.js","./p-8b2056f0.system.js","./p-cbbf6d6a.system.js","./p-e6b5a1c7.system.js","./p-98636086.system.js","./p-ef731dfb.system.js"],(function(t){"use strict";var e,a,i,o,n,r,s,u,d,l,b,c,h,p,f,g,m,v,x,k,w,y;return{setters:[function(t){e=t.r;a=t.h;i=t.H;o=t.g;n=t.c},function(t){r=t.i},function(t){s=t.h;u=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:202;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.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}";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}t.prototype.watchPropHandler=function(t){this.scrollToElement(t,"center")};t.prototype.componentWillLoad=function(){r(this);this.hasCollapseButtonLabelSlot=s(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 u(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 i=((a=t.parentElement)===null||a===void 0?void 0:a.getBoundingClientRect().width)||0;var o=t.scrollWidth;var n=this.getOverlayWidth()*2;this.needsScrolling=o-n>i+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 i=!a?e.length:e.indexOf(a);var o=Math.max(i-1,0);if(e[o].clientWidth>this.scrollPaneElement.clientWidth){return o}return i};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}if(e.clientWidth+e.scrollLeft+this.getOverlayWidth()>=e.scrollWidth){this.scrollPaneAtEnd=true}else if(e.clientWidth+e.scrollLeft+this.getOverlayWidth()<e.scrollWidth){this.scrollPaneAtEnd=false}};t.prototype.scrollToElement=function(t,e){var a=this;if(t===void 0){t=this.currentIndex}var i=this.getScrollPaneElements();if(!i||i.length===0){return}if(t+1>=i.length){t=i.length-1}if(t<0){t=0}var o=i[0].getBoundingClientRect().x;var n=5;var r=function(){if(i[0].getBoundingClientRect().x===o){n--;if(n!==0){window.requestAnimationFrame(r);return}a.updateScrollButtons(i[t])}else{window.requestAnimationFrame(r);o=i[0].getBoundingClientRect().x}};i[t].scrollIntoView({behavior:"smooth",block:"nearest",inline:e});window.requestAnimationFrame(r)};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(){if(this.buttonPosition==="absolute"){return this.theme==="turva"?1:0}return 10};t.prototype.renderButton=function(t){var e,i;var o=this;var n=this.theme==="turva"?"color-primary-darker-turva":"color-primary";var r=this.theme==="turva"?"color-gray-turva":"color-gray";var s=function(){if(t==="left"){o.scrollLeft()}else{o.scrollRight()}};var u=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"&&u},a("span",{part:"".concat(this.identifier,"-button-").concat(t),"aria-hidden":"true",class:(i={"duet-scrollable-button":true},i["duet-scrollable-button--".concat(this.buttonPosition)]=true,i["duet-scrollable-button--".concat(this.buttonAlignment)]=true,i["duet-scrollable-button--".concat(t)]=true,i),onClick:function(){s();if(document.activeElement){document.activeElement.blur()}},hidden:!this.buttons||u},a("duet-icon",{color:u?r:n,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(i,{key:"73d85963b8e4016fe3d891925fe817e0a7cd9cb5",class:{"duet-theme-turva":this.theme==="turva","duet-theme-default":this.theme==="default"}},this.hasCollapseButtonLabelSlot&&a("div",{key:"c34006e80ca8d106b496b124d73fc23063fa6e3e",class:{collapse:true,hide:!this.needsScrolling&&!this.collapsed}},a("duet-button",{key:"cd7768e824f0d392c78fbc0b6dc5cb01e48e3402",variation:"plain",margin:"none","center-text":true,onClick:function(){return e.collapsedOnClick()}},a("slot",{key:"0c5978598a028065857e7f68f68eb1f6069eb006",name:"collapse-button-label"}))),a("div",{key:"769b377acbb2108d336d00ded087feffa8b65792",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:"36d1d94c465dcc3a2759bbfb7dfa092528824e9d",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),onScroll:function(){return e.updateScrollButtons()},ref:function(t){return e.scrollPaneElement=t}},a("slot",{key:"4ce1914b23bc31c920b3ddffc064b323a2d66002"})),this.buttons&&this.renderButton("right")))};Object.defineProperty(t.prototype,"element",{get:function(){return o(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(){r(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 o(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}}@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-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:rgb(143, 147, 158)}.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:200;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 !important}: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 !important}.duet-tab-variation-default .duet-tab-button{padding:11px 20px 13px 20px;overflow:hidden;font-size:0.875rem;color:rgb(81, 105, 123);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)}.duet-tab-variation-default .duet-tab-button.selected::after{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: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(45, 64, 81);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-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(98, 104, 122)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(51, 5, 20);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::after{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){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){color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding:12px 0;margin-left:0;font-size:0.875rem;color:rgb(98, 121, 138);border-width:0;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)}.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(113, 118, 132)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(51, 5, 20)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(51, 5, 20);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)}';var E=C;var A=t("duet_tab_group",function(){function t(t){var a=this;e(this,t);this.duetChange=n(this,"duetChange",3);this.duetTabChange=n(this,"duetTabChange",7);this.duetTabChangeRequested=n(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"}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(){r(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 i=this.variation==="plain-scrolling"?"duet-tab-variation-plain":"duet-tab-variation-".concat(this.variation);var o=this.variation==="checked"||this.variation==="plain-scrolling";var n="switch-large-at-".concat(this.switchLargeBreakpoint?this.switchLargeBreakpoint:"small");var r=this.tabs.map((function(t,i){var o;return a("button",{role:"tab",id:e.getButtonId(i),"aria-selected":t.selected?"true":"false","aria-description":e.getAccessibleDescription(i),tabindex:t.selected?"0":"-1",part:"".concat(e.identifier,"-button ").concat(t.selected?"".concat(e.identifier,"-button--selected"):""),type:"button",class:(o={"duet-p-0":e.padding==="none","duet-tab-button":true,"stackable-tab":e.variation==="checked"&&e.tabs.length<=3,selected:t.selected},o["duet-notification-mark-".concat(t.notificationMark)]=!!t.notificationMark,o[n]=["default","plain","plain-scrolling"].includes(e.variation)?true:false,o),onClick:function(){return e.onTabSelect(i)},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:"3c43b90c86da8b84482d816d06e6a3218aaf365c",class:(t={"duet-tab-group":true,"duet-theme-turva":this.theme==="turva"},t[i]=true,t["duet-tab-plain-scrolling"]=this.variation==="plain-scrolling",t["duet-tab-group-scrolls"]=true,t),"aria-label":this.accessibleLabel},a("div",{key:"be929248e27f557e9f274427cf36320db7e0ae52",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&&!o},ref:function(t){e.tabsContainer=t}},this.variation==="checked"?r: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},r)),a("div",{key:"07d2edc0e8a9935d414571297699b8aa6e6faeab",class:{"duet-tab-group-content":true,"duet-m-0":this.margin==="none","checked-group-content":this.variation==="checked"}},a("slot",{key:"dd98577cd851f44400d93b04a5bd14e3117d9618"})))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());A.style=E}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function o(t){try{a(n.next(t))}catch(t){s(t)}}function u(t){try{a(n["throw"](t))}catch(t){s(t)}}function a(t){t.done?i(t.value):r(t.value).then(o,u)}a((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(t){return function(e){return a([t,e])}}function a(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(i=0)),i)try{if(n=1,r&&(s=u[0]&2?r["return"]:u[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,u[1])).done)return s;if(r=0,s)u=[u[0]&2,s.value];switch(u[0]){case 0:case 1:s=u;break;case 4:i.label++;return{value:u[1],done:false};case 5:i.label++;r=u[1];u=[0];continue;case 7:u=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){i.label=u[1];break}if(u[0]===6&&i.label<s[1]){i.label=s[1];s=u;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(u);break}if(s[2])i.ops.pop();i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t];r=0}finally{n=s=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-14fe190e.system.js","./p-ef731dfb.system.js","./p-0dc9089b.system.js","./p-e216bea4.system.js","./p-1219c4af.system.js","./p-752fa0fc.system.js","./p-8b2056f0.system.js","./p-f6b21d17.system.js","./p-053b71e6.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,i,n,r,s,o,u,a,c,f,h,d,p,l,b,m,g,v,x,y;return{setters:[function(t){e=t.r;i=t.c;n=t.h;r=t.H;s=t.g},function(t){o=t.q},function(t){u=t.o;a=t.f;c=t.s;f=t.c;h=t.b},function(t){d=t.i},function(t){p=t.f},function(t){l=t.c;b=t.f;m=t.b;g=t.o},function(t){v=t.a},function(t){x=t.T},function(t){y=t.a},function(){}],execute:function(){var w="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";var _=w;var k=t("duet_popup_menu",function(){function t(t){var n=this;e(this,t);this.duetToggle=i(this,"duetToggle",7);this.filterLabel={en:"Filter menu",fi:"Suodata valikkoa",sv:"Filtrera meny"};this.setOpenButton=function(t){if(!t){return}try{var e=t;e.accessiblePopup="true";e.accessibleExpanded=false;if(n.controllerIcon){e.setAttribute("trailing-icon","action-arrow-down-small")}n.openButton=e}catch(t){}};this.openButtonEventListener=function(){n.toggle()};this.updatePlacement=function(){return __awaiter(n,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:if(!this.openButton){return[2]}t=[u({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&a(),c({padding:5})].filter(Boolean);return[4,f(this.openButton,this.menuElement,{middleware:t,placement:this.placement,strategy:this.position})];case 1:e=i.sent();this.menuY=e.y;this.menuX=e.x;return[2]}}))}))};this.getNonFilteredItems=function(){return n.showFilterInput?n.itemElements.filter((function(t){return t.style.display!=="none"})):n.itemElements};this.filterItems=function(){var t;var e=(t=n.filterInput.value)===null||t===void 0?void 0:t.toLocaleLowerCase();var i=n.itemElements;i.forEach((function(t){t.style.display=!e||t.textContent.toLowerCase().includes(e)||t.value.toLowerCase().includes(e)?"":"none"}))};this.handleKeyDownOnFilter=function(t){var e;if(l(t)){(e=n.getNonFilteredItems()[0])===null||e===void 0?void 0:e.setFocus()}};this.open=false;this.menuY=undefined;this.menuX=undefined;this.language=v();this.accessibleLabel=undefined;this.accessibleRole="menu";this.theme="";this.skipTeleport=undefined;this.placement="bottom-start";this.forcePlacement=false;this.allowVerticalFlip=true;this.position="absolute";this.mainAxisOffset=0;this.crossAxisOffset=0;this.controllerIcon="action-arrow-down-small";this.scrollLimit=undefined;this.showFilterInput=undefined}Object.defineProperty(t.prototype,"controller",{get:function(){return this._controller},set:function(t){if(this._controller===t){return}this._controller=t;if(typeof t==="string"){this.setOpenButton(document.getElementById(t));if(this.openButton){this.openButton.addEventListener("click",this.openButtonEventListener)}}else{this.setOpenButton(t)}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"opener",{get:function(){return this._controller},set:function(t){this.controller=t},enumerable:false,configurable:true});t.prototype.componentWillLoad=function(){d(this)};t.prototype.componentDidLoad=function(){{this.updatePlacement()}};t.prototype.connectedCallback=function(){if(!this.teleport){this.teleport=new x(this.element)}if(this.teleport){this.teleport.activate()}};t.prototype.disconnectedCallback=function(){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}if(this.openButton){this.openButton.removeEventListener("click",this.openButtonEventListener);if(this.controllerIcon){this.openButton.removeAttribute("trailing-icon")}}};t.prototype.handleKeyUp=function(t){if(this.open){if(b(t)){this.hide()}}};t.prototype.handleKeyDown=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i,i;return __generator(this,(function(n){switch(n.label){case 0:e=this.getNonFilteredItems();if(!this.open)return[3,5];if(!l(t))return[3,2];t.preventDefault();return[4,this.getFocusedItemIndex()];case 1:i=n.sent();if(i!==-1){if(i<e.length-1){e[i+1].setFocus()}else{e[0].setFocus()}}n.label=2;case 2:if(!m(t))return[3,4];t.preventDefault();return[4,this.getFocusedItemIndex()];case 3:i=n.sent();if(i!==-1){if(i===0){if(this.showFilterInput){this.filterInput.setFocus()}else{e[e.length-1].setFocus()}}else{e[i-1].setFocus()}}n.label=4;case 4:if(g(t)&&this.accessibleRole==="menu"){t.preventDefault();this.hide()}n.label=5;case 5:return[2]}}))}))};t.prototype.handleClick=function(t){var e=this;var i=t.composedPath().every((function(t){return t!==e.element&&t!==e.openButton}));if(this.open&&i){this.hide()}};t.prototype.isOpen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.open]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=true;return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}this.open=false;return[2]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.open){this.hide()}else{this.show()}return[2]}))}))};t.prototype.handleOpenChange=function(t,e){var i=this;if(!!t===!!e){return}if(this.open&&!e){if(this.openButton){this.openButton.accessibleExpanded=true}if(this.accessibleRole!=="listbox"){this.teleport.makeSiblingsInert()}this.updatePlacement();if(this.menuElement&&this.openButton){this.autoUpdateCleanup=h(this.openButton,this.menuElement,this.updatePlacement)}if(this.showFilterInput){this.filterInput.value="";this.filterItems()}setTimeout((function(){if(i.accessibleRole==="menu"){i.itemElements[0].setFocus()}i.duetToggle.emit({open:i.open,component:"duet-popup-menu"})}),200)}else if(!this.open&&e){if(this.openButton){this.openButton.accessibleExpanded=false}if(this.autoUpdateCleanup){this.autoUpdateCleanup()}setTimeout((function(){if(i.accessibleRole==="menu"){p(i.openButton)}i.duetToggle.emit({open:i.open,component:"duet-popup-menu"});if(i.accessibleRole!=="listbox"){i.teleport.removeInertFromSiblings()}}),200)}};Object.defineProperty(t.prototype,"itemElements",{get:function(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"popupMenuStyleHeight",{get:function(){var t=":scope duet-popup-menu-item, :scope duet-notification";var e=Array.from(this.element.querySelectorAll(t));if(e.length>0&&this.scrollLimit){var i=Number(o.replace("px",""))*2;return"".concat(e[0].offsetHeight*this.scrollLimit+i,"px")}else{return"auto"}},enumerable:false,configurable:true});t.prototype.getFocusedItemIndex=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:t=this.getNonFilteredItems();e=0;i.label=1;case 1:if(!(e<t.length))return[3,4];return[4,t[e].isFocused()];case 2:if(i.sent()){return[2,e]}i.label=3;case 3:e++;return[3,1];case 4:return[2,-1]}}))}))};t.prototype.render=function(){var t=this;var e={top:"".concat(this.menuY,"px"),left:"".concat(this.menuX,"px"),position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight};return n(r,{key:"245da481a4c3ac550648005777f7f7724c8e7806"},n("div",{key:"17069b93e411e4f951dcf4f591aacf90a0fcf7ec",ref:function(e){t.menuElement=e},style:e,class:{open:this.open,"duet-popup-menu-list":true,"duet-theme-turva":this.theme==="turva","scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},this.showFilterInput&&n("div",{key:"24e126dbabf9089b5d3bed8d20c4a2d727531a0e"},n("duet-input",{key:"719101f79b6678a0e7b28694e2c630e902f58bb2",ref:function(e){return t.filterInput=e},label:this.filterLabel[this.language],"label-hidden":true,expand:true,margin:"none",type:"search",onDuetInput:this.filterItems,onKeyDown:this.handleKeyDownOnFilter}),n("duet-spacer",{key:"c49e9178d065230acbc63f163b9b31dfa53a56ae",size:"xx-small"})),n("slot",{key:"d6e2cbd68cd5f5961d5c486a974b72083f2cbae0"})))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return t}());k.style=_;var j='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';var S=j;var z=t("duet_popup_menu_item",function(){function t(t){var n=this;e(this,t);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.onFocus=function(t){n.focus=true;n.duetFocus.emit({originalEvent:t,value:n.value,component:"duet-popup-menu-item"})};this.onBlur=function(t){n.focus=false;n.duetBlur.emit({originalEvent:t,value:n.value,component:"duet-popup-menu-item"})};this.focus=false;this.accessibleLabel=undefined;this.accessibleRole="menuitem";this.theme="";this.url=undefined;this.external=false;this.targetLanguage=undefined;this.value=undefined;this.leadingIcon=undefined;this.leadingIconColor=undefined;this.trailingIcon=undefined;this.trailingText=undefined;this.active=false;this.activeDescendant=false}t.prototype.componentWillLoad=function(){d(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){setTimeout((function(){return e.itemElement.focus(t)}),200);return[2]}))}))};t.prototype.isFocused=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.focus]}))}))};t.prototype.render=function(){var t=this;var e=this.url?"a":"button";var i={"duet-popup-menu-item":true,active:this.active,"duet-theme-turva":this.theme==="turva","active-descendant":this.activeDescendant};return n(r,{key:"2f4a7fe60bc5938bbcb3b1fbce1b4c7bb6bc1de2",role:this.accessibleRole},n(e,{key:"c9f7fd447bb786217bd8a914167bb908acf66f37",ref:function(e){return t.itemElement=e},tabIndex:this.accessibleRole==="listitem"?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"".concat(e==="a"?"link":"button"),"aria-label":this.accessibleLabel,class:i,value:this.value,href:this.url,target:this.external?"_blank":undefined,rel:this.external?"noopener":undefined,lang:e==="button"?undefined:this.targetLanguage,hreflang:e==="button"?undefined:this.targetLanguage},this.leadingIcon&&n("duet-icon",{key:"dcd75ed8a6b9113d52ffa7525c4356cbb2900bc4",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),n("span",{key:"db792f6c21c039bc1997fe199227a84854623c9d",class:"duet-popup-menu-item-label"},n("slot",{key:"dbe5cfc337cc536811672bfc2240518c230df8d6"})),(this.trailingIcon||this.active||this.url&&this.external)&&n("duet-icon",{key:"dbcb7c7c1fb2a4279aab71c16bf8dfd0505fbe38",name:this.url&&this.external?y.title:this.active?"messaging-checked-small":this.trailingIcon,size:this.url&&this.external||this.active?"xx-small":"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&n("span",{key:"e234fa5fd161ad0938c925c4b1fb75b6fbbb37f2",class:"duet-popup-menu-item-trailing"},this.trailingText)))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());z.style=S}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as i,H as s,g as e}from"./p-ecb2aca6.js";import{m as o,a}from"./p-f6000a03.js";import{c as h,f as n,s as l,a as p,b as r}from"./p-81287261.js";import{i as d}from"./p-aaa7a7bd.js";import{c}from"./p-5e59e970.js";import{f as m}from"./p-a45e3f8b.js";import{a as u,g as b,c as f,d as v}from"./p-0c115b39.js";import"./p-9c3c64b9.js";const g=class{constructor(i){t(this,i),this.mql=[window.matchMedia(o.replace(/'/g,"")),window.matchMedia(a.replace(/'/g,""))],this.tooltipId=c("DuetTooltip"),this.aboutString={fi:"aiheesta",en:"about",sv:"om"},this.openTooltip=()=>{this.active=!0,setTimeout((()=>{this.contentEl.focus({preventScroll:!0}),this.buttonActive=!0}),200)},this.closeTooltip=(t=!1)=>{this.active=!1,t&&setTimeout((()=>{this.buttonEl.setFocus({preventScroll:!0})}),200),setTimeout((()=>{this.buttonActive=!1})),setTimeout((()=>{this.updatePlacement()}),200)},this.toggleOpen=()=>{this.active?this.closeTooltip():this.openTooltip()},this.updatePlacement=async()=>{var t,i;let s=!0;("large"!==this.breakpoint||this.mql[1].matches)&&("medium"!==this.breakpoint||this.mql[0].matches)||(s=!1);let e=s?"top-start":"top-end";"left"===this.direction?e="top-end":"right"===this.direction&&(e="top-start");const o=await h(this.buttonEl,this.popupElement,{placement:e,middleware:[n(),l({padding:5}),p({element:this.arrowEl})]});this.tooltipY=o.y,this.tooltipX=o.x,this.placement=o.placement,this.arrowY=null===(t=o.middlewareData.arrow)||void 0===t?void 0:t.y,this.arrowX=null===(i=o.middlewareData.arrow)||void 0===i?void 0:i.x},this.placement="bottom",this.tooltipY=void 0,this.tooltipX=void 0,this.arrowX=void 0,this.arrowY=void 0,this.buttonActive=void 0,this.theme="",this.language=u(),this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"},this.accessibleLabel=b(this.accessibleLabelDefault,this.language),this.accessibleAboutLabel=void 0,this.accessibleInputLabel=void 0,this.accessibleCloseLabelDefault={fi:"Sulje lisätiedot",en:"Close details",sv:"Stäng tilläggsuppgifter"},this.accessibleCloseLabel=b(this.accessibleCloseLabelDefault,this.language),this.label="",this.breakpoint="medium",this.direction="auto",this.positionVertical="0",this.positionHorizontal="0",this.active=!1,this.negative=!1}componentWillLoad(){d(this),this.buttonActive=this.active}async componentDidLoad(){this.arrowEl=await this.popupElement.getArrowElement(),this.contentEl=await this.popupElement.getContentElement(),this.updatePlacement(),this.active&&(this.openTooltip(),await this.handleActiveChange(this.active)),this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body}),this.intersectionObserver.observe(this.element)}connectedCallback(){f(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])}disconnectedCallback(){v(this)}handleDocumentClick(t){this.active&&t.composedPath().every((t=>t!==this.element&&t!==this.contentEl))&&this.closeTooltip()}handleKeyDown(t){this.active&&m(t)&&this.closeTooltip(!0)}handlePopupClose(){this.active&&this.closeTooltip(!0)}async handleActiveChange(t){t?this.autoUpdateCleanup=r(this.buttonEl,this.popupElement,this.updatePlacement):this.autoUpdateCleanup()}render(){const t={position:"relative",overflow:this.active?"visible":"hidden"},e={top:`${this.tooltipY}px`,left:`${this.tooltipX}px`,display:"block","pointer-events":this.active?"auto":"none"},o={top:this.arrowY?`${this.arrowY}px`:void 0,left:this.arrowX?`${this.arrowX}px`:void 0};return i(s,{style:{transform:`translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,zIndex:this.active?"201":""}},i("duet-tooltip-button",{ref:t=>this.buttonEl=t,active:this.buttonActive,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel&&`${this.accessibleInputLabel}, ${this.accessibleLabel}`||this.accessibleAboutLabel&&`${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`||this.accessibleLabel,onClick:this.toggleOpen,theme:this.theme,negative:this.negative}),i("div",{style:t},i("duet-tooltip-popup",{ref:t=>this.popupElement=t,active:this.active,tooltipId:this.tooltipId,arrowStyles:o,style:e,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel,theme:this.theme},i("slot",null))))}get element(){return e(this)}static get watchers(){return{active:["handleActiveChange"]}}};g.style="*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";export{g as duet_tooltip}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,r){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function s(e){try{u(r.next(e))}catch(e){n(e)}}function o(e){try{u(r["throw"](e))}catch(e){n(e)}}function u(e){e.done?i(e.value):a(e.value).then(s,o)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,a,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(o){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(r=1,a&&(n=o[0]&2?a["return"]:o[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,o[1])).done)return n;if(a=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){i.label=o[1];break}if(o[0]===6&&i.label<n[1]){i.label=n[1];n=o;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(o);break}if(n[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];a=0}finally{r=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-14fe190e.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-8b2056f0.system.js","./p-c46cff2a.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,r,a,n,s,o,u,d,c,l,f,h;return{setters:[function(e){t=e.r;i=e.c;r=e.h;a=e.H;n=e.g},function(e){s=e.i},function(e){o=e.c},function(e){u=e.s;d=e.u},function(e){c=e.g;l=e.c;f=e.d},function(e){h=e.h},function(){}],execute:function(){var p='*,*::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;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;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;color:rgb(8, 42, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.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);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert-wrapper.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.warning.duet-theme-turva{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.danger{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.danger.duet-theme-turva{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.success{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.success.duet-theme-turva{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229)}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon.below-nav{align-self:flex-start}.duet-alert-icon duet-icon{width:20px;height:20px}';var b=p;var m=e("duet_alert",function(){function e(e){var r=this;t(this,e);this.duetDismiss=i(this,"duetDismiss",7);this.duetCloseComplete=i(this,"duetCloseComplete",7);this.descriptiveId=o("DuetAlert");this.hasShowMoreSlot=false;this.iconVariationMap={default:"messaging-info",success:"messaging-success",warning:"messaging-alert",danger:"messaging-danger-alert"};this.handleDismiss=function(e){r.handleHide();r.duetDismiss.emit({component:"duet-alert",originalEvent:e})};this.handleShow=function(){r.isDismissed=false};this.handleHide=function(){r.isDismissed=true;r.element.addEventListener("transitionend",(function(){return r.duetCloseComplete.emit()}),{once:true})};this.theme="";this.isDismissed=false;this.timeoutID=undefined;this.accessibleLabelDefaults={fi:"Painike viestin sulkemiseen",sv:"Knapp för att stänga meddelandet",en:"Button to close the message"};this.accessibleLabel=c(this.accessibleLabelDefaults);this.announcements=true;this.icon="";this.autoDismiss=undefined;this.margin="auto";this.padding="auto";this.variation="default";this.position="content";this.dismissible=false;this.focusable=false}e.prototype.componentWillLoad=function(){s(this);this.hasShowMoreSlot=h(this.element,"show-more")};e.prototype.componentDidLoad=function(){var e=this;if(this.autoDismiss){this.timeoutID=setTimeout((function(){return e.handleDismiss()}),this.autoDismiss)}};e.prototype.connectedCallback=function(){l(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"});u(this)};e.prototype.disconnectedCallback=function(){if(this.timeoutID){clearTimeout(this.timeoutID)}f(this);d(this)};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleShow();return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleHide();return[2]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.alertContainer.focus(e);return[2]}))}))};e.prototype.render=function(){var e,t;var i=this;var n=this.theme==="turva"?"secondary-turva":"secondary";return r(a,{key:"d3c53bc46ae4d9f94d286a8ca55a1891afaec2d1",class:{"duet-theme-turva":this.theme==="turva","duet-alert-is-dismissed":this.isDismissed},role:this.announcements?"alert":undefined},r("div",{key:"9b7c2ede2a81e5459214b3262c08f5a096251f50",class:(e={"duet-alert-wrapper":true,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},e[this.variation]=true,e[this.position]=true,e["duet-theme-turva"]=this.theme==="turva",e)},r("div",{key:"c372501af01265a0e962d41b0aeefa1b0803dc7a",class:(t={"duet-alert":true,"duet-alert-has-icon":!!this.icon||this.position==="below-nav","duet-alert-has-show-more":this.hasShowMoreSlot,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t)},r("div",{key:"6a00f96245f482fa280c5618d1ab3e3d61ae57bf",class:"duet-alert-container",ref:function(e){i.alertContainer=e},tabindex:this.focusable?"0":undefined},this.icon&&this.position!=="below-nav"&&r("div",{key:"3993720ebce31589b986f5441c9f8f48719f6c97",class:"duet-alert-icon"},r("duet-icon",{key:"fc93bdce332702991e0dedf6eba0276c5d9c3e6d",size:"auto",name:this.icon,color:"currentColor"})),this.position==="below-nav"&&r("div",{key:"e469d1feb00ce1b223b7977a1b87228933556823",class:"duet-alert-icon below-nav"},r("duet-icon",{key:"8e3407af6309c0107a6e78107c965cf28cadbec3",size:"auto",name:this.iconVariationMap[this.variation],color:this.variation==="default"?"currentColor":this.variation})),r("span",{key:"e4e8494c19f24f7da051b98cef3c3efcdeb47031",id:this.descriptiveId},r("slot",{key:"1ce9a6e6c13e76f6fbf1317fa867d5400c79f41e"}))),this.hasShowMoreSlot&&r("duet-show-more",{key:"2106929166ce1b954dff45ed25b218ddce15f4d9",margin:"none",class:"duet-alert-show-more"},r("slot",{key:"331aa9d74f0b995b55b6b119e569411a07673c3e",name:"show-more"})),this.dismissible&&r("div",{key:"9cfd9e835660d246540ca7452de22bcd324d4682",class:"duet-alert-dismiss"},r("duet-button",{key:"fe950cf6c3d775160bd97b34e88ca71603a47d19",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,color:n,iconSize:"medium",icon:"navigation-close",iconOnly:true,margin:"none",theme:this.theme,onClick:this.handleDismiss,fixed:true})))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());m.style=b}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h as t,r as i,c as s,H as e,g as h}from"./p-ecb2aca6.js";import{i as o}from"./p-aaa7a7bd.js";import{c as n}from"./p-5e59e970.js";import{d as a}from"./p-9e371678.js";import{j as r,f as l,o as d,b as c,c as u}from"./p-a45e3f8b.js";import{g as m,a as p,c as v,d as b}from"./p-0c115b39.js";import{a as g}from"./p-530e612b.js";import{r as f,p as x}from"./p-9c3c64b9.js";const y=({item:i,activeDescendant:s,selected:e,label:h,clickHandler:o=(t=>{t.preventDefault()}),keyHandler:n=(t=>{t.preventDefault()}),search:a,isAndroidDevice:r,id:l})=>{const d=a.split(" ").filter((t=>!!t.trim())).map((t=>f(t))),c=""!==a?new RegExp(`(${d.join("|")})`,"i"):void 0;return t("duet-popup-menu-item",{id:s?l:"",active:e,"data-index":i.id,"aria-selected":s?"true":void 0,"aria-current":e?"true":void 0,role:"option","aria-label":h,tabindex:r?"-1":null,onClick:t=>o(t),onKeyUp:t=>n(t),accessibleRole:"option",activeDescendant:s},c?t("span",{class:"option-container","aria-hidden":"true"},t("span",{innerHTML:i.name.replace(c,'<span style="text-decoration: underline">$&</span>')})):i.name,i.tags&&t("span",{class:"option-tags"},i.tags.join(", ")))},S=class{constructor(t){var e,h;i(this,t),this.duetChange=s(this,"duetChange",3),this.listBoxId=n("duet-combobox-list-element"),this.inputId=n("duet-combobox-input-id"),this.activeDescendantId=n("duet-combobox-active-descendant"),this.isAndroidDevice=(null===(h=null===(e=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===e?void 0:e.toLowerCase())||void 0===h?void 0:h.indexOf("android"))>-1||null,this.resizeObserver=new ResizeObserver(a((t=>{var i,s,e;if(1===(null==t?void 0:t.length)){const h=null===(s=null===(i=t[0])||void 0===i?void 0:i.target)||void 0===s?void 0:s.getBoundingClientRect().width,o=parseInt(null===(e=getComputedStyle(this.listContainer.shadowRoot.querySelector(".duet-popup-menu-list")))||void 0===e?void 0:e.padding);this.listContainer.style.setProperty("--popup-width",h-2*o+"px")}}),100)),this.onInputChange=async t=>{this.inputValue=t.detail.value},this.onInputClick=()=>{var t,i;this.listOpen=this.openListOnClick?!this.listOpen:(null===(t=this.inputValue)||void 0===t?void 0:t.length)>=this.minCharacters,(null===(i=this.getFilteredItems())||void 0===i?void 0:i.length)||(this.listOpen=!1)},this.onInputTyping=async t=>{var i;const s=t.detail.value;!this.force&&!this.multiple&&this.selectedItems.size>0&&s!==this.getSelectedItemLabel()&&this.selectedItems.clear(),this.force||this.multiple||""!==s||(this.value=void 0),this.listOpen=String(s).length>=this.minCharacters&&(null===(i=this.getFilteredItems())||void 0===i?void 0:i.length)>0},this.onKeyDown=t=>{var i,s,e;const h=this.returnFilteredOrNonFiltered(),o=h.filter((t=>!this.selectedItems.has(t.id)));if(this.input.accessibleActiveDescendant=void 0,r(t))return t.preventDefault(),this.listOpen&&void 0!==this.activeItem&&h[this.activeItem]&&!this.selectedItems.has(h[this.activeItem].id)?this.multiple?this.addSelectedItem(h[this.activeItem].id,!0):this.updateSelectedItem(h[this.activeItem].id,!0):!this.multiple&&this.listOpen&&1===o.length&&o[0].name.toLowerCase()===this.input.value.toLowerCase()&&this.updateSelectedItem(o[0].id,!0),this.activeItem=void 0,void(this.listOpen=!1);if(l(t)||d(t))return this.listOpen&&t.preventDefault(),this.updateInputText(!0),this.activeItem=void 0,void(this.listOpen=!1);let n=this.activeItem;if(c(t))t.preventDefault(),n=this.activeItem-1;else if(u(t)){if((null!==(e=null===(s=null===(i=this.input)||void 0===i?void 0:i.value)||void 0===s?void 0:s.length)&&void 0!==e?e:0)<this.minCharacters)return;t.preventDefault(),n=this.listOpen?this.activeItem+1:this.activeItem,this.listOpen=!0}(u(t)||c(t))&&((n<0||!n)&&(n=0),n>=h.length&&(n=h.length-1),this.input.accessibleActiveDescendant=this.activeDescendantId,this.activeItem=n,this.scrollToActive())},this.processedItems=null,this.inputValue="",this.listOpen=!1,this.selectedItems=new Set,this.activeItem=void 0,this.accessibleLabelDefaults={en:{heading:"Select:",item:"{name}",itemFiltered:"{name}, {hiddenItems} filtered"},fi:{heading:"Valitse:",item:"{name}",itemFiltered:"{name}, {hiddenItems} suodatettu"},sv:{heading:"Välj:",item:"{name}",itemFiltered:"{name}, {hiddenItems} filtrerade"}},this.accessibleLabels=m(this.accessibleLabelDefaults,p()),this.label="",this.caption="",this.theme="",this.force=!1,this.multiple=!1,this.items=void 0,this.formatter=t=>t&&t.name?t.name:"",this.value=void 0,this.minCharacters=0,this.openListOnClick=!1,this.filterType="startsWith"}popupMenuOpenHandler(){this.listOpen?this.listContainer.show():this.listContainer.hide()}activeItemHandler(t){this.input.accessibleActiveDescendant=this.listOpen&&(t||0===t)?this.activeDescendantId:""}inputValueHandler(){setTimeout((async()=>{const t=await this.getSelectedItemLabel();""==this.input.value&&t&&(this.input.value="",this.value=void 0)}),200)}handleDocumentClick(t){t.composedPath().every((t=>t!==this.element))&&(this.updateInputText(!0),this.listOpen=!1)}async formatItem(t){return this.formatter(t)}processItems(){const t=[];if(this.processedItems=x(this.items),!Array.isArray(this.processedItems))return void console.error("DuetCombobox: Items should be an array");this.processedItems.length!==new Set([...this.processedItems]).size&&console.warn("DuetCombobox: Duplicate item values found in the list"),this.processedItems=this.processedItems.map(((i,s)=>("string"==typeof i&&(i={name:i,value:i}),i.id=void 0!==i.id?String(i.id):`${JSON.stringify(i.value)}-${i.name}`,t.includes(i.id)&&(console.warn("DuetCombobox: Duplicate item id found in the list, postfixed with index"),i.id=`${i.id}-${s}`),t.push(i.id),i)));const i=Array.from(this.selectedItems).filter((t=>!this.processedItems.find((i=>i.id===t))));i.length&&(this.multiple?i.forEach((t=>this.removeSelectedItem(t))):this.updateSelectedItem(i[0],!0))}processValue(){if(""!==this.value&&!this.value)return void this.selectedItems.clear();const t=Array.isArray(this.value)?this.value:[this.value],i=this.processedItems.filter((i=>t.includes(i.value))).map((t=>t.id));if(i.length!==this.selectedItems.size||!i.every((t=>this.selectedItems.has(t))))if(this.multiple)this.selectedItems.clear(),this.input.clearChips(),i.forEach((t=>this.addSelectedItem(t)));else{const t=this.processedItems.find((t=>t.value===this.value));this.updateSelectedItem(t.id)}}processListOpenChange(){this.openListOnClick&&(this.input.icon=this.listOpen?"action-arrow-up":"action-arrow-down"),this.input.accessibleExpanded=this.listOpen?"true":"false"}componentWillLoad(){o(this)}connectedCallback(){this.items&&this.processItems();const t=g(this.element);t.length?this.input=t[0]:(this.input=document.createElement("duet-input"),this.input.label=this.label,this.input.caption=this.caption,this.input.expand=!0,this.element.prepend(this.input)),this.input.chips=this.multiple,this.input.addEventListener("duetChange",this.onInputChange),this.input.addEventListener("duetInput",this.onInputTyping),this.input.addEventListener("click",this.onInputClick),this.input.role="combobox",this.input.accessibleExpanded=this.listOpen?"true":"false",this.input.accessibleAutocomplete="list",this.input.accessibleControls=this.listBoxId,this.input.id=this.inputId,this.element.addEventListener("keydown",this.onKeyDown),v(this,{prop:"accessibleLabels",defaults:"accessibleLabelDefaults"}),this.processListOpenChange()}disconnectedCallback(){this.input.removeEventListener("duetChange",this.onInputChange),this.input.removeEventListener("click",this.onInputClick),this.element.removeEventListener("keydown",this.onKeyDown),this.resizeObserver.disconnect(),b(this)}componentDidLoad(){this.resizeObserver.observe(this.input),this.processValue()}shouldListBeFiltered(){var t;if(!this.multiple&&this.selectedItems.size&&this.input.value===this.inputValue&&(null===(t=this.inputValue)||void 0===t?void 0:t.length)<this.minCharacters){const t=this.processedItems.find((t=>this.selectedItems.has(t.id)));return!(this.formatter(t).toLowerCase()===this.input.value.toLowerCase())}return!0}returnFilteredOrNonFiltered(){return this.processedItems?this.shouldListBeFiltered()?this.getFilteredItems():this.sortFilteredItems(this.processedItems):[]}emitChangeEvent(t){const i=this.processedItems.find((i=>i.id===t));this.duetChange.emit({item:i,value:this.value,component:"duet-combobox"})}updateMultipleValue(){this.value=this.processedItems.filter((t=>this.selectedItems.has(t.id))).map((t=>t.value)),this.input.value="",this.updateChips(),this.input.setFocus()}addSelectedItem(t,i){this.selectedItems.has(t)||(this.selectedItems.add(t),this.updateMultipleValue(),i&&this.emitChangeEvent(t))}removeSelectedItem(t,i){this.selectedItems.has(t)&&(this.selectedItems.delete(t),this.updateMultipleValue(),i&&this.emitChangeEvent(t))}async updateSelectedItem(t,i){this.selectedItems.clear(),this.selectedItems.add(t),this.value=this.processedItems.find((i=>i.id===t)).value,i&&this.emitChangeEvent(this.value&&t),await this.updateInputText()}async updateChips(){const t=Array.from(this.selectedItems),i=await this.input.getChips();t.forEach((async t=>{const i=this.processedItems.find((i=>i.id===t)),s=await this.formatItem(i);if(!await this.input.hasChip({value:`${t}`,text:s})){const i=document.createElement("duet-chip");i.variation="input",i.role="option",i.value=`${t}`,i.textContent=s,i.addEventListener("duetRemove",(t=>{this.removeSelectedItem(t.detail.value,!0)})),this.input.addChip(i)}})),i.forEach((i=>{t.includes(i.value)||i.remove()}))}async getSelectedItemLabel(){const t=this.processedItems.find((t=>this.selectedItems.has(t.id)));return t?await this.formatItem(t):""}async updateInputText(t=!1){if(t&&this.multiple)this.input.value="";else{if(t&&this.force){const t=this.returnFilteredOrNonFiltered();!this.multiple&&this.listOpen&&1===t.length&&t[0].name.toLowerCase()===this.input.value.toLowerCase()&&this.updateSelectedItem(t[0].id,!0),this.input.value=0===this.selectedItems.size?"":await this.getSelectedItemLabel()}!t&&this.selectedItems.size>0&&(this.input.value="",this.input.value=await this.getSelectedItemLabel(),this.input.scrollLeft=this.input.scrollWidth,await this.input.setFocus())}}onListClick(t,i){return t.preventDefault(),t.stopPropagation(),this.multiple?this.addSelectedItem(i.id,!0):this.updateSelectedItem(i.id,!0),this.activeItem=void 0,this.listOpen=!1,this.listOpen}scrollToActive(){const t=document.getElementById(`${this.activeDescendantId}`);t&&t.scrollIntoView({behavior:"smooth",block:"center"})}formatLabel(t,i,s,e){return t&&void 0!==e?(s===e?this.accessibleLabels.item:this.accessibleLabels.itemFiltered).replace("{name}",String(t.name)).replace("{current}",String(i+1)).replace("{total}",String(s)).replace("{hiddenItems}",String(e-s)):""}getFilteredItems(){const t=this.processedItems.filter((t=>{var i,s,e,h,o;return(null===(i=String(t.value))||void 0===i?void 0:i.toLowerCase()[this.filterType](null===(s=this.inputValue)||void 0===s?void 0:s.toLowerCase()))||(null===(e=String(t.name))||void 0===e?void 0:e.toLowerCase()[this.filterType](null===(h=this.inputValue)||void 0===h?void 0:h.toLowerCase()))||this.formatter(t).toLowerCase()[this.filterType](null===(o=this.inputValue)||void 0===o?void 0:o.toLowerCase())||this.selectedItems.has(t.id)})).filter((t=>{let i=!0;return this.multiple&&this.selectedItems.has(t.id)&&(i=!1),i}));return this.sortFilteredItems(t)}sortFilteredItems(t){return t.length>0&&t.filter((t=>this.selectedItems.has(t.id))).forEach((i=>{const s=t.indexOf(i);t.splice(s,1),t.unshift(i)})),t}render(){const i=this.returnFilteredOrNonFiltered();return t(e,{class:{"duet-combobox":!0,[`duet-theme-${this.theme}`]:!0}},t("slot",null),t("div",null,t("duet-popup-menu",{id:this.listBoxId,controller:this.input,ref:t=>this.listContainer=t,accessibleRole:"listbox",allowVerticalFlip:!1},t("div",{class:"combobox-menu-container"},this.listOpen&&i.map(((s,e)=>t(y,{id:this.activeDescendantId,item:s,activeDescendant:e===this.activeItem,selected:this.selectedItems.has(s.id),search:this.inputValue,clickHandler:t=>this.onListClick(t,s),label:this.formatLabel(s,e,i.length,this.processedItems.length),isAndroidDevice:this.isAndroidDevice}))),t("duet-spacer",{size:"x-small"})))))}get element(){return h(this)}static get watchers(){return{listOpen:["popupMenuOpenHandler","processListOpenChange"],activeItem:["activeItemHandler"],inputValue:["inputValueHandler"],items:["processItems"],value:["processValue"]}}};S.style='.sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;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";color:rgb(8, 42, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(8, 42, 77);transition:none}.duet-theme-turva.sc-duet-combobox-h{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.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.combobox-menu-container.sc-duet-combobox{width:var(--popup-width);max-height:200px}';export{S as duet_combobox}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import"./p-ecb2aca6.js";const o=()=>{globalThis.ds={log:()=>{},warn:()=>{},info:()=>{}}};export{o as g}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,s,a,l){function i(e){return e instanceof a?e:new a((function(s){s(e)}))}return new(a||(a=Promise))((function(a,c){function t(e){try{o(l.next(e))}catch(e){c(e)}}function n(e){try{o(l["throw"](e))}catch(e){c(e)}}function o(e){e.done?a(e.value):i(e.value).then(t,n)}o((l=l.apply(e,s||[])).next())}))};var __generator=this&&this.__generator||function(e,s){var a={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},l,i,c,t;return t={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(t[Symbol.iterator]=function(){return this}),t;function n(e){return function(s){return o([e,s])}}function o(n){if(l)throw new TypeError("Generator is already executing.");while(t&&(t=0,n[0]&&(a=0)),a)try{if(l=1,i&&(c=n[0]&2?i["return"]:n[0]?i["throw"]||((c=i["return"])&&c.call(i),0):i.next)&&!(c=c.call(i,n[1])).done)return c;if(i=0,c)n=[n[0]&2,c.value];switch(n[0]){case 0:case 1:c=n;break;case 4:a.label++;return{value:n[1],done:false};case 5:a.label++;i=n[1];n=[0];continue;case 7:n=a.ops.pop();a.trys.pop();continue;default:if(!(c=a.trys,c=c.length>0&&c[c.length-1])&&(n[0]===6||n[0]===2)){a=0;continue}if(n[0]===3&&(!c||n[1]>c[0]&&n[1]<c[3])){a.label=n[1];break}if(n[0]===6&&a.label<c[1]){a.label=c[1];c=n;break}if(c&&a.label<c[2]){a.label=c[2];a.ops.push(n);break}if(c[2])a.ops.pop();a.trys.pop();continue}n=s.call(e,a)}catch(e){n=[6,e];i=0}finally{l=c=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-14fe190e.system.js","./p-3af95762.system.js"],(function(e,s){"use strict";var a,l,i,c,t;return{setters:[function(s){a=s.p;l=s.d;i=s.N;c=s.b;e("setNonce",s.s)},function(e){t=e.g}],execute:function(){var e=this;var n=function(){var e=Array.from(l.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(i,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===i}));var c=s.meta.url;var t=(e||{})["data-opts"]||{};if(c!==""){t.resourcesUrl=new URL(".",c).href}return a(t)};n().then((function(s){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,t()];case 1:e.sent();return[2,c(JSON.parse('[["p-d0edb7b9.system",[[1,"duet-icon",{"theme":[1025],"icon":[513],"src":[1],"name":[1],"margin":[1],"responsive":[4],"color":[513],"background":[1],"backgroundOpacity":[2,"background-opacity"],"backgroundRotation":[2,"background-rotation"],"size":[513],"outline":[1],"shape":[1],"svgContent":[32]},null,{"src":["loadIcon"],"icon":["loadIcon"],"name":["loadIcon"]}]]],["p-ddd70eeb.system",[[1,"duet-pagination",{"theme":[1025],"disabled":[516],"variation":[1],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabelsDefaults":[16],"accessibleLabels":[1040],"take":[2],"visibleItems":[2,"visible-items"],"total":[2],"compactBreakpoint":[1,"compact-breakpoint"],"ariaControls":[1,"accessible-controls"],"current":[1026],"pageLinks":[1025,"page-links"],"processedPageLinks":[32],"numbersStore":[32],"matchesCompactBreakpoint":[32],"totalPages":[32],"internalSectionIndex":[32]},null,{"total":["watchPropTotalHandler"],"current":["watchStateHandler"],"pageLinks":["refresh"]}],[1,"duet-range-stepper",{"theme":[1025],"disabled":[516],"stepIndex":[1026,"step-index"],"stepSize":[2,"step-size"],"total":[2],"ariaLabelsDefaults":[16],"ariaLabels":[1040],"ariaControls":[1,"accessible-controls"],"buttonLeftDisabled":[32],"buttonRightDisabled":[32]},null,{"stepIndex":["watchStepIndexStateHandler"],"stepSize":["watchStepSizeStateHandler"]}]]],["p-c613e449.system",[[1,"duet-phone-input",{"theme":[1025],"margin":[1],"expand":[4],"identifier":[1],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleDescribedBy":[1,"accessible-described-by"],"disabled":[516],"required":[4],"countries":[6145],"labelDefaults":[1,"label-default"],"label":[1025],"labelHidden":[4,"label-hidden"],"caption":[1],"name":[1],"error":[1],"tooltip":[1],"value":[6145],"listFirst":[1,"list-first"],"language":[32],"currentCountry":[32],"setFocus":[64]}]]],["p-ed82b53d.system",[[6,"duet-combobox",{"accessibleLabelDefaults":[1,"accessible-label-defaults"],"accessibleLabels":[1040],"label":[1],"caption":[1],"theme":[1025],"force":[4],"multiple":[4],"items":[1032],"formatter":[16],"value":[1025],"minCharacters":[2,"min-characters"],"openListOnClick":[4,"open-list-on-click"],"filterType":[1,"filter-type"],"processedItems":[32],"inputValue":[32],"listOpen":[32],"selectedItems":[32],"activeItem":[32],"formatItem":[64]},[[4,"click","handleDocumentClick"]],{"listOpen":["popupMenuOpenHandler","processListOpenChange"],"activeItem":["activeItemHandler"],"inputValue":["inputValueHandler"],"items":["processItems"],"value":["processValue"]}]]],["p-827c2a0d.system",[[6,"duet-date-picker",{"theme":[1025],"expand":[4],"name":[1],"identifier":[1],"label":[1],"caption":[1],"margin":[1],"language":[1537],"placeholderDefaults":[1,"placeholder-default"],"placeholder":[1025],"echoPlaceholder":[1540,"echo-placeholder"],"disabled":[516],"error":[1],"labelHidden":[4,"label-hidden"],"role":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"required":[4],"direction":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"value":[1537],"min":[1],"max":[1],"incrementYears":[2,"increment"],"validity":[2064],"accessibleLiveError":[1,"accessible-live-error"],"open":[32],"focusedDay":[32],"inputValue":[32],"inputHasFocus":[32],"internalValidityError":[32],"setFocus":[64],"show":[64],"hide":[64]},[[4,"click","handleDocumentClick"]],{"min":["updateValidity"],"max":["updateValidity"],"value":["updateValidity","updateInternalValue"],"required":["updateValidity"]}]]],["p-d3b2d5de.system",[[6,"duet-choice-group",{"direction":[1],"margin":[1],"theme":[1025],"error":[1],"name":[1],"label":[1],"labelHidden":[4,"label-hidden"],"caption":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"responsive":[4],"breakpoint":[1],"value":[1537],"disabled":[4],"required":[4],"accessibleLiveError":[1,"accessible-live-error"],"getInitialValue":[64]},null,{"value":["setInitialValue","updateChoices"],"disabled":["updateChoices"],"name":["updateChoices"],"direction":["updateChoices"],"responsive":["updateChoices"]}],[6,"duet-choice",{"theme":[1025],"label":[1],"accessibleLabelInfoButtonDefaults":[1,"accessible-label-info-default"],"accessibleLabelInfoButton":[1025,"accessible-label-info-button"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"caption":[1],"value":[1537],"type":[513],"name":[1],"checked":[1540],"collapsible":[4],"collapsibleForceExpanded":[4,"collapsible-force-expanded"],"margin":[1],"icon":[1],"expand":[4],"padding":[1],"identifier":[1],"groupDirection":[1,"group-direction"],"groupDisabled":[4,"group-disabled"],"groupResponsive":[4,"group-responsive"],"disabled":[516],"required":[4],"infoLabelDefaults":[1,"accessible-label-info-default"],"infoLabel":[1025,"info-label"],"collapsibleNotificationDefaults":[1,"accessible-collapsible-notification-default"],"collapsibleNotification":[1025,"collapsible-notification"],"isHovering":[32],"isInfoOpen":[32],"setFocus":[64],"toggleInfoMethod":[64]}]]],["p-eab15c94.system",[[6,"duet-number-input",{"language":[1025],"locale":[1],"unit":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleLiveDefaults":[1,"accessible-live-default"],"accessibleLive":[1025,"accessible-live"],"accessibleLiveEnabled":[4,"accessible-live-enabled"],"accessibleAddDefaults":[1,"accessible-add-default"],"accessibleAdd":[1025,"accessible-add"],"accessibleSubtractDefaults":[1,"accessible-subtract-defaults"],"accessibleSubtract":[1025,"accessible-subtract"],"theme":[1025],"margin":[1],"expand":[4],"identifier":[1],"min":[2],"labelDefaults":[1,"label-default"],"label":[1025],"labelHidden":[4,"label-hidden"],"max":[2],"name":[1],"error":[1],"tooltip":[1],"step":[2],"rounding":[4],"role":[1],"disabled":[516],"required":[4],"value":[1025],"focusedValue":[32],"setFocus":[64],"getValueAsNumber":[64]}]]],["p-cb5d825f.system",[[6,"duet-textarea",{"margin":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleAutocomplete":[1,"accessible-autocomplete"],"accessibleControls":[1,"accessible-controls"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLiveError":[1,"accessible-live-error"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"theme":[1025],"expand":[4],"disabled":[516],"identifier":[1],"required":[4],"label":[1],"labelColor":[1025,"label-color"],"labelWeight":[1025,"label-weight"],"labelHidden":[4,"label-hidden"],"name":[1],"placeholder":[1],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"maxlength":[2],"minlength":[2],"error":[1],"role":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"value":[1025],"disallowPattern":[1,"disallow-pattern"],"counter":[4],"counterLabel":[1,"counter-label"],"setFocus":[64]},null,{"disallowPattern":["disallowedPatternChange"]}]]],["p-fd7ff8da.system",[[1,"duet-hero",{"theme":[1025],"heading":[1],"preHeading":[1,"pre-heading"],"level":[1],"subHeadingLevel":[1,"sub-heading-level"],"description":[1],"icon":[1],"iconSize":[1,"icon-size"],"iconRight":[4,"icon-right"],"categoryIcon":[1,"category-icon"],"categoryIconColor":[1,"category-icon-color"],"buttonLabel":[1,"button-label"],"language":[1025],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"buttonUrl":[1,"button-url"],"buttonId":[1,"button-id"],"buttonData":[16],"textCenter":[4,"text-center"],"leftAlign":[4,"left-align"],"image":[1],"imageSize":[1,"image-size"],"imagePosition":[1,"image-position"],"variation":[1],"back":[8],"listItems":[8,"list-items"],"actions":[8],"layout":[1025],"processedListItems":[32],"processedActions":[32],"processedBack":[32]},null,{"back":["refresh"],"listItems":["refresh"],"actions":["refresh"]}]]],["p-7c74b0a5.system",[[1,"duet-multiselect",{"margin":[1],"error":[1],"accessibleLiveError":[1,"accessible-live-error"],"expand":[4],"value":[1040],"theme":[1025],"labelHidden":[4,"label-hidden"],"identifier":[1],"allControls":[4,"all-controls"],"placeholder":[1],"caption":[1],"items":[1],"disabled":[516],"label":[1],"labelColor":[1025,"label-color"],"labelWeight":[1025,"label-weight"],"accessibleDescribedBy":[1,"accessible-described-by"],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"processedItems":[32],"processedGroups":[32],"checkboxesVisible":[32],"activeDescendant":[32],"language":[32],"setFocus":[64],"selectWithValues":[64]},[[8,"click","handleFocus"]],{"items":["refresh"]}]]],["p-0fdf67d6.system",[[6,"duet-radio-group",{"direction":[1],"margin":[1],"theme":[1025],"error":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"name":[1],"label":[1],"labelHidden":[4,"label-hidden"],"caption":[1],"responsive":[4],"value":[1537],"disabled":[4],"required":[4],"accessibleLiveError":[1,"accessible-live-error"]},null,{"name":["updateRadios"],"value":["updateRadios"],"disabled":["updateRadios"],"direction":["updateRadios"],"responsive":["updateRadios"]}],[6,"duet-radio",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleIndex":[1,"accessible-index"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"theme":[1025],"disabled":[516],"required":[4],"blockEvents":[4,"block-events"],"identifier":[1],"label":[1],"name":[1],"role":[1],"groupDisabled":[4,"group-disabled"],"groupDirection":[1,"group-direction"],"groupResponsive":[4,"group-responsive"],"checked":[1540],"value":[1537],"setFocus":[64]}]]],["p-4994dbf2.system",[[1,"duet-contact-card",{"theme":[1025],"margin":[1],"image":[1025],"name":[1025],"description":[1025],"email":[1025],"phone":[1025],"buttonText":[1025,"button-text"],"buttonIcon":[1025,"button-icon"],"buttonUrl":[1025,"button-url"],"language":[32]}]]],["p-bf039477.system",[[1,"duet-modal",{"language":[1537],"accessibleCloseLabel":[1025,"accessible-close-label"],"accessibleLoaderAnnouncement":[1025,"accessible-loader-announcement"],"size":[1],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleLabel":[1,"accessible-label"],"accessibleDetails":[1,"accessible-details"],"accessibleDescription":[1,"accessible-description"],"variation":[1],"gutterSize":[1,"gutter-size"],"theme":[1025],"heading":[1],"headingLevel":[1,"heading-level"],"headingVisualLevel":[1,"heading-visual-level"],"icon":[1],"color":[1],"active":[1540],"closeOnBlur":[1028,"close-on-blur"],"open":[32],"show":[64],"hide":[64],"scrollToTop":[64],"addMessage":[64]},[[8,"keyup","handleKeyUp"]],{"open":["openChanged"],"active":["activeChanged"]}]]],["p-f3c5e966.system",[[1,"duet-footer",{"theme":[1025],"variation":[1],"margin":[1],"logoHref":[1,"logo-href"],"language":[1537],"items":[8],"accessibleLabel":[1,"accessible-label"],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"menu":[8],"processedMainItem":[32],"processedItems":[32],"processedMenu":[32]},null,{"menu":["refresh"],"items":["refresh"]}]]],["p-519297ed.system",[[1,"duet-cookie-consent",{"accessibleLabel":[1,"accessible-label"],"theme":[1025]},[[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]]]]],["p-d046f3f0.system",[[1,"duet-notification-drawer",{"icon":[1],"label":[1],"language":[1],"accessibleLabelNotificationsDefaults":[1,"accessible-label-notification-default"],"accessibleLabelNotifications":[1,"accessible-label-notifications"],"badge":[4],"theme":[1025],"direction":[1],"isOpen":[32],"hasNotifications":[32],"setFocus":[64],"open":[64],"close":[64]},[[6,"focus","handleClickFocusOutside"],[6,"click","handleClickFocusOutside"]]],[1,"duet-notification",{"language":[1537],"accessibleLabelUnreadDefaults":[16],"accessibleLabelUnread":[1025,"accessible-label-unread"],"url":[1],"date":[1],"highlight":[4],"external":[4],"theme":[1025],"setFocus":[64]}]]],["p-948b038a.system",[[1,"duet-step",{"theme":[1025],"heading":[1],"headingLevel":[1,"heading-level"],"stepIndex":[2,"step-index"],"state":[1],"roundedTop":[4,"rounded-top"],"roundedBottom":[4,"rounded-bottom"],"setFocus":[64]}],[1,"duet-stepper",{"theme":[1025],"accessibleLive":[1,"accessible-live"],"margin":[1],"backDisabled":[4,"back-disabled"],"selected":[1538]},[[0,"duetStepClick","onDuetStepClick"]],{"selected":["currentStepChanged"],"backDisabled":["currentStepInvokedDisable"]}]]],["p-976918a1.system",[[1,"duet-banner",{"theme":[1025],"margin":[1],"backgroundColor":[1,"background-color"],"iconColor":[1,"icon-color"],"iconBackgroundColor":[1,"icon-background-color"],"textColor":[1,"text-color"],"size":[1025],"image":[1],"sources":[1],"icon":[1],"headingLevel":[1,"heading-level"],"currentSize":[32]}]]],["p-cf900c12.system",[[1,"duet-breadcrumb",{"theme":[1025],"href":[1025],"icon":[1025],"iconSize":[1,"icon-size"],"accessibleLabel":[1,"accessible-label"],"language":[32]}]]],["p-accd2829.system",[[1,"duet-card",{"accessibleLabel":[1,"accessible-label"],"heading":[1],"secondaryHeading":[1,"secondary-heading"],"variation":[1],"collapsible":[4],"open":[1540],"headingLevel":[1,"heading-level"],"headingBackground":[1,"heading-background"],"icon":[1],"image":[1],"background":[1],"padding":[1],"margin":[1],"theme":[1025],"url":[1],"shadowBreakpoint":[1,"shadow-breakpoint"],"setFocus":[64]}]]],["p-fb4f24c4.system",[[1,"duet-collapsible",{"theme":[1025],"negative":[4],"accessibleLabel":[1,"accessible-label"],"heading":[1],"caption":[1],"headingFullWidth":[4,"heading-full-width"],"centerHeading":[4,"center-heading"],"headingWeight":[1,"heading-weight"],"headingSize":[1,"heading-size"],"headingLevel":[1,"heading-level"],"margin":[1],"open":[1540],"setFocus":[64]}]]],["p-31f93fec.system",[[1,"duet-page-heading",{"theme":[1025],"icon":[1025],"layout":[1025],"progressCurrentStep":[2,"progress-current-step"],"progressTotalSteps":[2,"progress-total-steps"]}]]],["p-ee5c74bc.system",[[1,"duet-promo-card",{"theme":[1025],"margin":[1],"backgroundColor":[1,"background-color"],"textColor":[1,"text-color"],"image":[1],"headingLevel":[1,"heading-level"],"url":[1],"setFocus":[64]}]]],["p-42868a02.system",[[1,"duet-slideout",{"theme":[1025],"accessibleRole":[1,"accessible-role"],"open":[1540],"opener":[6145],"controller":[6145],"backgroundColor":[1537,"background-color"],"modal":[4],"language":[32],"displaying":[32],"openPanel":[32],"setFocus":[64],"toggle":[64],"show":[64],"hide":[64]},[[8,"keyup","handleKeyUp"],[4,"click","handleDocumentClick"]],{"open":["handleOpenChange"]}]]],["p-f248e320.system",[[1,"duet-submenu-bar",{"theme":[1025],"hideOnScroll":[4,"hide-on-scroll"],"open":[1540],"accessibleLabel":[1,"accessible-label"],"hidden":[32],"mobile":[32],"bodyScroll":[32],"setFocus":[64]},[[9,"scroll","checkScroll"]],{"open":["watchOpenStateHandler"]}]]],["p-d98c8e4e.system",[[1,"duet-tray",{"language":[1025],"accessibleCloseLabelDefaults":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1025,"accessible-close-label"],"accessibleOpenLabelDefaults":[1,"accessible-open-label-default"],"accessibleOpenLabel":[1025,"accessible-open-label"],"theme":[1025],"active":[516],"autoHide":[4,"auto-hide"],"responsive":[4],"expanded":[32],"hiddenState":[32]},[[9,"scroll","getFrame"],[16,"click","handleBodyClick"]]]]],["p-f91f1fc4.system",[[1,"duet-callout",{"theme":[1025],"margin":[1]}]]],["p-c936b330.system",[[1,"duet-file-chooser",{"theme":[1025],"multiple":[4],"accept":[1],"open":[64],"getFiles":[64]}]]],["p-d1464455.system",[[1,"duet-menu-bar",{"theme":[1025],"language":[1025],"logo":[1028],"logoHref":[1025,"logo-href"],"logoLinkAccessibleLabel":[1025,"logo-link-accessible-label"],"accessibleLabel":[1,"accessible-label"],"hideOnScroll":[4,"hide-on-scroll"],"hidden":[32],"onBottom":[32],"logoSize":[32],"leftMoreVisible":[32],"rightMoreVisible":[32],"centerSlotUsed":[32]},[[9,"scroll","checkScroll"],[9,"resize","onWindowResize"]]]]],["p-7ff034b0.system",[[1,"duet-menu-bar-button",{"accessibleLabel":[1,"accessible-label"],"accessibleControls":[1,"accessible-controls"],"accessiblePopup":[1,"accessible-popup"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleExpanded":[4,"accessible-expanded"],"accessiblePressed":[4,"accessible-pressed"],"theme":[1025],"icon":[1537],"setFocus":[64]}]]],["p-580978f0.system",[[1,"duet-menu-bar-dropdown",{"accessibleLabel":[1,"accessible-label"],"theme":[1025],"open":[1540],"icon":[1537],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-7b5c18ba.system",[[1,"duet-menu-bar-dropdown-link",{"theme":[1025],"href":[1025],"icon":[1537],"accessibleLabel":[1,"accessible-label"]}]]],["p-78b02eb3.system",[[1,"duet-menu-bar-item",{"theme":[1025],"active":[1028],"url":[1],"leadingIcon":[1,"leading-icon"],"trailingIcon":[1,"trailing-icon"],"accessibleLabel":[1,"accessible-label"],"accessibleExpanded":[1540,"accessible-expanded"],"accessiblePopup":[1537,"accessible-popup"],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"external":[4],"setFocus":[64]}]]],["p-c35a3eb6.system",[[1,"duet-menu-bar-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"accessibleLabel":[1,"accessible-label"]}]]],["p-5f56c425.system",[[2,"duet-range-slider",{"theme":[1025],"margin":[1],"expand":[4],"identifier":[1],"name":[1],"required":[4],"disabled":[516],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"min":[2],"label":[1],"labelColor":[1025,"label-color"],"labelWeight":[1025,"label-weight"],"labelHidden":[4,"label-hidden"],"unit":[1],"max":[2],"step":[2],"locale":[1],"value":[1026],"debounce":[2],"setFocus":[64]}]]],["p-b92193a6.system",[[1,"duet-slideout-lang",{"theme":[1025],"language":[32]}]]],["p-fc4861d9.system",[[1,"duet-slideout-link",{"accessibleLabel":[1,"accessible-label"],"theme":[1025],"targetLanguage":[1,"target-language"],"active":[1028],"href":[1025],"icon":[1537],"size":[1537],"caret":[1028],"menuItem":[4,"menu-item"],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"external":[4]}]]],["p-936b8007.system",[[1,"duet-slideout-panel",{"theme":[1025],"active":[1540],"open":[1540],"icon":[1537],"labelSize":[1537,"label-size"],"backgroundColor":[1537,"background-color"],"badge":[4],"label":[32],"language":[32],"bodyScrollLocked":[32],"setFocus":[64]},null,{"open":["handleOpenChange"]}]]],["p-32ef55ff.system",[[1,"duet-slideout-panel-dropdown",{"theme":[1025],"active":[1540],"open":[1540],"icon":[1537],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-420817c5.system",[[1,"duet-status-icon",{"variation":[1],"size":[513],"margin":[1],"strong":[4]}]]],["p-759dca5c.system",[[1,"duet-submenu-bar-dropdown",{"theme":[1025],"active":[1028],"open":[1540],"icon":[1537],"isDesktop":[32],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-6c6981db.system",[[1,"duet-submenu-bar-dropdown-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"caret":[1028],"highlight":[1028]}]]],["p-053ef6d1.system",[[1,"duet-submenu-bar-item",{"theme":[1025],"active":[1028],"url":[1],"leadingIcon":[1,"leading-icon"],"trailingIcon":[1,"trailing-icon"],"accessibleLabel":[1,"accessible-label"],"accessibleExpanded":[1540,"accessible-expanded"],"accessiblePopup":[1537,"accessible-popup"],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"external":[4],"setFocus":[64]}]]],["p-9db6f107.system",[[1,"duet-submenu-bar-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537]}]]],["p-6365f418.system",[[2,"duet-toggle",{"theme":[1025],"margin":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"label":[1],"labelColor":[1025,"label-color"],"labelWeight":[1025,"label-weight"],"labelPosition":[1,"label-position"],"required":[4],"disabled":[516],"checked":[1540],"value":[1537],"identifier":[1],"name":[1],"role":[1],"setFocus":[64]},null,{"checked":["checkedChanged"]}]]],["p-0dcc1a8b.system",[[1,"duet-toolbar-dropdown",{"theme":[1025],"variation":[1025],"accessibleLabel":[1,"accessible-label"],"active":[1540],"open":[1540],"icon":[1537],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-9192b71d.system",[[1,"duet-toolbar-dropdown-link",{"accessibleLabel":[1,"accessible-label"],"theme":[1025],"targetLanguage":[1,"target-language"],"href":[1025],"icon":[1537],"active":[1028]}]]],["p-9261386e.system",[[1,"duet-toolbar-item",{"theme":[1025],"variation":[1025],"active":[1028],"url":[1],"leadingIcon":[1,"leading-icon"],"trailingIcon":[1,"trailing-icon"],"accessibleLabel":[1,"accessible-label"],"accessibleExpanded":[1540,"accessible-expanded"],"accessiblePopup":[1537,"accessible-popup"],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"external":[4],"badge":[4],"setFocus":[64]}]]],["p-20b0dacc.system",[[1,"duet-toolbar-link",{"theme":[1025],"variation":[1025],"active":[1028],"href":[1025],"icon":[1537],"accessibleLabel":[1,"accessible-label"]}]]],["p-fb4c1c0a.system",[[1,"duet-breadcrumbs",{"theme":[1025],"variation":[1],"color":[1],"children":[32]}]]],["p-031f13b0.system",[[1,"duet-layout",{"sticky":[4],"margin":[1],"stickyDistance":[1,"sticky-distance"],"center":[4],"tabs":[4],"middle":[4],"paddingBreakpoint":[1,"padding-breakpoint"]}]]],["p-b2a64677.system",[[1,"duet-nav",{"theme":[1025],"sticky":[4]}]]],["p-05e3b483.system",[[1,"duet-section-layout",{"margin":[1],"middle":[4],"paddingBreakpoint":[1,"padding-breakpoint"]}]]],["p-955ccb5a.system",[[1,"duet-shaped-image",{"theme":[1025],"accessibleLabel":[1,"accessible-label"],"margin":[1],"src":[1],"rotation":[2]}]]],["p-280063be.system",[[1,"duet-toolbar",{"theme":[1025],"variation":[1025],"accessibleLabel":[1,"accessible-label"]}]]],["p-9b702bc1.system",[[0,"duet-upload-item",{"theme":[1025],"data":[16],"type":[1],"showLinks":[4,"show-links"],"actions":[8],"buttonTitles":[16],"label":[16],"categoryLabel":[16],"errorCodes":[16],"showCategory":[4,"show-category"],"linkClickEvent":[16],"focusActionButton":[64]}]]],["p-6a689584.system",[[6,"duet-select",{"variation":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDescribedBy":[1,"accessible-described-by"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"error":[1],"accessibleLiveError":[1,"accessible-live-error"],"expand":[4],"value":[1537],"theme":[1025],"labelHidden":[4,"label-hidden"],"identifier":[1],"name":[1],"placeholder":[1],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"items":[1],"disabled":[516],"required":[4],"label":[1],"labelColor":[1025,"label-color"],"labelWeight":[1025,"label-weight"],"role":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"processedItems":[32],"setFocus":[64]},null,{"value":["valueChanged"],"items":["refresh"]}]]],["p-2f8ffc2b.system",[[1,"duet-alert",{"theme":[1025],"accessibleLabelDefaults":[1,"accessible-label-default"],"accessibleLabel":[1025,"accessible-label"],"announcements":[4],"icon":[1],"autoDismiss":[2,"auto-dismiss"],"margin":[1],"padding":[1],"variation":[1],"position":[1],"dismissible":[4],"focusable":[4],"isDismissed":[32],"timeoutID":[32],"show":[64],"hide":[64],"setFocus":[64]}]]],["p-226aa2e9.system",[[1,"duet-chip",{"accessibleLabel":[1,"accessible-label"],"variation":[1],"size":[1],"popup":[1],"icon":[1],"theme":[1025],"identifier":[1],"value":[1537],"name":[1],"selected":[1028],"checked":[1540],"disabled":[4],"accessibleExpanded":[1540,"accessible-expanded"],"accessiblePopup":[1537,"accessible-popup"],"focus":[32],"popupElement":[32],"popupOpen":[32],"inputChipHover":[32],"inputChipDeleteFocus":[32],"setFocus":[64],"setDeleteFocus":[64],"removeChip":[64]},null,{"checked":["clearOtherRadioButtons"]}]]],["p-de32ceff.system",[[1,"duet-upload-aria-status",{"statusMessageLabel":[16],"accessibleAriaLive":[1,"accessible-aria-live"],"valid":[2],"total":[2],"invalid":[2],"inprogress":[2],"statusMessage":[32]},null,{"valid":["watchHandler"],"invalid":["watchHandler"],"inprogress":["watchHandler"],"total":["watchHandler"]}]]],["p-fda88cec.system",[[2,"duet-checkbox",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleIndex":[1,"accessible-index"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleSelected":[1,"accessible-selected"],"accessibleLiveError":[1,"accessible-live-error"],"required":[4],"error":[1],"theme":[1025],"disabled":[516],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"role":[1],"checked":[1540],"value":[1537],"setFocus":[64]}]]],["p-b994aa71.system",[[0,"duet-checkmark",{"theme":[1025],"checked":[1028],"presentationOnly":[4,"presentation-only"],"center":[4],"type":[513]}]]],["p-81e906ff.system",[[1,"duet-show-more",{"theme":[1025],"language":[1537],"showMoreLabelDefaults":[16],"showMoreLabel":[1537,"show-more-label"],"showLessLabelDefaults":[16],"showLessLabel":[1537,"show-less-label"],"showMoreAccessibleLabelDefaults":[16],"showMoreAccessibleLabel":[1537,"show-more-accessible-label"],"showLessAccessibleLabelDefaults":[16],"showLessAccessibleLabel":[1537,"show-less-accessible-label"],"margin":[1],"buttonMargin":[1,"button-margin"],"buttonPadding":[1,"button-padding"],"open":[1540],"buttonAriaOpen":[32]}]]],["p-ea29ebbb.system",[[1,"duet-empty-state",{"theme":[1025],"icon":[1],"size":[1]}]]],["p-8b353b35.system",[[1,"duet-list",{"theme":[1025],"margin":[1],"padding":[1],"mobile":[1],"breakpoint":[1],"variation":[1],"labelWidth":[1,"label-width"],"responsive":[4]},null,{"theme":["updateListItems"],"padding":["updateListItems"],"mobile":["updateListItems"],"responsive":["updateListItems"],"breakpoint":["updateListItems"],"variation":["updateListItems"],"labelWidth":["updateListItems"]}],[1,"duet-list-item",{"responsive":[4],"breakpoint":[1]}]]],["p-94179cd5.system",[[1,"duet-fieldset",{"theme":[1025],"margin":[1],"caption":[1],"label":[1],"compactLabel":[4,"compact-label"],"error":[1],"accessibleLiveError":[1,"accessible-live-error"],"labelHeadingLevel":[1,"label-heading-level"],"labelHidden":[4,"label-hidden"],"hasTooltip":[32]}]]],["p-419bca5b.system",[[1,"duet-grid-item",{"fill":[4],"maxWidth":[1,"max-width"],"minWidth":[1,"min-width"],"theme":[1025],"margin":[1],"responsive":[4],"direction":[1],"breakpoint":[1],"rowReverse":[4,"row-reverse"]}],[1,"duet-grid",{"responsive":[4],"breakpoint":[1],"direction":[1],"rowReverse":[4,"row-reverse"],"alignment":[1],"distribution":[1],"mobile":[1],"gridTemplate":[1,"grid-template"],"distributeFormElement":[32]},null,{"responsive":["updateGridItems"],"breakpoint":["updateGridItems"],"direction":["updateGridItems"]}]]],["p-8c2bc346.system",[[1,"duet-divider",{"theme":[1025],"margin":[1],"color":[1]}],[1,"duet-spacer",{"size":[1],"direction":[1],"breakpoint":[1]}]]],["p-8594d015.system",[[1,"duet-visually-hidden"]]],["p-1b269e8b.system",[[1,"duet-tab-group",{"theme":[1025],"scrolls":[4],"collapses":[4],"accessibleLabel":[1,"accessible-label"],"variation":[1],"language":[1025],"labelDefaults":[1,"label-default"],"label":[1],"labelHidden":[4,"label-hidden"],"identifier":[1],"margin":[1],"padding":[1],"setTabIndex":[4,"set-tab-index"],"tabChangeConfirm":[4,"tab-change-confirm"],"switchLargeBreakpoint":[1,"switch-large-breakpoint"],"tabs":[32],"selected":[32],"openTab":[64],"refresh":[64]}],[6,"duet-tab",{"theme":[1025],"label":[513],"caption":[513],"selected":[516],"notificationMark":[513,"notification-mark"],"accessibleDescriptionDefault":[1,"accessible-description-defaults"],"accessibleDescription":[1025,"accessible-description"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"contentId":[1,"content-id"],"setFocus":[64]},null,{"selected":["setupSelected"]}],[1,"duet-scrollable",{"theme":[1025],"identifier":[1],"collapsed":[1540],"buttons":[4],"buttonAlignment":[1,"button-alignment"],"buttonPosition":[1,"button-position"],"center":[516],"padding":[1],"gap":[1],"selected":[1026],"scrollPaneAtStart":[32],"needsScrolling":[32],"scrollPaneAtEnd":[32],"childrenData":[32]},null,{"selected":["watchPropHandler"]}]]],["p-b4151081.system",[[0,"duet-progress",{"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabel":[1,"accessible-label"],"accessibleLabelUploadDefaults":[1,"accessible-label-upload-defaults"],"accessibleLabelUpload":[1025,"accessible-label-upload"],"progress":[1538],"caption":[1],"height":[1],"theme":[1025]}]]],["p-57d70be4.system",[[1,"duet-header",{"theme":[1025],"language":[1025],"accessibleI18nLabelsDefaults":[1,"accessible-labels-default"],"accessibleI18nLabels":[1040],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"accessibleLabelDefaults":[1,"accessible-label-default"],"accessibleLabel":[1025,"accessible-label"],"user":[8],"logoHref":[1,"logo-href"],"currentHref":[1025,"current-href"],"skipToId":[1,"skip-to-id"],"items":[8],"region":[1],"session":[8],"search":[8],"back":[8],"contact":[1],"contactItems":[8,"contact-items"],"languageItems":[8,"language-items"],"isContactOpen":[32],"isLanguageOpen":[32],"isSessionOpen":[32],"isSlideOutOpen":[32],"isSegmentOpen":[32],"openMenu":[32],"closedActives":[32],"processedItems":[32],"processedLanguageItems":[32],"processedContactItems":[32],"processedSession":[32],"processedSearch":[32],"processedUser":[32],"processedBack":[32],"renderDesktopNav":[32],"closeMenus":[64],"setFocus":[64]},[[8,"keyup","handleKeyUp"],[8,"keydown","handleKeyDown"],[4,"focus","handleDocumentClick"],[4,"click","handleDocumentClick"]],{"user":["refresh"],"items":["refresh"],"session":["refresh"],"back":["refresh"],"contactItems":["refresh"],"languageItems":["refresh"]}],[1,"duet-logo",{"theme":[1025],"margin":[1],"inverse":[4],"size":[1],"href":[1537],"accessibleLabelDefaults":[1040],"accessibleLabel":[1537,"accessible-label"],"language":[1537],"setFocus":[64]}]]],["p-b1487aa4.system",[[1,"duet-badge",{"theme":[1025],"variation":[1],"background":[1],"margin":[1]}]]],["p-67ea455b.system",[[1,"duet-action-button",{"theme":[1025],"iconName":[1,"icon-name"],"iconColor":[1,"icon-color"],"iconSize":[1,"icon-size"],"actionName":[1,"action-name"],"actionId":[1,"action-id"],"actionMeta":[1,"action-meta"],"disabled":[4],"color":[513],"background":[1],"accessibleTitle":[8,"title"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabelsDefaults":[16],"accessibleLabel":[1025,"accessible-label"],"accessibleControls":[1,"accessible-controls"],"url":[513],"numbersStore":[32],"setFocus":[64]}]]],["p-8beb97fe.system",[[1,"duet-tooltip-popup",{"theme":[1025],"active":[4],"tooltipId":[1,"tooltip-id"],"arrowStyles":[16],"placement":[1],"accessibleCloseLabel":[1,"accessible-close-label"],"getArrowElement":[64],"getContentElement":[64],"setFocusOnContentElement":[64]}],[1,"duet-tooltip-button",{"label":[1],"accessibleLabel":[1,"accessible-label"],"theme":[1025],"negative":[4],"active":[4],"tooltipId":[1,"tooltip-id"],"setFocus":[64]}]]],["p-38487de7.system",[[6,"duet-tooltip",{"theme":[1025],"language":[1025],"accessibleLabelDefault":[1,"accessible-label-default"],"accessibleLabel":[1025,"accessible-label"],"accessibleAboutLabel":[1,"accessible-about-label"],"accessibleInputLabel":[1,"accessible-input-label"],"accessibleCloseLabelDefault":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1025,"accessible-close-label"],"label":[1],"breakpoint":[1],"direction":[1],"positionVertical":[513,"position-vertical"],"positionHorizontal":[513,"position-horizontal"],"active":[1540],"negative":[4],"placement":[32],"tooltipY":[32],"tooltipX":[32],"arrowX":[32],"arrowY":[32],"buttonActive":[32]},[[4,"click","handleDocumentClick"],[4,"keydown","handleKeyDown"],[4,"tooltipPopupClosed","handlePopupClose"]],{"active":["handleActiveChange"]}]]],["p-c1380dcb.system",[[17,"duet-link",{"variation":[1],"accessibleLabel":[1,"accessible-label"],"language":[1537],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"accessibleLabelDownloadDefaults":[1,"accessible-label-download-default"],"accessibleLabelDownload":[1025,"accessible-label-download"],"accessibleExpanded":[1540,"accessible-expanded"],"accessiblePopup":[1537,"accessible-popup"],"identifier":[1],"theme":[1025],"url":[1537],"external":[4],"download":[1],"tabToLink":[4,"tab-to-link"],"icon":[1],"iconColor":[1,"icon-color"],"iconBackground":[1,"icon-background"],"iconResponsive":[4,"icon-responsive"],"margin":[1],"padding":[1],"isMediumScreen":[32],"setFocus":[64]}],[1,"duet-paragraph",{"theme":[1025],"margin":[1],"size":[1],"weight":[1],"variation":[1],"color":[1]}],[1,"duet-heading",{"level":[513],"margin":[1],"visualLevel":[1,"visual-level"],"border":[8],"weight":[1],"color":[1],"theme":[1025],"hyphenate":[4],"fixedSize":[4,"fixed-size"],"accessibleLabel":[1,"accessible-label"]}],[1,"duet-caption",{"theme":[1025],"margin":[1],"selected":[4],"size":[1]}]]],["p-f6c800dd.system",[[1,"duet-button",{"accessibleLabel":[1,"accessible-label"],"accessibleControls":[1,"accessible-controls"],"accessiblePopup":[1,"accessible-popup"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleExpanded":[4,"accessible-expanded"],"accessiblePressed":[4,"accessible-pressed"],"loading":[4],"variation":[1],"negative":[4],"theme":[1025],"margin":[1],"form":[1],"padding":[1],"centerText":[4,"center-text"],"wrapping":[1],"expand":[4],"fixed":[4],"disabled":[516],"name":[1],"value":[1],"identifier":[1],"submit":[516],"external":[4],"language":[1537],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"accessibleLabelLoadingDefaults":[1,"accessible-label-loading-default"],"accessibleLabelLoading":[1025,"accessible-label-loading"],"icon":[1],"color":[1],"iconRight":[4,"icon-right"],"iconSize":[1,"icon-size"],"size":[1],"iconOnly":[4,"icon-only"],"url":[513],"setFocus":[64]}],[1,"duet-spinner",{"accessibleLabel":[1,"accessible-label"],"color":[1],"size":[1],"theme":[1025]}]]],["p-bd5bc40f.system",[[1,"duet-upload",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"external":[4],"middleware":[16],"deferUpload":[4,"defer-upload"],"hideButton":[4,"hide-upload-button"],"actions":[16],"uri":[1],"showLinks":[4,"show-links"],"caption":[1],"statusLabelDefaults":[1,"status-label-default"],"statusMessageLabel":[1,"status-message-label"],"buttonLabelDefaults":[1,"button-label-default"],"buttonLabel":[1,"button-label"],"accessibleButtonLabel":[1,"accessible-button-label"],"theme":[1025],"disabled":[516],"identifier":[1],"margin":[1],"required":[4],"alignment":[1],"hideGroups":[4,"hide-table-labels"],"files":[1040],"valid":[1540],"labelDefaults":[1,"label-default"],"label":[1],"descriptionDefaults":[1,"description-default"],"description":[1],"fileListEmptyDefaults":[1,"list-empty-default"],"fileListEmpty":[1,"file-list-empty"],"error":[1],"errorCodes":[16],"name":[1],"maxBytes":[2,"max-bytes"],"maxBytesTotal":[2,"max-bytes-total"],"maxFiles":[2,"max-files"],"allowedExtensions":[1,"allowed-extensions"],"allowedMimetypes":[1,"allowed-mimetypes"],"multiple":[4],"limitSelection":[4,"limit-selection"],"hideCancelButton":[4,"hide-cancel-button"],"value":[1025],"externalUploadButtonId":[1,"external-upload-button-id"],"captionOnBottom":[4,"caption-on-bottom"],"showUploadedItemsHeader":[4,"show-uploaded-items-header"],"uploadedItemsHeaderLabel":[16],"headerHeadingLevel":[1,"header-heading-level"],"hideHeader":[4,"hide-header"],"emitEvent":[4,"link-click-event"],"actionButtonTitles":[1,"action-button-titles"],"renameDuplicates":[4,"rename-duplicates"],"groups":[16],"tick":[32],"setFocus":[64],"upload":[64],"uploadPending":[64],"refresh":[64],"getFiles":[64],"updateValue":[64],"focusActionButton":[64]},null,{"valid":["watchValidHandler"]}],[6,"duet-editable-table",{"margin":[1],"variation":[1],"sticky":[4],"stickyDistance":[1,"sticky-distance"],"breakpoint":[1],"actions":[1040],"columns":[1040],"rows":[1040],"sortable":[4],"groupId":[1,"group-id"],"theme":[1025],"accessibleRole":[1,"accessible-role"],"hideHeadVisually":[4,"hide-head-visually"],"language":[32]}],[4,"duet-table",{"theme":[1025],"margin":[1],"variation":[1],"sticky":[4],"stickyDistance":[1,"sticky-distance"],"breakpoint":[1],"hideHeadVisually":[4,"hide-head-visually"],"matchesBreakpoint":[32],"language":[32]},null,{"language":["watchLanguageStateHandler"]}]]],["p-2100fda2.system",[[1,"duet-popup-menu",{"accessibleLabel":[1,"accessible-label"],"accessibleRole":[1,"accessible-role"],"theme":[1025],"skipTeleport":[4,"skip-teleport"],"controller":[6145],"opener":[6145],"placement":[1],"forcePlacement":[4,"force-placement"],"allowVerticalFlip":[4,"allow-vertical-flip"],"position":[1025],"mainAxisOffset":[2,"main-axis-offset"],"crossAxisOffset":[2,"cross-axis-offset"],"controllerIcon":[1,"controller-icon"],"scrollLimit":[2,"scroll-limit"],"showFilterInput":[4,"show-filter-input"],"open":[32],"menuY":[32],"menuX":[32],"language":[32],"isOpen":[64],"show":[64],"hide":[64],"toggle":[64]},[[8,"keyup","handleKeyUp"],[8,"keydown","handleKeyDown"],[8,"click","handleClick"]],{"open":["handleOpenChange"]}],[1,"duet-popup-menu-item",{"accessibleLabel":[1,"accessible-label"],"accessibleRole":[1,"accessible-role"],"theme":[1025],"url":[1],"external":[4],"targetLanguage":[1,"target-language"],"value":[1],"leadingIcon":[1,"leading-icon"],"leadingIconColor":[1,"leading-icon-color"],"trailingIcon":[1,"trailing-icon"],"trailingText":[1,"trailing-text"],"active":[1028],"activeDescendant":[4,"active-descendant"],"focus":[32],"setFocus":[64],"isFocused":[64]}]]],["p-f12a93a9.system",[[1,"duet-overlay",{"visible":[1540],"keepStackingContext":[1540,"keep-stacking-context"],"modalOverlay":[1540,"modal-overlay"],"theme":[1025],"displayDevice":[1025,"display-device"],"transition":[1025],"zIndex":[1025,"z-index"],"variation":[1]}]]],["p-caf28e68.system",[[6,"duet-input",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleAutocomplete":[1,"accessible-autocomplete"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleExpanded":[1,"accessible-expanded"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleHasPopup":[1,"accessible-has-popup"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLiveError":[1,"accessible-live-error"],"debounce":[2],"clear":[4],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"theme":[1025],"expand":[4],"disabled":[516],"identifier":[1],"margin":[1],"inputAlign":[1,"input-align"],"inputPadding":[1,"input-padding"],"required":[4],"type":[1],"variation":[1],"chips":[4],"label":[1025],"labelColor":[1025,"label-color"],"labelWeight":[1025,"label-weight"],"error":[1],"labelHidden":[4,"label-hidden"],"numericKeyboard":[4,"numeric-keyboard"],"name":[1],"pattern":[1],"maxlength":[2],"minlength":[2],"placeholder":[1],"component":[1],"role":[1],"icon":[1],"autoComplete":[1,"auto-complete"],"disallowPattern":[1,"disallow-pattern"],"value":[1025],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"language":[32],"isPasswordRevealed":[32],"isFocused":[32],"setFocus":[64],"resetCursor":[64],"clearInput":[64],"addChip":[64],"hasChip":[64],"getChips":[64],"clearChips":[64]},null,{"disallowPattern":["disallowedPatternChange"],"value":["valueChanged"]}],[6,"duet-label",{"theme":[1025],"for":[1],"margin":[1],"size":[1],"weight":[1],"color":[1]}]]]]'),s)]}}))}))}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as e,h as i,H as s,g as o}from"./p-ecb2aca6.js";import{q as a}from"./p-1004af75.js";import{o as n,f as h,s as r,c as p,b as c}from"./p-81287261.js";import{i as u}from"./p-aaa7a7bd.js";import{f as d}from"./p-4460ee6c.js";import{c as l,f as m,b,o as f}from"./p-a45e3f8b.js";import{a as g}from"./p-0c115b39.js";import{T as v}from"./p-ca3cb21e.js";import{a as x}from"./p-f11208c3.js";import"./p-9c3c64b9.js";const y=class{constructor(i){t(this,i),this.duetToggle=e(this,"duetToggle",7),this.filterLabel={en:"Filter menu",fi:"Suodata valikkoa",sv:"Filtrera meny"},this.setOpenButton=t=>{if(t)try{const e=t;e.accessiblePopup="true",e.accessibleExpanded=!1,this.controllerIcon&&e.setAttribute("trailing-icon","action-arrow-down-small"),this.openButton=e}catch(t){}},this.openButtonEventListener=()=>{this.toggle()},this.updatePlacement=async()=>{if(!this.openButton)return;const t=[n({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&h(),r({padding:5})].filter(Boolean),e=await p(this.openButton,this.menuElement,{middleware:t,placement:this.placement,strategy:this.position});this.menuY=e.y,this.menuX=e.x},this.getNonFilteredItems=()=>this.showFilterInput?this.itemElements.filter((t=>"none"!==t.style.display)):this.itemElements,this.filterItems=()=>{var t;const e=null===(t=this.filterInput.value)||void 0===t?void 0:t.toLocaleLowerCase();this.itemElements.forEach((t=>{t.style.display=!e||t.textContent.toLowerCase().includes(e)||t.value.toLowerCase().includes(e)?"":"none"}))},this.handleKeyDownOnFilter=t=>{var e;l(t)&&(null===(e=this.getNonFilteredItems()[0])||void 0===e||e.setFocus())},this.open=!1,this.menuY=void 0,this.menuX=void 0,this.language=g(),this.accessibleLabel=void 0,this.accessibleRole="menu",this.theme="",this.skipTeleport=void 0,this.placement="bottom-start",this.forcePlacement=!1,this.allowVerticalFlip=!0,this.position="absolute",this.mainAxisOffset=0,this.crossAxisOffset=0,this.controllerIcon="action-arrow-down-small",this.scrollLimit=void 0,this.showFilterInput=void 0}get controller(){return this._controller}set controller(t){this._controller!==t&&(this._controller=t,"string"==typeof t?(this.setOpenButton(document.getElementById(t)),this.openButton&&this.openButton.addEventListener("click",this.openButtonEventListener)):this.setOpenButton(t))}get opener(){return this._controller}set opener(t){this.controller=t}componentWillLoad(){u(this)}componentDidLoad(){this.updatePlacement()}connectedCallback(){this.teleport||(this.teleport=new v(this.element)),this.teleport&&this.teleport.activate()}disconnectedCallback(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.openButton&&(this.openButton.removeEventListener("click",this.openButtonEventListener),this.controllerIcon&&this.openButton.removeAttribute("trailing-icon"))}handleKeyUp(t){this.open&&m(t)&&this.hide()}async handleKeyDown(t){const e=this.getNonFilteredItems();if(this.open){if(l(t)){t.preventDefault();const i=await this.getFocusedItemIndex();-1!==i&&(i<e.length-1?e[i+1].setFocus():e[0].setFocus())}if(b(t)){t.preventDefault();const i=await this.getFocusedItemIndex();-1!==i&&(0===i?this.showFilterInput?this.filterInput.setFocus():e[e.length-1].setFocus():e[i-1].setFocus())}f(t)&&"menu"===this.accessibleRole&&(t.preventDefault(),this.hide())}}handleClick(t){const e=t.composedPath().every((t=>t!==this.element&&t!==this.openButton));this.open&&e&&this.hide()}async isOpen(){return this.open}async show(){this.open=!0}async hide(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.open=!1}async toggle(){this.open?this.hide():this.show()}handleOpenChange(t,e){!!t!=!!e&&(this.open&&!e?(this.openButton&&(this.openButton.accessibleExpanded=!0),"listbox"!==this.accessibleRole&&this.teleport.makeSiblingsInert(),this.updatePlacement(),this.menuElement&&this.openButton&&(this.autoUpdateCleanup=c(this.openButton,this.menuElement,this.updatePlacement)),this.showFilterInput&&(this.filterInput.value="",this.filterItems()),setTimeout((()=>{"menu"===this.accessibleRole&&this.itemElements[0].setFocus(),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"})}),200)):!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),this.autoUpdateCleanup&&this.autoUpdateCleanup(),setTimeout((()=>{"menu"===this.accessibleRole&&d(this.openButton),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"}),"listbox"!==this.accessibleRole&&this.teleport.removeInertFromSiblings()}),200)))}get itemElements(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))}get popupMenuStyleHeight(){const t=Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item, :scope duet-notification"));if(t.length>0&&this.scrollLimit){const e=2*Number(a.replace("px",""));return`${t[0].offsetHeight*this.scrollLimit+e}px`}return"auto"}async getFocusedItemIndex(){const t=this.getNonFilteredItems();for(let e=0;e<t.length;e++)if(await t[e].isFocused())return e;return-1}render(){return i(s,{key:"245da481a4c3ac550648005777f7f7724c8e7806"},i("div",{key:"17069b93e411e4f951dcf4f591aacf90a0fcf7ec",ref:t=>{this.menuElement=t},style:{top:`${this.menuY}px`,left:`${this.menuX}px`,position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight},class:{open:this.open,"duet-popup-menu-list":!0,"duet-theme-turva":"turva"===this.theme,"scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},this.showFilterInput&&i("div",{key:"24e126dbabf9089b5d3bed8d20c4a2d727531a0e"},i("duet-input",{key:"719101f79b6678a0e7b28694e2c630e902f58bb2",ref:t=>this.filterInput=t,label:this.filterLabel[this.language],"label-hidden":!0,expand:!0,margin:"none",type:"search",onDuetInput:this.filterItems,onKeyDown:this.handleKeyDownOnFilter}),i("duet-spacer",{key:"c49e9178d065230acbc63f163b9b31dfa53a56ae",size:"xx-small"})),i("slot",{key:"d6e2cbd68cd5f5961d5c486a974b72083f2cbae0"})))}get element(){return o(this)}static get watchers(){return{open:["handleOpenChange"]}}};y.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";const k=class{constructor(i){t(this,i),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.focus=!1,this.accessibleLabel=void 0,this.accessibleRole="menuitem",this.theme="",this.url=void 0,this.external=!1,this.targetLanguage=void 0,this.value=void 0,this.leadingIcon=void 0,this.leadingIconColor=void 0,this.trailingIcon=void 0,this.trailingText=void 0,this.active=!1,this.activeDescendant=!1}componentWillLoad(){u(this)}async setFocus(t){setTimeout((()=>this.itemElement.focus(t)),200)}async isFocused(){return this.focus}render(){const t=this.url?"a":"button";return i(s,{key:"2f4a7fe60bc5938bbcb3b1fbce1b4c7bb6bc1de2",role:this.accessibleRole},i(t,{key:"c9f7fd447bb786217bd8a914167bb908acf66f37",ref:t=>this.itemElement=t,tabIndex:"listitem"===this.accessibleRole?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"a"===t?"link":"button","aria-label":this.accessibleLabel,class:{"duet-popup-menu-item":!0,active:this.active,"duet-theme-turva":"turva"===this.theme,"active-descendant":this.activeDescendant},value:this.value,href:this.url,target:this.external?"_blank":void 0,rel:this.external?"noopener":void 0,lang:"button"===t?void 0:this.targetLanguage,hreflang:"button"===t?void 0:this.targetLanguage},this.leadingIcon&&i("duet-icon",{key:"dcd75ed8a6b9113d52ffa7525c4356cbb2900bc4",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),i("span",{key:"db792f6c21c039bc1997fe199227a84854623c9d",class:"duet-popup-menu-item-label"},i("slot",{key:"dbe5cfc337cc536811672bfc2240518c230df8d6"})),(this.trailingIcon||this.active||this.url&&this.external)&&i("duet-icon",{key:"dbcb7c7c1fb2a4279aab71c16bf8dfd0505fbe38",name:this.url&&this.external?x.title:this.active?"messaging-checked-small":this.trailingIcon,size:this.url&&this.external||this.active?"xx-small":"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&i("span",{key:"e234fa5fd161ad0938c925c4b1fb75b6fbbb37f2",class:"duet-popup-menu-item-trailing"},this.trailingText)))}get element(){return o(this)}};k.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';export{y as duet_popup_menu,k as duet_popup_menu_item}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as e,g as a}from"./p-ecb2aca6.js";import{i}from"./p-aaa7a7bd.js";import{s as o,u as r}from"./p-a45e3f8b.js";import{a as d,g as n,c as s,d as c}from"./p-0c115b39.js";import{a as l}from"./p-115c79b6.js";import"./p-9c3c64b9.js";const h=class{constructor(e){t(this,e),this.language=d(),this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"},this.accessibleLabelUnread=n(this.accessibleLabelUnreadDefaults,this.language),this.url="#",this.date="",this.highlight=!1,this.external=!1,this.theme=""}componentWillLoad(){i(this)}connectedCallback(){s(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"}),o(this)}disconnectedCallback(){c(this),r(this)}async setFocus(t){this.linkElement.focus(t)}render(){return e("div",{key:"65f980fd5fa033d52c207f3027dfec0ea997d2d0",role:"listitem",class:{"duet-notification":!0,"duet-notification-highlight":this.highlight,"duet-theme-turva":"turva"===this.theme}},e("a",{key:"adab91697700a8b3110bfbbbabb837a736af98e6",ref:t=>this.linkElement=t,href:this.url,target:this.external?"_blank":"_self"},e("div",{key:"648733e653d6b00f958a18ce6bbde50d64a82451",class:"duet-notification-container"},e("div",{key:"7c93614d7e7304d955f3d0c065edfe1a1af6ef51",class:"duet-notification-badge-container"},this.highlight&&e("div",{key:"b309bc1656a970bb7369ebaa459b07ad4e94a689",class:"duet-notification-badge"},e("duet-visually-hidden",{key:"71742d3d65a76f6a312a7535780f082c0bae8a86"},this.accessibleLabelUnread,":"))),e("div",{key:"1a13147ea4b28a1798461301b790a106d29a8d1e",class:"duet-notification-content"},e("slot",{key:"c133b1210a46fe45abcc1ac7e59fa84349ec4d16"})),e("div",{key:"aab2501cc3a502365a7e6fa08bcc538502140822",class:"duet-notification-date"},this.date))))}get element(){return a(this)}};h.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:block;width:100%}:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:0.7}.duet-notification{display:block;padding:16px;padding-bottom:0;cursor:pointer}:host(:first-of-type) .duet-notification{border-top-left-radius:8px;border-top-right-radius:8px}:host(:last-of-type) .duet-notification{border-bottom:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(222, 224, 228)}.duet-notification.duet-notification-highlight{font-weight:600}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-notification:hover{background:rgb(240, 247, 250)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 247, 250)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex;padding-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:right;text-transform:uppercase;opacity:0.7}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(113, 118, 132)}@media (min-width: 62em){:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:1}.duet-notification{padding:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification:hover{background:rgb(228, 241, 247)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(240, 247, 250)}.duet-notification-container{padding-bottom:0;border-bottom-style:none}}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";const u=class{constructor(e){t(this,e),this.handleKeyDown=t=>{this.isOpen&&27===t.keyCode&&this.close()},this.toggleMenu=t=>{t.stopPropagation(),this.isOpen?this.close():this.open()},this.updateNotificationState=()=>{this.hasNotifications=this.element.children.length>0},this.isOpen=!1,this.hasNotifications=void 0,this.icon="",this.label="Label",this.language=d(),this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"},this.accessibleLabelNotifications=n(this.accessibleLabelNotificationsDefaults),this.badge=!1,this.theme="",this.direction="left"}componentWillLoad(){i(this),this.updateNotificationState()}connectedCallback(){this.observer=new MutationObserver(this.updateNotificationState),this.observer.observe(this.element,{childList:!0}),o(this)}disconnectedCallback(){this.observer.disconnect(),this.observer=null,r(this)}handleClickFocusOutside(t){this.isOpen&&!this.element.contains(t.target)&&this.close(!1)}async setFocus(t){this.drawerButtonEl.focus(t)}async open(){const t=this.element.closest("duet-header");t&&t.closeMenus(),this.isOpen=!0,this.drawerContentEl.scrollTop=0}async close(t=!0){this.isOpen=!1,t&&this.setFocus({preventScroll:!0})}render(){return e("div",{key:"1088af58e8f3c30677e3c6d5baad8515829e9e51",class:{"duet-drawer":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:this.handleKeyDown},e("button",{key:"ff5fb1a9b2712d7a2308a4b334c1859b32a8668b",ref:t=>this.drawerButtonEl=t,type:"button",class:"duet-drawer-toggle",id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&e("div",{key:"36ef436ead766298e4c6cd348ca7244afc94ac46",class:"duet-drawer-icon"},e("duet-icon",{key:"5eba9896a452d8940a07fc94605d9779c9cd909d",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&e("div",{key:"cec532d1c1f3ef45c2907cf17efc383305c803e7",class:"duet-drawer-badge"})),e("span",{key:"5c0892ac2e9dfe0a9c463133b839364b7ae78fd1",class:"duet-drawer-label"},this.label),e("div",{key:"db154470e959c8a9032cff5aabbb508de489f66d",class:"duet-drawer-caret"},e("duet-icon",{key:"fe7e0e1907b7467106a121d0dde62f7ff0fa4906",margin:"none",size:"auto",icon:l.svg,color:"currentColor"}))),e("div",{key:"18109bdcfe172351390f705b11481bbcdc72e81a",id:"duet-drawer-content",class:{"duet-drawer-content":!0,"duet-drawer-right":"right"===this.direction,"duet-drawer-left":"left"===this.direction,"duet-drawer-open":this.isOpen},ref:t=>this.drawerContentEl=t},this.hasNotifications?e("div",{role:"list"},e("slot",null)):e("duet-empty-state",{size:"small"},e("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))}get element(){return a(this)}};u.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:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;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:48px;color:rgb(8, 42, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{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);background-color:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle: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-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 75, 129)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(113, 118, 132)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 75, 129);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(113, 118, 132);border-color:rgb(245, 247, 250)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(247, 178, 40)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(212, 223, 229)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}';export{h as duet_notification,u as duet_notification_drawer}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c,h as t,H as i,g as o}from"./p-ecb2aca6.js";import{i as d}from"./p-aaa7a7bd.js";import{D as h}from"./p-beeb12f1.js";import{c as s}from"./p-5e59e970.js";import{i as r,h as a,s as u,u as n,f as l}from"./p-a45e3f8b.js";import{g as p,a as b,c as g,d as m}from"./p-0c115b39.js";import{h as f,c as k}from"./p-530e612b.js";import"./p-9c3c64b9.js";const v=class{constructor(t){e(this,t),this.duetChoiceReady=c(this,"duetChoiceReady",7),this.duetChoiceRemove=c(this,"duetChoiceRemove",7),this.duetChange=c(this,"duetChange",7),this.duetFocus=c(this,"duetFocus",7),this.duetBlur=c(this,"duetBlur",7),this.hasHeader=!1,this.choiceId=s("DuetChoice"),this.expandId=s("DuetChoiceExpand"),this.headerId=s("DuetChoiceHeader"),this.infoButtonId=s("DuetChoiceInfoButton"),this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1},this.onClick=e=>{this.toggleChecked(e)},this.handleKeyDown=e=>{r(e)&&this.toggleChecked(e),a(e)&&this.hasInfo&&this.toggleInfo()},this.onChange=()=>{this.checked=this.nativeInput.checked||!1,this.duetChange.emit({checked:this.checked,value:this.value,component:"duet-choice"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.toggleChecked=e=>{e.preventDefault(),e.stopPropagation(),this.getDisabled()||"radio"===this.type&&this.checked||(this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"}))},this.toggleInfo=()=>{this.isInfoOpen=!this.isInfoOpen,this.isInfoOpen&&setTimeout((()=>{var e;null===(e=this.infoContainer)||void 0===e||e.focus()}),150)},this.isHovering=!1,this.isInfoOpen=!1,this.theme="",this.label="label",this.accessibleLabelInfoButtonDefaults=h,this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults),this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.caption="",this.value=void 0,this.type="checkbox",this.name=void 0,this.checked=!1,this.collapsible=!1,this.collapsibleForceExpanded=!1,this.margin="auto",this.icon="",this.expand=!1,this.padding="auto",this.identifier=void 0,this.groupDirection=void 0,this.groupDisabled=void 0,this.groupResponsive=void 0,this.disabled=!1,this.required=!1,this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"},this.infoLabel=p(this.infoLabelDefaults,b()),this.collapsibleNotificationDefaults={fi:"Tämä valinta sisältää lisätietoja, jotka avautuivat alle",en:"This choice has additional information opened below",sv:"Det här val har mer information som öppnades nedan"},this.collapsibleNotification=p(this.collapsibleNotificationDefaults,b())}componentWillLoad(){d(this),this.hasInfo=f(this.element,"info"),this.hasHeader=f(this.element,"header"),this.hasAdditional=f(this.element,"additional"),this.hasLabel=f(this.element,"label"),this.hasBeforeText=f(this.element,"before-text"),this.duetChoiceReady.emit()}connectedCallback(){g(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]),u(this),this.duetChoiceReady.emit()}disconnectedCallback(){m(this),n(this),this.duetChoiceRemove.emit()}async setFocus(e){this.nativeInput.focus(e)}async toggleInfoMethod(){this.isInfoOpen=!this.isInfoOpen}handleEscape(e){l(e)&&this.isInfoOpen&&(this.isInfoOpen=!1,this.infoButtonEl&&this.infoButtonEl.focus())}isCollapsibleAnnounceable(){if(!this.collapsible||!this.getExpanded())return!1;const e=Array.from(this.element.querySelectorAll(`#${this.choiceId}-collapsible-content > *`)||[]),c=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((e=>c.includes(e.tagName.toLowerCase())))}getAriaDescribedby(){return this.accessibleDescribedBy?this.accessibleDescribedBy:this.collapsible||this.hasInfo?this.hasHeader?this.headerId:this.isCollapsibleAnnounceable()?this.expandId:`${this.choiceId}-collapsible-notification`:null}getDisabled(){return this.disabled||this.groupDisabled}getExpanded(){return this.checked||this.collapsibleForceExpanded}getClassNames(){return this.hasInfo&&!this.collapsible?{checked:this.checked,"duet-choice-card-info":!0,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":"turva"===this.theme}:!this.hasInfo&&this.collapsible?{checked:this.checked,"duet-choice-card-collapsible":!0,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":"turva"===this.theme}:{checked:this.checked,"duet-choice-default-slot":!0}}render(){const e=this.identifier||this.choiceId;return t(i,{class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin,"duet-expand":this.expand,"duet-theme-turva":"turva"===this.theme,"no-hover":this.isHovering,disabled:this.getDisabled()}},t("div",{class:{"duet-choice-card-flextainer":!0,"duet-theme-turva":"turva"===this.theme}},t("div",{class:{"duet-choice-card":!0,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":"none"===this.padding}},t("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:e,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:e=>this.nativeInput=e}),t("label",{htmlFor:e,class:{"duet-choice-label":!0,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&t("slot",{name:"before-text"}),this.icon&&t("div",{class:"duet-choice-card-icon"},t("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),t("div",{class:"duet-choice-card-text"},t("div",null,this.hasLabel?t("slot",{name:"label"}):this.label),this.caption&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("slot",{name:"additional"}))),t("div",null,t("div",{class:{"duet-checkmark-container":!0,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&t("button",{ref:e=>this.infoButtonEl=e,id:this.infoButtonId,class:{"duet-choice-info-toggle":!0,"duet-theme-turva":"turva"===this.theme},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":`${this.infoLabel} ${this.label}`,"aria-controls":this.expandId,tabindex:"radio"!==this.type||this.checked?"0":"-1",type:"button",onKeyUp:e=>this.handleEscape(e)},t("div",{class:"duet-choice-info-icon"},t("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>',margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&t("span",{id:`${this.choiceId}-collapsible-notification`,hidden:!0},this.collapsibleNotification),this.collapsible||this.hasInfo?t("div",{class:this.getClassNames(),id:this.expandId},t("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},t("span",{id:this.headerId},t("slot",{name:"header"})),this.hasInfo?t("span",{ref:e=>this.infoContainer=e,tabindex:"0",class:"duet-choice-info-container",onKeyUp:e=>this.handleEscape(e)},t("span",null,t("slot",{name:"info"})),t("slot",null)):t("span",{id:`${this.choiceId}-collapsible-content`},t("slot",null)))):null)}get element(){return o(this)}};v.style='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{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;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{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) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(143, 147, 158)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(98, 121, 138) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(127, 150, 165) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(199, 202, 207) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(164, 4, 40)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.sc-duet-choice{border-color:rgb(127, 150, 165)}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(143, 147, 158)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}';const x=class{constructor(c){e(this,c),this.choiceGroupName="duet-choice-group",this.choices=new Set,this.onSelect=e=>{if("duet-choice"!==e.detail.component)return;const c=e.target;c&&this.choices.has(c)&&(this.value=c.value)},this.onChoiceReady=e=>{const c=e.target;c.closest("duet-choice-group")!==this.element||this.choices.has(c)||(this.choices.add(c),this.updateChoices())},this.onChoiceRemove=e=>{this.choices.delete(e.target),this.updateChoices()},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption=void 0,this.tooltip=void 0,this.tooltipDirection="auto",this.responsive=!1,this.breakpoint="small",this.value=void 0,this.disabled=void 0,this.required=!1,this.accessibleLiveError="polite"}async connectedCallback(){this.setInitialValue(),this.updateChoices()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){d(this),k(this.element,"tooltip","duet-tooltip",1,!0)}setInitialValue(){void 0===this.initialValue&&(this.initialValue=this.value)}async getInitialValue(){return this.initialValue}async updateChoices(){var e;const c=null!==(e=this.value)&&void 0!==e?e:this.initialValue;let t=!1;for(const e of Array.from(this.choices))e.name=this.name,e.required=this.required,e.groupDisabled=this.disabled,e.groupDirection=this.direction,e.groupResponsive=this.responsive,t||e.value!==c?e.checked=!1:(t=!0,e.checked=!0,void 0===this.value&&(this.value=c));t||(this.value=void 0)}render(){return t(i,{onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,onDuetChoiceRemove:this.onChoiceRemove,class:{horizontal:"horizontal"===this.direction,"duet-choice-group-breakpoint-x-small":this.responsive&&"x-small"===this.breakpoint,"duet-choice-group-breakpoint-small":this.responsive&&"small"===this.breakpoint,"duet-choice-group-breakpoint-medium":this.responsive&&"medium"===this.breakpoint,"duet-choice-group-breakpoint-large":this.responsive&&"large"===this.breakpoint,"duet-choice-group-breakpoint-x-large":this.responsive&&"x-large"===this.breakpoint}},t("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:!0,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&t("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),t("slot",{name:"tooltip"}),t("div",{class:{[this.choiceGroupName]:!0,"duet-no-stacking":!this.responsive}},t("slot",null))))}get element(){return o(this)}static get watchers(){return{value:["setInitialValue","updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}}};x.style="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-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%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";export{v as duet_choice,x as duet_choice_group}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import"./p-ecb2aca6.js";const e=(e,s)=>Array.from(e.querySelectorAll(":scope > *")).filter((e=>e.matches(`[slot='${s}']`))),s=e=>Array.from(e.querySelectorAll(":scope > *")).filter((e=>!e.getAttribute("slot"))),n=(n,o)=>o?e(n,o).length>0:s(n).length>0,o=(s,n,o,t=0,a=!1)=>{const $=a?"error":"warn",r=[],l=e(s,n),c=l.filter((e=>!!e.matches(o)||(r.push(`Only elements matcing selector "${o}" may be used in slot ${n}, found:\n${e.outerHTML}`),!a||(e.remove(),!1))));t&&c.length>t&&(r.push(`Only ${t} element${t>1?"s":""} may be used in slot ${n}, found ${l.length}.`),a&&c.slice(t).forEach((e=>e.remove()))),r.length>0&&console[$](`Duet ${$} in ${s.tagName.toLowerCase()}:\n${r.join("\n")}${a?`\nElement${r.length>1?"s":""} removed.`:""}`)};export{s as a,o as c,e as g,n as h}