@duetds/components 9.9.0 → 9.11.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 (852) hide show
  1. package/hydrate/index.js +191 -144
  2. package/lib/cjs/{a11y-utils-050310c7.js → a11y-utils-e5f6d8f8.js} +1 -1
  3. package/lib/cjs/{app-globals-f4faf11d.js → app-globals-f4b39f4a.js} +1 -1
  4. package/lib/cjs/{common-strings-2984301e.js → common-strings-a54bbf77.js} +6 -0
  5. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  8. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  11. package/lib/cjs/duet-button_2.cjs.entry.js +9 -8
  12. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +15 -12
  14. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -5
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-footer.cjs.entry.js +6 -6
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +34 -5
  31. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  32. package/lib/cjs/duet-hero.cjs.entry.js +6 -6
  33. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  34. package/lib/cjs/duet-input_2.cjs.entry.js +6 -6
  35. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-list_2.cjs.entry.js +11 -5
  37. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  39. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
  40. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  41. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-modal.cjs.entry.js +7 -7
  44. package/lib/cjs/duet-multiselect.cjs.entry.js +6 -6
  45. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  46. package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
  47. package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
  48. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-pagination_2.cjs.entry.js +5 -5
  51. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +12 -9
  53. package/lib/cjs/duet-progress.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
  56. package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-scrollable_3.cjs.entry.js +6 -6
  58. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-select.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-share-chart.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
  64. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  65. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  66. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-slideout-panel.cjs.entry.js +6 -6
  68. package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-status-icon.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-step_2.cjs.entry.js +19 -5
  71. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
  74. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  75. package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-textarea.cjs.entry.js +7 -7
  77. package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
  78. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
  80. package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
  81. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  82. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  83. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +5 -5
  84. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  86. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  87. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  88. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  89. package/lib/cjs/duet.cjs.js +3 -3
  90. package/lib/cjs/{errorcodes.utils-6917a13a.js → errorcodes.utils-e378d9dc.js} +1 -1
  91. package/lib/cjs/{floating-ui.dom.esm-bdde8521.js → floating-ui.dom.esm-806e7c53.js} +27 -50
  92. package/lib/cjs/{focus-utils-17b92876.js → focus-utils-af58f610.js} +1 -1
  93. package/lib/cjs/{index-45354cdd.js → index-24f91959.js} +1 -1
  94. package/lib/cjs/{language-utils-5a4f4a41.js → language-utils-e33fa0af.js} +9 -1
  95. package/lib/cjs/loader.cjs.js +3 -3
  96. package/lib/cjs/{slot-utils-4e1bb28c.js → slot-utils-48820df1.js} +1 -1
  97. package/lib/cjs/{themeable-component-ad21363c.js → themeable-component-851fd595.js} +8 -1
  98. package/lib/collection/common/themeable-component.js +8 -1
  99. package/lib/collection/common-strings.js +5 -0
  100. package/lib/collection/components/duet-action-button/duet-action-button.css +15 -0
  101. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  102. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  103. package/lib/collection/components/duet-badge/duet-badge.css +12 -0
  104. package/lib/collection/components/duet-banner/duet-banner.js +1 -1
  105. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +11 -0
  106. package/lib/collection/components/duet-button/duet-button.css +61 -0
  107. package/lib/collection/components/duet-button/duet-button.js +5 -5
  108. package/lib/collection/components/duet-callout/duet-callout.css +5 -0
  109. package/lib/collection/components/duet-caption/duet-caption.css +4 -0
  110. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  111. package/lib/collection/components/duet-card/duet-card.css +13 -0
  112. package/lib/collection/components/duet-card/duet-card.js +3 -3
  113. package/lib/collection/components/duet-checkbox/duet-checkbox.css +11 -0
  114. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  115. package/lib/collection/components/duet-chip/duet-chip.css +25 -0
  116. package/lib/collection/components/duet-chip/duet-chip.js +6 -6
  117. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  118. package/lib/collection/components/duet-choice/duet-choice.css +51 -0
  119. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  120. package/lib/collection/components/duet-collapsible/duet-collapsible.css +8 -0
  121. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  122. package/lib/collection/components/duet-combobox/duet-combobox.css +7 -0
  123. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  124. package/lib/collection/components/duet-contact-card/duet-contact-card.css +4 -0
  125. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +9 -0
  126. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  127. package/lib/collection/components/duet-date-picker/duet-date-picker.css +37 -1
  128. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  129. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  130. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  131. package/lib/collection/components/duet-empty-state/duet-empty-state.css +4 -0
  132. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  133. package/lib/collection/components/duet-fieldset/duet-fieldset.css +4 -0
  134. package/lib/collection/components/duet-fieldset/duet-fieldset.js +1 -1
  135. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  136. package/lib/collection/components/duet-footer/duet-footer.css +15 -0
  137. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  138. package/lib/collection/components/duet-grid/duet-grid.js +34 -5
  139. package/lib/collection/components/duet-grid-item/duet-grid-item.css +4 -0
  140. package/lib/collection/components/duet-header/duet-header.css +69 -0
  141. package/lib/collection/components/duet-header/duet-header.js +15 -15
  142. package/lib/collection/components/duet-heading/duet-heading.css +4 -0
  143. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  144. package/lib/collection/components/duet-hero/duet-hero.css +17 -0
  145. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  146. package/lib/collection/components/duet-icon/duet-icon.css +7 -0
  147. package/lib/collection/components/duet-input/duet-input.css +34 -0
  148. package/lib/collection/components/duet-input/duet-input.js +8 -8
  149. package/lib/collection/components/duet-label/duet-label.css +4 -0
  150. package/lib/collection/components/duet-label/duet-label.js +2 -2
  151. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  152. package/lib/collection/components/duet-link/duet-link.css +74 -0
  153. package/lib/collection/components/duet-link/duet-link.js +10 -3
  154. package/lib/collection/components/duet-list/duet-list.js +3 -3
  155. package/lib/collection/components/duet-list-item/duet-list-item.css +20 -0
  156. package/lib/collection/components/duet-list-item/duet-list-item.js +35 -2
  157. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  158. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +7 -0
  159. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  160. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +6 -0
  161. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +13 -0
  162. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +7 -0
  163. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +15 -0
  164. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +12 -0
  165. package/lib/collection/components/duet-modal/duet-modal.css +8 -0
  166. package/lib/collection/components/duet-modal/duet-modal.js +4 -4
  167. package/lib/collection/components/duet-multiselect/duet-multiselect.css +30 -0
  168. package/lib/collection/components/duet-multiselect/duet-multiselect.js +7 -7
  169. package/lib/collection/components/duet-notification/duet-notification.css +16 -0
  170. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +12 -0
  171. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  172. package/lib/collection/components/duet-number-input/duet-number-input.css +7 -0
  173. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  174. package/lib/collection/components/duet-overlay/duet-overlay.css +4 -0
  175. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  176. package/lib/collection/components/duet-page-heading/duet-page-heading.css +27 -11
  177. package/lib/collection/components/duet-pagination/duet-pagination.css +4 -0
  178. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  179. package/lib/collection/components/duet-paragraph/duet-paragraph.css +7 -0
  180. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  181. package/lib/collection/components/duet-phone-input/duet-phone-input.js +4 -4
  182. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +4 -0
  183. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  184. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +10 -0
  185. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +7 -4
  186. package/lib/collection/components/duet-progress/duet-progress.css +19 -0
  187. package/lib/collection/components/duet-radio/duet-radio.css +20 -0
  188. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  189. package/lib/collection/components/duet-range-slider/duet-range-slider.css +40 -0
  190. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  191. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +4 -0
  192. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  193. package/lib/collection/components/duet-scrollable/duet-scrollable.css +7 -0
  194. package/lib/collection/components/duet-select/duet-select.css +33 -0
  195. package/lib/collection/components/duet-select/duet-select.js +5 -5
  196. package/lib/collection/components/duet-share-chart/duet-share-chart.css +4 -0
  197. package/lib/collection/components/duet-show-more/duet-show-more.css +4 -0
  198. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  199. package/lib/collection/components/duet-slideout/duet-slideout.css +28 -0
  200. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  201. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +4 -0
  202. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +10 -0
  203. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +20 -0
  204. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +13 -0
  205. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  206. package/lib/collection/components/duet-spinner/duet-spinner.css +3 -0
  207. package/lib/collection/components/duet-spinner/duet-spinner.js +4 -6
  208. package/lib/collection/components/duet-step/duet-step.css +13 -0
  209. package/lib/collection/components/duet-step/duet-step.js +2 -2
  210. package/lib/collection/components/duet-stepper/duet-stepper.js +24 -6
  211. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +14 -0
  212. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +31 -0
  213. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +18 -0
  214. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +20 -0
  215. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +22 -0
  216. package/lib/collection/components/duet-tab-group/duet-tab-group.css +31 -0
  217. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  218. package/lib/collection/components/duet-table/duet-table.css +40 -0
  219. package/lib/collection/components/duet-textarea/duet-textarea.css +29 -0
  220. package/lib/collection/components/duet-textarea/duet-textarea.js +7 -7
  221. package/lib/collection/components/duet-toggle/duet-toggle.css +11 -0
  222. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  223. package/lib/collection/components/duet-toolbar/duet-toolbar.css +7 -0
  224. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +21 -0
  225. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +10 -0
  226. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +25 -0
  227. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +24 -0
  228. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +7 -0
  229. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +25 -0
  230. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  231. package/lib/collection/components/duet-tray/duet-tray.css +12 -0
  232. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  233. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  234. package/lib/collection/utils/language-utils.js +7 -0
  235. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  236. package/lib/dist-custom-elements/duet-alert.js +1 -1
  237. package/lib/dist-custom-elements/duet-badge.js +1 -1
  238. package/lib/dist-custom-elements/duet-banner.js +4 -4
  239. package/lib/dist-custom-elements/duet-breadcrumb.js +5 -5
  240. package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
  241. package/lib/dist-custom-elements/duet-button.js +1 -1
  242. package/lib/dist-custom-elements/duet-callout.js +4 -4
  243. package/lib/dist-custom-elements/duet-caption.js +1 -1
  244. package/lib/dist-custom-elements/duet-card.js +5 -5
  245. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  246. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  247. package/lib/dist-custom-elements/duet-chip.js +1 -1
  248. package/lib/dist-custom-elements/duet-choice-group.js +9 -9
  249. package/lib/dist-custom-elements/duet-choice.js +8 -8
  250. package/lib/dist-custom-elements/duet-collapsible.js +5 -5
  251. package/lib/dist-custom-elements/duet-combobox.js +18 -18
  252. package/lib/dist-custom-elements/duet-contact-card.js +11 -11
  253. package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
  254. package/lib/dist-custom-elements/duet-date-picker.js +16 -16
  255. package/lib/dist-custom-elements/duet-divider.js +1 -1
  256. package/lib/dist-custom-elements/duet-editable-table.js +9 -9
  257. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  258. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  259. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  260. package/lib/dist-custom-elements/duet-footer.js +11 -11
  261. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  262. package/lib/dist-custom-elements/duet-grid.js +1 -1
  263. package/lib/dist-custom-elements/duet-header.js +12 -12
  264. package/lib/dist-custom-elements/duet-heading.js +1 -1
  265. package/lib/dist-custom-elements/duet-hero.js +13 -13
  266. package/lib/dist-custom-elements/duet-icon.js +1 -1
  267. package/lib/dist-custom-elements/duet-input.js +1 -1
  268. package/lib/dist-custom-elements/duet-label.js +1 -1
  269. package/lib/dist-custom-elements/duet-layout.js +1 -1
  270. package/lib/dist-custom-elements/duet-link.js +1 -1
  271. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  272. package/lib/dist-custom-elements/duet-list.js +1 -1
  273. package/lib/dist-custom-elements/duet-logo.js +1 -1
  274. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  275. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  276. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
  277. package/lib/dist-custom-elements/duet-menu-bar-item.js +6 -6
  278. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  279. package/lib/dist-custom-elements/duet-menu-bar.js +5 -5
  280. package/lib/dist-custom-elements/duet-modal.js +12 -12
  281. package/lib/dist-custom-elements/duet-multiselect.js +13 -13
  282. package/lib/dist-custom-elements/duet-nav.js +2 -2
  283. package/lib/dist-custom-elements/duet-notification-drawer.js +7 -7
  284. package/lib/dist-custom-elements/duet-notification.js +5 -5
  285. package/lib/dist-custom-elements/duet-number-input.js +14 -14
  286. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  287. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  288. package/lib/dist-custom-elements/duet-pagination.js +16 -16
  289. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  290. package/lib/dist-custom-elements/duet-phone-input.js +18 -18
  291. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  292. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  293. package/lib/dist-custom-elements/duet-progress.js +1 -1
  294. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  295. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  296. package/lib/dist-custom-elements/duet-radio.js +3 -3
  297. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  298. package/lib/dist-custom-elements/duet-range-stepper.js +7 -7
  299. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  300. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  301. package/lib/dist-custom-elements/duet-select.js +1 -1
  302. package/lib/dist-custom-elements/duet-shaped-image.js +2 -2
  303. package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
  304. package/lib/dist-custom-elements/duet-share-chart.js +4 -4
  305. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  306. package/lib/dist-custom-elements/duet-slideout-lang.js +5 -5
  307. package/lib/dist-custom-elements/duet-slideout-link.js +6 -6
  308. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +4 -4
  309. package/lib/dist-custom-elements/duet-slideout-panel.js +5 -5
  310. package/lib/dist-custom-elements/duet-slideout.js +6 -6
  311. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  312. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  313. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  314. package/lib/dist-custom-elements/duet-step.js +6 -6
  315. package/lib/dist-custom-elements/duet-stepper.js +20 -6
  316. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  317. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
  318. package/lib/dist-custom-elements/duet-submenu-bar-item.js +6 -6
  319. package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
  320. package/lib/dist-custom-elements/duet-submenu-bar.js +5 -5
  321. package/lib/dist-custom-elements/duet-tab-group.js +10 -10
  322. package/lib/dist-custom-elements/duet-tab.js +3 -3
  323. package/lib/dist-custom-elements/duet-table.js +1 -1
  324. package/lib/dist-custom-elements/duet-textarea.js +15 -15
  325. package/lib/dist-custom-elements/duet-toggle.js +4 -4
  326. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  327. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
  328. package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
  329. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  330. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  331. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  332. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  333. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  334. package/lib/dist-custom-elements/duet-tray.js +6 -6
  335. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  336. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  337. package/lib/dist-custom-elements/duet-upload.js +22 -22
  338. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  339. package/lib/dist-custom-elements/index.js +1 -1
  340. package/lib/dist-custom-elements/{p-bd7dd1f2.js → p-01efda2f.js} +3 -3
  341. package/lib/dist-custom-elements/{p-b388715c.js → p-05a2aaf3.js} +7 -7
  342. package/lib/dist-custom-elements/{p-85b61ebc.js → p-1139f384.js} +1 -1
  343. package/lib/dist-custom-elements/{p-1eb29b1c.js → p-14e0a137.js} +12 -12
  344. package/lib/dist-custom-elements/{p-b1717bf1.js → p-15f4e6e6.js} +3 -3
  345. package/lib/dist-custom-elements/{p-42b1e9d0.js → p-176cf304.js} +3 -3
  346. package/lib/dist-custom-elements/{p-2a0aefe4.js → p-2340b254.js} +1 -1
  347. package/lib/dist-custom-elements/{p-2e417433.js → p-347269f4.js} +8 -1
  348. package/lib/dist-custom-elements/{p-06c403d9.js → p-45c98b8e.js} +3 -3
  349. package/lib/dist-custom-elements/{p-3acb66c0.js → p-46de25d9.js} +13 -8
  350. package/lib/dist-custom-elements/{p-57a0b5df.js → p-4c285b52.js} +3 -3
  351. package/lib/dist-custom-elements/{p-2e0d729f.js → p-4fa318d8.js} +12 -4
  352. package/lib/dist-custom-elements/{p-dca657f2.js → p-543f99f3.js} +8 -8
  353. package/lib/dist-custom-elements/{p-1c4fcb41.js → p-59cfba72.js} +5 -5
  354. package/lib/dist-custom-elements/{p-761fd588.js → p-66fcb9f0.js} +2 -2
  355. package/lib/dist-custom-elements/{p-56cd0edf.js → p-6c774bf0.js} +34 -57
  356. package/lib/dist-custom-elements/{p-bc7aeee0.js → p-797cd5a8.js} +4 -4
  357. package/lib/dist-custom-elements/{p-dcd7d6d2.js → p-8485fda0.js} +5 -5
  358. package/lib/dist-custom-elements/{p-813debec.js → p-87f8e376.js} +2 -2
  359. package/lib/dist-custom-elements/{p-bec2501d.js → p-8a08c2ba.js} +4 -4
  360. package/lib/dist-custom-elements/{p-9df4cfa4.js → p-9b044291.js} +6 -1
  361. package/lib/dist-custom-elements/{p-7a37b78a.js → p-a2cba858.js} +3 -3
  362. package/lib/dist-custom-elements/{p-86746543.js → p-a3276bf8.js} +6 -6
  363. package/lib/dist-custom-elements/{p-4d6e3fcc.js → p-a5610227.js} +9 -6
  364. package/lib/dist-custom-elements/{p-b7bf60cf.js → p-a8d3c31c.js} +6 -5
  365. package/lib/dist-custom-elements/{p-49773f56.js → p-ae60aedc.js} +9 -9
  366. package/lib/dist-custom-elements/{p-df8428db.js → p-b29cfa95.js} +3 -3
  367. package/lib/dist-custom-elements/{p-238a3868.js → p-b9c89113.js} +10 -10
  368. package/lib/dist-custom-elements/{p-7947d2cd.js → p-bb1122e6.js} +15 -15
  369. package/lib/dist-custom-elements/{p-79480384.js → p-bc29127b.js} +4 -4
  370. package/lib/dist-custom-elements/{p-42eebb86.js → p-bc935fa9.js} +1 -1
  371. package/lib/dist-custom-elements/{p-175fc551.js → p-c195c569.js} +32 -3
  372. package/lib/dist-custom-elements/{p-b5c0ae56.js → p-c2ad08eb.js} +5 -5
  373. package/lib/dist-custom-elements/{p-647c78a8.js → p-c3b33c9a.js} +5 -5
  374. package/lib/dist-custom-elements/{p-132b261a.js → p-c40058d8.js} +13 -13
  375. package/lib/dist-custom-elements/{p-cda5f601.js → p-c795152b.js} +2 -2
  376. package/lib/dist-custom-elements/{p-9d462464.js → p-caaa4cf4.js} +3 -3
  377. package/lib/dist-custom-elements/{p-fee53217.js → p-ce47f0d0.js} +3 -3
  378. package/lib/dist-custom-elements/{p-35375593.js → p-d9b2e80e.js} +8 -1
  379. package/lib/dist-custom-elements/{p-1f610268.js → p-d9e0ed3d.js} +3 -3
  380. package/lib/dist-custom-elements/{p-fd3dd124.js → p-dd5fe334.js} +2 -2
  381. package/lib/dist-custom-elements/{p-f2b72f2d.js → p-eafb360c.js} +3 -3
  382. package/lib/dist-custom-elements/{p-b8c6f396.js → p-eb46205a.js} +8 -8
  383. package/lib/duet/duet.esm.js +1 -1
  384. package/lib/duet/duet.js +1 -1
  385. package/lib/duet/p-009a5ed8.system.entry.js +4 -0
  386. package/lib/duet/{p-b1fb2829.entry.js → p-011ca56b.entry.js} +1 -1
  387. package/lib/duet/{p-b8a0329d.entry.js → p-032a3916.entry.js} +1 -1
  388. package/lib/duet/{p-6d16043c.entry.js → p-058f9a4a.entry.js} +1 -1
  389. package/lib/duet/p-05c1677e.system.entry.js +4 -0
  390. package/lib/duet/p-07bd1ef4.entry.js +4 -0
  391. package/lib/duet/{p-2e51ccc4.entry.js → p-0a39295c.entry.js} +1 -1
  392. package/lib/duet/p-0a53642c.system.js +4 -0
  393. package/lib/duet/p-0a6c13c9.system.entry.js +4 -0
  394. package/lib/duet/{p-e79cba3f.system.entry.js → p-0c8a4678.system.entry.js} +2 -2
  395. package/lib/duet/{p-5b908466.entry.js → p-0cf30d86.entry.js} +1 -1
  396. package/lib/duet/p-0d13539d.system.entry.js +4 -0
  397. package/lib/duet/p-0dc9089b.system.js +4 -0
  398. package/lib/duet/p-0f2ce038.system.entry.js +4 -0
  399. package/lib/duet/{p-0fe8704c.entry.js → p-0f570568.entry.js} +1 -1
  400. package/lib/duet/{p-fe66eee6.entry.js → p-0fb78561.entry.js} +1 -1
  401. package/lib/duet/p-10626c96.system.entry.js +4 -0
  402. package/lib/duet/p-10e71547.system.entry.js +4 -0
  403. package/lib/duet/p-12b9d5ef.system.entry.js +4 -0
  404. package/lib/duet/{p-67b4c262.system.entry.js → p-14298080.system.entry.js} +1 -1
  405. package/lib/duet/{p-e5606a0f.system.entry.js → p-18c6d7a7.system.entry.js} +1 -1
  406. package/lib/duet/{p-16a2b903.entry.js → p-1e377e29.entry.js} +1 -1
  407. package/lib/duet/p-1e3f1ae9.js +4 -0
  408. package/lib/duet/{p-02f8661f.entry.js → p-1e4bb89a.entry.js} +1 -1
  409. package/lib/duet/{p-0a9b1b0b.entry.js → p-20f9da14.entry.js} +1 -1
  410. package/lib/duet/{p-c2509427.entry.js → p-21f862ba.entry.js} +1 -1
  411. package/lib/duet/p-22acf75a.entry.js +4 -0
  412. package/lib/duet/p-25406dc2.entry.js +4 -0
  413. package/lib/duet/{p-d0ba77fe.entry.js → p-2af8bb5b.entry.js} +1 -1
  414. package/lib/duet/{p-151fb80c.system.entry.js → p-2d3a9127.system.entry.js} +1 -1
  415. package/lib/duet/p-3111baaa.system.entry.js +4 -0
  416. package/lib/duet/{p-2b2a0e6f.system.entry.js → p-317a6b01.system.entry.js} +1 -1
  417. package/lib/duet/p-3462a1dc.entry.js +4 -0
  418. package/lib/duet/p-347269f4.js +4 -0
  419. package/lib/duet/p-365ec86f.entry.js +4 -0
  420. package/lib/duet/{p-00f58c81.entry.js → p-399a0bf4.entry.js} +1 -1
  421. package/lib/duet/{p-74f7b2c7.entry.js → p-3b9b55a6.entry.js} +1 -1
  422. package/lib/duet/p-3c539a14.system.entry.js +4 -0
  423. package/lib/duet/p-3d0fd313.system.entry.js +4 -0
  424. package/lib/duet/{p-953ec2bf.entry.js → p-3d7a5124.entry.js} +1 -1
  425. package/lib/duet/{p-ed0179f9.js → p-3f5c74ac.js} +1 -1
  426. package/lib/duet/p-3f7e6bfa.system.entry.js +4 -0
  427. package/lib/duet/p-3f9cd215.system.entry.js +4 -0
  428. package/lib/duet/{p-4393178b.system.entry.js → p-4286716c.system.entry.js} +1 -1
  429. package/lib/duet/{p-f5d1a11c.entry.js → p-435ad516.entry.js} +1 -1
  430. package/lib/duet/p-43d2bdf1.system.entry.js +4 -0
  431. package/lib/duet/{p-fa05d75c.entry.js → p-4400f98c.entry.js} +1 -1
  432. package/lib/duet/{p-85bd737a.js → p-48546dcd.js} +1 -1
  433. package/lib/duet/p-48c2bd2d.system.entry.js +4 -0
  434. package/lib/duet/{p-1921b16d.entry.js → p-4b2b7fec.entry.js} +1 -1
  435. package/lib/duet/p-4bc1a3d4.system.entry.js +4 -0
  436. package/lib/duet/{p-d535f442.entry.js → p-4c705015.entry.js} +1 -1
  437. package/lib/duet/{p-dadd8c19.system.entry.js → p-4e21466c.system.entry.js} +1 -1
  438. package/lib/duet/{p-20611247.entry.js → p-4f53b3a5.entry.js} +1 -1
  439. package/lib/duet/p-5178e544.entry.js +4 -0
  440. package/lib/duet/{p-ea8bc817.entry.js → p-52cff2cb.entry.js} +1 -1
  441. package/lib/duet/{p-ce092918.entry.js → p-53e9e625.entry.js} +1 -1
  442. package/lib/duet/{p-60162940.entry.js → p-553e9a82.entry.js} +1 -1
  443. package/lib/duet/p-55d5039c.entry.js +4 -0
  444. package/lib/duet/{p-0128eef9.system.entry.js → p-58ccbfbc.system.entry.js} +1 -1
  445. package/lib/duet/{p-303a9f45.entry.js → p-5bb0e24b.entry.js} +1 -1
  446. package/lib/duet/{p-56cef695.system.entry.js → p-5ca4d3d1.system.entry.js} +1 -1
  447. package/lib/duet/p-5d17c050.system.js +4 -0
  448. package/lib/duet/{p-0484d391.system.entry.js → p-5e3881fb.system.entry.js} +1 -1
  449. package/lib/duet/p-5ece86f5.system.entry.js +4 -0
  450. package/lib/duet/{p-5844d557.entry.js → p-60ef7612.entry.js} +1 -1
  451. package/lib/duet/p-62dc04eb.system.entry.js +4 -0
  452. package/lib/duet/p-6337d717.system.entry.js +4 -0
  453. package/lib/duet/{p-015b7bce.system.entry.js → p-63d96d93.system.entry.js} +1 -1
  454. package/lib/duet/{p-9a04c2b1.entry.js → p-64ab501a.entry.js} +1 -1
  455. package/lib/duet/p-67c1a50f.js +4 -0
  456. package/lib/duet/{p-ae0c29d6.system.entry.js → p-6807122b.system.entry.js} +1 -1
  457. package/lib/duet/{p-e9c354e0.entry.js → p-6934bb18.entry.js} +1 -1
  458. package/lib/duet/{p-44d6dc12.entry.js → p-69917aca.entry.js} +1 -1
  459. package/lib/duet/p-69d3e6c6.system.entry.js +4 -0
  460. package/lib/duet/p-6b8fad89.js +4 -0
  461. package/lib/duet/{p-f6099430.system.entry.js → p-6bc4e422.system.entry.js} +1 -1
  462. package/lib/duet/{p-ad694b62.system.js → p-6ec53971.system.js} +1 -1
  463. package/lib/duet/{p-00c275a8.system.entry.js → p-6f029ccf.system.entry.js} +1 -1
  464. package/lib/duet/{p-bb19eb2d.entry.js → p-6fd4afc8.entry.js} +1 -1
  465. package/lib/duet/p-7113c656.entry.js +4 -0
  466. package/lib/duet/{p-af5d05c3.system.js → p-734c25f9.system.js} +1 -1
  467. package/lib/duet/{p-dbe6cf3c.entry.js → p-74e1ad60.entry.js} +1 -1
  468. package/lib/duet/{p-7df350f6.system.js → p-7511b87b.system.js} +1 -1
  469. package/lib/duet/p-755eb00f.system.js +4 -0
  470. package/lib/duet/{p-e91e9697.system.entry.js → p-75e9e7dd.system.entry.js} +1 -1
  471. package/lib/duet/p-76332920.system.js +4 -0
  472. package/lib/duet/p-7ae7be92.system.entry.js +4 -0
  473. package/lib/duet/{p-94e4f977.system.js → p-7f6788ac.system.js} +1 -1
  474. package/lib/duet/{p-599ce571.system.entry.js → p-80567c97.system.entry.js} +1 -1
  475. package/lib/duet/p-80c2fd49.entry.js +4 -0
  476. package/lib/duet/{p-74941bed.system.entry.js → p-80dceb63.system.entry.js} +1 -1
  477. package/lib/duet/p-81287261.js +4 -0
  478. package/lib/duet/p-81e96117.system.entry.js +4 -0
  479. package/lib/duet/{p-15aaf279.system.entry.js → p-83e82dff.system.entry.js} +1 -1
  480. package/lib/duet/{p-67fc5d1c.entry.js → p-86859fa9.entry.js} +1 -1
  481. package/lib/duet/{p-06479d57.system.entry.js → p-8788ab31.system.entry.js} +1 -1
  482. package/lib/duet/p-8a04e00e.system.entry.js +4 -0
  483. package/lib/duet/p-8aa62ae7.entry.js +4 -0
  484. package/lib/duet/p-8ba69a2e.system.entry.js +4 -0
  485. package/lib/duet/p-8e318bf7.system.entry.js +4 -0
  486. package/lib/duet/p-90448196.js +4 -0
  487. package/lib/duet/p-957014cb.entry.js +4 -0
  488. package/lib/duet/{p-636a177b.entry.js → p-96a6b699.entry.js} +1 -1
  489. package/lib/duet/{p-24c9714a.system.entry.js → p-96b5040c.system.entry.js} +2 -2
  490. package/lib/duet/p-96ed8863.system.entry.js +4 -0
  491. package/lib/duet/{p-1f337fe3.system.entry.js → p-973da923.system.entry.js} +2 -2
  492. package/lib/duet/{p-94a34398.system.entry.js → p-9b926e8e.system.entry.js} +1 -1
  493. package/lib/duet/{p-dcd70e16.entry.js → p-9c2ffb4f.entry.js} +1 -1
  494. package/lib/duet/p-9ee1bee5.entry.js +4 -0
  495. package/lib/duet/{p-c9bed1f1.entry.js → p-a4e8eef3.entry.js} +1 -1
  496. package/lib/duet/{p-9240897c.system.entry.js → p-a53202be.system.entry.js} +1 -1
  497. package/lib/duet/{p-3c6da86e.entry.js → p-a536e3a0.entry.js} +1 -1
  498. package/lib/duet/p-a555cf62.entry.js +4 -0
  499. package/lib/duet/{p-a7e0505e.system.entry.js → p-a5ec5a20.system.entry.js} +1 -1
  500. package/lib/duet/p-a7539ce8.system.entry.js +4 -0
  501. package/lib/duet/{p-ae924d35.js → p-a7fe475b.js} +1 -1
  502. package/lib/duet/{p-ef2872f7.entry.js → p-a848b7be.entry.js} +1 -1
  503. package/lib/duet/{p-7e257f15.system.entry.js → p-a9b8edca.system.entry.js} +1 -1
  504. package/lib/duet/p-aaec2385.system.entry.js +4 -0
  505. package/lib/duet/{p-4b3b6db2.entry.js → p-addc72ed.entry.js} +1 -1
  506. package/lib/duet/{p-d45702f5.system.entry.js → p-aff63498.system.entry.js} +1 -1
  507. package/lib/duet/p-b15112ee.system.entry.js +4 -0
  508. package/lib/duet/{p-6bbac3f9.system.js → p-b2d44f57.system.js} +1 -1
  509. package/lib/duet/{p-e6236342.entry.js → p-b374c6d4.entry.js} +1 -1
  510. package/lib/duet/p-b841982a.system.entry.js +4 -0
  511. package/lib/duet/{p-8aeb58ba.entry.js → p-b8cdd3d1.entry.js} +1 -1
  512. package/lib/duet/{p-cff0ecb0.entry.js → p-ba93a877.entry.js} +1 -1
  513. package/lib/duet/{p-793b2147.entry.js → p-bc5c6ecb.entry.js} +1 -1
  514. package/lib/duet/{p-9e736904.entry.js → p-bd3655f0.entry.js} +1 -1
  515. package/lib/duet/{p-b6ba7e61.system.entry.js → p-be782730.system.entry.js} +1 -1
  516. package/lib/duet/{p-42f8f330.system.entry.js → p-bf4a9de4.system.entry.js} +1 -1
  517. package/lib/duet/{p-88f1717c.entry.js → p-bfae23ac.entry.js} +1 -1
  518. package/lib/duet/p-c046ca7f.entry.js +4 -0
  519. package/lib/duet/{p-65e8cb09.entry.js → p-c1361d9f.entry.js} +1 -1
  520. package/lib/duet/{p-4d7b963e.entry.js → p-c2a7391a.entry.js} +1 -1
  521. package/lib/duet/{p-55865968.entry.js → p-c3ce7291.entry.js} +1 -1
  522. package/lib/duet/p-c3dde668.system.entry.js +4 -0
  523. package/lib/duet/{p-d45de9cb.entry.js → p-c6f6f357.entry.js} +1 -1
  524. package/lib/duet/p-ca8a3ab8.entry.js +4 -0
  525. package/lib/duet/{p-238fa831.entry.js → p-cc250f3a.entry.js} +1 -1
  526. package/lib/duet/p-cc531319.js +4 -0
  527. package/lib/duet/{p-a5c6603f.system.entry.js → p-ce660d1e.system.entry.js} +1 -1
  528. package/lib/duet/{p-baa4658c.system.entry.js → p-cf8e48d4.system.entry.js} +1 -1
  529. package/lib/duet/{p-f189d547.entry.js → p-cfd4a8d6.entry.js} +1 -1
  530. package/lib/duet/p-d073f201.entry.js +4 -0
  531. package/lib/duet/{p-d286a412.system.entry.js → p-d0c4f3be.system.entry.js} +1 -1
  532. package/lib/duet/{p-ff06b22b.entry.js → p-d2813b52.entry.js} +1 -1
  533. package/lib/duet/p-d289c401.system.entry.js +4 -0
  534. package/lib/duet/{p-d440f795.system.entry.js → p-d3847906.system.entry.js} +1 -1
  535. package/lib/duet/{p-efeb6892.system.entry.js → p-d4f774e7.system.entry.js} +1 -1
  536. package/lib/duet/{p-5e0962cd.entry.js → p-d656652c.entry.js} +1 -1
  537. package/lib/duet/{p-8763fcda.system.entry.js → p-d68185fb.system.entry.js} +2 -2
  538. package/lib/duet/p-d6fde438.system.entry.js +4 -0
  539. package/lib/duet/{p-c4538952.system.entry.js → p-d801f359.system.entry.js} +2 -2
  540. package/lib/duet/{p-b1ba3c6a.entry.js → p-d8a3a455.entry.js} +1 -1
  541. package/lib/duet/p-dbe3b545.system.entry.js +4 -0
  542. package/lib/duet/{p-ac5d2bcc.entry.js → p-dc51a397.entry.js} +1 -1
  543. package/lib/duet/p-dc83334b.system.entry.js +4 -0
  544. package/lib/duet/p-defb2e9d.entry.js +4 -0
  545. package/lib/duet/p-df511350.system.entry.js +4 -0
  546. package/lib/duet/{p-16997663.entry.js → p-df767f70.entry.js} +1 -1
  547. package/lib/duet/{p-d13e3716.system.entry.js → p-dfa29477.system.entry.js} +1 -1
  548. package/lib/duet/{p-c07e462d.entry.js → p-e0738105.entry.js} +1 -1
  549. package/lib/duet/{p-062c814d.system.entry.js → p-e422bba3.system.entry.js} +1 -1
  550. package/lib/duet/p-e5bb414d.entry.js +4 -0
  551. package/lib/duet/{p-c378ccdd.system.js → p-e69859f2.system.js} +1 -1
  552. package/lib/duet/{p-1b7ac0a5.entry.js → p-e73d04ec.entry.js} +1 -1
  553. package/lib/duet/p-eb7db6af.system.entry.js +4 -0
  554. package/lib/duet/{p-7bf8f183.system.entry.js → p-ee135214.system.entry.js} +1 -1
  555. package/lib/duet/p-ef22612f.entry.js +4 -0
  556. package/lib/duet/{p-de9a637d.entry.js → p-f00ebb0b.entry.js} +1 -1
  557. package/lib/duet/p-f2c7b7a7.entry.js +4 -0
  558. package/lib/duet/p-f3e7d0f7.entry.js +4 -0
  559. package/lib/duet/{p-0936d659.entry.js → p-f4b38b74.entry.js} +1 -1
  560. package/lib/duet/p-f6022272.system.entry.js +4 -0
  561. package/lib/duet/{p-2b4f458d.system.entry.js → p-f620628c.system.entry.js} +1 -1
  562. package/lib/duet/{p-eb4ce4cc.entry.js → p-f6541707.entry.js} +1 -1
  563. package/lib/duet/{p-e2bf5465.entry.js → p-f6adf35f.entry.js} +1 -1
  564. package/lib/duet/{p-c03f1b5c.system.entry.js → p-f6c0e8f6.system.entry.js} +1 -1
  565. package/lib/duet/{p-b1ab0652.entry.js → p-fa051572.entry.js} +1 -1
  566. package/lib/duet/{p-89fb266e.system.entry.js → p-fc4ab34f.system.entry.js} +2 -2
  567. package/lib/duet/{p-1de43ba1.system.entry.js → p-fc7e3f1c.system.entry.js} +1 -1
  568. package/lib/duet/{p-3f35573d.system.entry.js → p-fd0af915.system.entry.js} +2 -2
  569. package/lib/duet/{p-407dcb6c.system.entry.js → p-ff024fa4.system.entry.js} +1 -1
  570. package/lib/duet/p-ff2921ce.entry.js +4 -0
  571. package/lib/duet/{p-adaf3f59.entry.js → p-ff336afc.entry.js} +1 -1
  572. package/lib/duet/p-ffd718ec.system.entry.js +4 -0
  573. package/lib/duet/p-fff5d1b3.system.entry.js +4 -0
  574. package/lib/esm/{a11y-utils-ba8ce43e.js → a11y-utils-7401b486.js} +1 -1
  575. package/lib/esm/{app-globals-90a110af.js → app-globals-6b42a456.js} +1 -1
  576. package/lib/esm/{common-strings-af765cad.js → common-strings-a48b3fba.js} +6 -1
  577. package/lib/esm/duet-action-button.entry.js +4 -4
  578. package/lib/esm/duet-alert.entry.js +4 -4
  579. package/lib/esm/duet-badge.entry.js +3 -3
  580. package/lib/esm/duet-banner.entry.js +3 -3
  581. package/lib/esm/duet-breadcrumb.entry.js +3 -3
  582. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  583. package/lib/esm/duet-button_2.entry.js +9 -8
  584. package/lib/esm/duet-callout.entry.js +4 -4
  585. package/lib/esm/duet-caption_4.entry.js +15 -12
  586. package/lib/esm/duet-card.entry.js +4 -4
  587. package/lib/esm/duet-checkbox.entry.js +3 -3
  588. package/lib/esm/duet-checkmark.entry.js +3 -3
  589. package/lib/esm/duet-chip.entry.js +4 -4
  590. package/lib/esm/duet-choice_2.entry.js +6 -6
  591. package/lib/esm/duet-collapsible.entry.js +4 -4
  592. package/lib/esm/duet-combobox.entry.js +5 -5
  593. package/lib/esm/duet-contact-card.entry.js +4 -4
  594. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  595. package/lib/esm/duet-date-picker.entry.js +6 -6
  596. package/lib/esm/duet-divider_2.entry.js +2 -2
  597. package/lib/esm/duet-editable-table_3.entry.js +5 -5
  598. package/lib/esm/duet-empty-state.entry.js +3 -3
  599. package/lib/esm/duet-fieldset.entry.js +5 -5
  600. package/lib/esm/duet-file-chooser.entry.js +2 -2
  601. package/lib/esm/duet-footer.entry.js +6 -6
  602. package/lib/esm/duet-grid_2.entry.js +34 -5
  603. package/lib/esm/duet-header_2.entry.js +5 -5
  604. package/lib/esm/duet-hero.entry.js +6 -6
  605. package/lib/esm/duet-icon.entry.js +3 -3
  606. package/lib/esm/duet-input_2.entry.js +6 -6
  607. package/lib/esm/duet-layout.entry.js +2 -2
  608. package/lib/esm/duet-list_2.entry.js +11 -5
  609. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  610. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  611. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
  612. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  613. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  614. package/lib/esm/duet-menu-bar.entry.js +4 -4
  615. package/lib/esm/duet-modal.entry.js +7 -7
  616. package/lib/esm/duet-multiselect.entry.js +6 -6
  617. package/lib/esm/duet-nav.entry.js +2 -2
  618. package/lib/esm/duet-notification_2.entry.js +5 -5
  619. package/lib/esm/duet-number-input.entry.js +5 -5
  620. package/lib/esm/duet-overlay.entry.js +3 -3
  621. package/lib/esm/duet-page-heading.entry.js +3 -3
  622. package/lib/esm/duet-pagination_2.entry.js +5 -5
  623. package/lib/esm/duet-phone-input.entry.js +4 -4
  624. package/lib/esm/duet-popup-menu_2.entry.js +12 -9
  625. package/lib/esm/duet-progress.entry.js +4 -4
  626. package/lib/esm/duet-promo-card.entry.js +3 -3
  627. package/lib/esm/duet-radio_2.entry.js +4 -4
  628. package/lib/esm/duet-range-slider.entry.js +3 -3
  629. package/lib/esm/duet-scrollable_3.entry.js +6 -6
  630. package/lib/esm/duet-section-layout.entry.js +1 -1
  631. package/lib/esm/duet-select.entry.js +4 -4
  632. package/lib/esm/duet-shaped-image.entry.js +2 -2
  633. package/lib/esm/duet-share-chart-item.entry.js +1 -1
  634. package/lib/esm/duet-share-chart.entry.js +4 -4
  635. package/lib/esm/duet-show-more.entry.js +4 -4
  636. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  637. package/lib/esm/duet-slideout-link.entry.js +7 -7
  638. package/lib/esm/duet-slideout-panel-dropdown.entry.js +3 -3
  639. package/lib/esm/duet-slideout-panel.entry.js +6 -6
  640. package/lib/esm/duet-slideout.entry.js +6 -6
  641. package/lib/esm/duet-status-icon.entry.js +1 -1
  642. package/lib/esm/duet-step_2.entry.js +19 -5
  643. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  644. package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
  645. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  646. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  647. package/lib/esm/duet-submenu-bar.entry.js +3 -3
  648. package/lib/esm/duet-textarea.entry.js +7 -7
  649. package/lib/esm/duet-toggle.entry.js +3 -3
  650. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  651. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
  652. package/lib/esm/duet-toolbar-item.entry.js +7 -7
  653. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  654. package/lib/esm/duet-toolbar.entry.js +3 -3
  655. package/lib/esm/duet-tooltip-button_2.entry.js +5 -5
  656. package/lib/esm/duet-tooltip.entry.js +4 -4
  657. package/lib/esm/duet-tray.entry.js +4 -4
  658. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  659. package/lib/esm/duet-upload-item.entry.js +4 -4
  660. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  661. package/lib/esm/duet.js +4 -4
  662. package/lib/esm/{errorcodes.utils-755952c8.js → errorcodes.utils-fbd04a2f.js} +1 -1
  663. package/lib/esm/{floating-ui.dom.esm-ef361ca5.js → floating-ui.dom.esm-ebc91b33.js} +27 -50
  664. package/lib/esm/{focus-utils-a8518a11.js → focus-utils-fb23619c.js} +1 -1
  665. package/lib/esm/{index-56e364b1.js → index-4dab47c5.js} +1 -1
  666. package/lib/esm/{language-utils-abee49de.js → language-utils-4b9dc3af.js} +9 -2
  667. package/lib/esm/loader.js +4 -4
  668. package/lib/esm/{slot-utils-2d133bd0.js → slot-utils-14a62b07.js} +1 -1
  669. package/lib/esm/{themeable-component-2575bd2f.js → themeable-component-4fc6639e.js} +8 -1
  670. package/lib/esm-es5/{a11y-utils-ba8ce43e.js → a11y-utils-7401b486.js} +1 -1
  671. package/lib/esm-es5/{app-globals-90a110af.js → app-globals-6b42a456.js} +1 -1
  672. package/lib/esm-es5/{common-strings-af765cad.js → common-strings-a48b3fba.js} +1 -1
  673. package/lib/esm-es5/duet-action-button.entry.js +2 -2
  674. package/lib/esm-es5/duet-alert.entry.js +1 -1
  675. package/lib/esm-es5/duet-badge.entry.js +1 -1
  676. package/lib/esm-es5/duet-banner.entry.js +1 -1
  677. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  678. package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
  679. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  680. package/lib/esm-es5/duet-callout.entry.js +1 -1
  681. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  682. package/lib/esm-es5/duet-card.entry.js +2 -2
  683. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  684. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  685. package/lib/esm-es5/duet-chip.entry.js +1 -1
  686. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  687. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  688. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  689. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  690. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  691. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  692. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  693. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  694. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  695. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  696. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  697. package/lib/esm-es5/duet-footer.entry.js +2 -2
  698. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  699. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  700. package/lib/esm-es5/duet-hero.entry.js +1 -1
  701. package/lib/esm-es5/duet-icon.entry.js +1 -1
  702. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  703. package/lib/esm-es5/duet-layout.entry.js +1 -1
  704. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  705. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  706. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  707. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  708. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  709. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  710. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  711. package/lib/esm-es5/duet-modal.entry.js +1 -1
  712. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  713. package/lib/esm-es5/duet-nav.entry.js +1 -1
  714. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  715. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  716. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  717. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  718. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  719. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  720. package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
  721. package/lib/esm-es5/duet-progress.entry.js +1 -1
  722. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  723. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  724. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  725. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  726. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  727. package/lib/esm-es5/duet-select.entry.js +2 -2
  728. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  729. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  730. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  731. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  732. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  733. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  734. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  735. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  736. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  737. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  738. package/lib/esm-es5/duet-step_2.entry.js +2 -2
  739. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  740. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
  741. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  742. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  743. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  744. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  745. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  746. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  747. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  748. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  749. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  750. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  751. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  752. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  753. package/lib/esm-es5/duet-tray.entry.js +1 -1
  754. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  755. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  756. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  757. package/lib/esm-es5/duet.js +1 -1
  758. package/lib/esm-es5/{errorcodes.utils-755952c8.js → errorcodes.utils-fbd04a2f.js} +1 -1
  759. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +4 -0
  760. package/lib/esm-es5/focus-utils-fb23619c.js +4 -0
  761. package/lib/esm-es5/{index-56e364b1.js → index-4dab47c5.js} +1 -1
  762. package/lib/esm-es5/language-utils-4b9dc3af.js +4 -0
  763. package/lib/esm-es5/loader.js +1 -1
  764. package/lib/esm-es5/{slot-utils-2d133bd0.js → slot-utils-14a62b07.js} +1 -1
  765. package/lib/esm-es5/themeable-component-4fc6639e.js +4 -0
  766. package/lib/types/common-strings.d.ts +1 -0
  767. package/lib/types/common-types.d.ts +1 -1
  768. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  769. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  770. package/lib/types/components/duet-spinner/duet-spinner.d.ts +1 -0
  771. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  772. package/lib/types/components.d.ts +10 -2
  773. package/lib/types/utils/language-utils.d.ts +1 -0
  774. package/package.json +4 -4
  775. package/lib/duet/p-00a1eee5.entry.js +0 -4
  776. package/lib/duet/p-0773901d.js +0 -4
  777. package/lib/duet/p-0a5a0f9f.system.entry.js +0 -4
  778. package/lib/duet/p-0c27b62a.system.entry.js +0 -4
  779. package/lib/duet/p-0dd3a7c9.entry.js +0 -4
  780. package/lib/duet/p-116c7db8.system.entry.js +0 -4
  781. package/lib/duet/p-12a12f9c.entry.js +0 -4
  782. package/lib/duet/p-17aa4bbe.system.entry.js +0 -4
  783. package/lib/duet/p-184e698a.system.entry.js +0 -4
  784. package/lib/duet/p-1c107ee6.system.entry.js +0 -4
  785. package/lib/duet/p-1fe573fb.system.entry.js +0 -4
  786. package/lib/duet/p-28b88f1b.entry.js +0 -4
  787. package/lib/duet/p-2afae3ba.system.entry.js +0 -4
  788. package/lib/duet/p-2b30e991.entry.js +0 -4
  789. package/lib/duet/p-2e417433.js +0 -4
  790. package/lib/duet/p-31bb5751.js +0 -4
  791. package/lib/duet/p-321b7867.system.entry.js +0 -4
  792. package/lib/duet/p-34afb5ae.system.entry.js +0 -4
  793. package/lib/duet/p-393c06a4.system.entry.js +0 -4
  794. package/lib/duet/p-3964bb3b.entry.js +0 -4
  795. package/lib/duet/p-3e7f5733.entry.js +0 -4
  796. package/lib/duet/p-437d2bb6.entry.js +0 -4
  797. package/lib/duet/p-442222ef.system.entry.js +0 -4
  798. package/lib/duet/p-48bd046c.system.entry.js +0 -4
  799. package/lib/duet/p-5373b8ad.system.entry.js +0 -4
  800. package/lib/duet/p-55a8a353.entry.js +0 -4
  801. package/lib/duet/p-5a9197a4.entry.js +0 -4
  802. package/lib/duet/p-6229bcd8.system.js +0 -4
  803. package/lib/duet/p-64d39db4.js +0 -4
  804. package/lib/duet/p-682e6943.system.entry.js +0 -4
  805. package/lib/duet/p-68eb7faa.entry.js +0 -4
  806. package/lib/duet/p-70ae6f2c.system.entry.js +0 -4
  807. package/lib/duet/p-725c2a9e.system.entry.js +0 -4
  808. package/lib/duet/p-737130d0.js +0 -4
  809. package/lib/duet/p-74184074.system.entry.js +0 -4
  810. package/lib/duet/p-7930b999.system.js +0 -4
  811. package/lib/duet/p-793f3625.system.entry.js +0 -4
  812. package/lib/duet/p-7a33d0be.entry.js +0 -4
  813. package/lib/duet/p-7c0e1242.system.entry.js +0 -4
  814. package/lib/duet/p-86a187a0.system.entry.js +0 -4
  815. package/lib/duet/p-89aebeb3.entry.js +0 -4
  816. package/lib/duet/p-8da50ca3.entry.js +0 -4
  817. package/lib/duet/p-912efbb2.system.entry.js +0 -4
  818. package/lib/duet/p-938f9b3e.system.entry.js +0 -4
  819. package/lib/duet/p-96c232c1.entry.js +0 -4
  820. package/lib/duet/p-9bdb177a.system.entry.js +0 -4
  821. package/lib/duet/p-9c39ff09.system.entry.js +0 -4
  822. package/lib/duet/p-a0cc3a57.system.entry.js +0 -4
  823. package/lib/duet/p-a1105b5c.system.js +0 -4
  824. package/lib/duet/p-a487e706.system.entry.js +0 -4
  825. package/lib/duet/p-aa59a64b.system.entry.js +0 -4
  826. package/lib/duet/p-ab6757f6.entry.js +0 -4
  827. package/lib/duet/p-ac8c8a39.system.entry.js +0 -4
  828. package/lib/duet/p-ad3f1daf.system.entry.js +0 -4
  829. package/lib/duet/p-afa617d4.system.entry.js +0 -4
  830. package/lib/duet/p-b4676151.system.entry.js +0 -4
  831. package/lib/duet/p-b84219f5.entry.js +0 -4
  832. package/lib/duet/p-beeb12f1.js +0 -4
  833. package/lib/duet/p-bfa81195.entry.js +0 -4
  834. package/lib/duet/p-c45f948b.system.entry.js +0 -4
  835. package/lib/duet/p-c6ad88ca.system.entry.js +0 -4
  836. package/lib/duet/p-c708fd70.system.entry.js +0 -4
  837. package/lib/duet/p-c9f780bb.system.entry.js +0 -4
  838. package/lib/duet/p-cb66bf76.system.entry.js +0 -4
  839. package/lib/duet/p-cc5e6288.system.js +0 -4
  840. package/lib/duet/p-d64d72d6.system.entry.js +0 -4
  841. package/lib/duet/p-d7f543fb.js +0 -4
  842. package/lib/duet/p-d8861775.system.js +0 -4
  843. package/lib/duet/p-dfc8cb16.system.entry.js +0 -4
  844. package/lib/duet/p-e0880953.system.entry.js +0 -4
  845. package/lib/duet/p-e52a6209.entry.js +0 -4
  846. package/lib/duet/p-e57748ed.entry.js +0 -4
  847. package/lib/duet/p-eaf430ed.entry.js +0 -4
  848. package/lib/duet/p-f0939f30.entry.js +0 -4
  849. package/lib/esm-es5/floating-ui.dom.esm-ef361ca5.js +0 -4
  850. package/lib/esm-es5/focus-utils-a8518a11.js +0 -4
  851. package/lib/esm-es5/language-utils-abee49de.js +0 -4
  852. package/lib/esm-es5/themeable-component-2575bd2f.js +0 -4
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c as t,h as i,g as r,H as o}from"./p-3f5c74ac.js";import{i as s}from"./p-347269f4.js";import{c as a}from"./p-5e59e970.js";import{i as n,s as d,u as p}from"./p-a45e3f8b.js";import{c as u}from"./p-cc531319.js";import{a as c,g as h}from"./p-1e3f1ae9.js";import"./p-9c3c64b9.js";const l=class{constructor(i){e(this,i),this.duetStepClick=t(this,"duetStepClick",7),this.buttonId=a("DuetStepButton"),this.contentId=a("DuetStepContent"),this.handleKeyDown=e=>{this.isClickDisabled()||n(e)&&(e.preventDefault(),this.handleStepClick(e))},this.handleClick=e=>{this.isClickDisabled()||this.handleStepClick(e)},this.theme="",this.heading=void 0,this.headingLevel=void 0,this.stepIndex=void 0,this.state=void 0,this.roundedTop=!1,this.roundedBottom=!1}handleStepClick(e){this.duetStepClick.emit({originalEvent:e,component:"duet-step",stepIndex:this.stepIndex})}componentWillLoad(){s(this)}connectedCallback(){d(this)}disconnectedCallback(){p(this)}async setFocus(e={preventScroll:!0}){this.buttonElement.focus(e)}isClickDisabled(){return"complete"!==this.state}headingColor(){return"incomplete"!==this.state?"":"turva"!==this.theme?"gray-darker":"gray-dark-turva"}renderStepCounter(){return"complete"===this.state||"disabled"===this.state?i("div",{class:"duet-step-icon"},i("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'})):`${this.stepIndex+1} `}render(){return i("div",{class:{"duet-step":!0,[`is-${this.state}`]:!0,"rounded-top":this.roundedTop,"rounded-bottom":this.roundedBottom,"duet-theme-turva":"turva"===this.theme}},i("div",{class:"duet-step-heading",id:this.buttonId,role:"current"!==this.state?"button":"region","aria-current":"current"===this.state?"step":void 0,tabindex:"current"!==this.state?"0":void 0,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":("current"===this.state).toString(),"aria-controls":this.contentId,"aria-selected":("current"===this.state).toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:e=>this.buttonElement=e},i("div",{"aria-hidden":"true"},i("div",{class:"duet-step-counter"},this.renderStepCounter())),i("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),i("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),i("div",null,i("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),i("duet-spacer",{direction:"horizontal",size:"large"}),i("div",{class:"duet-step-heading-slot"},i("slot",{name:"heading-content"}))),i("div",{class:"duet-step-content-wrapper"},i("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},i("slot",null))))}get element(){return r(this)}};l.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}.duet-step{padding:20px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.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";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false]{cursor:pointer}.duet-step-heading:focus{outline:0}.duet-step-heading:active{opacity:0.75}:host(.user-is-tabbing) .duet-step-heading: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-step-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete .duet-step-heading:hover .duet-step-counter,.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#005f8f}.duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e0a26}.is-current .duet-step-heading{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading{margin-top:8px;margin-bottom:8px !important}:host(:first-of-type) .duet-step-heading{margin-top:0}:host(:last-of-type) .duet-step-heading{margin-bottom:0 !important}}.duet-step-counter{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter{width:40px;height:40px;line-height:40px}}.is-complete .duet-step-counter,.is-current .duet-step-counter,.is-disabled .duet-step-counter{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete .duet-step-counter,.duet-theme-turva.is-current .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(198, 12, 48)}.is-incomplete .duet-step-counter{background-color:rgb(98, 121, 138)}.duet-theme-turva.is-incomplete .duet-step-counter{background-color:rgb(143, 147, 158)}.duet-step-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon{width:20px;height:20px}}.duet-step-icon duet-icon{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon duet-icon{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(212, 223, 229)}.duet-theme-turva .duet-step-content-wrapper{border-color:rgb(222, 224, 228)}:host(:last-of-type) .duet-step-content-wrapper{min-height:0;border:transparent}}.duet-step-content{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content{padding-bottom:28px}}.is-current .duet-step-content{display:block}.duet-step-heading-slot{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot{display:block}}:host(.duet-theme-turva2) .duet-theme-turva.is-complete .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-current .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e1734}:host(.duet-theme-turva2) .duet-theme-turva .duet-step-content-wrapper{border-color:rgb(248, 229, 217)}';const m=class{constructor(i){e(this,i),this.duetStepChange=t(this,"duetStepChange",7),this.language=c(),this.theme="",this.accessibleLive=h(u,this.language),this.margin="auto",this.backDisabled=!1,this.selected=0}currentStepChanged(e){if(isNaN(e))throw new Error(`step must be a number. got: ${e}`);if(e<0)throw new Error(`step must be not be less than zero. got: ${e}`);if(e>this.getSteps().length)throw new Error("step must not exceed total number of steps");this.updateStepState(),setTimeout((()=>this.setStepFocus()),50)}currentStepInvokedDisable(){this.updateStepState()}onDuetStepClick(e){this.duetStepChange.emit({fromStep:this.selected,toStep:e.detail.stepIndex,component:"duet-stepper"})}componentWillLoad(){s(this)}async connectedCallback(){this.childObserver=new MutationObserver(this.updateStepState.bind(this)),this.childObserver.observe(this.element,{childList:!0}),this.updateStepState()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0)}getSteps(){return Array.from(this.element.querySelectorAll("duet-step"))}setStepFocus(){this.getSteps()[this.selected].setFocus()}updateStepState(){const e=this.getSteps();e.forEach(((e,t)=>{let i;i=t<this.selected?this.backDisabled?"disabled":"complete":t>this.selected?"incomplete":"current",e.theme=this.theme,e.state=i,e.stepIndex=t}));const t=function(e,t){const i={};return t.forEach((e=>{const t=e.state;i[t]||(i[t]=[]),i[t].push(e)})),i}(0,e);Object.values(t).forEach((e=>{e.forEach(((t,i)=>{t.roundedTop=0===i,t.roundedBottom=i===e.length-1}))}))}formatAnnouncement(){const e=this.getSteps(),t=(this.selected+1).toString(10),i=e.length.toString(10);return this.accessibleLive.replace("{current}",t).replace("{total}",i)}render(){return i(o,{key:"eef8866a3e7ccabbb7701657e15ec683958ea5d4",class:{"duet-m-0":"none"===this.margin}},i("div",{key:"f5cbf491c749b26ca29bff3f024202eb5c95368b",class:{"duet-stepper":!0,"duet-theme-turva":"turva"===this.theme}},i("duet-visually-hidden",{key:"8349b7f7cbe730cbc82b9b91a8b5f481ed913a61","aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),i("slot",{key:"c8ac270cc86273c7d75c996b9772e0585fa2fc0c"})))}get element(){return r(this)}static get watchers(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}}};m.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";export{l as duet_step,m as duet_stepper}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as i,H as s,g as o}from"./p-ed0179f9.js";import{q as a}from"./p-17efced0.js";import{o as n,f as r,s as h,c as p,b as d}from"./p-d7f543fb.js";import{i as u}from"./p-2e417433.js";import{f as c}from"./p-64d39db4.js";import{c as l,f as m,b,o as f}from"./p-a45e3f8b.js";import{a as g}from"./p-0773901d.js";import{T as v}from"./p-8cb0e6bd.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.filterResultCountLabel={en:"items match filter",fi:"kohtaa vastaa suodatinta",sv:"menyalternativ matchar filtret"},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&&r(),h({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(),i=this.itemElements;i.forEach((t=>{var i;t.style.display=!e||t.textContent.toLowerCase().includes(e)||(null===(i=t.value)||void 0===i?void 0:i.toLowerCase().includes(e))?"":"none"})),this.filterResultCount=i.filter((t=>"none"!==t.style.display)).length},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.filterResultCount=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){if(!!t!=!!e)if(this.open&&!e){const t={ancestorScroll:!this.forcePlacement};this.openButton&&(this.openButton.accessibleExpanded=!0),"listbox"!==this.accessibleRole&&this.teleport.makeSiblingsInert(),this.updatePlacement(),this.menuElement&&this.openButton&&(this.autoUpdateCleanup=d(this.openButton,this.menuElement,this.updatePlacement,t)),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)}else!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),this.autoUpdateCleanup&&this.autoUpdateCleanup(),setTimeout((()=>{"menu"===this.accessibleRole&&c(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"))}getAllPrecedingMatchingSiblings(t,e){const i=t.previousElementSibling;if(i){const t=this.getAllPrecedingMatchingSiblings(i,e);return(null==i?void 0:i.matches(e))&&t.push(i),t}return[]}get popupMenuStyleHeight(){var t;const e=Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item, :scope duet-notification")).filter((t=>"none"!==t.style.display));if(e.length>0&&this.scrollLimit){const i=e.slice(0,this.scrollLimit-1);return`${i.reduce(((t,e)=>t+e.offsetHeight),0)+((null===(t=this.filterInput)||void 0===t?void 0:t.offsetHeight)||0)+17*this.getAllPrecedingMatchingSiblings(i[i.length-1],"duet-divider").length+2*Number(a.replace("px",""))}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:"b122068ff5f05a161926a7eeec8418fd258dc753"},i("div",{key:"3ee437f9fce94ed063c132bb045aedf2714a4ccf",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:"73faa0c97cebf6cb99abae830cabcc06525b4b57"},i("duet-input",{key:"fa2d88575830d3dae9beb503dc7016e419a7cef0",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-visually-hidden",{key:"56c6e3412f75452b9da5bc8888405ce19289d7d1"},i("span",{key:"ad2a9bb358c92fb580f225a347f45f4bd2147e14",role:"status"},`\n ${this.filterResultCount}/${this.itemElements.length}\n ${this.filterResultCountLabel[this.language]}\n `)),i("duet-spacer",{key:"dfd8ee96c3234e6c1cfd6389fdbf30996dab3d0d",size:"xx-small"})),i("slot",{key:"adc7655a36b4009b4dc5cfcb9d83b73a2e0beb9e"})))}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}slot{--divider-margin:var(--space-x-small, 8px)}";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:"ec9a97488880d6513ce756f9816356ab2a3ef1ae",role:this.accessibleRole},i(t,{key:"6bb037d35469526f830d2767f9b94aa3e401730a",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:"aeb1363d0e70572dcead578251332bc61047313b",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),i("span",{key:"815b720a77e1ff6a7ecceffa4d1a42a876c9ca5f",class:"duet-popup-menu-item-label"},i("slot",{key:"32a806ebff96ce81bd67c42ab95df5d170a6305c"})),(this.trailingIcon||this.active||this.url&&this.external)&&i("duet-icon",{key:"0fd375db736e280b9c2157fadce9f8319328fe27",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:"3a8c841ef1ec29f2174c1d62da75f692f73cb2fe",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}
4
+ import{r as t,c as e,h as i,H as s,g as o}from"./p-3f5c74ac.js";import{q as a}from"./p-17efced0.js";import{o as n,f as r,s as h,c as p,b as u}from"./p-81287261.js";import{i as d}from"./p-347269f4.js";import{f as c}from"./p-6b8fad89.js";import{c as l,f as m,b,o as f}from"./p-a45e3f8b.js";import{a as g}from"./p-1e3f1ae9.js";import{T as v}from"./p-8cb0e6bd.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.filterResultCountLabel={en:"items match filter",fi:"kohtaa vastaa suodatinta",sv:"menyalternativ matchar filtret"},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&&r(),h({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(),i=this.itemElements;i.forEach((t=>{var i;t.style.display=!e||t.textContent.toLowerCase().includes(e)||(null===(i=t.value)||void 0===i?void 0:i.toLowerCase().includes(e))?"":"none"})),this.filterResultCount=i.filter((t=>"none"!==t.style.display)).length},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.filterResultCount=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(){d(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){if(!!t!=!!e)if(this.open&&!e){const t={ancestorScroll:!this.forcePlacement};this.openButton&&(this.openButton.accessibleExpanded=!0),"listbox"!==this.accessibleRole&&this.teleport.makeSiblingsInert(),this.updatePlacement(),this.menuElement&&this.openButton&&(this.autoUpdateCleanup=u(this.openButton,this.menuElement,this.updatePlacement,t)),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)}else!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),this.autoUpdateCleanup&&this.autoUpdateCleanup(),setTimeout((()=>{"menu"===this.accessibleRole&&c(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"))}getAllPrecedingMatchingSiblings(t,e){const i=t.previousElementSibling;if(i){const t=this.getAllPrecedingMatchingSiblings(i,e);return(null==i?void 0:i.matches(e))&&t.push(i),t}return[]}get popupMenuStyleHeight(){var t;const e=Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item, :scope duet-notification")).filter((t=>"none"!==t.style.display));if(e.length>0&&this.scrollLimit){const i=e.slice(0,this.scrollLimit-1);return`${i.reduce(((t,e)=>t+e.offsetHeight),0)+((null===(t=this.filterInput)||void 0===t?void 0:t.offsetHeight)||0)+17*this.getAllPrecedingMatchingSiblings(i[i.length-1],"duet-divider").length+2*Number(a.replace("px",""))}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:"b122068ff5f05a161926a7eeec8418fd258dc753"},i("div",{key:"3ee437f9fce94ed063c132bb045aedf2714a4ccf",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:"73faa0c97cebf6cb99abae830cabcc06525b4b57"},i("duet-input",{key:"fa2d88575830d3dae9beb503dc7016e419a7cef0",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-visually-hidden",{key:"56c6e3412f75452b9da5bc8888405ce19289d7d1"},i("span",{key:"ad2a9bb358c92fb580f225a347f45f4bd2147e14",role:"status"},`\n ${this.filterResultCount}/${this.itemElements.length}\n ${this.filterResultCountLabel[this.language]}\n `)),i("duet-spacer",{key:"dfd8ee96c3234e6c1cfd6389fdbf30996dab3d0d",size:"xx-small"})),i("slot",{key:"adc7655a36b4009b4dc5cfcb9d83b73a2e0beb9e"})))}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}slot{--divider-margin:var(--space-x-small, 8px)}:host(.duet-theme-turva2) .duet-popup-menu-list.duet-theme-turva{color:rgb(35, 46, 61) !important}";const k=class{constructor(i){t(this,i),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),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(){d(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:"0fc9e90362081fd5b2e00742e296ede698ddecc2",role:"menuitem"===this.accessibleRole&&this.isSafariBrowser?null:this.accessibleRole},i(t,{key:"a53d080e78aa5f0a4206d45efdbbba5df8f2042c",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:"fc6728587084a43f9dc76eb3bf86778080a00e7d",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),i("span",{key:"c4f9c8e931c8eedd61507ac71aa64e8b8f57788f",class:"duet-popup-menu-item-label"},i("slot",{key:"a18a3a9ed5f6726e4a1837d51cff56955d957e96"})),(this.trailingIcon||this.active||this.url&&this.external)&&i("duet-icon",{key:"ae2294e052ef2a9a8b9795a8433f222340345cc1",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:"6373f165f6aeeabffb62962dd8e97e58b5d1a6aa",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}:host(.duet-theme-turva2) .duet-popup-menu-item.duet-theme-turva{color:rgb(35, 46, 61)}:host(.duet-theme-turva2) .duet-popup-menu-item.active.duet-theme-turva{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-popup-menu-item:hover.duet-theme-turva{background:rgb(248, 229, 217)}';export{y as duet_popup_menu,k as duet_popup_menu_item}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function r(t){try{d(n.next(t))}catch(t){s(t)}}function o(t){try{d(n["throw"](t))}catch(t){s(t)}}function d(t){t.done?i(t.value):a(t.value).then(r,o)}d((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,a,s,r;return r={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(e){return d([t,e])}}function d(o){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,o[0]&&(i=0)),i)try{if(n=1,a&&(s=o[0]&2?a["return"]:o[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,o[1])).done)return s;if(a=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=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(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){i.label=o[1];break}if(o[0]===6&&i.label<s[1]){i.label=s[1];s=o;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(o);break}if(s[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];a=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-7df350f6.system.js","./p-6229bcd8.system.js","./p-9508ee67.system.js","./p-64959c1d.system.js"],(function(t){"use strict";var e,i,n,a,s,r,o,d;return{setters:[function(t){e=t.E;i=t.r;n=t.h;a=t.H;s=t.g},function(t){r=t.i},function(t){o=t.g;d=t.r},function(){}],execute:function(){var h=function(t){if(typeof document==="undefined"||!t){return}var e=document.createElement("div");e.innerHTML=t;for(var i=e.childNodes.length-1;i>=0;i--){var n=e.childNodes[i];if(n.nodeName.toLowerCase()!=="svg"){e.removeChild(e.childNodes[i])}}return e.firstElementChild};var u=function(t){if(t.nodeName.toLowerCase()==="script"){return false}for(var e=0;e<t.attributes.length;e++){var i=t.attributes[e];if(i.name.toLowerCase().indexOf("on")===0){return false}}if(t.children){for(var e=0;e<t.children.length;e++){if(!u(t.children[e])){return false}}}return true};var c=function(){if(window["duetcdnuri"]){return window["duetcdnuri"]}else{return e.cdnURIProd}};var l=function(t){var i=c();if(i.includes("localhost")){return"".concat(i,"/icons/lib/assets/").concat(t,".svg")}else{return"".concat(i,"/icons/").concat(e.duetIconVersion,"/lib/assets/").concat(t,".svg")}};var p={};function g(t){if(p[t]){return p[t]}function e(){return __awaiter(this,void 0,void 0,(function(){var e,i,n,a;return __generator(this,(function(s){switch(s.label){case 0:return[4,fetch(t)];case 1:e=s.sent();if(!e.ok){throw new Error("SVG request failed: ".concat(e.status," ").concat(e.statusText))}return[4,e.text()];case 2:i=s.sent();n=h(i);if(!u(n)){throw new Error("SVG validation failed")}a=document.createElement("div");a.appendChild(n);return[2,a.innerHTML]}}))}))}var i=e();return p[t]=i}var x="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;display:block;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(7deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat;mask-position:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-7deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;overflow:clip;fill:currentColor;overflow-clip-margin:1px}:host([size=auto]) .duet-icon-svg{width:100%;height:100%}:host([size=xxx-small]) .duet-icon-svg{width:7px;height:7px}:host([size=xxx-small]) .duet-icon-has-background{padding:6px}:host([size=xxx-small]) .duet-icon-has-outline{padding:4px}:host([size=xxx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xxx-small]) .duet-icon-has-outline .duet-icon-svg{width:10px;height:10px}:host([size=xxx-small]) .duet-icon-shape-brand{padding:0}:host([size=xxx-small]) .duet-icon-shape-brand .duet-icon-svg{width:0;height:0}:host([size=xx-small]) .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-icon-has-background{padding:8px}:host([size=xx-small]) .duet-icon-has-outline{padding:7px}:host([size=xx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xx-small]) .duet-icon-has-outline .duet-icon-svg{width:16px;height:16px}:host([size=xx-small]) .duet-icon-shape-brand{padding:4px}:host([size=xx-small]) .duet-icon-shape-brand .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-theme-turva .duet-icon-shape-brand{width:18px;height:15px;padding:0}:host([size=x-small]) .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-icon-has-outline{padding:10px}:host([size=x-small]) .duet-icon-has-background{padding:12px}:host([size=x-small]) .duet-icon-shape-brand{padding:8px}:host([size=x-small]) .duet-icon-shape-brand .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-theme-turva .duet-icon-shape-brand{width:32px;height:30px;padding:0}:host([size=small]) .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-icon-has-background{padding:14px}:host([size=small]) .duet-icon-shape-brand{padding:8px}:host([size=small]) .duet-icon-shape-brand .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-theme-turva .duet-icon-shape-brand{width:36px;height:34px;padding:0}:host([size=medium]) .duet-icon-shape-brand{padding:12px}:host([size=medium]) .duet-icon-shape-brand .duet-icon-svg{width:24px;height:24px}:host([size=medium]) .duet-theme-turva .duet-icon-shape-brand{width:48px;height:44px;padding:0}:host([size=large]) .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-icon-shape-brand{padding:16px}:host([size=large]) .duet-icon-shape-brand .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-theme-turva .duet-icon-shape-brand{width:62px;height:56px;padding:0}:host([size=x-large]) .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-icon-shape-brand{padding:20px}:host([size=x-large]) .duet-icon-shape-brand .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-theme-turva .duet-icon-shape-brand{width:76px;height:68px;padding:0}:host([size=xx-large]) .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-icon-shape-brand{padding:24px}:host([size=xx-large]) .duet-icon-shape-brand .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-theme-turva .duet-icon-shape-brand{width:95px;height:86px;padding:0}:host([size=xxx-large]) .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){:host([size=xxx-large]) .duet-icon-svg{width:72px;height:72px}}:host([size=xxx-large]) .duet-icon-shape-brand{padding:36px}:host([size=xxx-large]) .duet-icon-shape-brand .duet-icon-svg{width:72px;height:72px}:host([size=xxx-large]) .duet-theme-turva .duet-icon-shape-brand{width:144px;height:130px;padding:0}";var m=x;var f=t("duet_icon",function(){function t(t){i(this,t);this.svgContent=undefined;this.theme="";this.icon=undefined;this.src=undefined;this.name="action-add";this.margin="auto";this.responsive=true;this.color="";this.background="";this.backgroundOpacity=1;this.backgroundRotation=0;this.size="medium";this.outline="";this.shape="circle"}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:r(this);if(this.src&&this.icon){console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence","icon:",this.icon,"src:",this.src)}return[4,this.loadIcon(null,null)];case 1:t.sent();return[2]}}))}))};t.prototype.loadIcon=function(t,e){return __awaiter(this,void 0,void 0,(function(){var i,n,a;return __generator(this,(function(s){switch(s.label){case 0:if(this.icon){this.svgContent=this.icon;return[2]}if(this.element.shadowRoot.querySelector("svg")&&!this.svgContent){if(e===null&&t===null){return[2]}else if(this.element.shadowRoot.querySelector('.duet-icon-svg[data-name="'.concat(t,'"]'))){return[2]}}i=this.src?this.src:this.name?l(this.name):"";if(!i)return[3,5];s.label=1;case 1:s.trys.push([1,3,,4]);n=this;return[4,g(i)];case 2:n.svgContent=s.sent();return[3,4];case 3:a=s.sent();console.warn("[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ".concat(i,"."),a);return[3,4];case 4:return[3,6];case 5:this.svgContent="";s.label=6;case 6:return[2]}}))}))};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":o(this.color,this.theme)||o(this.outline,this.theme);var i=this.backgroundRotation?{transform:"rotate(".concat(this.backgroundRotation,"deg)"),"transform-origin":"center center"}:{};var s=Object.assign({color:e,background:d(o(this.background,this.theme),this.backgroundOpacity),"border-color":o(this.outline,this.theme)},i);var r=this.backgroundRotation?{transform:"rotate(-".concat(this.backgroundRotation,"deg)"),"transform-origin":"center center"}:{};var h=Object.assign({},r);var u=this.shape==="brand-rotated"?"duet-icon-shape-brand":"duet-icon-shape-".concat(this.shape);return n(a,{key:"84c42b49ccdbce122db670bd99c0390de4ac152a",class:{"duet-m-0":this.margin==="none","duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background}},n("span",{key:"20eba260f00af16a6b59a0fe9a92b2fbdebeba48","aria-hidden":"true",style:s,class:(t={"duet-icon":true,"duet-theme-turva":this.theme==="turva","duet-theme-default":this.theme==="default","duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background},t[u]=true,t.rotated=this.shape==="brand-rotated"&&this.theme!=="turva",t["duet-icon-not-responsive"]=!this.responsive,t)},n("span",{key:"2092b7fff365bcdf2260d992c78e346fed24b3ca","aria-hidden":"true",class:{"duet-icon-svg":true,rotated:this.shape==="brand-rotated"&&this.theme!=="turva"},"data-name":this.name,innerHTML:this.svgContent,style:h})))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{src:["loadIcon"],icon:["loadIcon"],name:["loadIcon"]}},enumerable:false,configurable:true});return t}());f.style=m}}}));
4
+ */System.register(["./p-7511b87b.system.js","./p-0a53642c.system.js","./p-9508ee67.system.js","./p-64959c1d.system.js"],(function(t){"use strict";var e,i,n,a,s,r,o,d;return{setters:[function(t){e=t.E;i=t.r;n=t.h;a=t.H;s=t.g},function(t){r=t.i},function(t){o=t.g;d=t.r},function(){}],execute:function(){var h=function(t){if(typeof document==="undefined"||!t){return}var e=document.createElement("div");e.innerHTML=t;for(var i=e.childNodes.length-1;i>=0;i--){var n=e.childNodes[i];if(n.nodeName.toLowerCase()!=="svg"){e.removeChild(e.childNodes[i])}}return e.firstElementChild};var u=function(t){if(t.nodeName.toLowerCase()==="script"){return false}for(var e=0;e<t.attributes.length;e++){var i=t.attributes[e];if(i.name.toLowerCase().indexOf("on")===0){return false}}if(t.children){for(var e=0;e<t.children.length;e++){if(!u(t.children[e])){return false}}}return true};var c=function(){if(window["duetcdnuri"]){return window["duetcdnuri"]}else{return e.cdnURIProd}};var l=function(t){var i=c();if(i.includes("localhost")){return"".concat(i,"/icons/lib/assets/").concat(t,".svg")}else{return"".concat(i,"/icons/").concat(e.duetIconVersion,"/lib/assets/").concat(t,".svg")}};var p={};function g(t){if(p[t]){return p[t]}function e(){return __awaiter(this,void 0,void 0,(function(){var e,i,n,a;return __generator(this,(function(s){switch(s.label){case 0:return[4,fetch(t)];case 1:e=s.sent();if(!e.ok){throw new Error("SVG request failed: ".concat(e.status," ").concat(e.statusText))}return[4,e.text()];case 2:i=s.sent();n=h(i);if(!u(n)){throw new Error("SVG validation failed")}a=document.createElement("div");a.appendChild(n);return[2,a.innerHTML]}}))}))}var i=e();return p[t]=i}var x="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;display:block;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(7deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat;mask-position:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-7deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;overflow:clip;fill:currentColor;overflow-clip-margin:1px}:host([size=auto]) .duet-icon-svg{width:100%;height:100%}:host([size=xxx-small]) .duet-icon-svg{width:7px;height:7px}:host([size=xxx-small]) .duet-icon-has-background{padding:6px}:host([size=xxx-small]) .duet-icon-has-outline{padding:4px}:host([size=xxx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xxx-small]) .duet-icon-has-outline .duet-icon-svg{width:10px;height:10px}:host([size=xxx-small]) .duet-icon-shape-brand{padding:0}:host([size=xxx-small]) .duet-icon-shape-brand .duet-icon-svg{width:0;height:0}:host([size=xx-small]) .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-icon-has-background{padding:8px}:host([size=xx-small]) .duet-icon-has-outline{padding:7px}:host([size=xx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xx-small]) .duet-icon-has-outline .duet-icon-svg{width:16px;height:16px}:host([size=xx-small]) .duet-icon-shape-brand{padding:4px}:host([size=xx-small]) .duet-icon-shape-brand .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-theme-turva .duet-icon-shape-brand{width:18px;height:15px;padding:0}:host([size=x-small]) .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-icon-has-outline{padding:10px}:host([size=x-small]) .duet-icon-has-background{padding:12px}:host([size=x-small]) .duet-icon-shape-brand{padding:8px}:host([size=x-small]) .duet-icon-shape-brand .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-theme-turva .duet-icon-shape-brand{width:32px;height:30px;padding:0}:host([size=small]) .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-icon-has-background{padding:14px}:host([size=small]) .duet-icon-shape-brand{padding:8px}:host([size=small]) .duet-icon-shape-brand .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-theme-turva .duet-icon-shape-brand{width:36px;height:34px;padding:0}:host([size=medium]) .duet-icon-shape-brand{padding:12px}:host([size=medium]) .duet-icon-shape-brand .duet-icon-svg{width:24px;height:24px}:host([size=medium]) .duet-theme-turva .duet-icon-shape-brand{width:48px;height:44px;padding:0}:host([size=large]) .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-icon-shape-brand{padding:16px}:host([size=large]) .duet-icon-shape-brand .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-theme-turva .duet-icon-shape-brand{width:62px;height:56px;padding:0}:host([size=x-large]) .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-icon-shape-brand{padding:20px}:host([size=x-large]) .duet-icon-shape-brand .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-theme-turva .duet-icon-shape-brand{width:76px;height:68px;padding:0}:host([size=xx-large]) .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-icon-shape-brand{padding:24px}:host([size=xx-large]) .duet-icon-shape-brand .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-theme-turva .duet-icon-shape-brand{width:95px;height:86px;padding:0}:host([size=xxx-large]) .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){:host([size=xxx-large]) .duet-icon-svg{width:72px;height:72px}}:host([size=xxx-large]) .duet-icon-shape-brand{padding:36px}:host([size=xxx-large]) .duet-icon-shape-brand .duet-icon-svg{width:72px;height:72px}:host([size=xxx-large]) .duet-theme-turva .duet-icon-shape-brand{width:144px;height:130px;padding:0}:host(.duet-theme-turva2) .duet-icon.duet-theme-turva{color:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-icon.duet-theme-turva.duet-icon-has-background{color:rgb(255, 255, 255)}";var m=x;var f=t("duet_icon",function(){function t(t){i(this,t);this.svgContent=undefined;this.theme="";this.icon=undefined;this.src=undefined;this.name="action-add";this.margin="auto";this.responsive=true;this.color="";this.background="";this.backgroundOpacity=1;this.backgroundRotation=0;this.size="medium";this.outline="";this.shape="circle"}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:r(this);if(this.src&&this.icon){console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence","icon:",this.icon,"src:",this.src)}return[4,this.loadIcon(null,null)];case 1:t.sent();return[2]}}))}))};t.prototype.loadIcon=function(t,e){return __awaiter(this,void 0,void 0,(function(){var i,n,a;return __generator(this,(function(s){switch(s.label){case 0:if(this.icon){this.svgContent=this.icon;return[2]}if(this.element.shadowRoot.querySelector("svg")&&!this.svgContent){if(e===null&&t===null){return[2]}else if(this.element.shadowRoot.querySelector('.duet-icon-svg[data-name="'.concat(t,'"]'))){return[2]}}i=this.src?this.src:this.name?l(this.name):"";if(!i)return[3,5];s.label=1;case 1:s.trys.push([1,3,,4]);n=this;return[4,g(i)];case 2:n.svgContent=s.sent();return[3,4];case 3:a=s.sent();console.warn("[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ".concat(i,"."),a);return[3,4];case 4:return[3,6];case 5:this.svgContent="";s.label=6;case 6:return[2]}}))}))};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":o(this.color,this.theme)||o(this.outline,this.theme);var i=this.backgroundRotation?{transform:"rotate(".concat(this.backgroundRotation,"deg)"),"transform-origin":"center center"}:{};var s=Object.assign({color:e,background:d(o(this.background,this.theme),this.backgroundOpacity),"border-color":o(this.outline,this.theme)},i);var r=this.backgroundRotation?{transform:"rotate(-".concat(this.backgroundRotation,"deg)"),"transform-origin":"center center"}:{};var h=Object.assign({},r);var u=this.shape==="brand-rotated"?"duet-icon-shape-brand":"duet-icon-shape-".concat(this.shape);return n(a,{key:"84c42b49ccdbce122db670bd99c0390de4ac152a",class:{"duet-m-0":this.margin==="none","duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background}},n("span",{key:"20eba260f00af16a6b59a0fe9a92b2fbdebeba48","aria-hidden":"true",style:s,class:(t={"duet-icon":true,"duet-theme-turva":this.theme==="turva","duet-theme-default":this.theme==="default","duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background},t[u]=true,t.rotated=this.shape==="brand-rotated"&&this.theme!=="turva",t["duet-icon-not-responsive"]=!this.responsive,t)},n("span",{key:"2092b7fff365bcdf2260d992c78e346fed24b3ca","aria-hidden":"true",class:{"duet-icon-svg":true,rotated:this.shape==="brand-rotated"&&this.theme!=="turva"},"data-name":this.name,innerHTML:this.svgContent,style:h})))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{src:["loadIcon"],icon:["loadIcon"],name:["loadIcon"]}},enumerable:false,configurable:true});return t}());f.style=m}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as i,H as o,g as s}from"./p-ed0179f9.js";import{i as a}from"./p-2e417433.js";import{e as d,d as n}from"./p-fc09c464.js";import{f as l,F as r}from"./p-64d39db4.js";import{f as h}from"./p-a45e3f8b.js";import{a as u,c,d as p,g as b}from"./p-0773901d.js";import{h as g}from"./p-ae924d35.js";import{T as m}from"./p-8cb0e6bd.js";import{g as f}from"./p-5de30279.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const y=class{constructor(i){t(this,i),this.duetSlideoutEvent=e(this,"duetSlideoutEvent",7),this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"},this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"},this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.hasStickyHeaderSlot=!1,this.disconnectController=new AbortController,this.eventListenerController=new AbortController,this.setOpenButton=(t,e=!1)=>{if(this.eventListenerController&&this.eventListenerController.abort(),t)try{const i=t;i.accessiblePopup="true",i.accessibleExpanded=!1,this.openButton=i,e&&!this.disconnectController.signal.aborted&&(this.eventListenerController=new AbortController,this.openButton.addEventListener("click",this.openButtonEventListener,{signal:this.eventListenerController.signal}))}catch(t){console.error(t)}else this.openButton=void 0},this.setStickHeaderStyleMutations=(t=!1)=>{this.element.querySelectorAll('[slot="sticky-header"] duet-tab-group').forEach((e=>{e.style.position=t?null:"relative",e.style.top=t?null:"1px",e.switchLargeBreakpoint="always"}))},this.openButtonEventListener=t=>{this.onClick(t)},this.getOpenPanel=()=>this.element.querySelector("duet-slideout-panel[open]"),this.toggleMenu=t=>{this.open=!this.open,this.duetSlideoutEvent.emit({originalEvent:t,data:{element:this.element,open:this.open},component:"duet-slideout"})},this.onClick=t=>{this.toggleMenu(t)},this.language=u(),this.displaying=!1,this.openPanel=!1,this.theme="",this.accessibleRole="menubar",this.open=!1,this.backgroundColor="gray-lightest",this.modal=!0}get opener(){return this._opener}set opener(t){const e="string"==typeof t,i=e?document.getElementById(t):t;this.openButton!==i&&(this._opener=t,this.setOpenButton(i,e))}get controller(){return this._opener}set controller(t){this.opener=t}componentWillLoad(){a(this),this.hasStickyHeaderSlot=g(this.element,"sticky-header")}connectedCallback(){c(this),this.disconnectController&&this.disconnectController.signal.aborted&&(this.disconnectController=new AbortController),this.teleport||(this.teleport=new m(this.element)),this.teleport&&this.teleport.activate(),this.setStickHeaderStyleMutations(),this.mutationObserver||(this.mutationObserver=new MutationObserver((()=>{this.openPanel=!!this.getOpenPanel()}))),this.mutationObserver&&this.mutationObserver.observe(this.element,{childList:!0,attributeFilter:["open"],subtree:!0})}disconnectedCallback(){p(this),this.dialog&&this.modal&&d(this.dialog),this.mutationObserver&&this.mutationObserver.disconnect(),this.disconnectController&&this.disconnectController.abort(),this.setOpenButton(void 0),this.setStickHeaderStyleMutations(!0)}handleOpenChange(t,e){if(!!t!=!!e)if(this.open&&!e){this.openButton&&(this.openButton.accessibleExpanded=!0);const t=this.getOpenPanel();this.teleport.makeSiblingsInert(),this.modal&&n(this.dialog,{reserveScrollBarGap:!0}),t?t.setFocus():setTimeout((()=>{this.closeButton.focus()}),200)}else!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),setTimeout((()=>{l(this.openButton),this.modal&&d(this.dialog),this.teleport.removeInertFromSiblings()}),200))}handleKeyUp(t){h(t)&&this.open&&this.toggleMenu(t)}handleDocumentClick(t){if(!this.open)return;const e=t.composedPath();e.includes(this.dialog)||e.includes(this.openButton)||this.toggleMenu(t)}async setFocus(t){var e;null===(e=this.openButton)||void 0===e||e.focus(t)}async toggle(){const t=new CustomEvent("toggle");this.toggleMenu(t),setTimeout((()=>{this.closeButton.focus()}),200)}async show(){this.open||(this.setOpenButton(document.activeElement),this.toggleMenu(new CustomEvent("toggle")))}async hide(){this.open&&this.toggleMenu(new CustomEvent("toggle"))}render(){const t={background:f(this.backgroundColor,this.theme)},e=b(this.topLevelOpenMenuBarLangObject),s=b(this.exitLangObject);return i(o,{key:"dcefec6bb011072769a403f67849797e5fa8f3ae"},i("div",{key:"d498c18cb535e4750ce2b9af9d19a7e2197c8a0a",class:{"duet-slideout":!0,"duet-theme-turva":"turva"===this.theme}},this.modal&&i("duet-overlay",{key:"032de240d334b8653caab29e94d72abafa1807fc",visible:this.open,"display-device":"large",zIndex:"600"}),i("div",{key:"48ed352b83ed43e36bc3689f5606500b549fd871",ref:t=>this.dialog=t,tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":!this.isSafariBrowser,"aria-flowto":"slot-container",class:{dialog:!0,hidden:!this.open,modal:this.modal},style:t},i(r,{key:"b434b224c99a059a8ac6f764eaa6a37a8aefd142",moveFocusTo:this.closeButton}),i("div",{key:"be5f535c7ed0347040bedca4a4b4834666d6c327",class:{"top-container":!0,"has-sticky-header-slot":this.hasStickyHeaderSlot}},i("div",{key:"f74dce46123f8bb14f06a5a69bea2de111f53a69",class:"top"},i("button",{key:"1054e241cbd47253774aeb9fa51631ae94688592",ref:t=>this.closeButton=t,"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":`${s}`,type:"button",class:{"slideout-close":!0,active:this.open},onClick:this.onClick,inert:this.openPanel},i("duet-icon",{key:"41709242489fff542f2db4560557795af2620408",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),i("div",{key:"fa2eeb005c1d625af0c792b735128a22fb33169c",class:"sticky-header"},i("slot",{key:"c2754ffd21e986a6038fb5cac5fd50f8823cf933",name:"sticky-header"}))),i("div",{key:"5a42ff8d5bc2a3e3749460bc71b6792530295993",id:"slot-container",role:this.accessibleRole,"aria-label":this.openPanel?e:null,class:{items:!0}},i("slot",{key:"ef27791ecc42176dffccc3b5aa9bab77a736d4fb"})),i(r,{key:"94f2649dff2bcebaa1b716aa4bd15e472d1730e8",moveFocusTo:this.closeButton}))))}get element(){return s(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;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]:not([open=false])) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height: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)}.duet-slideout.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)}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgb(23, 28, 58)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:600;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}.duet-slideout .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout .dialog .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header{display:block}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}.duet-slideout.duet-theme-turva 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-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}';export{y as duet_slideout}
4
+ import{r as t,c as e,h as i,H as o,g as s}from"./p-3f5c74ac.js";import{i as a}from"./p-347269f4.js";import{e as d,d as r}from"./p-fc09c464.js";import{f as n,F as l}from"./p-6b8fad89.js";import{f as h}from"./p-a45e3f8b.js";import{a as u,c,d as b,g as p}from"./p-1e3f1ae9.js";import{h as m}from"./p-a7fe475b.js";import{T as g}from"./p-8cb0e6bd.js";import{g as f}from"./p-5de30279.js";import"./p-9c3c64b9.js";import"./p-17efced0.js";const v=class{constructor(i){t(this,i),this.duetSlideoutEvent=e(this,"duetSlideoutEvent",7),this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"},this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"},this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.hasStickyHeaderSlot=!1,this.disconnectController=new AbortController,this.eventListenerController=new AbortController,this.setOpenButton=(t,e=!1)=>{if(this.eventListenerController&&this.eventListenerController.abort(),t)try{const i=t;i.accessiblePopup="true",i.accessibleExpanded=!1,this.openButton=i,e&&!this.disconnectController.signal.aborted&&(this.eventListenerController=new AbortController,this.openButton.addEventListener("click",this.openButtonEventListener,{signal:this.eventListenerController.signal}))}catch(t){console.error(t)}else this.openButton=void 0},this.setStickHeaderStyleMutations=(t=!1)=>{this.element.querySelectorAll('[slot="sticky-header"] duet-tab-group').forEach((e=>{e.style.position=t?null:"relative",e.style.top=t?null:"1px",e.switchLargeBreakpoint="always"}))},this.openButtonEventListener=t=>{this.onClick(t)},this.getOpenPanel=()=>this.element.querySelector("duet-slideout-panel[open]"),this.toggleMenu=t=>{this.open=!this.open,this.duetSlideoutEvent.emit({originalEvent:t,data:{element:this.element,open:this.open},component:"duet-slideout"})},this.onClick=t=>{this.toggleMenu(t)},this.language=u(),this.displaying=!1,this.openPanel=!1,this.theme="",this.accessibleRole="menubar",this.open=!1,this.backgroundColor="gray-lightest",this.modal=!0}get opener(){return this._opener}set opener(t){const e="string"==typeof t,i=e?document.getElementById(t):t;this.openButton!==i&&(this._opener=t,this.setOpenButton(i,e))}get controller(){return this._opener}set controller(t){this.opener=t}componentWillLoad(){a(this),this.hasStickyHeaderSlot=m(this.element,"sticky-header")}connectedCallback(){c(this),this.disconnectController&&this.disconnectController.signal.aborted&&(this.disconnectController=new AbortController),this.teleport||(this.teleport=new g(this.element)),this.teleport&&this.teleport.activate(),this.setStickHeaderStyleMutations(),this.mutationObserver||(this.mutationObserver=new MutationObserver((()=>{this.openPanel=!!this.getOpenPanel()}))),this.mutationObserver&&this.mutationObserver.observe(this.element,{childList:!0,attributeFilter:["open"],subtree:!0})}disconnectedCallback(){b(this),this.dialog&&this.modal&&d(this.dialog),this.mutationObserver&&this.mutationObserver.disconnect(),this.disconnectController&&this.disconnectController.abort(),this.setOpenButton(void 0),this.setStickHeaderStyleMutations(!0)}handleOpenChange(t,e){if(!!t!=!!e)if(this.open&&!e){this.openButton&&(this.openButton.accessibleExpanded=!0);const t=this.getOpenPanel();this.teleport.makeSiblingsInert(),this.modal&&r(this.dialog,{reserveScrollBarGap:!0}),t?t.setFocus():setTimeout((()=>{this.closeButton.focus()}),200)}else!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),setTimeout((()=>{n(this.openButton),this.modal&&d(this.dialog),this.teleport.removeInertFromSiblings()}),200))}handleKeyUp(t){h(t)&&this.open&&this.toggleMenu(t)}handleDocumentClick(t){if(!this.open)return;const e=t.composedPath();e.includes(this.dialog)||e.includes(this.openButton)||this.toggleMenu(t)}async setFocus(t){var e;null===(e=this.openButton)||void 0===e||e.focus(t)}async toggle(){const t=new CustomEvent("toggle");this.toggleMenu(t),setTimeout((()=>{this.closeButton.focus()}),200)}async show(){this.open||(this.setOpenButton(document.activeElement),this.toggleMenu(new CustomEvent("toggle")))}async hide(){this.open&&this.toggleMenu(new CustomEvent("toggle"))}render(){const t={background:f(this.backgroundColor,this.theme)},e=p(this.topLevelOpenMenuBarLangObject),s=p(this.exitLangObject);return i(o,{key:"dcefec6bb011072769a403f67849797e5fa8f3ae"},i("div",{key:"d498c18cb535e4750ce2b9af9d19a7e2197c8a0a",class:{"duet-slideout":!0,"duet-theme-turva":"turva"===this.theme}},this.modal&&i("duet-overlay",{key:"032de240d334b8653caab29e94d72abafa1807fc",visible:this.open,"display-device":"large",zIndex:"600"}),i("div",{key:"48ed352b83ed43e36bc3689f5606500b549fd871",ref:t=>this.dialog=t,tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":!this.isSafariBrowser,"aria-flowto":"slot-container",class:{dialog:!0,hidden:!this.open,modal:this.modal},style:t},i(l,{key:"b434b224c99a059a8ac6f764eaa6a37a8aefd142",moveFocusTo:this.closeButton}),i("div",{key:"be5f535c7ed0347040bedca4a4b4834666d6c327",class:{"top-container":!0,"has-sticky-header-slot":this.hasStickyHeaderSlot}},i("div",{key:"f74dce46123f8bb14f06a5a69bea2de111f53a69",class:"top"},i("button",{key:"1054e241cbd47253774aeb9fa51631ae94688592",ref:t=>this.closeButton=t,"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":`${s}`,type:"button",class:{"slideout-close":!0,active:this.open},onClick:this.onClick,inert:this.openPanel},i("duet-icon",{key:"41709242489fff542f2db4560557795af2620408",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),i("div",{key:"fa2eeb005c1d625af0c792b735128a22fb33169c",class:"sticky-header"},i("slot",{key:"c2754ffd21e986a6038fb5cac5fd50f8823cf933",name:"sticky-header"}))),i("div",{key:"5a42ff8d5bc2a3e3749460bc71b6792530295993",id:"slot-container",role:this.accessibleRole,"aria-label":this.openPanel?e:null,class:{items:!0}},i("slot",{key:"ef27791ecc42176dffccc3b5aa9bab77a736d4fb"})),i(l,{key:"94f2649dff2bcebaa1b716aa4bd15e472d1730e8",moveFocusTo:this.closeButton}))))}get element(){return s(this)}static get watchers(){return{open:["handleOpenChange"]}}};v.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;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]:not([open=false])) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height: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)}.duet-slideout.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)}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgb(23, 28, 58)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:600;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}.duet-slideout .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout .dialog .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header{display:block}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}.duet-slideout.duet-theme-turva 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-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva{color:rgb(35, 46, 61)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .desktop-bg{background:rgb(35, 46, 61)}}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button{color:rgb(35, 46, 61)}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button.active{color:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button.active::after{background:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(253, 247, 242);border-bottom-color:rgb(248, 229, 217)}:host(.duet-theme-turva2) slot{color:rgb(35, 46, 61)}';export{v as duet_slideout}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as o,g as a}from"./p-3f5c74ac.js";import{i as n}from"./p-347269f4.js";const i=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){n(this),this.element.querySelectorAll("duet-slideout-link").forEach((e=>{e.menuItem=!0}))}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"89618f83739daf830ec8b90e05e9f3e5f9b52f34"},t("div",{key:"e155beffd0996d1cace98318dc02b6a9cd6f1531",class:{"duet-slideout-panel-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open}},t("button",{key:"f2aeae59fdea3ec033d49a5a5539c5d5f076394a",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active},onClick:this.onClick},this.icon&&t("duet-icon",{key:"c884fa8d6236722a189b5bc384eb85000587ffa1",name:this.icon,size:"medium",margin:"none",color:"secondary"}),t("span",{key:"73cfdab8bb78c2504a8fc0d45d581be2161b6039",class:"label"},t("slot",{key:"656c5d97ba82b382db0feb02003427fe41eb1767",name:"label"}),t("duet-icon",{key:"d927fed89d4414a08391ca31fdfde8d51cd64b01",class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),t("div",{key:"2292a1771bdc183cc5b4eb3836e32af3caf69397",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"8b5ea9880c9444c6bd3d98db753a7503813cdd21"}))))}get element(){return a(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 44px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva 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-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button{color:rgb(35, 46, 61)}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(197, 29, 65)}:host(.duet-theme-turva2) slot{color:rgb(35, 46, 61)}';export{i as duet_slideout_panel_dropdown}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-7df350f6.system.js","./p-9d336f77.system.js"],(function(t){"use strict";var s,e,i,n;return{setters:[function(t){s=t.r;e=t.h;i=t.H},function(t){n=t.t}],execute:function(){var r=t("duet_status_icon",function(){function t(t){s(this,t);this.bg={default:{default:"color_lt_blue_200",success:"color_success_200",warning:"color_warning_200",danger:"color_danger_200"},strong:{default:"color_lt_blue_700",success:"color_success_700",warning:"color_warning_500",danger:"color_danger_600"}};this.color={default:{default:"color_lt_blue_800",success:"color_success_800",warning:"color_warning_800",danger:"color_danger_800"},strong:{default:"color_lt_blue_100",success:"color_gray_lightest",warning:"color_warning_900",danger:"color_gray_lightest"}};this.variation="default";this.size="medium";this.margin="auto";this.strong=false}t.prototype.getVariation=function(){return["default","success","danger","warning"].includes(this.variation)?this.variation:"default"};t.prototype.getBg=function(){return n[this.bg[this.strong?"strong":"default"][this.getVariation()]]};t.prototype.getColor=function(){return n[this.color[this.strong?"strong":"default"][this.getVariation()]]};t.prototype.getIcon=function(){switch(this.getVariation()){case"default":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="'.concat(this.getBg(),'"/>\n <path fill="').concat(this.getColor(),'" 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"/>\n <circle fill="').concat(this.getColor(),'" cx="11.625" cy="7.125" r="1.125"/>\n </svg>');case"success":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="'.concat(this.getBg(),'"/>\n <path fill="').concat(this.getColor(),'" d="M9.325 17.916a1.79 1.79 0 0 1-1.498-.799l-2.44-3.462a.75.75 0 0 1 1.227-.864l2.45 3.477a.306.306 0 0 0 .261.148.294.294 0 0 0 .236-.119l7.852-9.935a.75.75 0 1 1 1.175.93l-7.843 9.923a1.781 1.781 0 0 1-.423.396 1.78 1.78 0 0 1-.997.305z"/>\n </svg>');case"warning":case"danger":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <path fill="'.concat(this.getBg(),'" d="M1.27,23.767C1.58,23.919 1.926,24 2.273,24L21.73,24C22.336,24 22.906,23.764 23.334,23.336C23.764,22.908 24.001,22.337 24.001,21.73C24.001,21.383 23.92,21.037 23.768,20.727L14.295,1.429C13.862,0.547 12.981,0 11.997,0C11.605,0 11.227,0.088 10.873,0.262C10.369,0.51 9.954,0.924 9.706,1.429L0.234,20.728C-0.034,21.271 -0.073,21.888 0.123,22.462C0.319,23.036 0.727,23.5 1.27,23.767Z"/>\n <rect fill="').concat(this.getColor(),'" x="11.1" y="7.2" width="1.8" height="8.4" rx="0.9"/>\n <rect fill="').concat(this.getColor(),'" x="10.8" y="18" width="2.4" height="2.4" rx="1.2"/>\n </svg>')}};t.prototype.render=function(){var t;return e(i,{key:"f2a27d2fd14f0521619a4a4acc078853914cb77d",class:(t={},t["duet-status-icon-".concat(this.getVariation())]=true,t["duet-strong-bg"]=this.strong,t)},e("duet-icon",{key:"9fea7a807f88b0c840a4fb37ea025126edf80a3e",icon:this.getIcon(),size:this.size,margin:this.margin}))};return t}())}}}));
4
+ System.register(["./p-7511b87b.system.js","./p-9d336f77.system.js"],(function(t){"use strict";var s,e,i,n;return{setters:[function(t){s=t.r;e=t.h;i=t.H},function(t){n=t.t}],execute:function(){var r=t("duet_status_icon",function(){function t(t){s(this,t);this.bg={default:{default:"color_lt_blue_200",success:"color_success_200",warning:"color_warning_200",danger:"color_danger_200"},strong:{default:"color_lt_blue_700",success:"color_success_700",warning:"color_warning_500",danger:"color_danger_600"}};this.color={default:{default:"color_lt_blue_800",success:"color_success_800",warning:"color_warning_800",danger:"color_danger_800"},strong:{default:"color_lt_blue_100",success:"color_gray_lightest",warning:"color_warning_900",danger:"color_gray_lightest"}};this.variation="default";this.size="medium";this.margin="auto";this.strong=false}t.prototype.getVariation=function(){return["default","success","danger","warning"].includes(this.variation)?this.variation:"default"};t.prototype.getBg=function(){return n[this.bg[this.strong?"strong":"default"][this.getVariation()]]};t.prototype.getColor=function(){return n[this.color[this.strong?"strong":"default"][this.getVariation()]]};t.prototype.getIcon=function(){switch(this.getVariation()){case"default":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="'.concat(this.getBg(),'"/>\n <path fill="').concat(this.getColor(),'" 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"/>\n <circle fill="').concat(this.getColor(),'" cx="11.625" cy="7.125" r="1.125"/>\n </svg>');case"success":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="'.concat(this.getBg(),'"/>\n <path fill="').concat(this.getColor(),'" d="M9.325 17.916a1.79 1.79 0 0 1-1.498-.799l-2.44-3.462a.75.75 0 0 1 1.227-.864l2.45 3.477a.306.306 0 0 0 .261.148.294.294 0 0 0 .236-.119l7.852-9.935a.75.75 0 1 1 1.175.93l-7.843 9.923a1.781 1.781 0 0 1-.423.396 1.78 1.78 0 0 1-.997.305z"/>\n </svg>');case"warning":case"danger":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <path fill="'.concat(this.getBg(),'" d="M1.27,23.767C1.58,23.919 1.926,24 2.273,24L21.73,24C22.336,24 22.906,23.764 23.334,23.336C23.764,22.908 24.001,22.337 24.001,21.73C24.001,21.383 23.92,21.037 23.768,20.727L14.295,1.429C13.862,0.547 12.981,0 11.997,0C11.605,0 11.227,0.088 10.873,0.262C10.369,0.51 9.954,0.924 9.706,1.429L0.234,20.728C-0.034,21.271 -0.073,21.888 0.123,22.462C0.319,23.036 0.727,23.5 1.27,23.767Z"/>\n <rect fill="').concat(this.getColor(),'" x="11.1" y="7.2" width="1.8" height="8.4" rx="0.9"/>\n <rect fill="').concat(this.getColor(),'" x="10.8" y="18" width="2.4" height="2.4" rx="1.2"/>\n </svg>')}};t.prototype.render=function(){var t;return e(i,{key:"f2a27d2fd14f0521619a4a4acc078853914cb77d",class:(t={},t["duet-status-icon-".concat(this.getVariation())]=true,t["duet-strong-bg"]=this.strong,t)},e("duet-icon",{key:"9fea7a807f88b0c840a4fb37ea025126edf80a3e",icon:this.getIcon(),size:this.size,margin:this.margin}))};return t}())}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,a,i){function o(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function s(e){try{r(i.next(e))}catch(e){n(e)}}function l(e){try{r(i["throw"](e))}catch(e){n(e)}}function r(e){e.done?a(e.value):o(e.value).then(s,l)}r((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,o,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return r([e,t])}}function r(l){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(a=0)),a)try{if(i=1,o&&(n=l[0]&2?o["return"]:l[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,l[1])).done)return n;if(o=0,n)l=[l[0]&2,n.value];switch(l[0]){case 0:case 1:n=l;break;case 4:a.label++;return{value:l[1],done:false};case 5:a.label++;o=l[1];l=[0];continue;case 7:l=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(l[0]===6||l[0]===2)){a=0;continue}if(l[0]===3&&(!n||l[1]>n[0]&&l[1]<n[3])){a.label=l[1];break}if(l[0]===6&&a.label<n[1]){a.label=n[1];n=l;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(l);break}if(n[2])a.ops.pop();a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e];o=0}finally{i=n=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-7511b87b.system.js","./p-0a53642c.system.js","./p-db2ccb9d.system.js","./p-6ec53971.system.js","./p-755eb00f.system.js","./p-b2d44f57.system.js","./p-9508ee67.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(e){"use strict";var t,a,i,o,n,s,l,r,u,d,c,f,p,b;return{setters:[function(e){t=e.r;a=e.h;i=e.H;o=e.g},function(e){n=e.i},function(e){s=e.e;l=e.d},function(e){r=e.F},function(e){u=e.a;d=e.c;c=e.d;f=e.g},function(e){p=e.h},function(e){b=e.g},function(){},function(){}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .duet-slideout-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge{position:absolute;top:0;left:16px;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-slideout-panel .link .duet-slideout-icon .duet-slideout-badge{background:rgb(247, 178, 40)}@media (min-width: 62em){.duet-slideout-panel .link .duet-slideout-icon{margin-right:8px}}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(8, 42, 77)}.duet-slideout-panel.duet-theme-turva .link{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-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{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)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .link{color:rgb(35, 46, 61)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(253, 247, 242);border-bottom-color:rgb(248, 229, 217)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .top span{color:rgb(35, 46, 61)}:host(.duet-theme-turva2) slot:not([name=label]){color:rgb(35, 46, 61)}';var m=h;var g=e("duet_slideout_panel",function(){function e(e){var a=this;t(this,e);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.backLangObject={en:"Back to main menu",fi:"Takaisin päävalikkoon",sv:"Tillbaka till huvudmenyn"};this.hasStickyHeaderSlot=false;this.updateLabel=function(){var e=a.element.querySelector("[slot='label']");a.label=e};this.toggleMenu=function(){a.open=!a.open};this.onClick=function(){a.toggleMenu()};this.onCloseClick=function(e){e.stopPropagation();var t=a.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var i=a.element.parentElement;s(a.dialog);a.bodyScrollLocked=false;i.toggle()}};this.label=undefined;this.language=u();this.bodyScrollLocked=false;this.theme="";this.active=false;this.open=false;this.icon=undefined;this.labelSize="medium";this.backgroundColor="primary-lightest";this.badge=false}e.prototype.componentWillLoad=function(){n(this);this.updateLabel();this.hasStickyHeaderSlot=p(this.element,"sticky-header")};e.prototype.connectedCallback=function(){var e=this;d(this);this.mutationObserver=new MutationObserver((function(){var t=e.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var a=e.element.parentElement;if(a.open&&e.open&&!e.bodyScrollLocked){e.bodyScrollLocked=true;l(e.dialog,{reserveScrollBarGap:true})}else if(!a.open&&e.bodyScrollLocked){e.bodyScrollLocked=false;s(e.dialog)}}}));this.mutationObserver.observe(this.element.parentElement,{childList:false,attributeFilter:["open"],subtree:false})};e.prototype.disconnectedCallback=function(){c(this);if(this.dialog){s(this.dialog);this.bodyScrollLocked=false}if(this.mutationObserver){this.mutationObserver.disconnect()}};e.prototype.handleOpenChange=function(e,t){var a=this;if(!!e===!!t){return}if(this.open&&!t){setTimeout((function(){var e=Array.from(a.element.parentElement.children);e.forEach((function(e){if(e!==a.element){e.inert=true}}));if(!a.bodyScrollLocked){l(a.dialog,{reserveScrollBarGap:true});a.bodyScrollLocked=true}a.closeButton.focus()}),200)}else if(!this.open&&t){setTimeout((function(){var e=Array.from(a.element.parentElement.children);e.forEach((function(e){e.inert=false}));a.openButton.focus();s(a.dialog);a.bodyScrollLocked=false}),200)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(a){if(this.open){setTimeout((function(){t.closeButton.focus(e)}),200)}else{setTimeout((function(){t.openButton.focus(e)}),200)}return[2]}))}))};e.prototype.render=function(){var e;var t=this;var o=this.backgroundColor==="primary-lightest"?this.theme==="turva"?"gray-lighter":this.backgroundColor:this.backgroundColor;var n={background:b(o,this.theme)};var s=f(this.exitLangObject);var l=f(this.backLangObject);return a(i,{key:"cb822cc9737388e773957e9167d9a3f3092a5024"},a("div",{key:"ecf89dccd7aaa7516815ddb1b3283dcb88561624",class:{"duet-slideout-panel":true,"duet-theme-turva":this.theme==="turva",active:this.open}},a("button",{key:"1c5d2a8c1e0ccc4d56c57c12e32f37fd2d8bdf28",ref:function(e){return t.openButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{link:true,active:this.active},onClick:this.onClick,inert:this.open},this.icon&&a("div",{key:"2ed84760445304c52dc13d7d5691fa83386a3fb3",class:"duet-slideout-icon"},a("duet-icon",{key:"a80ea5ba954811c488852ac37d6d7239b7b33a14",name:this.icon,size:"medium",margin:"none",color:"secondary"}),this.badge&&a("div",{key:"a66f32d3b20af0bbad481d024da7cc5616b1c879",class:"duet-slideout-badge"})),a("span",{key:"da846f3815471fb3fdcd4c1319e18f1a5597cfa0",class:"label"},a("span",{key:"f6e260a2a4e4b97d6f724f45e1e46ab386dff47d",class:(e={"label-text":true},e[this.labelSize]=true,e)},a("slot",{key:"abddec9671e9c3b3a3cf43ee916ee198a06b0516",name:"label"})),a("duet-icon",{key:"ed3ef00614b835aac2526866e71b05198dabe225",class:"caret",name:"action-arrow-right",margin:"none",size:"x-small",color:"secondary"}))),a("div",{key:"f004a0beebfa0aea1f9140d94f44a53def61be84",ref:function(e){return t.dialog=e},class:{dialog:true,hidden:!this.open},style:n},a(r,{key:"141275269b60c09c78245f2cdba73e3c1556ec89",moveFocusTo:this.closeButton}),a("div",{key:"8835c47450104420f6dd3a208375dfc129fe13fc",class:{"top-container":true,"has-sticky-header-slot":this.hasStickyHeaderSlot}},a("div",{key:"e26413e851f98164d3f00b4839899a7a05c57a0d",class:"top"},a("button",{key:"e47be55cb0d87b1031a051ce164af014ca773e17",ref:function(e){return t.closeButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-label":"".concat(l),type:"button",class:{back:true},onClick:this.onClick},a("duet-icon",{key:"6c1caa323b815ad3940991fdc7aacec7aab7f94a",class:"caret",name:"action-arrow-left",margin:"none",size:"small",color:"secondary"})),a("span",{key:"96e9ac9d7ff5121db3d90ce76613d00db1864778"},this.label.innerHTML),a("button",{key:"4557397517d57085b8442828c0b60164ce048a3e",class:"close",type:"button",onClick:this.onCloseClick,"aria-label":"".concat(s)},a("duet-icon",{key:"7c00e8108b826b44fc9343d172fcda9eb700d4a9",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),a("div",{key:"b9f1ebcaf47a9635917063bec751725fd580f019",class:"sticky-header"},a("slot",{key:"d70c5e23758b79af9cfadfab39349bf9b71b4a76",name:"sticky-header"}))),a("div",{key:"c87464365151093c3edca5fc7478af7b3b90e2ff",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true}},a("slot",{key:"a0dd655320d212ccc005c3fb096b578f19f9c0a8"})),a(r,{key:"dafafa79bc1b13a9c9eb46379181a02ab0487aa5",moveFocusTo:this.closeButton}))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return e}());g.style=m}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import"./p-ed0179f9.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,$=!1)=>{const r=$?"error":"warn",a=[],l=e(s,n),c=l.filter((e=>!!e.matches(o)||(a.push(`Only elements matcing selector "${o}" may be used in slot ${n}, found:\n${e.outerHTML}`),!$||(e.remove(),!1))));t&&c.length>t&&(a.push(`Only ${t} element${t>1?"s":""} may be used in slot ${n}, found ${l.length}.`),$&&c.slice(t).forEach((e=>e.remove()))),a.length>0&&console[r](`Duet ${r} in ${s.tagName.toLowerCase()}:\n${a.join("\n")}${$?`\nElement${a.length>1?"s":""} removed.`:""}`)};export{s as a,o as c,e as g,n as h}
4
+ import"./p-3f5c74ac.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,$=!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}`),!$||(e.remove(),!1))));t&&c.length>t&&(r.push(`Only ${t} element${t>1?"s":""} may be used in slot ${n}, found ${l.length}.`),$&&c.slice(t).forEach((e=>e.remove()))),r.length>0&&console[a](`Duet ${a} in ${s.tagName.toLowerCase()}:\n${r.join("\n")}${$?`\nElement${r.length>1?"s":""} removed.`:""}`)};export{s as a,o as c,e as g,n as h}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as o,H as t,g as a}from"./p-ed0179f9.js";import{i as n}from"./p-2e417433.js";import{f as r}from"./p-a45e3f8b.js";const i=class{constructor(o){e(this,o),this.getVariant=()=>(this.element.parentElement.parentElement.getAttribute("slot"),"right"),this.theme="",this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){n(this)}handleEscape(e){if(r(e)){const e=this.element.closest("duet-menu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return o(t,{key:"6068b6651363acfa5a38ce76f97eef97c617ae40"},o("a",{key:"7181016d9299aae44bfabcb59504bc1cb839d794",class:{"duet-menu-bar-dropdown-link":!0,[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]:!0,"duet-theme-turva":"turva"===this.theme},href:this.href,role:"menuitem",onKeyUp:e=>this.handleEscape(e),"aria-label":this.accessibleLabel},this.icon&&o("duet-icon",{key:"d188538d34c86debcdcea72edb4453b58ce86bb7",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("slot",{key:"4dc908e75b92425aa98d33349389a063c96d6417"})))}get element(){return a(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 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}.duet-menu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}';export{i as duet_menu_bar_dropdown_link}
4
+ import{r as e,h as o,H as t,g as a}from"./p-3f5c74ac.js";import{i as r}from"./p-347269f4.js";import{f as n}from"./p-a45e3f8b.js";const i=class{constructor(o){e(this,o),this.getVariant=()=>(this.element.parentElement.parentElement.getAttribute("slot"),"right"),this.theme="",this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){r(this)}handleEscape(e){if(n(e)){const e=this.element.closest("duet-menu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return o(t,{key:"6068b6651363acfa5a38ce76f97eef97c617ae40"},o("a",{key:"7181016d9299aae44bfabcb59504bc1cb839d794",class:{"duet-menu-bar-dropdown-link":!0,[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]:!0,"duet-theme-turva":"turva"===this.theme},href:this.href,role:"menuitem",onKeyUp:e=>this.handleEscape(e),"aria-label":this.accessibleLabel},this.icon&&o("duet-icon",{key:"d188538d34c86debcdcea72edb4453b58ce86bb7",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("slot",{key:"4dc908e75b92425aa98d33349389a063c96d6417"})))}get element(){return a(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 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}.duet-menu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva{color:rgb(35, 46, 61)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva:hover{background:rgb(248, 229, 217)}';export{i as duet_menu_bar_dropdown_link}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-7df350f6.system.js","./p-6229bcd8.system.js","./p-752fa0fc.system.js","./p-a1105b5c.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,a,r,n,s,o,c,d,u,b;return{setters:[function(e){t=e.r;i=e.h;a=e.H;r=e.g},function(e){n=e.i},function(e){s=e.s;o=e.u},function(e){c=e.a;d=e.c;u=e.d;b=e.g},function(){}],execute:function(){var l={title:"action-arrow-right-small",tags:"action arrow right small caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>'};var h="*,*::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:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";var f=h;var m=e("duet_breadcrumb",function(){function e(e){t(this,e);this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"};this.hasSlottedContent=false;this.theme="";this.language=c();this.href="";this.icon="arrow-right-small-icon";this.iconSize="x-small";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){n(this)};e.prototype.connectedCallback=function(){d(this);s(this);this.hasSlottedContent=Array.from(this.element.childNodes).length>0};e.prototype.disconnectedCallback=function(){u(this);o(this)};e.prototype.render=function(){var e;return i(a,{key:"fb8525d8da1761cf7ec289bf2ebcdab006edcbaa",role:"listitem"},i("div",{key:"a2a3cf5e15c5ccb962c0da35ae1c4b9efab68590",class:"container"},this.icon==="arrow-right-small-icon"&&i("duet-icon",{key:"bbf4f84cae4467ae42f85af283947d23f8649a64",class:"duet-breadrumbs-arrow",size:"auto",icon:l.svg,margin:"none",color:"currentColor"}),i("a",{key:"e89ba01440a8d69033de4710b1c943c211c07e5e",class:{"duet-breadcrumb":true,"duet-theme-turva":this.theme==="turva"},href:this.href?this.href:undefined,"aria-label":"".concat(!this.href?"".concat(b(this.currentCrumb)," "):"").concat((e=this.accessibleLabel)!==null&&e!==void 0?e:this.element.innerHTML),role:"link"},this.icon!=="arrow-right-small-icon"&&this.icon&&[i("duet-icon",{key:"93d11f8f8eb831623d0157b205ed0b0745804ccb",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&i("duet-spacer",{key:"fe74c144a1765dd1fe1de6d463892fa7470651fe",size:"x-small",direction:"horizontal"})],i("slot",{key:"5ad471b0521af2799e4ac7a5934d02e77e6be8d5"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());m.style=f}}}));
4
+ System.register(["./p-7511b87b.system.js","./p-0a53642c.system.js","./p-752fa0fc.system.js","./p-755eb00f.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,a,r,n,s,o,c,d,u,b;return{setters:[function(e){t=e.r;i=e.h;a=e.H;r=e.g},function(e){n=e.i},function(e){s=e.s;o=e.u},function(e){c=e.a;d=e.c;u=e.d;b=e.g},function(){}],execute:function(){var l={title:"action-arrow-right-small",tags:"action arrow right small caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>'};var h="*,*::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:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";var f=h;var m=e("duet_breadcrumb",function(){function e(e){t(this,e);this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"};this.hasSlottedContent=false;this.theme="";this.language=c();this.href="";this.icon="arrow-right-small-icon";this.iconSize="x-small";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){n(this)};e.prototype.connectedCallback=function(){d(this);s(this);this.hasSlottedContent=Array.from(this.element.childNodes).length>0};e.prototype.disconnectedCallback=function(){u(this);o(this)};e.prototype.render=function(){var e;return i(a,{key:"fb8525d8da1761cf7ec289bf2ebcdab006edcbaa",role:"listitem"},i("div",{key:"a2a3cf5e15c5ccb962c0da35ae1c4b9efab68590",class:"container"},this.icon==="arrow-right-small-icon"&&i("duet-icon",{key:"bbf4f84cae4467ae42f85af283947d23f8649a64",class:"duet-breadrumbs-arrow",size:"auto",icon:l.svg,margin:"none",color:"currentColor"}),i("a",{key:"e89ba01440a8d69033de4710b1c943c211c07e5e",class:{"duet-breadcrumb":true,"duet-theme-turva":this.theme==="turva"},href:this.href?this.href:undefined,"aria-label":"".concat(!this.href?"".concat(b(this.currentCrumb)," "):"").concat((e=this.accessibleLabel)!==null&&e!==void 0?e:this.element.innerHTML),role:"link"},this.icon!=="arrow-right-small-icon"&&this.icon&&[i("duet-icon",{key:"93d11f8f8eb831623d0157b205ed0b0745804ccb",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&i("duet-spacer",{key:"fe74c144a1765dd1fe1de6d463892fa7470651fe",size:"x-small",direction:"horizontal"})],i("slot",{key:"5ad471b0521af2799e4ac7a5934d02e77e6be8d5"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());m.style=f}}}));
@@ -0,0 +1,4 @@
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 a(t){try{o(n.next(t))}catch(t){s(t)}}function u(t){try{o(n["throw"](t))}catch(t){s(t)}}function o(t){t.done?i(t.value):r(t.value).then(a,u)}o((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,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return o([t,e])}}function o(u){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=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-7511b87b.system.js","./p-64959c1d.system.js","./p-0dc9089b.system.js","./p-0a53642c.system.js","./p-6ec53971.system.js","./p-752fa0fc.system.js","./p-755eb00f.system.js","./p-b1f33063.system.js","./p-053b71e6.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,i,n,r,s,a,u,o,c,f,h,d,p,l,m,b,v,g,x,y;return{setters:[function(t){e=t.r;i=t.c;n=t.h;r=t.H;s=t.g},function(t){a=t.q},function(t){u=t.o;o=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;m=t.f;b=t.b;v=t.o},function(t){g=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}slot{--divider-margin:var(--space-x-small, 8px)}:host(.duet-theme-turva2) .duet-popup-menu-list.duet-theme-turva{color:rgb(35, 46, 61) !important}";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.filterResultCountLabel={en:"items match filter",fi:"kohtaa vastaa suodatinta",sv:"menyalternativ matchar filtret"};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&&o(),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){var i;t.style.display=!e||t.textContent.toLowerCase().includes(e)||((i=t.value)===null||i===void 0?void 0:i.toLowerCase().includes(e))?"":"none"}));n.filterResultCount=i.filter((function(t){return t.style.display!=="none"})).length};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.filterResultCount=undefined;this.language=g();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(m(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(!b(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(v(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){var n={ancestorScroll:!this.forcePlacement};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,n)}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});t.prototype.getAllPrecedingMatchingSiblings=function(t,e){var i=t.previousElementSibling;if(i){var n=this.getAllPrecedingMatchingSiblings(i,e);if(i===null||i===void 0?void 0:i.matches(e)){n.push(i)}return n}return[]};Object.defineProperty(t.prototype,"popupMenuStyleHeight",{get:function(){var t;var e=":scope duet-popup-menu-item, :scope duet-notification";var i=Array.from(this.element.querySelectorAll(e));var n=i.filter((function(t){return t.style.display!=="none"}));if(n.length>0&&this.scrollLimit){var r=n.slice(0,this.scrollLimit-1);var s=r.reduce((function(t,e){return t+e.offsetHeight}),0);var u=((t=this.filterInput)===null||t===void 0?void 0:t.offsetHeight)||0;var o=r[r.length-1];var c=this.getAllPrecedingMatchingSiblings(o,"duet-divider").length*17;var f=Number(a.replace("px",""))*2;return"".concat(s+u+c+f,"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:"b122068ff5f05a161926a7eeec8418fd258dc753"},n("div",{key:"3ee437f9fce94ed063c132bb045aedf2714a4ccf",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:"73faa0c97cebf6cb99abae830cabcc06525b4b57"},n("duet-input",{key:"fa2d88575830d3dae9beb503dc7016e419a7cef0",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-visually-hidden",{key:"56c6e3412f75452b9da5bc8888405ce19289d7d1"},n("span",{key:"ad2a9bb358c92fb580f225a347f45f4bd2147e14",role:"status"},"\n ".concat(this.filterResultCount,"/").concat(this.itemElements.length,"\n ").concat(this.filterResultCountLabel[this.language],"\n "))),n("duet-spacer",{key:"dfd8ee96c3234e6c1cfd6389fdbf30996dab3d0d",size:"xx-small"})),n("slot",{key:"adc7655a36b4009b4dc5cfcb9d83b73a2e0beb9e"})))};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}:host(.duet-theme-turva2) .duet-popup-menu-item.duet-theme-turva{color:rgb(35, 46, 61)}:host(.duet-theme-turva2) .duet-popup-menu-item.active.duet-theme-turva{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-popup-menu-item:hover.duet-theme-turva{background:rgb(248, 229, 217)}';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.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);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:"0fc9e90362081fd5b2e00742e296ede698ddecc2",role:this.accessibleRole==="menuitem"&&this.isSafariBrowser?null:this.accessibleRole},n(e,{key:"a53d080e78aa5f0a4206d45efdbbba5df8f2042c",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:"fc6728587084a43f9dc76eb3bf86778080a00e7d",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),n("span",{key:"c4f9c8e931c8eedd61507ac71aa64e8b8f57788f",class:"duet-popup-menu-item-label"},n("slot",{key:"a18a3a9ed5f6726e4a1837d51cff56955d957e96"})),(this.trailingIcon||this.active||this.url&&this.external)&&n("duet-icon",{key:"ae2294e052ef2a9a8b9795a8433f222340345cc1",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:"6373f165f6aeeabffb62962dd8e97e58b5d1a6aa",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 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as o,g as n}from"./p-ed0179f9.js";import{i as a}from"./p-2e417433.js";import{f as r}from"./p-a45e3f8b.js";const d=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.getVariant=()=>(this.element.parentElement.getAttribute("slot"),"right"),this.accessibleLabel=void 0,this.theme="",this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){a(this)}handleEscape(e){r(e)&&(this.open=!1,this.setFocus())}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"b7fd730a9ca29fe66b3fb47968d97882881dc46c",role:"listitem"},t("div",{key:"8375747f96bce65f0079f3a9e32f597ebfdea259",class:{"duet-menu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open,[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]:!0}},t("button",{key:"216c022acdd13b07237e09675ca2a3e5619d8945",ref:e=>this.button=e,"aria-label":this.accessibleLabel,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick,onKeyUp:e=>this.handleEscape(e)},this.icon&&t("duet-icon",{key:"8f871b50abc91e0d0cbe53d7ce94eb975926c893",class:"menu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"99691e6483647ec36e53d362eb63f67a77c5e86d",class:"label"},t("slot",{key:"b875b758547563e0b9f4c64540b8893a06172f87",name:"label"}),t("duet-icon",{key:"241cebbb03717f5a56aaf6299742ef72c4d1d03f",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"f6e8d54ef1e4cfa3512485a136d52dbe386d0755",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"059b1fa4eb5ccb1e4adbbb775c4d8cd9c9f2fb93"}))))}get element(){return n(this)}};d.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;height:100%}@media (min-width: 62em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 16px}}@media (min-width: 76.25em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 28px}}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-theme-turva .duet-menu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}.duet-theme-turva .duet-menu-bar-dropdown button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:16px;height:16px}}.duet-menu-bar-dropdown .items{position:absolute;top:70%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:8px;color:rgb(8, 42, 77);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)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva 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-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}';export{d as duet_menu_bar_dropdown}
4
+ import{r as e,h as t,H as o,g as a}from"./p-3f5c74ac.js";import{i as n}from"./p-347269f4.js";import{f as r}from"./p-a45e3f8b.js";const d=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.getVariant=()=>(this.element.parentElement.getAttribute("slot"),"right"),this.accessibleLabel=void 0,this.theme="",this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){n(this)}handleEscape(e){r(e)&&(this.open=!1,this.setFocus())}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"b7fd730a9ca29fe66b3fb47968d97882881dc46c",role:"listitem"},t("div",{key:"8375747f96bce65f0079f3a9e32f597ebfdea259",class:{"duet-menu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open,[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]:!0}},t("button",{key:"216c022acdd13b07237e09675ca2a3e5619d8945",ref:e=>this.button=e,"aria-label":this.accessibleLabel,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick,onKeyUp:e=>this.handleEscape(e)},this.icon&&t("duet-icon",{key:"8f871b50abc91e0d0cbe53d7ce94eb975926c893",class:"menu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"99691e6483647ec36e53d362eb63f67a77c5e86d",class:"label"},t("slot",{key:"b875b758547563e0b9f4c64540b8893a06172f87",name:"label"}),t("duet-icon",{key:"241cebbb03717f5a56aaf6299742ef72c4d1d03f",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"f6e8d54ef1e4cfa3512485a136d52dbe386d0755",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"059b1fa4eb5ccb1e4adbbb775c4d8cd9c9f2fb93"}))))}get element(){return a(this)}};d.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;height:100%}@media (min-width: 62em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 16px}}@media (min-width: 76.25em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 28px}}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-theme-turva .duet-menu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}.duet-theme-turva .duet-menu-bar-dropdown button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:16px;height:16px}}.duet-menu-bar-dropdown .items{position:absolute;top:70%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:8px;color:rgb(8, 42, 77);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)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva 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-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button{color:rgb(35, 46, 61)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(197, 29, 65)}';export{d as duet_menu_bar_dropdown}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-7df350f6.system.js","./p-6229bcd8.system.js"],(function(e){"use strict";var t,r,a,o,n;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);background:none;outline:1px solid rgb(212, 223, 229);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);background:none;outline-color:rgb(222, 224, 228)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{border-color:rgb(181, 198, 208);outline-color:rgb(8, 42, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(199, 202, 207);outline-color:rgb(23, 28, 58)}';var g=d;var u=e("duet_badge",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.background="normal";this.margin="auto"}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e;var t="background-".concat(this.background);return r(a,{key:"9623fc33248326ca42a44f8ffd8d61ab48c21af5",class:{"duet-m-0":this.margin==="none"}},r("span",{key:"639c1fcb5564297151bb401e3289344702c1f25e",class:(e={"duet-badge":true},e[this.variation]=true,e[t]=true,e["duet-theme-turva"]=this.theme==="turva",e)},r("slot",{key:"7c6daca7a06dde1cd98dfd61c4eecdd59ee011e8"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());u.style=g}}}));
4
+ System.register(["./p-7511b87b.system.js","./p-0a53642c.system.js"],(function(e){"use strict";var t,r,a,o,d;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){d=e.i}],execute:function(){var n='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);background:none;outline:1px solid rgb(212, 223, 229);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);background:none;outline-color:rgb(222, 224, 228)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{border-color:rgb(181, 198, 208);outline-color:rgb(8, 42, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(199, 202, 207);outline-color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.default{color:rgb(35, 46, 61);background:#e9eaec}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.background-strong.default{color:rgb(255, 255, 255);background:rgb(35, 46, 61)}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.background-strong.subtle{outline-color:rgb(35, 46, 61)}';var u=n;var g=e("duet_badge",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.background="normal";this.margin="auto"}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e;var t="background-".concat(this.background);return r(a,{key:"9623fc33248326ca42a44f8ffd8d61ab48c21af5",class:{"duet-m-0":this.margin==="none"}},r("span",{key:"639c1fcb5564297151bb401e3289344702c1f25e",class:(e={"duet-badge":true},e[this.variation]=true,e[t]=true,e["duet-theme-turva"]=this.theme==="turva",e)},r("slot",{key:"7c6daca7a06dde1cd98dfd61c4eecdd59ee011e8"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());g.style=u}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,r,i){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function n(t){try{u(i.next(t))}catch(t){a(t)}}function d(t){try{u(i["throw"](t))}catch(t){a(t)}}function u(t){t.done?r(t.value):o(t.value).then(n,d)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,n;return n={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function d(t){return function(e){return u([t,e])}}function u(d){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,d[0]&&(r=0)),r)try{if(i=1,o&&(a=d[0]&2?o["return"]:d[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,d[1])).done)return a;if(o=0,a)d=[d[0]&2,a.value];switch(d[0]){case 0:case 1:a=d;break;case 4:r.label++;return{value:d[1],done:false};case 5:r.label++;o=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1];a=d;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(d);break}if(a[2])r.ops.pop();r.trys.pop();continue}d=e.call(t,r)}catch(t){d=[6,t];o=0}finally{i=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-7511b87b.system.js","./p-0a53642c.system.js","./p-752fa0fc.system.js","./p-755eb00f.system.js","./p-0c4bbd65.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,r,i,o,a,n,d,u,s,c,h;return{setters:[function(t){e=t.r;r=t.h;i=t.g},function(t){o=t.i},function(t){a=t.s;n=t.u},function(t){d=t.a;u=t.g;s=t.c;c=t.d},function(t){h=t.a},function(){}],execute:function(){var b="*,*::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}:host(.duet-theme-turva2) .duet-notification.duet-theme-turva{color:rgb(35, 46, 61);border-bottom-color:rgb(248, 229, 217)}:host(.duet-theme-turva2) .duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-notification-badge.duet-theme-turva{background:rgb(197, 29, 65)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-notification:hover.duet-theme-turva{background:rgb(253, 247, 242)}}";var l=b;var f=t("duet_notification",function(){function t(t){e(this,t);this.language=d();this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"};this.accessibleLabelUnread=u(this.accessibleLabelUnreadDefaults,this.language);this.url="#";this.date="";this.highlight=false;this.external=false;this.theme=""}t.prototype.componentWillLoad=function(){o(this)};t.prototype.connectedCallback=function(){s(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"});a(this)};t.prototype.disconnectedCallback=function(){c(this);n(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.linkElement.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;return r("div",{key:"50b14b431dd3fa0271fed4ad88b3844db5d470c2",role:"listitem",class:{"duet-notification":true,"duet-notification-highlight":this.highlight,"duet-theme-turva":this.theme==="turva"}},r("a",{key:"69d83dd84ef5cb3e5cadc59ef13262ba5a2403b5",ref:function(e){return t.linkElement=e},href:this.url,target:this.external?"_blank":"_self"},r("div",{key:"c84b368567d5c30a73d072a857d09546762d4e3b",class:"duet-notification-container"},r("div",{key:"b643d6050a37393d3014f04d1255b39a1db22be7",class:"duet-notification-badge-container"},this.highlight&&r("div",{key:"f2ffc87634082ee3ca83962e5be69f8521a8ca8a",class:"duet-notification-badge"},r("duet-visually-hidden",{key:"150e736d8b12304b0a2bf4341462b861f7e1dfdb"},this.accessibleLabelUnread,":"))),r("div",{key:"17934b56fbc1d360d9caf028b545edb6a8fe06e3",class:"duet-notification-content"},r("slot",{key:"3546c2b5e14a00d7b254f59985315a13d79bcc4f"})),r("div",{key:"ac03337c739922c3db5c1e8b63593f92edba315d",class:"duet-notification-date"},this.date))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());f.style=l;var g='*,*::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)}}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle{color:rgb(35, 46, 61);border-color:rgb(248, 229, 217)}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle::after{background:rgb(197, 29, 65)}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true],:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{border-color:rgb(253, 247, 242)}';var p=g;var m=27;var w=t("duet_notification_drawer",function(){function t(t){var r=this;e(this,t);this.handleKeyDown=function(t){if(r.isOpen&&t.keyCode===m){r.close()}};this.toggleMenu=function(t){t.stopPropagation();r.isOpen?r.close():r.open()};this.updateNotificationState=function(){r.hasNotifications=r.element.children.length>0};this.isOpen=false;this.hasNotifications=undefined;this.icon="";this.label="Label";this.language=d();this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"};this.accessibleLabelNotifications=u(this.accessibleLabelNotificationsDefaults);this.badge=false;this.theme="";this.direction="left"}t.prototype.componentWillLoad=function(){o(this);this.updateNotificationState()};t.prototype.connectedCallback=function(){this.observer=new MutationObserver(this.updateNotificationState);this.observer.observe(this.element,{childList:true});a(this)};t.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;n(this)};t.prototype.handleClickFocusOutside=function(t){var e=t.target;if(this.isOpen&&!this.element.contains(e)){this.close(false)}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.drawerButtonEl.focus(t);return[2]}))}))};t.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.element.closest("duet-header");if(t){t.closeMenus()}this.isOpen=true;this.drawerContentEl.scrollTop=0;return[2]}))}))};t.prototype.close=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=true}return __generator(this,(function(e){this.isOpen=false;if(t){this.setFocus({preventScroll:true})}return[2]}))}))};t.prototype.render=function(){var t=this;return r("div",{key:"52951b68e698b9c831642c1c135dfcb53a48a40c",class:{"duet-drawer":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:this.handleKeyDown},r("button",{key:"e713e9ace0ffc56428e71ca55c37a360971cbe15",ref:function(e){return t.drawerButtonEl=e},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&&r("div",{key:"a4c21f480f37e714d9c62d75bf787ba7216fb381",class:"duet-drawer-icon"},r("duet-icon",{key:"e95aeefaa6b5323e37f0852fe9e5fd4b6f5f8233",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&r("div",{key:"9944b7bc548e2d8b9c753cbc5e2ee9e60817bdb9",class:"duet-drawer-badge"})),r("span",{key:"cb880634e09f12b30bf67452ac7563ac80b6fcc0",class:"duet-drawer-label"},this.label),r("div",{key:"6416fe4067667f4b7b9977d824ff5570ae86def0",class:"duet-drawer-caret"},r("duet-icon",{key:"6e3e61d447a93c57946cde7067668047a5e6506a",margin:"none",size:"auto",icon:h.svg,color:"currentColor"}))),r("div",{key:"982db8ff68314474dd59f68b9caa66c57634d5ac",id:"duet-drawer-content",class:{"duet-drawer-content":true,"duet-drawer-right":this.direction==="right","duet-drawer-left":this.direction==="left","duet-drawer-open":this.isOpen},ref:function(e){return t.drawerContentEl=e}},this.hasNotifications?r("div",{role:"list"},r("slot",null)):r("duet-empty-state",{size:"small"},r("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());w.style=p}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-7df350f6.system.js"],(function(n){"use strict";return{setters:[function(){}],execute:function(){var r=n("g",(function(n,r){var e=Array.from(n.querySelectorAll(":scope > *"));return e.filter((function(n){return n.matches("[slot='".concat(r,"']"))}))}));var e=n("a",(function(n){var r=Array.from(n.querySelectorAll(":scope > *"));return r.filter((function(n){return!n.getAttribute("slot")}))}));var t=n("h",(function(n,t){return t?r(n,t).length>0:e(n).length>0}));var u=n("c",(function(n,e,t,u,o){if(u===void 0){u=0}if(o===void 0){o=false}var i=o?"error":"warn";var f=[];var s=r(n,e);var a=s.filter((function(n){if(n.matches(t)){return true}f.push('Only elements matcing selector "'.concat(t,'" may be used in slot ').concat(e,", found:\n").concat(n.outerHTML));if(o){n.remove();return false}return true}));if(u&&a.length>u){f.push("Only ".concat(u," element").concat(u>1?"s":""," may be used in slot ").concat(e,", found ").concat(s.length,"."));if(o){a.slice(u).forEach((function(n){return n.remove()}))}}if(f.length>0){console[i]("Duet ".concat(i," in ").concat(n.tagName.toLowerCase(),":\n").concat(f.join("\n")).concat(o?"\nElement".concat(f.length>1?"s":""," removed."):""))}}))}}}));
4
+ System.register(["./p-7511b87b.system.js"],(function(n){"use strict";return{setters:[function(){}],execute:function(){var r=n("g",(function(n,r){var e=Array.from(n.querySelectorAll(":scope > *"));return e.filter((function(n){return n.matches("[slot='".concat(r,"']"))}))}));var e=n("a",(function(n){var r=Array.from(n.querySelectorAll(":scope > *"));return r.filter((function(n){return!n.getAttribute("slot")}))}));var t=n("h",(function(n,t){return t?r(n,t).length>0:e(n).length>0}));var u=n("c",(function(n,e,t,u,o){if(u===void 0){u=0}if(o===void 0){o=false}var i=o?"error":"warn";var s=[];var f=r(n,e);var a=f.filter((function(n){if(n.matches(t)){return true}s.push('Only elements matcing selector "'.concat(t,'" may be used in slot ').concat(e,", found:\n").concat(n.outerHTML));if(o){n.remove();return false}return true}));if(u&&a.length>u){s.push("Only ".concat(u," element").concat(u>1?"s":""," may be used in slot ").concat(e,", found ").concat(f.length,"."));if(o){a.slice(u).forEach((function(n){return n.remove()}))}}if(s.length>0){console[i]("Duet ".concat(i," in ").concat(n.tagName.toLowerCase(),":\n").concat(s.join("\n")).concat(o?"\nElement".concat(s.length>1?"s":""," removed."):""))}}))}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as t,g as o}from"./p-ed0179f9.js";import{i as n}from"./p-2e417433.js";const i=class{constructor(a){e(this,a),this.theme="",this.sticky=!1}componentWillLoad(){n(this)}render(){return a(t,{key:"00a512aca74e896f68c7f089bc805af77083caa0"},a("div",{key:"63db60712546a4917778c2d361db15683e57d370",class:{container:!0,sticky:this.sticky}},a("slot",{key:"618adba4dcf96b0461ed60f8ed931080f06cdf46"}),a("slot",{key:"4cf1e97401cd3ff6a4ffb16900186228c0851da9",name:"mobile"}),a("slot",{key:"67d4aaae5584a1c2ee205da75e719fb9c320097a",name:"desktop"})))}get element(){return o(this)}};i.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}:host([sticky]){position:relative;z-index:300}.container{position:relative;z-index:400}::slotted(*[slot=mobile]){display:inherit}::slotted(*[slot=desktop]){display:none}@media (min-width: 62em){::slotted(*[slot=mobile]){display:none}::slotted(*[slot=desktop]){display:inherit}}.sticky{position:sticky;top:0}@media (min-width: 62em){.sticky{position:relative;top:unset}}";export{i as duet_nav}
4
+ import{r as e,h as a,H as t,g as o}from"./p-3f5c74ac.js";import{i as n}from"./p-347269f4.js";const i=class{constructor(a){e(this,a),this.theme="",this.sticky=!1}componentWillLoad(){n(this)}render(){return a(t,{key:"00a512aca74e896f68c7f089bc805af77083caa0"},a("div",{key:"63db60712546a4917778c2d361db15683e57d370",class:{container:!0,sticky:this.sticky}},a("slot",{key:"618adba4dcf96b0461ed60f8ed931080f06cdf46"}),a("slot",{key:"4cf1e97401cd3ff6a4ffb16900186228c0851da9",name:"mobile"}),a("slot",{key:"67d4aaae5584a1c2ee205da75e719fb9c320097a",name:"desktop"})))}get element(){return o(this)}};i.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}:host([sticky]){position:relative;z-index:300}.container{position:relative;z-index:400}::slotted(*[slot=mobile]){display:inherit}::slotted(*[slot=desktop]){display:none}@media (min-width: 62em){::slotted(*[slot=mobile]){display:none}::slotted(*[slot=desktop]){display:inherit}}.sticky{position:sticky;top:0}@media (min-width: 62em){.sticky{position:relative;top:unset}}";export{i as duet_nav}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-7511b87b.system.js","./p-0a53642c.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,n,r,o,a,i;return{setters:[function(e){t=e.r;n=e.h;r=e.H;o=e.g},function(e){a=e.i},function(e){i=e.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 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}.duet-menu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva{color:rgb(35, 46, 61)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva:hover{background:rgb(248, 229, 217)}';var d=u;var s=e("duet_menu_bar_dropdown_link",function(){function e(e){var n=this;t(this,e);this.getVariant=function(){var e=n.element.parentElement.parentElement.getAttribute("slot");switch(e){case"center":return"right";case"right":return"right";default:return"right"}};this.theme="";this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var t=this.element.closest("duet-menu-bar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e;var t=this;return n(r,{key:"6068b6651363acfa5a38ce76f97eef97c617ae40"},n("a",{key:"7181016d9299aae44bfabcb59504bc1cb839d794",class:(e={"duet-menu-bar-dropdown-link":true},e["duet-menu-bar-dropdown-link--slot-".concat(this.getVariant())]=true,e["duet-theme-turva"]=this.theme==="turva",e),href:this.href,role:"menuitem",onKeyUp:function(e){return t.handleEscape(e)},"aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{key:"d188538d34c86debcdcea72edb4453b58ce86bb7",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("slot",{key:"4dc908e75b92425aa98d33349389a063c96d6417"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=d}}}));