@duetds/components 9.1.2 → 9.2.1

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 (828) hide show
  1. package/hydrate/index.js +581 -354
  2. package/lib/cjs/a11y-utils-76311b95.js +20 -0
  3. package/lib/cjs/{app-globals-75ae6194.js → app-globals-940f10af.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
  5. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-badge.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
  10. package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +14 -25
  13. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  16. package/lib/cjs/duet-chip_3.cjs.entry.js +653 -0
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-combobox.cjs.entry.js +43 -39
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +11 -11
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-header_2.cjs.entry.js +6 -6
  31. package/lib/cjs/duet-hero.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  33. package/lib/cjs/duet-input_2.cjs.entry.js +101 -12
  34. package/lib/cjs/duet-layout.cjs.entry.js +7 -10
  35. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +24 -6
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  42. package/lib/cjs/duet-modal.cjs.entry.js +11 -11
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
  44. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +8 -8
  46. package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
  47. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +19 -19
  50. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +7 -7
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +49 -28
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +5 -6
  56. package/lib/cjs/duet-select.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  58. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +13 -13
  63. package/lib/cjs/duet-slideout.cjs.entry.js +11 -11
  64. package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +23 -5
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  70. package/lib/cjs/duet-textarea.cjs.entry.js +7 -7
  71. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +25 -6
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-tray.cjs.entry.js +6 -6
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  83. package/lib/cjs/duet.cjs.js +3 -3
  84. package/lib/cjs/{errorcodes.utils-388375fb.js → errorcodes.utils-a9512b40.js} +1 -1
  85. package/lib/cjs/{focus-utils-8bf2f9fe.js → focus-utils-c9b32897.js} +1 -1
  86. package/lib/cjs/{index-9e6f7e53.js → index-ce05ed4b.js} +1 -1
  87. package/lib/cjs/{language-utils-0eb766d8.js → language-utils-04d69d6b.js} +1 -1
  88. package/lib/cjs/loader.cjs.js +3 -3
  89. package/lib/cjs/{slot-utils-0975145c.js → slot-utils-83d6d31e.js} +1 -1
  90. package/lib/cjs/{token-utils-ecc7f5a1.js → token-utils-453a4e75.js} +1 -1
  91. package/lib/cjs/{tokens-1c133754.js → tokens-57e06fe4.js} +25 -25
  92. package/lib/cjs/{tokens.module-cf303205.js → tokens.module-fcba867f.js} +25 -25
  93. package/lib/collection/components/duet-action-button/duet-action-button.css +7 -7
  94. package/lib/collection/components/duet-alert/duet-alert.css +12 -12
  95. package/lib/collection/components/duet-badge/duet-badge.css +18 -18
  96. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  97. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  98. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +7 -7
  99. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  100. package/lib/collection/components/duet-button/duet-button.css +39 -39
  101. package/lib/collection/components/duet-callout/duet-callout.css +2 -2
  102. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  103. package/lib/collection/components/duet-caption/duet-caption.css +2 -2
  104. package/lib/collection/components/duet-card/duet-card.css +6 -6
  105. package/lib/collection/components/duet-checkbox/duet-checkbox.css +16 -16
  106. package/lib/collection/components/duet-chip/duet-chip.css +83 -28
  107. package/lib/collection/components/duet-chip/duet-chip.js +102 -6
  108. package/lib/collection/components/duet-choice/duet-checkmark.css +6 -6
  109. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  110. package/lib/collection/components/duet-choice/duet-choice.css +50 -50
  111. package/lib/collection/components/duet-collapsible/duet-collapsible.css +4 -4
  112. package/lib/collection/components/duet-combobox/duet-combobox-select.js +4 -8
  113. package/lib/collection/components/duet-combobox/duet-combobox.css +4 -81
  114. package/lib/collection/components/duet-combobox/duet-combobox.js +37 -25
  115. package/lib/collection/components/duet-contact-card/duet-contact-card.css +1 -1
  116. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  117. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +2 -2
  118. package/lib/collection/components/duet-date-picker/duet-date-picker.css +26 -26
  119. package/lib/collection/components/duet-divider/duet-divider.css +2 -2
  120. package/lib/collection/components/duet-empty-state/duet-empty-state.css +2 -2
  121. package/lib/collection/components/duet-fieldset/duet-fieldset.css +3 -3
  122. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  123. package/lib/collection/components/duet-footer/duet-footer.css +5 -5
  124. package/lib/collection/components/duet-grid-item/duet-grid-item.css +1 -1
  125. package/lib/collection/components/duet-header/duet-header.css +42 -42
  126. package/lib/collection/components/duet-heading/duet-heading.css +3 -3
  127. package/lib/collection/components/duet-hero/duet-hero.css +13 -13
  128. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  129. package/lib/collection/components/duet-input/duet-input.css +39 -37
  130. package/lib/collection/components/duet-input/duet-input.js +96 -7
  131. package/lib/collection/components/duet-label/duet-label.css +1 -1
  132. package/lib/collection/components/duet-layout/duet-layout.css +24 -19
  133. package/lib/collection/components/duet-layout/duet-layout.js +4 -7
  134. package/lib/collection/components/duet-link/duet-link.css +9 -9
  135. package/lib/collection/components/duet-link/duet-link.js +4 -15
  136. package/lib/collection/components/duet-list/duet-list.js +1 -1
  137. package/lib/collection/components/duet-list-item/duet-list-item.css +8 -8
  138. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  139. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  140. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +5 -3
  141. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  142. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  143. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +2 -2
  144. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  145. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +3 -3
  146. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  147. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +4 -1
  148. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +87 -4
  149. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  150. package/lib/collection/components/duet-modal/duet-modal.css +6 -6
  151. package/lib/collection/components/duet-modal/duet-modal.js +6 -6
  152. package/lib/collection/components/duet-multiselect/duet-multiselect.css +24 -24
  153. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  154. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  155. package/lib/collection/components/duet-notification/duet-notification.css +9 -9
  156. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  157. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +12 -12
  158. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  159. package/lib/collection/components/duet-number-input/duet-number-input.css +5 -5
  160. package/lib/collection/components/duet-overlay/duet-overlay.css +1 -1
  161. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  162. package/lib/collection/components/duet-page-heading/duet-page-heading.css +2 -2
  163. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  164. package/lib/collection/components/duet-pagination/duet-pagination.css +1 -1
  165. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  166. package/lib/collection/components/duet-paragraph/duet-paragraph.css +3 -3
  167. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  168. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +1 -1
  169. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +44 -10
  170. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +13 -5
  171. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +26 -3
  172. package/lib/collection/components/duet-progress/duet-progress.css +6 -6
  173. package/lib/collection/components/duet-promo-card/duet-promo-card.css +1 -1
  174. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  175. package/lib/collection/components/duet-radio/duet-radio.css +10 -10
  176. package/lib/collection/components/duet-range-slider/duet-range-slider.css +21 -21
  177. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +1 -1
  178. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  179. package/lib/collection/components/duet-scrollable/duet-scrollable.css +3 -0
  180. package/lib/collection/components/duet-scrollable/duet-scrollable.js +38 -16
  181. package/lib/collection/components/duet-section-layout/duet-section-layout.css +24 -15
  182. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -4
  183. package/lib/collection/components/duet-select/duet-select.css +18 -18
  184. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  185. package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
  186. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  187. package/lib/collection/components/duet-slideout/duet-slideout.css +8 -8
  188. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  189. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +1 -1
  190. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  191. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +2 -2
  192. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  193. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +10 -10
  194. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  195. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
  196. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  197. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  198. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  199. package/lib/collection/components/duet-step/duet-step.css +4 -4
  200. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  201. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +9 -9
  202. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  203. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +11 -11
  204. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  205. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +6 -6
  206. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  207. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +13 -9
  208. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +86 -3
  209. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +9 -9
  210. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  211. package/lib/collection/components/duet-tab-group/duet-tab-group.css +27 -27
  212. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  213. package/lib/collection/components/duet-table/duet-table.css +30 -30
  214. package/lib/collection/components/duet-table/duet-table.js +2 -2
  215. package/lib/collection/components/duet-textarea/duet-textarea.css +27 -27
  216. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  217. package/lib/collection/components/duet-toggle/duet-toggle.css +4 -4
  218. package/lib/collection/components/duet-toolbar/duet-toolbar.css +2 -2
  219. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  220. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +11 -11
  221. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  222. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +5 -5
  223. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  224. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +23 -11
  225. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +88 -4
  226. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +8 -8
  227. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  228. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +2 -2
  229. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  230. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +10 -10
  231. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  232. package/lib/collection/components/duet-tray/duet-tray.css +8 -8
  233. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  234. package/lib/collection/components/duet-upload/duet-upload.css +1 -1
  235. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  236. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  237. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  238. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  239. package/lib/collection/utils/a11y-utils.js +16 -0
  240. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  241. package/lib/dist-custom-elements/duet-alert.js +1 -1
  242. package/lib/dist-custom-elements/duet-badge.js +1 -1
  243. package/lib/dist-custom-elements/duet-banner.js +4 -4
  244. package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
  245. package/lib/dist-custom-elements/duet-breadcrumbs.js +5 -5
  246. package/lib/dist-custom-elements/duet-button.js +1 -1
  247. package/lib/dist-custom-elements/duet-callout.js +5 -5
  248. package/lib/dist-custom-elements/duet-caption.js +1 -1
  249. package/lib/dist-custom-elements/duet-card.js +6 -6
  250. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  251. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  252. package/lib/dist-custom-elements/duet-chip.js +1 -1
  253. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  254. package/lib/dist-custom-elements/duet-choice.js +6 -6
  255. package/lib/dist-custom-elements/duet-collapsible.js +5 -5
  256. package/lib/dist-custom-elements/duet-combobox.js +80 -58
  257. package/lib/dist-custom-elements/duet-contact-card.js +11 -11
  258. package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
  259. package/lib/dist-custom-elements/duet-date-picker.js +14 -14
  260. package/lib/dist-custom-elements/duet-divider.js +1 -1
  261. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  262. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  263. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  264. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  265. package/lib/dist-custom-elements/duet-footer.js +9 -9
  266. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  267. package/lib/dist-custom-elements/duet-grid.js +1 -1
  268. package/lib/dist-custom-elements/duet-header.js +11 -11
  269. package/lib/dist-custom-elements/duet-heading.js +1 -1
  270. package/lib/dist-custom-elements/duet-hero.js +10 -10
  271. package/lib/dist-custom-elements/duet-icon.js +1 -1
  272. package/lib/dist-custom-elements/duet-input.js +1 -1
  273. package/lib/dist-custom-elements/duet-label.js +1 -1
  274. package/lib/dist-custom-elements/duet-layout.js +6 -9
  275. package/lib/dist-custom-elements/duet-link.js +1 -1
  276. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  277. package/lib/dist-custom-elements/duet-list.js +1 -1
  278. package/lib/dist-custom-elements/duet-logo.js +1 -1
  279. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  280. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -6
  281. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +8 -8
  282. package/lib/dist-custom-elements/duet-menu-bar-item.js +27 -7
  283. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  284. package/lib/dist-custom-elements/duet-menu-bar.js +6 -6
  285. package/lib/dist-custom-elements/duet-modal.js +16 -16
  286. package/lib/dist-custom-elements/duet-multiselect.js +16 -16
  287. package/lib/dist-custom-elements/duet-nav.js +2 -2
  288. package/lib/dist-custom-elements/duet-notification-drawer.js +8 -8
  289. package/lib/dist-custom-elements/duet-notification.js +6 -6
  290. package/lib/dist-custom-elements/duet-number-input.js +13 -13
  291. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  292. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  293. package/lib/dist-custom-elements/duet-pagination.js +27 -27
  294. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  295. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -111
  296. package/lib/dist-custom-elements/duet-popup-menu.js +1 -277
  297. package/lib/dist-custom-elements/duet-progress.js +1 -1
  298. package/lib/dist-custom-elements/duet-promo-card.js +7 -7
  299. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  300. package/lib/dist-custom-elements/duet-radio.js +2 -2
  301. package/lib/dist-custom-elements/duet-range-slider.js +5 -5
  302. package/lib/dist-custom-elements/duet-range-stepper.js +8 -8
  303. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  304. package/lib/dist-custom-elements/duet-section-layout.js +5 -6
  305. package/lib/dist-custom-elements/duet-select.js +1 -1
  306. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  307. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  308. package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
  309. package/lib/dist-custom-elements/duet-slideout-link.js +5 -5
  310. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -7
  311. package/lib/dist-custom-elements/duet-slideout-panel.js +10 -10
  312. package/lib/dist-custom-elements/duet-slideout.js +10 -10
  313. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  314. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  315. package/lib/dist-custom-elements/duet-step.js +6 -6
  316. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  317. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -6
  318. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +9 -9
  319. package/lib/dist-custom-elements/duet-submenu-bar-item.js +27 -7
  320. package/lib/dist-custom-elements/duet-submenu-bar-link.js +5 -5
  321. package/lib/dist-custom-elements/duet-submenu-bar.js +10 -10
  322. package/lib/dist-custom-elements/duet-tab-group.js +20 -20
  323. package/lib/dist-custom-elements/duet-tab.js +3 -3
  324. package/lib/dist-custom-elements/duet-table.js +1 -1
  325. package/lib/dist-custom-elements/duet-textarea.js +14 -14
  326. package/lib/dist-custom-elements/duet-toggle.js +4 -4
  327. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -6
  328. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +8 -8
  329. package/lib/dist-custom-elements/duet-toolbar-item.js +28 -7
  330. package/lib/dist-custom-elements/duet-toolbar-link.js +5 -5
  331. package/lib/dist-custom-elements/duet-toolbar.js +4 -4
  332. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  333. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  334. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  335. package/lib/dist-custom-elements/duet-tray.js +8 -8
  336. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  337. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  338. package/lib/dist-custom-elements/duet-upload.js +22 -22
  339. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  340. package/lib/dist-custom-elements/index.js +1 -1
  341. package/lib/dist-custom-elements/p-01dec611.js +368 -0
  342. package/lib/dist-custom-elements/{p-9635880c.js → p-0cf30970.js} +6 -6
  343. package/lib/dist-custom-elements/{p-dc26d4a2.js → p-0e77715d.js} +25 -25
  344. package/lib/dist-custom-elements/{p-926dfd0d.js → p-1149a5f1.js} +1 -1
  345. package/lib/dist-custom-elements/{p-7dfb4906.js → p-14903ee8.js} +6 -6
  346. package/lib/dist-custom-elements/{p-53d15ae4.js → p-1749d98a.js} +43 -22
  347. package/lib/dist-custom-elements/{p-8979d055.js → p-1cea02c6.js} +3 -3
  348. package/lib/dist-custom-elements/{p-cc58e64e.js → p-1cf7db2a.js} +3 -3
  349. package/lib/dist-custom-elements/{p-c5f82e3b.js → p-28807fbd.js} +2 -2
  350. package/lib/dist-custom-elements/{p-132de48f.js → p-29c84284.js} +4 -4
  351. package/lib/dist-custom-elements/{p-434e64ad.js → p-2cc77e29.js} +9 -9
  352. package/lib/dist-custom-elements/{p-cd8e9097.js → p-329cec9e.js} +2 -2
  353. package/lib/dist-custom-elements/{p-7a8eda34.js → p-3883514c.js} +5 -5
  354. package/lib/dist-custom-elements/{p-39b4be25.js → p-3d136f5c.js} +8 -8
  355. package/lib/dist-custom-elements/{p-1e7abd9f.js → p-55342fcd.js} +8 -19
  356. package/lib/dist-custom-elements/{p-b1aa75c1.js → p-55989a50.js} +7 -7
  357. package/lib/dist-custom-elements/p-570cecb0.js +119 -0
  358. package/lib/dist-custom-elements/{p-16a278f4.js → p-5e4809d5.js} +6 -6
  359. package/lib/dist-custom-elements/{p-a1979351.js → p-6fdef72e.js} +2 -2
  360. package/lib/dist-custom-elements/{p-00d7b302.js → p-72bc5f40.js} +3 -3
  361. package/lib/dist-custom-elements/{p-6081e535.js → p-782759f5.js} +2 -2
  362. package/lib/dist-custom-elements/{p-3caf29d6.js → p-791ee647.js} +2 -2
  363. package/lib/dist-custom-elements/{p-52618a53.js → p-87248c43.js} +3 -3
  364. package/lib/dist-custom-elements/{p-a7559bee.js → p-95fb5b4b.js} +7 -7
  365. package/lib/dist-custom-elements/{p-e399097c.js → p-9f461090.js} +3 -3
  366. package/lib/dist-custom-elements/{p-fac41d14.js → p-9fa78368.js} +1 -1
  367. package/lib/dist-custom-elements/{p-8acea31f.js → p-a407fdb5.js} +3 -3
  368. package/lib/dist-custom-elements/{p-11d8af72.js → p-a89ea763.js} +6 -6
  369. package/lib/dist-custom-elements/{p-fdc2bf62.js → p-aa53a402.js} +12 -12
  370. package/lib/dist-custom-elements/{p-7a7a6a7b.js → p-aad2ab95.js} +9 -9
  371. package/lib/dist-custom-elements/{p-ddb9e9be.js → p-ab30a756.js} +4 -4
  372. package/lib/{esm/duet-popup-menu.entry.js → dist-custom-elements/p-ae917476.js} +69 -20
  373. package/lib/dist-custom-elements/{p-401837cb.js → p-b87d1e74.js} +4 -4
  374. package/lib/dist-custom-elements/{p-7c8f29a0.js → p-be13a7a6.js} +6 -6
  375. package/lib/dist-custom-elements/{p-239cfc2e.js → p-c43f0450.js} +3 -3
  376. package/lib/dist-custom-elements/{p-c77f9e4d.js → p-c8e032e9.js} +4 -4
  377. package/lib/dist-custom-elements/{p-785686e3.js → p-ca700701.js} +1 -1
  378. package/lib/dist-custom-elements/{p-5f658e84.js → p-d00e8f90.js} +107 -18
  379. package/lib/dist-custom-elements/{p-f5924b7d.js → p-d551ba52.js} +2 -2
  380. package/lib/dist-custom-elements/{p-f43704a4.js → p-e685687b.js} +2 -2
  381. package/lib/dist-custom-elements/{p-bec25ec5.js → p-e8594dcd.js} +3 -3
  382. package/lib/dist-custom-elements/p-f0cc5629.js +18 -0
  383. package/lib/dist-custom-elements/{p-74f689ae.js → p-f1a4011f.js} +5 -5
  384. package/lib/{esm/tokens-e0e3d241.js → dist-custom-elements/p-f6000a03.js} +25 -25
  385. package/lib/duet/duet.esm.js +1 -1
  386. package/lib/duet/duet.js +1 -1
  387. package/lib/duet/{p-a1af9ad9.system.entry.js → p-033a796b.system.entry.js} +1 -1
  388. package/lib/duet/{p-5e2f8206.js → p-03ebb87c.js} +1 -1
  389. package/lib/duet/{p-ab78e681.entry.js → p-09f97fb6.entry.js} +1 -1
  390. package/lib/duet/{p-946101a9.js → p-0e91ae89.js} +1 -1
  391. package/lib/duet/{p-14dc7cf5.entry.js → p-0f61ec4f.entry.js} +1 -1
  392. package/lib/duet/{p-8f1823c2.system.entry.js → p-102d7289.system.entry.js} +1 -1
  393. package/lib/duet/p-1117cfde.system.entry.js +4 -0
  394. package/lib/duet/{p-8c84e41c.entry.js → p-1261a1b5.entry.js} +1 -1
  395. package/lib/duet/{p-8f2af04b.system.entry.js → p-13f6afbe.system.entry.js} +1 -1
  396. package/lib/duet/{p-dcf097a9.system.entry.js → p-14a83e9e.system.entry.js} +1 -1
  397. package/lib/duet/{p-e20b0d90.entry.js → p-151b3794.entry.js} +1 -1
  398. package/lib/duet/{p-91bf41a8.system.entry.js → p-16a3016e.system.entry.js} +1 -1
  399. package/lib/duet/p-16e3f6f0.system.entry.js +4 -0
  400. package/lib/duet/{p-7e06948d.entry.js → p-16ee7d09.entry.js} +1 -1
  401. package/lib/duet/p-176154a9.system.entry.js +4 -0
  402. package/lib/duet/{p-f8d41de4.entry.js → p-186dc204.entry.js} +1 -1
  403. package/lib/duet/{p-a4a42c3e.system.entry.js → p-19097787.system.entry.js} +1 -1
  404. package/lib/duet/{p-5e502442.system.entry.js → p-1f32a819.system.entry.js} +1 -1
  405. package/lib/duet/{p-33ca3555.system.entry.js → p-1fb804dc.system.entry.js} +1 -1
  406. package/lib/duet/{p-123e5149.entry.js → p-2091f634.entry.js} +1 -1
  407. package/lib/duet/{p-35bf92a1.system.entry.js → p-22b59f78.system.entry.js} +1 -1
  408. package/lib/duet/{p-50428ca6.entry.js → p-231b853e.entry.js} +1 -1
  409. package/lib/duet/p-25deb7be.system.entry.js +4 -0
  410. package/lib/duet/p-28d2739c.entry.js +4 -0
  411. package/lib/duet/p-2b0552dc.system.entry.js +4 -0
  412. package/lib/duet/{p-8aaadc21.system.entry.js → p-2c42ece3.system.entry.js} +1 -1
  413. package/lib/duet/{p-85f4d527.entry.js → p-306faf90.entry.js} +1 -1
  414. package/lib/duet/p-30947766.entry.js +4 -0
  415. package/lib/duet/{p-2349ea53.entry.js → p-312f509d.entry.js} +1 -1
  416. package/lib/duet/p-3363aa75.entry.js +4 -0
  417. package/lib/duet/{p-f6c25420.system.entry.js → p-36b2ad26.system.entry.js} +1 -1
  418. package/lib/duet/{p-695da2aa.entry.js → p-375948ff.entry.js} +1 -1
  419. package/lib/duet/p-37b8bb50.system.entry.js +4 -0
  420. package/lib/duet/p-386c614c.system.entry.js +4 -0
  421. package/lib/duet/{p-d3101c8a.system.js → p-39fb8819.system.js} +1 -1
  422. package/lib/duet/{p-03eab84c.system.entry.js → p-3beb1c58.system.entry.js} +1 -1
  423. package/lib/duet/{p-12155eae.system.entry.js → p-3c0373cb.system.entry.js} +1 -1
  424. package/lib/duet/{p-e95fa292.js → p-3d9a63aa.js} +1 -1
  425. package/lib/duet/{p-d5e996fd.entry.js → p-3e13fb5c.entry.js} +1 -1
  426. package/lib/duet/{p-c7aea431.entry.js → p-3e15a291.entry.js} +1 -1
  427. package/lib/duet/{p-31ee8ad8.entry.js → p-4068cfee.entry.js} +1 -1
  428. package/lib/duet/{p-20a0e98c.entry.js → p-408a9ccb.entry.js} +1 -1
  429. package/lib/duet/p-4217dab3.system.entry.js +4 -0
  430. package/lib/duet/{p-6d11c049.entry.js → p-446f79d6.entry.js} +1 -1
  431. package/lib/duet/p-46030b7e.entry.js +4 -0
  432. package/lib/duet/{p-c3035dee.system.entry.js → p-48c61eee.system.entry.js} +1 -1
  433. package/lib/duet/p-48c90346.system.js +4 -0
  434. package/lib/duet/p-495d8962.system.entry.js +4 -0
  435. package/lib/duet/{p-bfb824c6.entry.js → p-497263c5.entry.js} +1 -1
  436. package/lib/duet/{p-0d9de644.entry.js → p-4a657e92.entry.js} +1 -1
  437. package/lib/duet/p-4d20e324.system.entry.js +4 -0
  438. package/lib/duet/{p-2c999efc.entry.js → p-50bf90d6.entry.js} +1 -1
  439. package/lib/duet/{p-0853dd3b.system.js → p-514b6b5b.system.js} +1 -1
  440. package/lib/duet/{p-5432aefa.system.entry.js → p-528db5b3.system.entry.js} +1 -1
  441. package/lib/duet/{p-eb8bf9ea.entry.js → p-529aff73.entry.js} +1 -1
  442. package/lib/duet/p-54fbe5c8.entry.js +4 -0
  443. package/lib/duet/p-599c6ee4.system.entry.js +4 -0
  444. package/lib/duet/p-5f6a8312.system.entry.js +4 -0
  445. package/lib/duet/{p-bf40b101.entry.js → p-5fe9bbe0.entry.js} +1 -1
  446. package/lib/duet/p-60754704.entry.js +4 -0
  447. package/lib/duet/p-61fe7d32.entry.js +4 -0
  448. package/lib/duet/{p-3b668f9d.system.entry.js → p-64030845.system.entry.js} +2 -2
  449. package/lib/duet/{p-4f47944f.system.entry.js → p-646fcab7.system.entry.js} +1 -1
  450. package/lib/duet/{p-2f891fbb.system.js → p-6a95a2e3.system.js} +1 -1
  451. package/lib/duet/p-6adc0389.system.entry.js +4 -0
  452. package/lib/duet/{p-697c4f57.entry.js → p-6f106108.entry.js} +1 -1
  453. package/lib/duet/{p-471c18e5.system.entry.js → p-6f53cfb2.system.entry.js} +1 -1
  454. package/lib/duet/{p-fd40d190.system.entry.js → p-739bfa4e.system.entry.js} +1 -1
  455. package/lib/duet/{p-0487aadb.system.entry.js → p-753333e9.system.entry.js} +1 -1
  456. package/lib/duet/{p-8507509a.js → p-75e078ac.js} +1 -1
  457. package/lib/duet/{p-e05007a2.system.entry.js → p-7712eb09.system.entry.js} +1 -1
  458. package/lib/duet/{p-730ac0b8.entry.js → p-783cc158.entry.js} +1 -1
  459. package/lib/duet/{p-8de97e36.entry.js → p-7863c54a.entry.js} +1 -1
  460. package/lib/duet/p-7a3ae8a9.system.js +4 -0
  461. package/lib/duet/{p-11d01633.system.entry.js → p-7a41aff3.system.entry.js} +1 -1
  462. package/lib/duet/{p-4f7a0a49.entry.js → p-7b6bacd8.entry.js} +1 -1
  463. package/lib/duet/{p-6cd9ae43.entry.js → p-7db5f5b6.entry.js} +1 -1
  464. package/lib/duet/p-7f94c928.entry.js +4 -0
  465. package/lib/duet/{p-0fee15c1.system.js → p-8002cdbf.system.js} +1 -1
  466. package/lib/duet/p-8002d713.system.entry.js +4 -0
  467. package/lib/duet/{p-758cb2a2.system.entry.js → p-8087cdcd.system.entry.js} +1 -1
  468. package/lib/duet/{p-3affe362.entry.js → p-81168888.entry.js} +1 -1
  469. package/lib/duet/{p-4a689653.system.js → p-832862b7.system.js} +1 -1
  470. package/lib/duet/{p-91374fa5.system.entry.js → p-832e5af8.system.entry.js} +1 -1
  471. package/lib/duet/{p-73170927.entry.js → p-8486a863.entry.js} +1 -1
  472. package/lib/duet/{p-9ea9329f.entry.js → p-84b5b372.entry.js} +1 -1
  473. package/lib/duet/p-8b3b5673.js +4 -0
  474. package/lib/duet/{p-ae6de40d.entry.js → p-8bee5b14.entry.js} +1 -1
  475. package/lib/duet/{p-a2ddcf90.entry.js → p-8c95d7e7.entry.js} +1 -1
  476. package/lib/duet/p-8d947a43.system.entry.js +4 -0
  477. package/lib/duet/{p-012938af.system.entry.js → p-91b2664a.system.entry.js} +1 -1
  478. package/lib/duet/p-94eab61e.system.js +4 -0
  479. package/lib/duet/{p-8cb3b550.system.entry.js → p-961a7a42.system.entry.js} +1 -1
  480. package/lib/duet/{p-76ebeb39.system.entry.js → p-962a7ed7.system.entry.js} +1 -1
  481. package/lib/duet/p-9832a62e.system.entry.js +4 -0
  482. package/lib/duet/{p-ea7dccdf.system.entry.js → p-9abe2d23.system.entry.js} +1 -1
  483. package/lib/duet/p-9c50306c.system.entry.js +4 -0
  484. package/lib/duet/{p-c3524f86.system.entry.js → p-9c5717a5.system.entry.js} +1 -1
  485. package/lib/duet/p-9d0d4329.system.entry.js +4 -0
  486. package/lib/duet/p-9d7aea44.entry.js +4 -0
  487. package/lib/duet/{p-60327ec6.system.entry.js → p-a033bafa.system.entry.js} +1 -1
  488. package/lib/duet/p-a0c1c7d8.system.entry.js +4 -0
  489. package/lib/duet/p-a0ffaabf.entry.js +4 -0
  490. package/lib/duet/{p-2b3b6d33.entry.js → p-a1e13f21.entry.js} +1 -1
  491. package/lib/duet/{p-8a9f676f.system.entry.js → p-a838f364.system.entry.js} +1 -1
  492. package/lib/duet/{p-934124e4.entry.js → p-a90efe08.entry.js} +1 -1
  493. package/lib/duet/{p-86f0eef8.system.entry.js → p-aba65c68.system.entry.js} +1 -1
  494. package/lib/duet/{p-5ed66d93.entry.js → p-ac538db7.entry.js} +1 -1
  495. package/lib/duet/p-adcd2fb3.entry.js +4 -0
  496. package/lib/duet/{p-ebca186a.system.entry.js → p-b224ee72.system.entry.js} +1 -1
  497. package/lib/duet/{p-966bf379.system.entry.js → p-b274ebde.system.entry.js} +1 -1
  498. package/lib/duet/{p-eb8ddb2c.entry.js → p-b2f64f34.entry.js} +1 -1
  499. package/lib/duet/{p-541301b8.system.entry.js → p-b3ab4a17.system.entry.js} +1 -1
  500. package/lib/duet/{p-e1e9de91.entry.js → p-b4df4c57.entry.js} +1 -1
  501. package/lib/duet/p-b4e4bf04.system.entry.js +4 -0
  502. package/lib/duet/{p-6e0ff6ff.entry.js → p-b5443923.entry.js} +1 -1
  503. package/lib/duet/p-b657f08f.system.entry.js +4 -0
  504. package/lib/duet/{p-64da9c94.system.entry.js → p-ba4bdb0d.system.entry.js} +1 -1
  505. package/lib/duet/{p-00f584d4.js → p-bb2d58bc.js} +1 -1
  506. package/lib/duet/{p-7cc379a7.system.entry.js → p-bc2be70e.system.entry.js} +1 -1
  507. package/lib/duet/p-bc50d23b.entry.js +4 -0
  508. package/lib/duet/{p-9070bf89.system.entry.js → p-bd2768a5.system.entry.js} +1 -1
  509. package/lib/duet/p-c1b1b16d.entry.js +4 -0
  510. package/lib/duet/{p-ecde67f6.entry.js → p-c8783040.entry.js} +1 -1
  511. package/lib/duet/p-cade991a.entry.js +4 -0
  512. package/lib/duet/{p-6c917ed9.entry.js → p-cca4a7db.entry.js} +1 -1
  513. package/lib/duet/p-ccf2bc0a.system.entry.js +4 -0
  514. package/lib/duet/{p-dc7c2dc7.system.entry.js → p-cd0e3537.system.entry.js} +1 -1
  515. package/lib/duet/{p-cf05a9a4.entry.js → p-ce754f76.entry.js} +1 -1
  516. package/lib/duet/{p-b839f59a.system.entry.js → p-ce7987e8.system.entry.js} +1 -1
  517. package/lib/duet/{p-6df59cfe.entry.js → p-cf1206a8.entry.js} +1 -1
  518. package/lib/duet/p-d08a89dc.entry.js +4 -0
  519. package/lib/duet/{p-0b249181.js → p-d11659fd.js} +1 -1
  520. package/lib/duet/p-d22c889b.entry.js +4 -0
  521. package/lib/duet/{p-de5b2f37.system.js → p-d6c69f62.system.js} +1 -1
  522. package/lib/duet/p-d6e16c5d.entry.js +4 -0
  523. package/lib/duet/{p-fc3f42ab.entry.js → p-d6fbbecc.entry.js} +1 -1
  524. package/lib/duet/{p-fe661e98.system.entry.js → p-d8d99c33.system.entry.js} +1 -1
  525. package/lib/duet/{p-064b79e8.entry.js → p-d9ad612c.entry.js} +1 -1
  526. package/lib/duet/{p-22c7d5ee.entry.js → p-d9b32ab3.entry.js} +1 -1
  527. package/lib/duet/{p-d4cf8310.system.entry.js → p-db2c01b7.system.entry.js} +1 -1
  528. package/lib/duet/{p-f368439a.entry.js → p-dcbb4af4.entry.js} +1 -1
  529. package/lib/duet/p-defbfc15.js +4 -0
  530. package/lib/duet/{p-9e4c6ea7.system.js → p-dfbd0dd7.system.js} +1 -1
  531. package/lib/duet/{p-0e255314.system.entry.js → p-e2122bd3.system.entry.js} +1 -1
  532. package/lib/duet/p-e4c8559c.system.js +4 -0
  533. package/lib/duet/p-e5997320.entry.js +4 -0
  534. package/lib/duet/{p-5cd8706b.entry.js → p-e6596826.entry.js} +1 -1
  535. package/lib/duet/{p-4ab05bd1.system.entry.js → p-e7f0d18b.system.entry.js} +1 -1
  536. package/lib/duet/{p-18766573.entry.js → p-e8d31be7.entry.js} +1 -1
  537. package/lib/duet/{p-493a25c0.system.entry.js → p-ead4b210.system.entry.js} +1 -1
  538. package/lib/duet/{p-754100c9.system.entry.js → p-eaeee3a3.system.entry.js} +1 -1
  539. package/lib/duet/{p-6faa9435.system.entry.js → p-eb26c1f5.system.entry.js} +1 -1
  540. package/lib/duet/{p-d46a310c.entry.js → p-eb9677dc.entry.js} +1 -1
  541. package/lib/duet/{p-5446b2c4.entry.js → p-ec58f8ee.entry.js} +1 -1
  542. package/lib/duet/{p-7f96f678.entry.js → p-ec5d2407.entry.js} +1 -1
  543. package/lib/duet/{p-30f2d20a.entry.js → p-ec70084a.entry.js} +1 -1
  544. package/lib/duet/p-ee067380.system.entry.js +4 -0
  545. package/lib/duet/{p-902c3cbe.system.entry.js → p-ee52d40a.system.entry.js} +1 -1
  546. package/lib/duet/{p-c3573c7a.entry.js → p-f0634b57.entry.js} +1 -1
  547. package/lib/duet/p-f0cc5629.js +4 -0
  548. package/lib/duet/{p-337009ba.system.entry.js → p-f28acd06.system.entry.js} +1 -1
  549. package/lib/duet/{p-0b2e581f.entry.js → p-f2957e8e.entry.js} +1 -1
  550. package/lib/duet/{p-8cacd5d4.entry.js → p-f33f42ce.entry.js} +1 -1
  551. package/lib/duet/p-f40c4ff4.entry.js +4 -0
  552. package/lib/duet/{p-632363b9.system.entry.js → p-f48366d3.system.entry.js} +1 -1
  553. package/lib/duet/p-f6000a03.js +4 -0
  554. package/lib/duet/{p-c5332265.system.entry.js → p-f6471762.system.entry.js} +2 -2
  555. package/lib/duet/{p-36637566.system.entry.js → p-f749aa8a.system.entry.js} +2 -2
  556. package/lib/duet/{p-997146fa.system.entry.js → p-f930128c.system.entry.js} +2 -2
  557. package/lib/duet/{p-8980f13e.entry.js → p-fa2ef682.entry.js} +1 -1
  558. package/lib/duet/p-fa3e0628.system.entry.js +4 -0
  559. package/lib/duet/{p-62cf9516.entry.js → p-fbcd3fb7.entry.js} +1 -1
  560. package/lib/duet/p-fc100c70.entry.js +4 -0
  561. package/lib/duet/{p-236df5f1.entry.js → p-fccf2ddc.entry.js} +1 -1
  562. package/lib/duet/{p-2526c848.entry.js → p-fd5d4f14.entry.js} +1 -1
  563. package/lib/duet/p-fdbc3f6c.entry.js +4 -0
  564. package/lib/duet/{p-191f51da.system.entry.js → p-fdbc9c7f.system.entry.js} +1 -1
  565. package/lib/duet/{p-a1a10757.system.entry.js → p-ffdfb64b.system.entry.js} +2 -2
  566. package/lib/esm/a11y-utils-92930863.js +18 -0
  567. package/lib/esm/{app-globals-6cbf18ba.js → app-globals-19322ff1.js} +1 -1
  568. package/lib/esm/duet-action-button.entry.js +5 -5
  569. package/lib/esm/duet-alert.entry.js +4 -4
  570. package/lib/esm/duet-badge.entry.js +4 -4
  571. package/lib/esm/duet-banner.entry.js +4 -4
  572. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  573. package/lib/esm/duet-breadcrumbs.entry.js +7 -7
  574. package/lib/esm/duet-button_2.entry.js +7 -7
  575. package/lib/esm/duet-callout.entry.js +5 -5
  576. package/lib/esm/duet-caption_4.entry.js +14 -25
  577. package/lib/esm/duet-card.entry.js +4 -4
  578. package/lib/esm/duet-checkbox.entry.js +2 -2
  579. package/lib/esm/duet-checkmark.entry.js +4 -4
  580. package/lib/esm/duet-chip_3.entry.js +647 -0
  581. package/lib/esm/duet-choice_2.entry.js +4 -4
  582. package/lib/esm/duet-collapsible.entry.js +4 -4
  583. package/lib/esm/duet-combobox.entry.js +44 -40
  584. package/lib/esm/duet-contact-card.entry.js +5 -5
  585. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  586. package/lib/esm/duet-date-picker.entry.js +5 -5
  587. package/lib/esm/duet-divider_2.entry.js +5 -5
  588. package/lib/esm/duet-editable-table_3.entry.js +11 -11
  589. package/lib/esm/duet-empty-state.entry.js +2 -2
  590. package/lib/esm/duet-fieldset.entry.js +6 -6
  591. package/lib/esm/duet-file-chooser.entry.js +1 -1
  592. package/lib/esm/duet-footer.entry.js +4 -4
  593. package/lib/esm/duet-grid_2.entry.js +3 -3
  594. package/lib/esm/duet-header_2.entry.js +6 -6
  595. package/lib/esm/duet-hero.entry.js +4 -4
  596. package/lib/esm/duet-icon.entry.js +6 -6
  597. package/lib/esm/duet-input_2.entry.js +102 -13
  598. package/lib/esm/duet-layout.entry.js +7 -10
  599. package/lib/esm/duet-list_2.entry.js +5 -5
  600. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  601. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  602. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  603. package/lib/esm/duet-menu-bar-item.entry.js +24 -6
  604. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  605. package/lib/esm/duet-menu-bar.entry.js +6 -6
  606. package/lib/esm/duet-modal.entry.js +11 -11
  607. package/lib/esm/duet-multiselect.entry.js +9 -9
  608. package/lib/esm/duet-nav.entry.js +2 -2
  609. package/lib/esm/duet-notification_2.entry.js +8 -8
  610. package/lib/esm/duet-number-input.entry.js +4 -4
  611. package/lib/esm/duet-overlay.entry.js +3 -3
  612. package/lib/esm/duet-page-heading.entry.js +4 -4
  613. package/lib/esm/duet-pagination_2.entry.js +19 -19
  614. package/lib/esm/duet-progress.entry.js +3 -3
  615. package/lib/esm/duet-promo-card.entry.js +7 -7
  616. package/lib/esm/duet-radio_2.entry.js +3 -3
  617. package/lib/esm/duet-range-slider.entry.js +3 -3
  618. package/lib/esm/duet-scrollable_3.entry.js +49 -28
  619. package/lib/esm/duet-section-layout.entry.js +5 -6
  620. package/lib/esm/duet-select.entry.js +3 -3
  621. package/lib/esm/duet-shaped-image.entry.js +3 -3
  622. package/lib/esm/duet-show-more.entry.js +5 -5
  623. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  624. package/lib/esm/duet-slideout-link.entry.js +4 -4
  625. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  626. package/lib/esm/duet-slideout-panel.entry.js +13 -13
  627. package/lib/esm/duet-slideout.entry.js +11 -11
  628. package/lib/esm/duet-step_2.entry.js +3 -3
  629. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  630. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  631. package/lib/esm/duet-submenu-bar-item.entry.js +23 -5
  632. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  633. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  634. package/lib/esm/duet-textarea.entry.js +7 -7
  635. package/lib/esm/duet-toggle.entry.js +2 -2
  636. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  637. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  638. package/lib/esm/duet-toolbar-item.entry.js +25 -6
  639. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  640. package/lib/esm/duet-toolbar.entry.js +4 -4
  641. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  642. package/lib/esm/duet-tooltip.entry.js +3 -3
  643. package/lib/esm/duet-tray.entry.js +6 -6
  644. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  645. package/lib/esm/duet-upload-item.entry.js +5 -5
  646. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  647. package/lib/esm/duet.js +4 -4
  648. package/lib/esm/{errorcodes.utils-2a3a0ed1.js → errorcodes.utils-953f4d47.js} +1 -1
  649. package/lib/esm/{focus-utils-1e2c1ed7.js → focus-utils-5147573d.js} +1 -1
  650. package/lib/esm/{index-f384e24a.js → index-940c081d.js} +1 -1
  651. package/lib/esm/{language-utils-b0c1f3cd.js → language-utils-b0c1eb01.js} +1 -1
  652. package/lib/esm/loader.js +4 -4
  653. package/lib/esm/{slot-utils-e698dc9e.js → slot-utils-4a318cb9.js} +1 -1
  654. package/lib/esm/{token-utils-54a23ef5.js → token-utils-3c2fb643.js} +1 -1
  655. package/lib/{dist-custom-elements/p-d5c7ae62.js → esm/tokens-84fb2357.js} +25 -25
  656. package/lib/esm/{tokens.module-b5fab24a.js → tokens.module-216c2ae9.js} +25 -25
  657. package/lib/esm-es5/a11y-utils-92930863.js +4 -0
  658. package/lib/esm-es5/{app-globals-6cbf18ba.js → app-globals-19322ff1.js} +1 -1
  659. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  660. package/lib/esm-es5/duet-alert.entry.js +1 -1
  661. package/lib/esm-es5/duet-badge.entry.js +1 -1
  662. package/lib/esm-es5/duet-banner.entry.js +1 -1
  663. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  664. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  665. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  666. package/lib/esm-es5/duet-callout.entry.js +1 -1
  667. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  668. package/lib/esm-es5/duet-card.entry.js +1 -1
  669. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  670. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  671. package/lib/esm-es5/duet-chip_3.entry.js +4 -0
  672. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  673. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  674. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  675. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  676. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  677. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  678. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  679. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  680. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  681. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  682. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  683. package/lib/esm-es5/duet-footer.entry.js +1 -1
  684. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  685. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  686. package/lib/esm-es5/duet-hero.entry.js +1 -1
  687. package/lib/esm-es5/duet-icon.entry.js +1 -1
  688. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  689. package/lib/esm-es5/duet-layout.entry.js +1 -1
  690. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  691. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  692. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  693. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  694. package/lib/esm-es5/duet-menu-bar-item.entry.js +2 -2
  695. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  696. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  697. package/lib/esm-es5/duet-modal.entry.js +1 -1
  698. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  699. package/lib/esm-es5/duet-nav.entry.js +1 -1
  700. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  701. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  702. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  703. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  704. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  705. package/lib/esm-es5/duet-progress.entry.js +1 -1
  706. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  707. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  708. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  709. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  710. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  711. package/lib/esm-es5/duet-select.entry.js +1 -1
  712. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  713. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  714. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  715. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  716. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  717. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  718. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  719. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  720. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  721. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  722. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  723. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  724. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  725. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  726. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  727. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  728. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  729. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  730. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  731. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  732. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  733. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  734. package/lib/esm-es5/duet-tray.entry.js +1 -1
  735. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  736. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  737. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  738. package/lib/esm-es5/duet.js +1 -1
  739. package/lib/esm-es5/{errorcodes.utils-2a3a0ed1.js → errorcodes.utils-953f4d47.js} +1 -1
  740. package/lib/esm-es5/focus-utils-5147573d.js +4 -0
  741. package/lib/esm-es5/{index-f384e24a.js → index-940c081d.js} +1 -1
  742. package/lib/esm-es5/{language-utils-b0c1f3cd.js → language-utils-b0c1eb01.js} +1 -1
  743. package/lib/esm-es5/loader.js +1 -1
  744. package/lib/esm-es5/{slot-utils-e698dc9e.js → slot-utils-4a318cb9.js} +1 -1
  745. package/lib/esm-es5/{token-utils-54a23ef5.js → token-utils-3c2fb643.js} +1 -1
  746. package/lib/esm-es5/tokens-84fb2357.js +4 -0
  747. package/lib/esm-es5/tokens.module-216c2ae9.js +4 -0
  748. package/lib/types/components/duet-chip/duet-chip.d.ts +24 -2
  749. package/lib/types/components/duet-combobox/duet-combobox-select.d.ts +2 -1
  750. package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
  751. package/lib/types/components/duet-input/duet-input.d.ts +22 -1
  752. package/lib/types/components/duet-link/duet-link.d.ts +0 -1
  753. package/lib/types/components/duet-menu-bar-item/duet-menu-bar-item.d.ts +17 -0
  754. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +7 -2
  755. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +6 -1
  756. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +4 -0
  757. package/lib/types/components/duet-submenu-bar-item/duet-submenu-bar-item.d.ts +17 -0
  758. package/lib/types/components/duet-toolbar-item/duet-toolbar-item.d.ts +17 -0
  759. package/lib/types/components.d.ts +112 -10
  760. package/lib/types/utils/a11y-utils.d.ts +11 -0
  761. package/package.json +4 -4
  762. package/lib/cjs/duet-chip.cjs.entry.js +0 -290
  763. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +0 -83
  764. package/lib/cjs/duet-popup-menu.cjs.entry.js +0 -250
  765. package/lib/dist-custom-elements/p-9ef37cc5.js +0 -327
  766. package/lib/duet/p-01ce7028.system.entry.js +0 -4
  767. package/lib/duet/p-04085d32.entry.js +0 -4
  768. package/lib/duet/p-053113a9.system.entry.js +0 -4
  769. package/lib/duet/p-08727974.entry.js +0 -4
  770. package/lib/duet/p-1b5ce17e.system.entry.js +0 -4
  771. package/lib/duet/p-1c8c9651.entry.js +0 -4
  772. package/lib/duet/p-20393f34.system.entry.js +0 -4
  773. package/lib/duet/p-22a5ac0a.entry.js +0 -4
  774. package/lib/duet/p-22cb3c28.system.entry.js +0 -4
  775. package/lib/duet/p-26c71746.system.js +0 -4
  776. package/lib/duet/p-2e108879.js +0 -4
  777. package/lib/duet/p-2fc10b59.entry.js +0 -4
  778. package/lib/duet/p-3233973c.system.entry.js +0 -4
  779. package/lib/duet/p-344d401b.entry.js +0 -4
  780. package/lib/duet/p-38ab5505.entry.js +0 -4
  781. package/lib/duet/p-3a5b7cf7.system.entry.js +0 -4
  782. package/lib/duet/p-45d596e8.entry.js +0 -4
  783. package/lib/duet/p-47e4eada.entry.js +0 -4
  784. package/lib/duet/p-50c83774.js +0 -4
  785. package/lib/duet/p-54f1f550.system.entry.js +0 -4
  786. package/lib/duet/p-59ae9e27.system.entry.js +0 -4
  787. package/lib/duet/p-63f80431.system.entry.js +0 -4
  788. package/lib/duet/p-6a0ed208.entry.js +0 -4
  789. package/lib/duet/p-6a34f6be.entry.js +0 -4
  790. package/lib/duet/p-6d405ca2.system.entry.js +0 -4
  791. package/lib/duet/p-6e8ebe18.entry.js +0 -4
  792. package/lib/duet/p-6fde361f.system.entry.js +0 -4
  793. package/lib/duet/p-76eec0c0.system.entry.js +0 -4
  794. package/lib/duet/p-86ba2e23.entry.js +0 -4
  795. package/lib/duet/p-8ab41ea5.entry.js +0 -4
  796. package/lib/duet/p-8d25bac7.entry.js +0 -4
  797. package/lib/duet/p-91115d1e.system.js +0 -4
  798. package/lib/duet/p-9d3ef1e0.system.entry.js +0 -4
  799. package/lib/duet/p-9d521ea1.system.entry.js +0 -4
  800. package/lib/duet/p-a2c01fc7.system.entry.js +0 -4
  801. package/lib/duet/p-a365e326.entry.js +0 -4
  802. package/lib/duet/p-a81e7736.entry.js +0 -4
  803. package/lib/duet/p-aa8648b3.system.entry.js +0 -4
  804. package/lib/duet/p-ae4cd43d.entry.js +0 -4
  805. package/lib/duet/p-b3bbea88.system.entry.js +0 -4
  806. package/lib/duet/p-b5aaa528.system.entry.js +0 -4
  807. package/lib/duet/p-b64eb2b3.system.entry.js +0 -4
  808. package/lib/duet/p-b93605ee.system.entry.js +0 -4
  809. package/lib/duet/p-c2ca9373.entry.js +0 -4
  810. package/lib/duet/p-cb9d279b.system.entry.js +0 -4
  811. package/lib/duet/p-ce289a58.system.entry.js +0 -4
  812. package/lib/duet/p-d3b84b94.entry.js +0 -4
  813. package/lib/duet/p-d5c7ae62.js +0 -4
  814. package/lib/duet/p-e408682d.system.entry.js +0 -4
  815. package/lib/duet/p-e69bd7e8.entry.js +0 -4
  816. package/lib/duet/p-ea445202.system.entry.js +0 -4
  817. package/lib/duet/p-ec6a0e13.entry.js +0 -4
  818. package/lib/duet/p-f1bf4f9e.entry.js +0 -4
  819. package/lib/duet/p-f5063a7d.system.js +0 -4
  820. package/lib/duet/p-f9eb5cbb.system.entry.js +0 -4
  821. package/lib/esm/duet-chip.entry.js +0 -286
  822. package/lib/esm/duet-popup-menu-item.entry.js +0 -79
  823. package/lib/esm-es5/duet-chip.entry.js +0 -4
  824. package/lib/esm-es5/duet-popup-menu-item.entry.js +0 -4
  825. package/lib/esm-es5/duet-popup-menu.entry.js +0 -4
  826. package/lib/esm-es5/focus-utils-1e2c1ed7.js +0 -4
  827. package/lib/esm-es5/tokens-e0e3d241.js +0 -4
  828. package/lib/esm-es5/tokens.module-b5fab24a.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-d3101c8a.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,a,r,n,o;return{setters:[function(e){t=e.r;a=e.h;r=e.H;n=e.g},function(e){o=e.i}],execute:function(){var i="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(225, 227, 230)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(228, 228, 230)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}";var d=i;var c=e("duet_toolbar",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){var e;var t=this.variation==="primary"||this.variation==="negative"||this.theme==="turva"&&this.variation==="secondary"?"primary":this.variation==="secondary"?"secondary":"default";return a(r,{key:"eefe1ccb55e157002c987d984645204ef1180dbe"},a("nav",{key:"62efd79c042a659c4bbee9f62a61d22218c4e79b",class:(e={"duet-toolbar":true,"duet-theme-turva":this.theme==="turva"},e[t]=true,e),"aria-label":this.accessibleLabel},a("div",{key:"45c6853e0ddbbd7d4e108dcd1a953cb3ec56f0e8",class:"container"},a("div",{key:"a842d519cb078cba8b4aca675ff55d3b2320e303",class:"list",role:"list"},a("slot",{key:"7d034eb78a40ca22aeb9a6450d0fb70d418d03d9",name:"left"})),a("div",{key:"94a6e0def0e7d556721247f576605dc2fa0ccf1f",class:"list",role:"list"},a("slot",{key:"3c7c48e9959fa7fc27577c89723f72d022c0a663",name:"right"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());c.style=d}}}));
4
+ System.register(["./p-39fb8819.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,a,r,n,o;return{setters:[function(e){t=e.r;a=e.h;r=e.H;n=e.g},function(e){o=e.i}],execute:function(){var i="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(212, 223, 229)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(222, 224, 228)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}";var b=i;var d=e("duet_toolbar",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){var e;var t=this.variation==="primary"||this.variation==="negative"||this.theme==="turva"&&this.variation==="secondary"?"primary":this.variation==="secondary"?"secondary":"default";return a(r,{key:"e95670de6988cb19be58405e1a22503cde2b90bd"},a("nav",{key:"fc7d9f781f8a67c70f21ebb83468561457454a38",class:(e={"duet-toolbar":true,"duet-theme-turva":this.theme==="turva"},e[t]=true,e),"aria-label":this.accessibleLabel},a("div",{key:"98f5defda0a4174974b55128d7e6ab8875191e56",class:"container"},a("div",{key:"00664089bfde8ff43b913744e098108b4f8a7b38",class:"list",role:"list"},a("slot",{key:"2e5832a886df8fd2b97b6f3af6eb77ac76ca8fa4",name:"left"})),a("div",{key:"84fcc0c995aadaccea6d64e286d1fd5b112b89a7",class:"list",role:"list"},a("slot",{key:"c9bb0646272666f709b96546d3b43221c85bba83",name:"right"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());d.style=b}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as a,h as e,H as t}from"./p-00f584d4.js";import{i as r}from"./p-aaa7a7bd.js";const i=class{constructor(e){a(this,e),this.theme="",this.accessibleLabel=void 0,this.margin="auto",this.src=void 0,this.rotation=7}componentWillLoad(){r(this)}render(){return e(t,{key:"a8c6768d6fd86592319c1ad2e5223a59a2be138f",class:{"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin}},e("span",{key:"18ecd687fd2a3d951a8910cca4a90aa73d239243",class:{"shaped-image":!0},role:"img","aria-label":this.accessibleLabel,style:{"--rotation":`${this.rotation}deg`}},e("span",{key:"ede5d048662220a9ef915ff561823aef9f14f0e4",class:"shaped-image-mask",role:"presentation"},e("span",{key:"abb799417eb975033305e86b49a7c94d2e295465",class:"shaped-image-img",role:"presentation",style:{backgroundImage:`url("${this.src}")`}}))))}};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;display:inline-block;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}';export{i as duet_shaped_image}
4
+ import{r as e,h as a,H as t}from"./p-bb2d58bc.js";import{i as r}from"./p-aaa7a7bd.js";const i=class{constructor(a){e(this,a),this.theme="",this.accessibleLabel=void 0,this.margin="auto",this.src=void 0,this.rotation=7}componentWillLoad(){r(this)}render(){return a(t,{key:"16d09ec20d546b5d340f23ba2f6789c3be57026e",class:{"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin}},a("span",{key:"6c9753158ad968fe0b682108c5b29cc9bd202d62",class:{"shaped-image":!0},role:"img","aria-label":this.accessibleLabel,style:{"--rotation":`${this.rotation}deg`}},a("span",{key:"66289a76e9b44b58bb3f3398e0d45c0d4dd97672",class:"shaped-image-mask",role:"presentation"},a("span",{key:"0fba329399362e59f4ccf5721c1066c8d4bf7fae",class:"shaped-image-img",role:"presentation",style:{backgroundImage:`url("${this.src}")`}}))))}};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;display:inline-block;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}';export{i as duet_shaped_image}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-d3101c8a.system.js","./p-e216bea4.system.js","./p-0853dd3b.system.js","./p-98636086.system.js","./p-2f891fbb.system.js","./p-91115d1e.system.js"],(function(n){"use strict";var e,t,i,a,s,r,d,l,o;return{setters:[function(n){e=n.h;t=n.r;i=n.H;a=n.g},function(n){s=n.i},function(n){r=n.h;d=n.c},function(n){l=n.p},function(n){o=n.g},function(){}],execute:function(){var u=function(n){var t=n.img,i=n.sources;return e("picture",null,i&&i.map((function(n){return e("source",{srcSet:n.srcset,media:n.media,type:n.type,sizes:n.sizes})})),e("img",Object.assign({},t)))};var c="*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}";var b=c;var p=n("duet_banner",function(){function n(n){var e=this;t(this,n);this.checkCurrentSize=function(){var n=e.element.clientWidth;if(n<500||e.size==="small"){e.currentSize="small"}else if(n<900||e.size==="medium"){e.currentSize="medium"}else{e.currentSize="large"}e.setButtonSize()};this.setButtonSize=function(){if(e.hasActionSlot&&e.currentSize){var n=e.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");for(var t=0,i=n;t<i.length;t++){var a=i[t];if(a&&a.getAttribute("size")===null&&e.currentSize!=="large"){a.size="small"}else if(a&&a.getAttribute("size")===null&&e.currentSize==="large"){a.size="medium"}}}};this.currentSize=undefined;this.theme="";this.margin="auto";this.backgroundColor="primary-lighter";this.iconColor="gray-lightest";this.iconBackgroundColor="primary";this.textColor="secondary";this.size="large";this.image="";this.sources=undefined;this.icon="";this.headingLevel="h2"}n.prototype.componentWillLoad=function(){s(this);this.hasHeadingSlot=r(this.element,"heading");this.hasDescriptionSlot=r(this.element,"description");this.hasActionSlot=r(this.element,"action");d(this.element,"heading","span");this.setButtonSize()};n.prototype.connectedCallback=function(){window.addEventListener("resize",this.checkCurrentSize)};n.prototype.disconnectedCallback=function(){window.removeEventListener("resize",this.checkCurrentSize)};n.prototype.componentDidRender=function(){this.checkCurrentSize()};n.prototype.render=function(){var n;var t=this.theme==="turva"&&this.backgroundColor==="primary-lighter"?"gray-lighter":this.backgroundColor;var a=o(t,this.theme);var s=o(this.textColor,this.theme);var r={backgroundColor:a};var d={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:l(this.sources)};return e(i,{key:"b8716b8067524ae7e4c29e56cdc37d6219c7743a",class:{"duet-m-0":this.margin==="none"}},e("aside",{key:"7c4b420d5a203fa5066f4a71a801c9fc288e179c",class:(n={"duet-banner":true,"duet-theme-turva":this.theme==="turva"},n[this.currentSize]=true,n["size-medium"]=this.size==="medium"||this.size==="large",n["size-large"]=this.size==="large",n["no-image"]=!this.image,n),style:r},e("div",{key:"dd84b698336d0c159b692bde709c6f10bfe414bf",class:"visual"},e("div",{key:"c92d3fdabc120fa760c30ae44e90a29439817940",class:"image-container"},this.image&&e(u,Object.assign({key:"bab1712aa5f1ab77a6c96babc607a9a9d4359dd2"},d))),1>2,e("div",{key:"411fc99b5c017a4b89f4aa375d6725e9e85314e6",style:r,class:"brand-shape"})),e("div",{key:"6ba154b92216b98f00b33d740175760049157d14",class:"content"},this.hasHeadingSlot&&e("div",{key:"ba3ab430999ab6f0823ab957b06bcc4077799c5a",class:"heading"},e("duet-heading",{key:"256ed05f27e6c6c3ec987d4039d6a7caf713458b",theme:this.theme,level:this.headingLevel,"visual-level":this.currentSize==="large"?"h2":"h3","fixed-size":true,margin:"none",color:this.textColor},e("span",{key:"197dbc447ca8910b13c8317cd00507e034e84e6f"},e("slot",{key:"cba3fcc030b0412d981e7cc94626e90aa628cb25",name:"heading"})))),this.hasDescriptionSlot&&e("div",{key:"dbcc6142fe33db74bccac1d54a1fe2a8e8ccc064",class:"description",style:{color:s}},e("slot",{key:"1806ab5f5be1ee076c3978f1fcb676cef6b62893",name:"description"})),this.hasActionSlot&&e("div",{key:"bf9fd56968048a53d15cc1849c2a3b4619851c49",class:"action"},e("slot",{key:"367d2a86cb83fe2d2bdb91ae1e133453e35ce895",name:"action"})))))};Object.defineProperty(n.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return n}());p.style=b}}}));
4
+ System.register(["./p-39fb8819.system.js","./p-e216bea4.system.js","./p-514b6b5b.system.js","./p-98636086.system.js","./p-6a95a2e3.system.js","./p-94eab61e.system.js"],(function(n){"use strict";var e,t,i,a,s,r,d,l,o;return{setters:[function(n){e=n.h;t=n.r;i=n.H;a=n.g},function(n){s=n.i},function(n){r=n.h;d=n.c},function(n){l=n.p},function(n){o=n.g},function(){}],execute:function(){var u=function(n){var t=n.img,i=n.sources;return e("picture",null,i&&i.map((function(n){return e("source",{srcSet:n.srcset,media:n.media,type:n.type,sizes:n.sizes})})),e("img",Object.assign({},t)))};var c="*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}";var b=c;var p=n("duet_banner",function(){function n(n){var e=this;t(this,n);this.checkCurrentSize=function(){var n=e.element.clientWidth;if(n<500||e.size==="small"){e.currentSize="small"}else if(n<900||e.size==="medium"){e.currentSize="medium"}else{e.currentSize="large"}e.setButtonSize()};this.setButtonSize=function(){if(e.hasActionSlot&&e.currentSize){var n=e.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");for(var t=0,i=n;t<i.length;t++){var a=i[t];if(a&&a.getAttribute("size")===null&&e.currentSize!=="large"){a.size="small"}else if(a&&a.getAttribute("size")===null&&e.currentSize==="large"){a.size="medium"}}}};this.currentSize=undefined;this.theme="";this.margin="auto";this.backgroundColor="primary-lighter";this.iconColor="gray-lightest";this.iconBackgroundColor="primary";this.textColor="secondary";this.size="large";this.image="";this.sources=undefined;this.icon="";this.headingLevel="h2"}n.prototype.componentWillLoad=function(){s(this);this.hasHeadingSlot=r(this.element,"heading");this.hasDescriptionSlot=r(this.element,"description");this.hasActionSlot=r(this.element,"action");d(this.element,"heading","span");this.setButtonSize()};n.prototype.connectedCallback=function(){window.addEventListener("resize",this.checkCurrentSize)};n.prototype.disconnectedCallback=function(){window.removeEventListener("resize",this.checkCurrentSize)};n.prototype.componentDidRender=function(){this.checkCurrentSize()};n.prototype.render=function(){var n;var t=this.theme==="turva"&&this.backgroundColor==="primary-lighter"?"gray-lighter":this.backgroundColor;var a=o(t,this.theme);var s=o(this.textColor,this.theme);var r={backgroundColor:a};var d={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:l(this.sources)};return e(i,{key:"b8716b8067524ae7e4c29e56cdc37d6219c7743a",class:{"duet-m-0":this.margin==="none"}},e("aside",{key:"7c4b420d5a203fa5066f4a71a801c9fc288e179c",class:(n={"duet-banner":true,"duet-theme-turva":this.theme==="turva"},n[this.currentSize]=true,n["size-medium"]=this.size==="medium"||this.size==="large",n["size-large"]=this.size==="large",n["no-image"]=!this.image,n),style:r},e("div",{key:"dd84b698336d0c159b692bde709c6f10bfe414bf",class:"visual"},e("div",{key:"c92d3fdabc120fa760c30ae44e90a29439817940",class:"image-container"},this.image&&e(u,Object.assign({key:"bab1712aa5f1ab77a6c96babc607a9a9d4359dd2"},d))),1>2,e("div",{key:"411fc99b5c017a4b89f4aa375d6725e9e85314e6",style:r,class:"brand-shape"})),e("div",{key:"6ba154b92216b98f00b33d740175760049157d14",class:"content"},this.hasHeadingSlot&&e("div",{key:"ba3ab430999ab6f0823ab957b06bcc4077799c5a",class:"heading"},e("duet-heading",{key:"256ed05f27e6c6c3ec987d4039d6a7caf713458b",theme:this.theme,level:this.headingLevel,"visual-level":this.currentSize==="large"?"h2":"h3","fixed-size":true,margin:"none",color:this.textColor},e("span",{key:"197dbc447ca8910b13c8317cd00507e034e84e6f"},e("slot",{key:"cba3fcc030b0412d981e7cc94626e90aa628cb25",name:"heading"})))),this.hasDescriptionSlot&&e("div",{key:"dbcc6142fe33db74bccac1d54a1fe2a8e8ccc064",class:"description",style:{color:s}},e("slot",{key:"1806ab5f5be1ee076c3978f1fcb676cef6b62893",name:"description"})),this.hasActionSlot&&e("div",{key:"bf9fd56968048a53d15cc1849c2a3b4619851c49",class:"action"},e("slot",{key:"367d2a86cb83fe2d2bdb91ae1e133453e35ce895",name:"action"})))))};Object.defineProperty(n.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return n}());p.style=b}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as a,H as e,g as r}from"./p-00f584d4.js";const n=class{constructor(a){t(this,a)}render(){return a(e,{key:"1a63587b9972cddb552468bea28f8146b8d302df",class:"duet-visually-hidden"},a("slot",{key:"a3e8c6847caa94f67d82569bc769a6397ccc8c56"}))}get element(){return r(this)}};n.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";export{n as duet_visually_hidden}
4
+ import{r as e,h as a,H as t,g as r}from"./p-bb2d58bc.js";const n=class{constructor(a){e(this,a)}render(){return a(t,{key:"46842b0272fd13e72381c3688fb9fb8caf2ac677",class:"duet-visually-hidden"},a("slot",{key:"605e24ace98edce4bba2f121aa8c6f55a46d8360"}))}get element(){return r(this)}};n.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";export{n as duet_visually_hidden}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as a,g as o}from"./p-bb2d58bc.js";import{i as c}from"./p-aaa7a7bd.js";import{h as i,c as l}from"./p-75e078ac.js";const n=class{constructor(t){e(this,t),this.hasAuthorSlot=!1,this.theme="",this.margin="auto"}componentWillLoad(){c(this),this.hasAuthorSlot=i(this.element,"author"),l(this.element,"author","span")}render(){return t(a,{key:"2d1eadb42a67c31dd1d5e3498f00254e08b9b2cd"},t("div",{key:"6e5be94e6e61eaf272e52f9de9070f8de6a9484d",class:{"duet-callout":!0,"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin}},t("figure",{key:"1652580bcf78ac7c5ddb8b0a254de66725b98e9b",class:"container"},t("duet-icon",{key:"541cfe32ac9e9155924e22e7bf00850b70b79602",class:"callout-icon",shape:"brand-rotated",background:"primary-lighter","background-opacity":"0.75","background-rotation":"turva"===this.theme?"0":"7",color:"secondary",icon:'<svg viewBox="0 0 22 17" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>\n </svg>\n ',size:"auto",margin:"none",theme:this.theme}),t("blockquote",{key:"59af18b18c95e816e8dc446a3bcbe45f9c13f4fe"},t("slot",{key:"f90f9674baa8d9e81c688920babcccc9e3e20468"})),this.hasAuthorSlot&&t("figcaption",{key:"ee4f1307e15ebfa58d6b7d29a7bdea93b3b5868f",class:"author"},t("span",{key:"e6861f2ba21ba016d94cf482d93c614e5433e805"},"— "),t("slot",{key:"c9cede4ee6f69cbf35c591d4c23787ccc7c7c8d1",name:"author"})))))}get element(){return o(this)}};n.style=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout blockquote{font-size:2.7vw;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 37.037037037rem){.duet-callout blockquote{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-callout blockquote{font-size:1.25rem}}.duet-callout .author{color:rgb(8, 42, 77)}.duet-callout.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"}.duet-callout.duet-theme-turva .author,.duet-callout.duet-theme-turva blockquote{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}';export{n as duet_callout}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,n,i,e){function o(t){return t instanceof i?t:new i((function(n){n(t)}))}return new(i||(i=Promise))((function(i,r){function a(t){try{s(e.next(t))}catch(t){r(t)}}function u(t){try{s(e["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):o(t.value).then(a,u)}s((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},e,o,r,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(n){return s([t,n])}}function s(u){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(i=0)),i)try{if(e=1,o&&(r=u[0]&2?o["return"]:u[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,u[1])).done)return r;if(o=0,r)u=[u[0]&2,r.value];switch(u[0]){case 0:case 1:r=u;break;case 4:i.label++;return{value:u[1],done:false};case 5:i.label++;o=u[1];u=[0];continue;case 7:u=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]<r[3])){i.label=u[1];break}if(u[0]===6&&i.label<r[1]){i.label=r[1];r=u;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(u);break}if(r[2])i.ops.pop();i.trys.pop();continue}u=n.call(t,i)}catch(t){u=[6,t];o=0}finally{e=r=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-d3101c8a.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-34d7dd10.system.js","./p-0fee15c1.system.js","./p-2f891fbb.system.js","./p-98636086.system.js","./p-91115d1e.system.js"],(function(t){"use strict";var n,i,e,o,r,a,u,s,c,d,h,b,f,l,p;return{setters:[function(t){n=t.r;i=t.c;e=t.h;o=t.H;r=t.g},function(t){a=t.i},function(t){u=t.c},function(t){s=t.d},function(t){c=t.i},function(t){d=t.g;h=t.c;b=t.d},function(t){f=t.c;l=t.g;p=t.s},function(){},function(){}],execute:function(){var m="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(0, 41, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9e9eb}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#ddddde !important}.duet-action-button:disabled{color:rgb(144, 149, 153);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(116, 116, 117);background:rgb(245, 245, 247)}";var g=m;var v=t("duet_action_button",function(){function t(t){var e=this;n(this,t);this.duetActionEvent=i(this,"duetActionEvent",6);this.listId=u("duet-action-button");this.emitPageEvent=s((function(t){e.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:e.actionId,name:e.actionName,meta:e.actionMeta,id:e.listId})}));this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName=undefined;this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleTitle=true;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"};this.accessibleLabel=d(this.accessibleLabelsDefaults);this.accessibleControls="";this.url=undefined}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(c(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.getTitle=function(){if(typeof this.accessibleTitle==="string"){return this.accessibleTitle}if(this.accessibleTitle===true&&this.actionName){return f("".concat(this.actionName))}return null};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){b(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t;var n=this;var i=this.color==="currentColor"?"currentColor":l(this.color,this.theme);var r=l(this.background,this.theme);var a=r?p(r,-.1):r;var u=r?"\n button.duet-action-button {\n background: ".concat(r," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(a," !important;\n }\n "):"";var s={color:i,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};var c={ref:function(t){return n.nativeButton=t},part:"button",style:s,disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t["duet-theme-turva"]=this.theme==="turva",t)};return e(o,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:function(t){return n.onKeyboardDown(t)}},e("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:u}),this.url&&!this.disabled?e("a",Object.assign({},c,{href:this.url}),e("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):e("button",Object.assign({},c,{onClick:function(t){return n.onMouseHandler(t)}}),e("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),e("duet-visually-hidden",null,e("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());v.style=g}}}));
4
+ */System.register(["./p-39fb8819.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-34d7dd10.system.js","./p-8002cdbf.system.js","./p-6a95a2e3.system.js","./p-98636086.system.js","./p-94eab61e.system.js"],(function(t){"use strict";var n,i,e,o,r,a,u,s,c,d,h,b,f,l,p;return{setters:[function(t){n=t.r;i=t.c;e=t.h;o=t.H;r=t.g},function(t){a=t.i},function(t){u=t.c},function(t){s=t.d},function(t){c=t.i},function(t){d=t.g;h=t.c;b=t.d},function(t){f=t.c;l=t.g;p=t.s},function(){},function(){}],execute:function(){var m="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}";var g=m;var v=t("duet_action_button",function(){function t(t){var e=this;n(this,t);this.duetActionEvent=i(this,"duetActionEvent",6);this.listId=u("duet-action-button");this.emitPageEvent=s((function(t){e.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:e.actionId,name:e.actionName,meta:e.actionMeta,id:e.listId})}));this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName=undefined;this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleTitle=true;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"};this.accessibleLabel=d(this.accessibleLabelsDefaults);this.accessibleControls="";this.url=undefined}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(c(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.getTitle=function(){if(typeof this.accessibleTitle==="string"){return this.accessibleTitle}if(this.accessibleTitle===true&&this.actionName){return f("".concat(this.actionName))}return null};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){b(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t;var n=this;var i=this.color==="currentColor"?"currentColor":l(this.color,this.theme);var r=l(this.background,this.theme);var a=r?p(r,-.1):r;var u=r?"\n button.duet-action-button {\n background: ".concat(r," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(a," !important;\n }\n "):"";var s={color:i,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};var c={ref:function(t){return n.nativeButton=t},part:"button",style:s,disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t["duet-theme-turva"]=this.theme==="turva",t)};return e(o,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:function(t){return n.onKeyboardDown(t)}},e("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:u}),this.url&&!this.disabled?e("a",Object.assign({},c,{href:this.url}),e("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):e("button",Object.assign({},c,{onClick:function(t){return n.onMouseHandler(t)}}),e("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),e("duet-visually-hidden",null,e("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());v.style=g}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-d3101c8a.system.js","./p-e216bea4.system.js"],(function(M){"use strict";var N,g,j,D;return{setters:[function(M){N=M.r;g=M.h;j=M.g},function(M){D=M.i}],execute:function(){var I='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-page-heading{position:relative;display:block;width:100%;margin:0 auto;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";color:rgb(0, 41, 77)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.auto{overflow:visible}.duet-page-heading.auto .heading,.duet-page-heading.auto .background{max-width:none}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading:not(.has-icon) .heading{padding-right:0}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+Cjx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0M0OTAuNzM3IDIwOC44ODEgNTEyLjE0NSAyMTcuNzIxIDUzNC40MDEgMjIyLjI0NUM1NTYuNjQ0IDIyNi43NTcgNTc5Ljg2NSAyMjYuNTA5IDYwNC4xMTUgMjIxLjU2N0M2MDkuNjQzIDIyMC42MTYgNjE1LjI2MyAyMTkuNDY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-heading.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(0, 41, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}';var z=I;var T=M("duet_page_heading",function(){function M(M){N(this,M);this.theme="";this.icon="";this.layout="narrow"}M.prototype.componentWillLoad=function(){D(this)};M.prototype.render=function(){var M;var N=this.layout==="narrow"?"narrow":this.layout==="fluid"?"fluid":"auto";return g("div",{key:"29388dc76adf582ffc0c740e5aa5de47acd172d8",class:(M={"duet-page-heading":true,"duet-theme-turva":this.theme==="turva","has-icon":!!this.icon},M[N]=true,M)},g("div",{key:"4e801223af0de7ca3a5769be9bc301780456c355",class:"background"},this.theme==="turva"&&g("div",{key:"50806ffa6f4c5bb7fabce5e9e905666f892e4918",class:"background-mask"}),this.theme!=="turva"&&g("div",{key:"0e8a41703460f97a1450564687d16ba5efabcb77",class:"brand-shape"}),this.theme!=="turva"&&g("div",{key:"8ffbcc8fb0c4aa7b3caa062053cd880375ae12fb",class:"brand-shape second-shape"}),this.icon&&g("div",{key:"8014cb4af987c4cc71a0443bdafdca54f9536be5",class:"brand-shaped-icon"},g("duet-icon",{key:"829eaf116a734165393a70782266df6d0ab85484",background:"none",name:this.icon,margin:"none",size:"auto",responsive:false}))),g("div",{key:"23c3d146c237f9929b71fe2c22f36b77b6afab6f",class:"heading"},g("slot",{key:"325ae5ac88d1a6e66fd3bad80b101703bbf69175",name:"heading"})))};Object.defineProperty(M.prototype,"element",{get:function(){return j(this)},enumerable:false,configurable:true});return M}());T.style=z}}}));
4
+ System.register(["./p-39fb8819.system.js","./p-e216bea4.system.js"],(function(M){"use strict";var N,g,j,D;return{setters:[function(M){N=M.r;g=M.h;j=M.g},function(M){D=M.i}],execute:function(){var I='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-page-heading{position:relative;display:block;width:100%;margin:0 auto;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";color:rgb(8, 42, 77)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.auto{overflow:visible}.duet-page-heading.auto .heading,.duet-page-heading.auto .background{max-width:none}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading:not(.has-icon) .heading{padding-right:0}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yODIwXzY5OTkxKSI+CjxwYXRoIGQ9Ik04MC4xNzA1IDIzLjE4MTVDOTEuOTY5OSAxOC44NjU5IDEwMi44NyAxMS42NTU5IDExMi45MDkgMS41NjQ0OEMxMjMuNzcgLTguMzA1MjcgMTM0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DY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-heading.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(8, 42, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}';var z=I;var T=M("duet_page_heading",function(){function M(M){N(this,M);this.theme="";this.icon="";this.layout="narrow"}M.prototype.componentWillLoad=function(){D(this)};M.prototype.render=function(){var M;var N=this.layout==="narrow"?"narrow":this.layout==="fluid"?"fluid":"auto";return g("div",{key:"62e8984b1757e03db9086872960e493310c7ccd9",class:(M={"duet-page-heading":true,"duet-theme-turva":this.theme==="turva","has-icon":!!this.icon},M[N]=true,M)},g("div",{key:"85e61cb5c5e4cc531394df6a2b42d4e84e2e4268",class:"background"},this.theme==="turva"&&g("div",{key:"3c98067c697f589a554dfdd8d98061c5b5f2cd35",class:"background-mask"}),this.theme!=="turva"&&g("div",{key:"00b7ac9c6920a48887bdf8ce6bfa6c2a92f46e27",class:"brand-shape"}),this.theme!=="turva"&&g("div",{key:"ee4104ace7755a8ba475f6d2c4afb65e23893824",class:"brand-shape second-shape"}),this.icon&&g("div",{key:"bec839ca5c519e8b22773c4637edd2ef833be6b8",class:"brand-shaped-icon"},g("duet-icon",{key:"1f74f6f8f63e5dfca56dbfb2717526a7bce831bb",background:"none",name:this.icon,margin:"none",size:"auto",responsive:false}))),g("div",{key:"68710cf7b094de2af67facd07ec2b9d7790649f9",class:"heading"},g("slot",{key:"6752a3432be6124f3a03276d996ef76fdef10852",name:"heading"})))};Object.defineProperty(M.prototype,"element",{get:function(){return j(this)},enumerable:false,configurable:true});return M}());T.style=z}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c as t,h as o,H as a,g as n}from"./p-00f584d4.js";import{i}from"./p-aaa7a7bd.js";import{s,u as d}from"./p-a1b7f2a0.js";const r=class{constructor(o){e(this,o),this.duetCookieConsent=t(this,"duetCookieConsent",7),this.handleClick=e=>{e.preventDefault(),this.duetCookieConsent.emit({component:"duet-cookie-consent"})},this.accessibleLabel="Hyväksyn evästeiden käytön",this.theme=""}handleFocusIn(e){e.composedPath()[0]!==this.element&&this.element.classList.add("descendant-focused")}handleFocusOut(){this.element.classList.remove("descendant-focused")}componentWillLoad(){i(this)}connectedCallback(){s(this)}disconnectedCallback(){d(this)}render(){return o(a,{key:"b6200017500c61af5823af477a967f1b0eb4c3e8",tabindex:"0",class:{"duet-theme-turva":"turva"===this.theme}},o("div",{key:"2a24f576b5c8d4afa80ebbd1efb1535d39057fc9",class:{"duet-cookie-consent":!0,"duet-theme-turva":"turva"===this.theme}},o("div",{key:"dfce32c2435aff2e90e5ef68bf2058635c0bebba",class:"duet-cookie-consent-content"},o("div",{key:"426215741b6ae8be77620bee45f34cafcb2b0a9b",class:"expand"},o("slot",{key:"29dc8d4183c2ec992e44bb8ef38a492daefc0393"})),o("duet-spacer",{key:"aef61de5d2b9b12dec6ebac9d0b0b2f3a9709d97",size:"large",direction:"horizontal"}),o("div",{key:"660dc857d3ba6115beb552745416929a22a4d6b3"},o("duet-button",{key:"24b68101280c3a953653256d9660309efee09194",variation:"negative",size:"small",onClick:this.handleClick,margin:"none","aria-label":this.accessibleLabel,theme:this.theme},"OK")))))}get element(){return n(this)}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:not(.descendant-focused):focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing:not(.descendant-focused).duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-cookie-consent{padding:20px;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;color:rgb(255, 255, 255) !important;background-color:rgba(0, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(0, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.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";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';export{r as duet_cookie_consent}
4
+ import{r as e,c as t,h as o,H as a,g as n}from"./p-bb2d58bc.js";import{i}from"./p-aaa7a7bd.js";import{s,u as d}from"./p-a1b7f2a0.js";const r=class{constructor(o){e(this,o),this.duetCookieConsent=t(this,"duetCookieConsent",7),this.handleClick=e=>{e.preventDefault(),this.duetCookieConsent.emit({component:"duet-cookie-consent"})},this.accessibleLabel="Hyväksyn evästeiden käytön",this.theme=""}handleFocusIn(e){e.composedPath()[0]!==this.element&&this.element.classList.add("descendant-focused")}handleFocusOut(){this.element.classList.remove("descendant-focused")}componentWillLoad(){i(this)}connectedCallback(){s(this)}disconnectedCallback(){d(this)}render(){return o(a,{key:"b6200017500c61af5823af477a967f1b0eb4c3e8",tabindex:"0",class:{"duet-theme-turva":"turva"===this.theme}},o("div",{key:"2a24f576b5c8d4afa80ebbd1efb1535d39057fc9",class:{"duet-cookie-consent":!0,"duet-theme-turva":"turva"===this.theme}},o("div",{key:"dfce32c2435aff2e90e5ef68bf2058635c0bebba",class:"duet-cookie-consent-content"},o("div",{key:"426215741b6ae8be77620bee45f34cafcb2b0a9b",class:"expand"},o("slot",{key:"29dc8d4183c2ec992e44bb8ef38a492daefc0393"})),o("duet-spacer",{key:"aef61de5d2b9b12dec6ebac9d0b0b2f3a9709d97",size:"large",direction:"horizontal"}),o("div",{key:"660dc857d3ba6115beb552745416929a22a4d6b3"},o("duet-button",{key:"24b68101280c3a953653256d9660309efee09194",variation:"negative",size:"small",onClick:this.handleClick,margin:"none","aria-label":this.accessibleLabel,theme:this.theme},"OK")))))}get element(){return n(this)}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:not(.descendant-focused):focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing:not(.descendant-focused).duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-cookie-consent{padding:20px;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;color:rgb(255, 255, 255) !important;background-color:rgba(4, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(4, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.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";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';export{r as duet_cookie_consent}
@@ -1,4 +1,4 @@
1
1
  var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,o=t.length,n;a<o;a++){if(n||!(a in t)){if(!n)n=Array.prototype.slice.call(t,0,a);n[a]=t[a]}}return e.concat(n||Array.prototype.slice.call(t))};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-d3101c8a.system.js","./p-e216bea4.system.js","./p-0fee15c1.system.js","./p-2f891fbb.system.js","./p-98636086.system.js","./p-91115d1e.system.js"],(function(e){"use strict";var t,r,a,o,n,i,d;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i},function(e){i=e.g},function(e){d=e.g},function(){},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%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.duet-breadcrumbs{position:relative;display:flex;align-items:center;justify-content:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 77, 128)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(225, 227, 230)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(148, 9, 37)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(0, 41, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}';var s=b;var c=e("duet_breadcrumbs",function(){function e(e){t(this,e);this.observers=[];this.breadcrumbsAriaLabel=i({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header";this.color=""}e.prototype.componentWillLoad=function(){n(this);this.children=Array.from(this.element.children)};e.prototype.connectedCallback=function(){var e=this;Array.from(this.element.children).forEach((function(t){var r=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));r.observe(t,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[r],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;var t=d(this.color);return r(a,{key:"8a9b4d9db25877fedbb9bbbc6a7f3c70ddc972f8"},r("nav",{key:"c66a5b2ab26e65aea1d4cb624c5fd5e57b165d0e","aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},r("div",{key:"23194ac8d39fcc089a5f16689fdf31f6f5bbd630",class:"container"},r("div",{key:"924ce340d38e919201c361c402b5b2ee7d25f6d2",role:"list",class:"list",style:{color:t}},r("slot",{key:"0fbdd33ff72667c2cd845f407a85719349a70eab"})),r("div",{key:"11493cfc88623feebae218352c8f9530a3c2456c",class:"bottom-border bottom-border--container"})),r("div",{key:"d5f962874148aab37813f688ba5ff77bddb30533",class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());c.style=s}}}));
4
+ */System.register(["./p-39fb8819.system.js","./p-e216bea4.system.js","./p-8002cdbf.system.js","./p-6a95a2e3.system.js","./p-98636086.system.js","./p-94eab61e.system.js"],(function(e){"use strict";var t,r,a,o,n,i,d;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i},function(e){i=e.g},function(e){d=e.g},function(){},function(){}],execute:function(){var s='*,*::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%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.duet-breadcrumbs{position:relative;display:flex;align-items:center;justify-content:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 75, 129)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(212, 223, 229)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(126, 2, 35)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(8, 42, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}';var b=s;var c=e("duet_breadcrumbs",function(){function e(e){t(this,e);this.observers=[];this.breadcrumbsAriaLabel=i({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header";this.color=""}e.prototype.componentWillLoad=function(){n(this);this.children=Array.from(this.element.children)};e.prototype.connectedCallback=function(){var e=this;Array.from(this.element.children).forEach((function(t){var r=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));r.observe(t,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[r],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;var t=d(this.color);return r(a,{key:"996e5aefa1bd4292a2ef8e9defb42967032c8011"},r("nav",{key:"5971870c10d1faabc65248ee6113cd8a84e7a2ae","aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},r("div",{key:"e13adcf97e2a6fefb2e73a302b09776418d81272",class:"container"},r("div",{key:"a628bb7c78faaa9952d40bc5dab4171e1bfb9f00",role:"list",class:"list",style:{color:t}},r("slot",{key:"bde592b8806f2e74c1031d2ac4ca58b2b0279c55"})),r("div",{key:"c6c7386a1148b7173eae0919a4c3ba7cee0322c1",class:"bottom-border bottom-border--container"})),r("div",{key:"668a74528b4859e29e226f3c33311557191a9bc3",class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());c.style=b}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c as t,h as c,H as o,g as i}from"./p-00f584d4.js";import{i as s}from"./p-aaa7a7bd.js";import{c as a}from"./p-5e59e970.js";const d=class{constructor(c){e(this,c),this.duetChange=t(this,"duetChange",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.checkboxId=a("DuetCheckbox"),this.errorId=a("DuetError"),this.onChange=e=>{this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.getDescribedBy=()=>{const e=[];return this.accessibleDescribedBy&&e.push(this.accessibleDescribedBy),this.error&&e.push(this.errorId),e.length>0?e.join(" "):null},this.accessibleActiveDescendant=void 0,this.margin="auto",this.accessibleControls=void 0,this.accessibleIndex=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleSelected=void 0,this.accessibleLiveError="polite",this.required=!1,this.error="",this.theme="",this.disabled=!1,this.identifier=void 0,this.label="label",this.labelHidden=!1,this.name=void 0,this.role=void 0,this.checked=!1,this.value=void 0}componentWillLoad(){s(this),void 0===this.value&&(this.value=this.identifier)}async setFocus(e){this.nativeInput.focus(e)}render(){const e=this.identifier||this.checkboxId;return c(o,{class:{"duet-m-0":"none"===this.margin}},c("div",{class:{"duet-checkbox-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme}},c("input",{ref:e=>this.nativeInput=e,type:"checkbox",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,class:{"duet-checkbox":!0,disabled:this.disabled},checked:this.checked,disabled:this.disabled,tabindex:this.accessibleIndex,"aria-invalid":this.error?"true":"false","aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-selected":this.accessibleSelected,required:this.required,role:this.role,name:this.name,id:e}),c("label",{class:"duet-label",htmlFor:e},c("span",null,this.label)),c("div",{class:"duet-checkbox-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&c("span",null,this.error))))}get element(){return i(this)}};d.style='*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-checkbox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;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(0, 41, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{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-label.sc-duet-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:"";background:rgb(255, 255, 255);border:1px solid rgb(0, 41, 77);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f7;border-color:rgb(222, 35, 98)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f3;border-color:rgb(224, 42, 13)}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:"";background:transparent url("data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(116, 116, 117)}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(207, 207, 209)}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(144, 149, 153);border:1px solid rgb(144, 149, 153)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(116, 116, 117);border-color:rgb(116, 116, 117)}.duet-checkbox-error.sc-duet-checkbox{margin-left:31px;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(222, 35, 98);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox{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(224, 42, 13)}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox,.duet-label-hidden.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{d as duet_checkbox}
4
+ import{r as e,c as t,h as c,H as o,g as i}from"./p-bb2d58bc.js";import{i as s}from"./p-aaa7a7bd.js";import{c as a}from"./p-5e59e970.js";const d=class{constructor(c){e(this,c),this.duetChange=t(this,"duetChange",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.checkboxId=a("DuetCheckbox"),this.errorId=a("DuetError"),this.onChange=e=>{this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.getDescribedBy=()=>{const e=[];return this.accessibleDescribedBy&&e.push(this.accessibleDescribedBy),this.error&&e.push(this.errorId),e.length>0?e.join(" "):null},this.accessibleActiveDescendant=void 0,this.margin="auto",this.accessibleControls=void 0,this.accessibleIndex=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleSelected=void 0,this.accessibleLiveError="polite",this.required=!1,this.error="",this.theme="",this.disabled=!1,this.identifier=void 0,this.label="label",this.labelHidden=!1,this.name=void 0,this.role=void 0,this.checked=!1,this.value=void 0}componentWillLoad(){s(this),void 0===this.value&&(this.value=this.identifier)}async setFocus(e){this.nativeInput.focus(e)}render(){const e=this.identifier||this.checkboxId;return c(o,{class:{"duet-m-0":"none"===this.margin}},c("div",{class:{"duet-checkbox-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme}},c("input",{ref:e=>this.nativeInput=e,type:"checkbox",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,class:{"duet-checkbox":!0,disabled:this.disabled},checked:this.checked,disabled:this.disabled,tabindex:this.accessibleIndex,"aria-invalid":this.error?"true":"false","aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-selected":this.accessibleSelected,required:this.required,role:this.role,name:this.name,id:e}),c("label",{class:"duet-label",htmlFor:e},c("span",null,this.label)),c("div",{class:"duet-checkbox-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&c("span",null,this.error))))}get element(){return i(this)}};d.style='*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-checkbox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;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);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{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-label.sc-duet-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:"";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:"";background:transparent url("data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(143, 147, 158)}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error.sc-duet-checkbox{margin-left:31px;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(214, 28, 82);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox{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(214, 28, 82)}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox,.duet-label-hidden.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{d as duet_checkbox}
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,a,i){function r(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,o){function n(t){try{d(i.next(t))}catch(t){o(t)}}function s(t){try{d(i["throw"](t))}catch(t){o(t)}}function d(t){t.done?a(t.value):r(t.value).then(n,s)}d((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,n;return n={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(t){return function(e){return d([t,e])}}function d(s){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(a=0)),a)try{if(i=1,r&&(o=s[0]&2?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;if(r=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;r=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(s[0]===6&&a.label<o[1]){a.label=o[1];o=s;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(s);break}if(o[2])a.ops.pop();a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t];r=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-39fb8819.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-e12066c8.system.js","./p-8002cdbf.system.js","./p-514b6b5b.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,a,i,r,o,n,s,d,u,l,c,h;return{setters:[function(t){e=t.r;a=t.c;i=t.h;r=t.H;o=t.g},function(t){n=t.i},function(t){s=t.c},function(t){d=t.c},function(t){u=t.g;l=t.c;c=t.d},function(t){h=t.c},function(){}],execute:function(){var p='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-textarea-container{position:relative;width:100%;height:100%}.duet-textarea-container .duet-input-top-caption{display:none}.duet-textarea-container.duet-input-top-caption-shown .duet-input-top-caption{display:flex !important}.duet-textarea-wrapper{position:relative}.duet-textarea-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-theme-turva .duet-textarea{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-textarea::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-textarea::-moz-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-textarea:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-textarea:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva .duet-textarea[disabled]{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important}.duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(8, 42, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]::-moz-placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-theme-turva .duet-textarea[disabled]::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]:-ms-input-placeholder{color:rgb(8, 42, 77)}.duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help{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;line-height:1.25}.duet-textarea-help span{display:block;margin-top:8px}.duet-theme-turva .duet-textarea-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count{display:block;margin:8px 0 0 auto}';var b=p;var f=function(t){var e=t.value,a=t.maxlength,r=t.label,o=t.theme;if(a==null){return}var n=e.length;var s=Math.max(a-n,0);var d=s/a<=.1;return i("div",{class:"duet-character-count"},i("duet-caption",{margin:"none",theme:o,size:"small"},i("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true",class:"duet-textarea-counter-remaining"},d&&"".concat(s," ").concat(r)),i("span",{"aria-hidden":"true"},n,"/",a)))};var m=t("duet_textarea",function(){function t(t){var i=this;e(this,t);this.duetInput=a(this,"duetInput",7);this.duetChange=a(this,"duetChange",7);this.duetBlur=a(this,"duetBlur",7);this.duetFocus=a(this,"duetFocus",7);this.textareaId=s("DuetTextarea");this.topCaptionId=s("DuetCaptionTop");this.topCaptionPlaceholderId=s("DuetCaptionPlaceholderTop");this.labelId=s("DuetLabel");this.errorId=s("DuetError");this.characterCountId=s("DuetCharacterCount");this.disallowPatternRegex=null;this.counterLabelDefaults={fi:"merkkiä jäljellä",en:"characters remaining",sv:"tecken kvar"};this.handleInput=function(t){if(i.disallowPatternRegex){d(i.nativeInput,i.disallowPatternRegex)}i.value=i.nativeInput.value;i.isCaptionVisible=!!i.caption;i.duetInput.emit({originalEvent:t,value:i.value,component:"duet-textarea"})};this.handleChange=function(t){i.value=i.nativeInput.value;i.duetChange.emit({originalEvent:t,value:i.value,component:"duet-textarea"})};this.handleBlur=function(t){i.duetBlur.emit({originalEvent:t,value:i.value,component:"duet-textarea"})};this.handleFocus=function(t){if(i.counter){i.hiddenCounterLabel.textContent="".concat(Math.max(i.maxlength-i.value.length,0),"/").concat(i.maxlength," ").concat(i.counterLabel)}i.duetFocus.emit({originalEvent:t,value:i.value,component:"duet-textarea"})};this.getDescribedBy=function(){var t=[];if(i.isCaptionVisible&&i.topCaptionId){t.push(i.topCaptionId)}if(i.accessibleDescribedBy){t.push(i.accessibleDescribedBy)}if(i.error){t.push(i.errorId)}if(i.counter){t.push(i.characterCountId)}return t.length>0?t.join(" "):null};this.margin="auto";this.accessibleActiveDescendant=undefined;this.accessibleAutocomplete=undefined;this.accessibleControls=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLiveError="polite";this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.theme="";this.expand=false;this.disabled=false;this.identifier=undefined;this.required=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.labelHidden=false;this.name=undefined;this.placeholder=undefined;this.caption=undefined;this.echoPlaceholder=false;this.maxlength=undefined;this.minlength=undefined;this.error="";this.role=undefined;this.tooltip="";this.tooltipDirection="auto";this.value="";this.disallowPattern=null;this.counter=false;this.counterLabel=u(this.counterLabelDefaults)}t.prototype.disallowedPatternChange=function(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null};t.prototype.componentWillLoad=function(){n(this);this.disallowedPatternChange();this.isCaptionVisible=!!this.caption;h(this.element,"tooltip","duet-tooltip",1,true);if(this.counter&&this.maxlength==null){console.warn("[DUET WARNING]: counter will only take effect if maxlength is set")}};t.prototype.connectedCallback=function(){l(this,{prop:"counterLabel",defaults:"counterLabelDefaults"})};t.prototype.disconnectedCallback=function(){c(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.nativeInput.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;var e=this.identifier||this.textareaId;return i(r,{key:"6822e915557cb26cc7ef9e11686a3c6ebb68ea47",class:{"duet-m-0":this.margin==="none","duet-has-counter":this.counter&&!this.error,"duet-expand":this.expand}},i("div",{key:"bc4115c13d819ace2c3093540184535b8e4a1b92",class:{"duet-textarea-container":true,"duet-theme-turva":this.theme==="turva","duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error}},i("duet-label",{key:"9580bdfabe29364106b37d5d96662bd92834b547",theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},margin:this.isCaptionVisible?"small":"auto",color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:e},this.label),this.tooltip&&i("duet-tooltip",{key:"6561c8b34741071590fbdc1e181e19d27c72f5ac",direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:this.theme==="turva"?"turva":"default"},this.tooltip),i("slot",{key:"096527c36bf9a86ea5516855968793509041f7f2",name:"tooltip"}),this.caption&&i("duet-caption",{key:"200ff13988a66c86df15d0a4aa2cc5d0933e4e94",id:this.topCaptionId,size:"medium",theme:this.theme==="turva"?"turva":"default"},this.caption),i("div",{key:"bb6e02a2b4e56a4b1b0b02ba69e57037703f8c1a",class:"duet-textarea-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&i("duet-caption",{key:"5a4e1130618afea793977101bb96aa48b0966a89",id:this.topCaptionPlaceholderId,class:"duet-textarea-placeholder",size:"small"},this.placeholder),i("textarea",{key:"8931951754cb4d340020d1b03630d0c5887dcabc",onInput:this.handleInput,onChange:this.handleChange,onBlur:this.handleBlur,onFocus:this.handleFocus,ref:function(e){return t.nativeInput=e},class:{"duet-textarea":true,disabled:this.disabled},value:this.value,disabled:this.disabled,"aria-labelledby":this.accessibleLabelledBy?"".concat(this.labelId," ").concat(this.accessibleLabelledBy):this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,placeholder:this.placeholder,spellcheck:"false",required:this.required,minlength:this.minlength,maxlength:this.maxlength,role:this.role,name:this.name,id:e})),i("duet-grid",{key:"11f6951c2dfa29e83f31ccaeac2f5dc878bc948b",alignment:"stretch"},i("duet-grid-item",{key:"e85f9341efb0b3adc42239559525c901b2bafb3f",margin:"none",fill:true},i("div",{key:"17ac589c05fb30ff82c8e05470ae4af763144b04",class:"duet-textarea-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",{key:"daa212a3cc4e868d5b63c0663e0cddb69c46e273"},this.error))),i("duet-grid-item",{key:"393879358311c8ae3c6cb33d996fc4ea5b918aec",margin:"none",class:"duet-character-count-caption"},this.counter&&i(f,{key:"f201904c256266056855907d84c013a84c3c123c",theme:this.theme,value:this.value,maxlength:this.maxlength,label:this.counterLabel}))),this.counter&&i("duet-visually-hidden",{key:"634bed29f451d4d2a03835ebcf228a790cc92d0c",class:"duet-visually-hidden",id:this.characterCountId,ref:function(e){t.hiddenCounterLabel=e}})))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disallowPattern:["disallowedPatternChange"]}},enumerable:false,configurable:true});return t}());m.style=b}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as t,g as i}from"./p-00f584d4.js";import{i as r}from"./p-aaa7a7bd.js";import{s,u as o}from"./p-a1b7f2a0.js";import{a as n,c as d,d as b,g as c}from"./p-5e2f8206.js";import"./p-9c3c64b9.js";const l=class{constructor(a){e(this,a),this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"},this.hasSlottedContent=!1,this.theme="",this.language=n(),this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.accessibleLabel=void 0}componentWillLoad(){r(this)}connectedCallback(){d(this),s(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){b(this),o(this)}render(){var e;return a(t,{key:"469447515096cfa85132eb550ed925b796a87b6b",role:"listitem"},a("div",{key:"0b264055e49b6603b803bea06f4450e937b1a424",class:"container"},"arrow-right-small-icon"===this.icon&&a("duet-icon",{key:"0a175a06d4230eeace901b741ba9a08f2947a3ba",class:"duet-breadrumbs-arrow",size:"auto",icon:'<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>',margin:"none",color:"currentColor"}),a("a",{key:"501dd186b46c158775b992863689014d4b520927",class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme},href:this.href?this.href:void 0,"aria-label":`${this.href?"":`${c(this.currentCrumb)} `}${null!==(e=this.accessibleLabel)&&void 0!==e?e:this.element.innerHTML}`,role:"link"},"arrow-right-small-icon"!==this.icon&&this.icon&&[a("duet-icon",{key:"a7993d28976f091a7f8291378990dea66413be57",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&a("duet-spacer",{key:"966433c4f0ec2c663dfeff67b8b70ae913d6a5e8",size:"x-small",direction:"horizontal"})],a("slot",{key:"b98f199af76f8596bb8d06af9dc277c89ed03870"}))))}get element(){return i(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: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}";export{l as duet_breadcrumb}
4
+ import{r as e,h as a,H as t,g as i}from"./p-bb2d58bc.js";import{i as r}from"./p-aaa7a7bd.js";import{s,u as o}from"./p-a1b7f2a0.js";import{a as n,c as d,d as c,g as b}from"./p-03ebb87c.js";import"./p-9c3c64b9.js";const l=class{constructor(a){e(this,a),this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"},this.hasSlottedContent=!1,this.theme="",this.language=n(),this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.accessibleLabel=void 0}componentWillLoad(){r(this)}connectedCallback(){d(this),s(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){c(this),o(this)}render(){var e;return a(t,{key:"689d0258e18fdfbbd6f4d01c8ab355a1a8312c2f",role:"listitem"},a("div",{key:"909354599a3a41ee94fd902605d5299666bd599b",class:"container"},"arrow-right-small-icon"===this.icon&&a("duet-icon",{key:"9fc66ffab8615edd97b3bedefd33f7fa80491694",class:"duet-breadrumbs-arrow",size:"auto",icon:'<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>',margin:"none",color:"currentColor"}),a("a",{key:"ed4010eedd8d1da13bde66c21a9885d8831c580b",class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme},href:this.href?this.href:void 0,"aria-label":`${this.href?"":`${b(this.currentCrumb)} `}${null!==(e=this.accessibleLabel)&&void 0!==e?e:this.element.innerHTML}`,role:"link"},"arrow-right-small-icon"!==this.icon&&this.icon&&[a("duet-icon",{key:"9b0d1364911cb1737106f201a2c4db931133f38e",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&a("duet-spacer",{key:"27f506daef53b848c270e8be99c0f2aaebb80004",size:"x-small",direction:"horizontal"})],a("slot",{key:"2bc8ee802dc29cc82123e91b9178e5f51e9709c9"}))))}get element(){return i(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: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}";export{l as duet_breadcrumb}
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function d(t){try{l(a.next(t))}catch(t){r(t)}}function o(t){try{l(a["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):n(t.value).then(d,o)}l((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,d;return d={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function o(t){return function(e){return l([t,e])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(d&&(d=0,o[0]&&(i=0)),i)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];n=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var a=0,n=e.length,r;a<n;a++){if(r||!(a in e)){if(!r)r=Array.prototype.slice.call(e,0,a);r[a]=e[a]}}return t.concat(r||Array.prototype.slice.call(e))};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-39fb8819.system.js","./p-e216bea4.system.js","./p-41982d26.system.js","./p-34d7dd10.system.js","./p-8002cdbf.system.js","./p-94eab61e.system.js","./p-6a95a2e3.system.js","./p-e6b5a1c7.system.js","./p-98636086.system.js","./p-832862b7.system.js"],(function(t){"use strict";var e,i,a,n,r,d,o,l,s,u,h,f,b,c,p,m,g,v,y,x,w,k,_;return{setters:[function(t){e=t.h;i=t.r;a=t.c;n=t.H;r=t.g;d=t.F},function(t){o=t.i},function(t){l=t.f;s=t.d},function(t){u=t.i},function(t){h=t.a;f=t.c;b=t.d;c=t.g;p=t.s},function(t){m=t.p;g=t.s},function(t){v=t.b;y=t.a},function(t){x=t.c},function(t){w=t.p},function(t){k=t.g;_=t.a}],execute:function(){var T=function(t,i){var a=t.data,n=t.groupId,r=t.alignment;var d="duet-editable-table duet-editable-table-content-".concat(n);if(typeof a==="string"){return e("td",{innerHTML:a,class:d,part:"".concat(n,"content"),style:{verticalAlign:r}})}else{return e("td",{class:d,part:"".concat(n,"content"),style:{verticalAlign:r}},a)}};var j=".sc-duet-editable-table-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-editable-table-actions-menu.sc-duet-editable-table{position:relative;padding:0 !important;margin:0}.duet-editable-table-actions-menu-button.sc-duet-editable-table{position:relative;right:-16px;float:right;padding:0}.duet-editable-table-actions-menu-icon.sc-duet-editable-table .duet-icon.sc-duet-editable-table{max-width:16px;max-height:16px}.duet-editable-table-row.duet-table-action-row.sc-duet-editable-table .duet-text-right.sc-duet-editable-table{text-align:right}.duet-editable-table-header.sc-duet-editable-table tr.sc-duet-editable-table .duet-editable-table-header-hidden.sc-duet-editable-table{padding:0 !important;font-size:0;border-bottom:0}";var E=j;var S=t("duet_editable_table",function(){function t(t){var e=this;i(this,t);this.duetTableToggle=a(this,"duetTableToggle",7);this.duetMenuClick=a(this,"duetMenuClick",7);this.hasHeadSlotFirst=false;this.hasHeadSlotLast=false;this.hasFootSlot=false;this.sortableDefaultLabel={fi:"Järjestä",en:"Click to sort",sv:"Klicka för att sortera"};this.actionColumnLabel={en:"Actions for rows",fi:"Toiminnot rivillä",sv:"Åtgärder för rader"};this.toggleColumn=function(t,i){i.preventDefault();var a=t.sort_order,n=t.direction,r=t.index,d=t.key;e.duetTableToggle.emit({sort_order:a,index:r,direction:n,key:d,component:"duet-editable-table",originalEvent:i})};this.handleKeyDown=function(t,i){if(u(i)){e.toggleColumn(t,i)}};this.language=h();this.margin="auto";this.variation="striped";this.sticky=false;this.stickyDistance="with-links";this.breakpoint="small";this.actions=undefined;this.columns=undefined;this.rows=undefined;this.sortable=false;this.groupId="";this.theme="";this.accessibleRole=undefined;this.hideHeadVisually=false}t.prototype.componentWillLoad=function(){o(this);this.hasHeadSlotFirst=!!this.element.querySelector("[slot='thead-first']");this.hasHeadSlotLast=!!this.element.querySelector("[slot='thead-last']");this.hasFootSlot=!!this.element.querySelector("[slot='tfoot']")};t.prototype.connectedCallback=function(){f(this)};t.prototype.disconnectedCallback=function(){b(this)};t.prototype.createLabel=function(t){var i=this;var a=t.sort_order,n=t.direction,r=t.index,d=t.label;var o=c(d);if(!this.sortable){return o}var l=function(){if(!!a&&n===1){return"action-arrow-down-small"}else if(!!a&&n===-1){return"action-arrow-up-small"}return"action-subtract-small"};return e("span",{class:"duet-table-label","data-index":r},e("duet-button",{size:"small",icon:l(),"icon-size":"medium-small","accessible-label":this.sortableDefaultLabel[this.language],variation:"plain",margin:"none","icon-right":true,onClick:function(e){return i.toggleColumn(t,e)},onKeyDown:function(e){return i.handleKeyDown(t,e)}},o))};t.prototype.getSortedColumns=function(){return __spreadArray([],this.columns,true).sort(l(["index"]))};t.prototype.getRowSortOrder=function(){var t=__spreadArray([],this.columns,true).sort(l(["sort_order"]));return t.filter((function(t){return t.sort_order})).map((function(t){return t.direction===-1?"-".concat(t.key):t.key}))};t.prototype.renderTableHeader=function(){var t=this;if(!this.columns){return}var i=this.getSortedColumns();return e("tr",{class:{"duet-table-action-header":!!this.actions}},i.map((function(i){if(i.display!==false){var a=t.createLabel(i);return a!==""?e("th",{scope:"col"},a):e("td",null)}})),this.actions&&e("th",{scope:"col",class:"duet-table-action-header-heading"},this.actions&&e("duet-visually-hidden",null,this.actionColumnLabel[this.language])))};t.prototype.renderActions=function(t,i){var a=this;if(!this.actions){return}return e("td",{class:"duet-text-right"},this.actions.map((function(n){return e("duet-action-button",{actionMeta:Object.assign({},(t===null||t===void 0?void 0:t.meta)||{},{index:i}),actionId:(t===null||t===void 0?void 0:t.uid)||(t===null||t===void 0?void 0:t.id)||null,actionName:n.name,theme:a.theme,iconName:n.icon,iconColor:n.color,iconSize:n.size,background:n.background,"accessible-label":"".concat(t.actionDescription||""," ").concat(c(n.label)," ")})})))};t.prototype.renderTableBody=function(){var t=this;var i=this.getSortedColumns();var a=this.getRowSortOrder();var n=__spreadArray([],this.rows,true).sort(l(a));return n.map((function(a,n){var r;return e("tr",{class:(r={"duet-table-action-row":!!t.actions,"duet-editable-table-row":true},r["duet-editable-table-row-".concat(t.groupId)]=true,r),"data-meta":JSON.stringify(a.meta)},i.map((function(i){var n=a[i.key]?a[i.key]:a.item;if(i.display!==false){return e(T,{data:n,groupId:t.groupId})}})),t.actions&&t.renderActions(a,n))}))};t.prototype.render=function(){var t;return e(n,{class:(t={},t["duet-editable-table-".concat(this.variation)]=true,t["duet-editable-table"]=true,t["duet-editable-table-".concat(this.theme)]=true,t["duet-editable-table-scrollable"]=this.breakpoint==="none-scrollable",t["duet-editable-table-sortable"]=this.sortable,t["duet-editable-table-actions"]=!!this.actions,t["duet-m-0"]=this.margin==="none",t["duet-theme-turva"]=this.theme==="turva",t)},e("duet-table",{class:"duet-editable-table-table",sticky:this.sticky,stickyDistance:this.stickyDistance,margin:this.margin,theme:this.theme,variation:this.variation,breakpoint:this.breakpoint,"hide-head-visually":this.hideHeadVisually},e("table",{role:this.accessibleRole},e("caption",null,e("slot",{name:"tcaption"})),e("thead",null,this.hasHeadSlotFirst&&e("tr",null,e("td",{class:"duet-editable-table-actions-menu",colSpan:99},e("slot",{name:"thead-first"}))),this.renderTableHeader(),this.hasHeadSlotLast&&e("tr",null,e("td",{class:"duet-editable-table-actions-menu",colSpan:99},e("slot",{name:"thead-last"})))),e("tbody",null,this.renderTableBody()),this.hasFootSlot&&e("tfoot",null,e("tr",null,e("td",{class:"duet-editable-table-footer-menu",colSpan:99},e("slot",{name:"tfoot"})))))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());S.style=E;var L='duet-table{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;font-variant-numeric:tabular-nums}duet-table table,duet-table thead,duet-table tbody,duet-table tfoot,duet-table th,duet-table td,duet-table tr{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}duet-table.duet-m-0{margin:0 !important}duet-table table{width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;text-align:left;border-spacing:0;border-collapse:separate}duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead,duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead *{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}duet-table.duet-theme-turva table{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}duet-table td{-webkit-hyphens:auto;hyphens:auto;color:rgb(8, 42, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(98, 121, 138);text-align:left}duet-table.duet-theme-turva th{color:rgb(143, 147, 158)}duet-table tbody th{font-weight:600;color:rgb(8, 42, 77)}duet-table.duet-theme-turva tbody th{color:rgb(23, 28, 58)}duet-table .duet-table-action-row td:last-child{justify-self:end;padding-right:20px !important;white-space:nowrap}duet-table span.duet-table-cell-heading{display:none}.duet-table-flattened table,.duet-table-flattened thead,.duet-table-flattened tbody,.duet-table-flattened tfoot,.duet-table-flattened th,.duet-table-flattened td,.duet-table-flattened tr{display:block}.duet-table-flattened thead tr{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-table-flattened td{line-height:1.25}.duet-table-flattened td:not(:last-child){margin-bottom:16px !important}.duet-table-flattened td span.duet-table-cell-heading{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-table-flattened.duet-theme-turva td span.duet-table-cell-heading{color:rgb(23, 28, 58)}.duet-table-flattened tbody td,.duet-table-flattened tbody th,.duet-table-flattened tfoot td{padding:0 !important;text-align:left !important}.duet-table-flattened tbody th{font-weight:600;line-height:1.25;color:rgb(98, 121, 138);text-align:left}.duet-table-sticky thead th{position:sticky;top:0;background:rgb(255, 255, 255)}.duet-table-striped td,.duet-table-striped th{padding:20px !important}@media (max-width: 35.9375em){.duet-table-striped td,.duet-table-striped th{padding:20px 12px !important}}.duet-table-striped tbody th{background:rgb(255, 255, 255)}.duet-table-striped.duet-table-sticky thead th{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(222, 224, 228)}.duet-table-striped tbody:not(:first-of-type) th{padding-top:40px !important}.duet-table-striped tbody:only-of-type tr:nth-of-type(odd){background:rgba(4, 81, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(4, 81, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tfoot td{border-top:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(222, 224, 228)}.duet-table-striped.duet-table-flattened tbody:not(:first-of-type) th{padding-top:20px !important}.duet-table-striped.duet-table-flattened tr{padding:20px !important}.duet-table-striped.duet-table-flattened tfoot td{border-top:0}.duet-table-striped.duet-table-flattened tfoot tr{border-top:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(222, 224, 228)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(98, 121, 138)}.duet-table-fixed th:first-child,.duet-table-minimal th:first-child,.duet-table-plain th:first-child{padding-left:0 !important}.duet-table-fixed th:last-child,.duet-table-minimal th:last-child,.duet-table-plain th:last-child{padding-right:0 !important}.duet-theme-turva.duet-table-fixed th,.duet-theme-turva.duet-table-minimal th,.duet-theme-turva.duet-table-plain th{border-bottom-color:rgb(113, 118, 132)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(212, 223, 229)}.duet-theme-turva.duet-table-fixed tbody th,.duet-theme-turva.duet-table-minimal tbody th,.duet-theme-turva.duet-table-plain tbody th{border-bottom-color:rgb(222, 224, 228)}.duet-table-fixed td,.duet-table-minimal td,.duet-table-plain td{padding:16px !important}.duet-table-fixed td:first-child,.duet-table-minimal td:first-child,.duet-table-plain td:first-child{padding-left:0 !important}.duet-table-fixed td:last-child,.duet-table-minimal td:last-child,.duet-table-plain td:last-child{padding-right:0 !important}.duet-table-fixed tbody td,.duet-table-minimal tbody td,.duet-table-plain tbody td{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-table-fixed tbody td,.duet-theme-turva.duet-table-minimal tbody td,.duet-theme-turva.duet-table-plain tbody td{border-bottom-color:rgb(222, 224, 228)}.duet-table-flattened.duet-table-fixed tbody:first-of-type th,.duet-table-flattened.duet-table-minimal tbody:first-of-type th,.duet-table-flattened.duet-table-plain tbody:first-of-type th{padding-top:0 !important}.duet-table-flattened.duet-table-fixed td,.duet-table-flattened.duet-table-minimal td,.duet-table-flattened.duet-table-plain td,.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{border-bottom:0}.duet-table-flattened.duet-table-fixed tr,.duet-table-flattened.duet-table-minimal tr,.duet-table-flattened.duet-table-plain tr{padding:20px 0 !important}.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{padding-top:20px !important}.duet-table-flattened.duet-table-fixed tfoot td,.duet-table-flattened.duet-table-minimal tfoot td,.duet-table-flattened.duet-table-plain tfoot td{margin-bottom:4px !important}.duet-table-flattened.duet-table-fixed tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-minimal tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-plain tbody:not(:only-of-type) tr:first-child{border-bottom:0}.duet-table-plain.duet-table-flattened tbody tr{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(222, 224, 228)}.duet-table-minimal tbody tr,.duet-table-minimal tbody tr td{vertical-align:top;border-bottom:0 none}.duet-table-minimal tbody tr:last-of-type,.duet-table-minimal tbody tr:last-of-type td{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-minimal.duet-table-flattened tbody tr,.duet-table-minimal.duet-table-flattened tbody tr td{border-bottom:0 none}.duet-table-minimal.duet-table-flattened tbody tr td[data-heading]::before{display:none}.duet-table-minimal.duet-table-flattened tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-fixed table{table-layout:fixed}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td,.duet-table-fixed tbody tr td:first-child{padding:4px !important;vertical-align:text-bottom;border-bottom:0 none}.duet-table-fixed thead{display:none}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td{border-bottom:0 none}.duet-table-fixed:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-scrollable{position:relative;width:100%;overflow-x:auto;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;background-repeat:no-repeat;background-attachment:local, local, scroll, scroll;background-size:100px 100%, 100px 100%, 12px 100%, 12px 100%}.duet-table-selected-column{background:rgba(0, 119, 179, 0.08)}.duet-theme-turva .duet-table-selected-column{background:rgba(113, 118, 132, 0.08)}.duet-table-sortable tbody tr td:first-child,.duet-table-sortable thead tr th:first-child{padding:20px}.duet-table-sortable:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-actions table{table-layout:auto}.duet-table-actions thead th:last-child{width:1px;white-space:nowrap}.duet-editable-table-table.duet-table-flattened tr{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:10px}.duet-editable-table-table.duet-table-flattened tr.duet-table-action-row td:last-child::before{padding:0;content:""}.duet-editable-table-table.duet-table-flattened td{grid-column:1/2}.duet-editable-table-table.duet-table-flattened td:first-child{grid-row:1;grid-column:1}.duet-editable-table-table.duet-table-flattened td:last-child{grid-row:1;grid-column:2}';var z=L;var A={none:0,"with-links":parseFloat(m)*16,"without-links":parseFloat(g)*16};var F=t("duet_table",function(){function t(t){var e=this;i(this,t);this.headingSelector="thead tr > :not(*.duet-editable-table-actions-menu)";this.handleMediaQueryChange=function(t){e.matchesBreakpoint=v.includes(e.breakpoint)?!t.matches:t.matches};this.matchesBreakpoint=true;this.language=h();this.theme=undefined;this.margin="auto";this.variation="striped";this.sticky=false;this.stickyDistance="with-links";this.breakpoint="small";this.hideHeadVisually=false}t.prototype.watchLanguageStateHandler=function(t,e){var i=this;if(t!==e){setTimeout((function(){return i.copyHeadingsToCells()}),50)}};t.prototype.connectedCallback=function(){var t=this;var e=this.breakpoint==="none"||this.breakpoint==="none-scrollable"?"all":y[this.breakpoint];this.mq=matchMedia(e);this.mq.addEventListener("change",s(this.handleMediaQueryChange,50));this.handleMediaQueryChange(this.mq);this.observer=new MutationObserver((function(){return s(t.copyHeadingsToCells(),50)}));this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.componentWillLoad=function(){o(this);this.copyHeadingsToCells();if(this.sticky&&this.breakpoint==="none-scrollable"){console.warn('[DUET WARNING]: sticky and breakpoint="none-scrollable" are incompatible. Scrollable takes precedence')}if(this.sticky){var t=A[this.stickyDistance];var e=this.element.querySelectorAll(this.headingSelector);e.forEach((function(e){return e.style.top="".concat(t,"px")}))}};t.prototype.componentDidLoad=function(){this.observer?this.observer.takeRecords():null;f(this)};t.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;this.mq.removeListener(this.handleMediaQueryChange);this.mq=null;this.matchesBreakpoint=true;b(this)};t.prototype.copyHeadingsToCells=function(){var t=this.element.querySelectorAll(this.headingSelector);var e=this.element.querySelectorAll("tbody tr");var i=Array.from(t).map((function(t){return t.textContent.trim()}));e.forEach((function(t){t.querySelectorAll("td").forEach((function(t,e){if(i[e]){var a=t.querySelector(".duet-table-cell-heading");if(!a||a.textContent!==i[e]){a===null||a===void 0?void 0:a.remove();var n=document.createElement("span");n.textContent=i[e];n.classList.add("duet-table-cell-heading");n.setAttribute("aria-hidden","true");n.inert=true;t.prepend(n)}}}))}))};t.prototype.render=function(){var t;return e(n,{key:"a8ac1c5720aa3ee8771d9c04d73026825732849f",class:(t={},t["duet-table-".concat(this.variation)]=true,t["duet-table-flattened"]=!this.matchesBreakpoint,t["duet-table-sticky"]=this.matchesBreakpoint&&this.sticky,t["duet-table-scrollable"]=this.breakpoint==="none-scrollable",t["duet-m-0"]=this.margin==="none",t["duet-theme-turva"]=this.theme==="turva",t["duet-table-hide-head-visually"]=this.hideHeadVisually,t)},e("slot",{key:"7b5d417be70274833f0a5ad86a69d289cde07b3a"}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{language:["watchLanguageStateHandler"]}},enumerable:false,configurable:true});return t}());F.style=z;var M=[{type:"default",system_message:"unknown error",message:{fi:"Tapahtui tuntematon virhe, ole hyvä ja yritä uudelleen.",sv:"Ett okänt fel uppstod, försök igen.",en:"An unknown error occured, please try again."}},{type:"400",system_message:"Bad Request: The server could not understand the request due to invalid syntax.",message:{fi:"Tiedostoa ei hyväksytty.",sv:"Servern avvisade din fil.",en:"The server rejected your file."}},{type:"401",system_message:"Not Authenticated: The client must authenticate itself to get the requested response...",message:{fi:"Vain kirjautunut käyttäjä voi lähettää tiedostoja.",sv:"Du måste vara inloggad för att ladda upp filer.",en:"You need to be logged in to upload files."}},{type:"403",system_message:"No Access: The client does not have access rights to the content.",message:{fi:"Ei oikeuksia lähettää tiedostoja.",sv:"Du har inte rätt åtkomsträttigheter för att ladda upp filer.",en:"You do not have the correct access rights to upload files."}},{type:"413",system_message:"Payload too large",message:{fi:"Tiedosto oli liian vastaanotettavaksi.",sv:"Filen var för stor för servern att hantera.",en:"The file was to large for the server to handle."}},{type:"415",system_message:"Unsupported media type",message:{fi:"Tiedoston tyyppi oli väärä.",sv:"Servern avvisade filen eftersom den hade fel typ.",en:"The server rejected the file because it had the wrong type."}},{type:"429",system_message:"Too many request from same address",message:{fi:"Liian monta yritystä, ole hyvä ja yritä myöhemmin uudelleen.",sv:"Servern har fått många förfrågningar från dig, försök igen senare.",en:"The server has received to many request from you, please try again later."}},{type:"500",system_message:"Internal Server Error",message:{fi:"Palvelin ilmoitti tuntemattomasta virheestä ja lataus epäonnistui.",sv:"Servern rapporterade ett okänt fel och uppladdningen misslyckades.",en:"The server reported an unknown error and the upload failed."}},{type:"duet-upload-100",system_message:"File extension not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den type.",en:"You cannot upload files with that extension."}},{type:"duet-upload-001",system_message:"File transfer failed",message:{fi:"Tiedoston lähetys keskeytyi, ole hyvä ja yritä uudelleen.",sv:"Din anslutning till servern avbröts, försök igen.",en:"Your connection to the server was interrupted, try again."}},{type:"duet-upload-101",system_message:"File mimetype not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den typ.",en:"You cannot upload files of that type."}},{type:"duet-upload-201",system_message:"File is too large",message:{fi:"Tiedosto on liian iso.",sv:"Filen är större än tillåtet.",en:"The file is larger than permitted."}},{type:"duet-upload-202",system_message:"The combined size of all files is too large",message:{fi:"Tiedostojen yhteenlaskettu koko on liian iso.",sv:"Du har nått den maximala kombinerade filstorleken.",en:"You have reached the maximum combined filesize."}},{type:"duet-upload-203",system_message:"Files to upload exceed total byte size limit",message:{fi:"Yritit lisätä tiedostoja, jotka ylittäisivät suurimman sallitun yhteenlasketun koon.",sv:"Du försökte lägga till filer som skulle överskrida den maximala kombinerade storleken.",en:"You tried to add files that would exceed the maximum combined size."}},{type:"duet-upload-301",system_message:"The maximum file limit has been reached",message:{fi:"Liitteiden maksimimäärä saavutettu.",sv:"Maximalt antal bilagor har uppnåtts.",en:"Maximum number of attachments reached."}},{type:"duet-upload-302",system_message:"Files to upload exceeds limits",message:{fi:"Et voi lähettää enempää kuin enimmäismäärän liitteitä.",sv:"Du kan inte ladda upp fler än det maximala antalet bilagor.",en:"You can't upload more than maximum number of attachments."}}];var U={fi:"Liiteluettelo",sv:"Lista över bilagor",en:"Attachments list"};var D=function(t){var i=t.label,a=t.categoryLabel;return e("div",{class:"items-header",tabindex:"-1","aria-label":c(U)},a&&e("duet-heading",{class:"category-header",border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none","aria-hidden":"true"},c(a)),e("duet-heading",{class:{"filename-header":true,"no-category":!a},border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none","aria-hidden":"true"},c(i)))};var C=function(t,e){if(!e){return true}var i=t.split(".");var a=e.split(",");var n=i[i.length-1];return a.includes(n)};var P=function(t,e){if(!e||!t){return true}var i=e.split(",");var a=false;i.forEach((function(e){var i=e.split("/");var n=t.split("/");if(i[0]===n[0]&&(i[1]===n[1]||i[1]==="*")){a=true}}));return a};var I=function(t,e){if(!e||!t){return true}return e>=t};var O=function(t,e,i){var a=e.allowedMimetypes,n=e.allowedExtensions,r=e.maxBytes;var d=false;var o=k("default",i);if(t){var l=t.name,s=t.type,u=t.size;var h=P(s,a);var f=n==="all"||n===""||n===" "||n===undefined?true:C(l.toLowerCase(),n);var b=I(u,r);if(!h){o=k("duet-upload-101",i)}if(!f){o=k("duet-upload-100",i)}if(!b){o=k("duet-upload-201",i)}d=h&&f&&b}else{d=false}return{valid:d,errorMessage:d?undefined:c(o.message),errorSystem:d?undefined:o.system_message,errorType:d?undefined:o.type}};var W=function(t,e){var i=0;if(e){t.forEach((function(t){if(t.valid&&t.size){i+=t.size}}));if(i>=e){return true}}return false};var R=function(t,e){var i=0;if(e){t.forEach((function(t){if(t.valid){i++}}));if(i>=e){return true}}return false};var N=function(t,e,i){if(t+e>i){return true}return false};var Y=function(t,e,i){var a=0;if(i){t.forEach((function(t){if(t.valid&&t.size){a+=t.size}}));e.forEach((function(t){if(t.size){a+=t.size}}));if(a>=i){return true}}return false};var q=function(t){var e=t.payload,i=t.options,a=t.onFailure,n=t.onSuccess,r=t.onProgress;var d=i.type,o=d===void 0?"POST":d,l=i.xhr,s=i.uri,u=i.argument,h=u===void 0?null:u,f=i.headers,b=f===void 0?null:f;l.open(o,"".concat(s).concat(h||""),true);var c=e.data,p=e.name;if(b){Object.keys(b).forEach((function(t){l.setRequestHeader(t,b[t])}))}if(o==="POST"){l.onreadystatechange=function(){if(l.readyState===XMLHttpRequest.DONE&&l.status>=200&&l.status<300){n(l,p,l.status)}if(l.readyState===XMLHttpRequest.DONE&&l.status>=300&&l.status<999){a(l,p,l.status)}};r(p)}l.send(c);return l};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}::slotted([slot=header]){margin-bottom:16px}::slotted([slot=fileheader]){margin:16px 0 0 0}::slotted([slot=filefooter]){margin-top:16px}::slotted([slot=uploadfooter]){margin-top:20px}.duet-upload{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-upload-item-size{font-size:0.75rem;font-weight:400}.duet-upload-filelist{margin-bottom:25px}.duet-upload-filelist-empty{display:flex;align-items:center;justify-content:center;width:100%;height:75px;margin:0 auto;font-size:1rem;font-weight:400;background-color:rgb(245, 248, 250)}.duet-upload-filelist-empty-label{font-size:1rem;font-weight:400}.duet-upload-editable-table-header-hidden{display:none}.duet-upload-editable-table tbody .duet-upload-editable-table-data{padding:0 !important;border:0}.duet-upload-editable-table duet-editable-table tfoot,.duet-upload-editable-table duet-editable-table thead{display:none}.duet-upload-editable-table duet-editable-table .duet-editable-table-content{padding-right:0 !important;padding-left:0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td{padding:1rem 0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child{padding-right:0 !important}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending{position:relative}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress{position:absolute;bottom:0;width:100%}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button),.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button){border:0}duet-paragraph::part(duet-paragraph){word-break:break-word}duet-editable-table tfoot{display:none}.upload-bottom-caption{margin-top:12px;margin-bottom:16px;line-height:1.4rem}.items-header{display:none;flex-direction:row;margin-bottom:0}@media (min-width: 36em){.items-header{display:flex}}.items-header:not(:last-child),.items-header:not(:first-child){margin-top:12px}.items-header .category-header{width:35%}.items-header .filename-header{width:65%}.items-header .filename-header.no-category{width:100%}.upload-item-row{display:flex;flex-direction:column;gap:16px;align-content:center;align-items:center;padding:16px 0 16px 0;border-bottom:1px solid rgb(212, 223, 229)}@media (min-width: 36em){.upload-item-row{flex-direction:row;gap:10px}}.upload-item-row .item-categories{width:100%}@media (min-width: 36em){.upload-item-row .item-categories{width:35%}}.upload-item-row .item-name{position:relative;bottom:2px;width:100%;text-align:left}@media (min-width: 36em){.upload-item-row .item-name{width:50%}.upload-item-row .item-name.no-category{width:85%}}.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:block}@media (min-width: 36em){.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:none}}.upload-item-row .item-actions{width:100%;margin-left:-8px;text-align:left}@media (min-width: 36em){.upload-item-row .item-actions{width:15%;padding-top:0;margin-left:auto;text-align:right}}.upload-item-row .duet-upload-item-name duet-icon{position:relative;top:4px}.upload-item-row .duet-upload-item-name duet-progress{display:block;margin-top:16px}";var H=B;var J=t("duet_upload",function(){function t(t){var n=this;i(this,t);this.duetChange=a(this,"duetChange",3);this.duetBlur=a(this,"duetBlur",7);this.duetFocus=a(this,"duetFocus",7);this.duetReady=a(this,"duetReady",7);this.duetDone=a(this,"duetDone",3);this.duetState=a(this,"duetState",3);this.duetDelete=a(this,"duetDelete",3);this.duetCancel=a(this,"duetCancel",3);this.duetProgress=a(this,"duetProgress",3);this.duetUpload=a(this,"duetUpload",3);this.linkClick=a(this,"linkClick",3);this.buttonId=x("DuetButton");this.labelId=x("DuetLabel");this.uploadId=x("DuetUpload");this.filesInProgress=new Map;this.fileMaxReached=false;this.bytesMaxReached=false;this.filesToUploadExceedsLimit=false;this.filesToUploadTotalSizeIsAboveMax=false;this.internalStatusMessageLabel=undefined;this.itemRefs=new Map;this.DefaultGroups={inprogress:"inprogress",success:"success",pending:"pending",failure:"failure"};this.kick=s((function(){n.tick=Date.now()}),30);this.categoryLabel={en:"Category",sv:"Filtyp",fi:"Tiedostotyyppi"};this.listenForActionEvents=function(){n.element.addEventListener("duetActionEvent",(function(t){var e=t.detail;var i=e.action,a=e.id,r=e.originalEvent;switch(i){case"delete":n.onDelete(a,r);break;case"cancel":n.onCancel(a,r);break}}))};this.verifyValidity=function(){var t=n.getFilesAsArray(),e=t.invalid,i=t.valid;var a=n.valid;n.valid=e.length===0&&i.length!==0;if(n.valid!==a){n.duetState.emit({originalEvent:undefined,data:{valid:n.valid,from:"componentWillRender"},component:"duet-upload"})}};this.getGroupFromItemData=function(t){if(t.valid&&t.progress===100){return n.DefaultGroups.success}else if(t.progress>0&&t.progress!==100){return n.DefaultGroups.inprogress}else if(!t.valid){return n.DefaultGroups.failure}else if(t.pending){return n.DefaultGroups.pending}else if(t.group){return t.group}else{return"none"}};this.mapFilesToUploadItems=function(t,i,a,r){if(i===n.DefaultGroups.success){return e("duet-upload-item",{theme:n.theme,actions:n.getActions(i,r),type:"success",data:t,showLinks:n.showLinks,linkClickEvent:n.emitEvent?n.linkClick:undefined,categoryLabel:n.categoryLabel,label:n.uploadedItemsHeaderLabel,showCategory:a,buttonTitles:n.processedButtonTitles,ref:function(e){n.itemRefs.set(t.uid,e)}})}else if(i===n.DefaultGroups.inprogress){return e("duet-upload-item",{theme:n.theme,actions:n.getActions(i,r),type:"inprogress",data:t,showLinks:n.showLinks,categoryLabel:n.categoryLabel,label:n.uploadedItemsHeaderLabel,showCategory:a,buttonTitles:n.processedButtonTitles,ref:function(e){n.itemRefs.set(t.uid,e)}})}else if(i===n.DefaultGroups.pending){return e("duet-upload-item",{theme:n.theme,actions:n.getActions(i,r),type:"pending",data:t,showLinks:n.showLinks,categoryLabel:n.categoryLabel,label:n.uploadedItemsHeaderLabel,showCategory:a,buttonTitles:n.processedButtonTitles,ref:function(e){n.itemRefs.set(t.uid,e)}})}else if(i===n.DefaultGroups.failure){return e("duet-upload-item",{theme:n.theme,actions:n.getActions(i,r),type:"failure",data:t,showLinks:n.showLinks,errorCodes:n.errorCodes,categoryLabel:n.categoryLabel,label:n.uploadedItemsHeaderLabel,showCategory:a,buttonTitles:n.processedButtonTitles,ref:function(e){n.itemRefs.set(t.uid,e)}})}else if(t.group){return t.html}else{return"none"}};this.genHashName=function(){return Date.now().toString(36)+Math.random()};this.updateValueInMap=function(t,e,i,a){if(a===void 0){a=true}try{var r=n.files.get(t);r[e]=i;n.files.set(t,r);if(n.external&&e!=="url"){n.trackProgress(t,e==="uploaded")}}catch(t){}if(a){n.kick()}};this.updateProgress=function(t,e){var i=function(i){n.updateValueInMap(e,"progress",i);n.onProgress(e,i,t)};if(t.lengthComputable){var a=t.loaded/t.total*100;i(a)}else{console.log("cant read progress")}};this.trackProgress=function(t,e){if(e===void 0){e=false}if(e){n.filesInProgress.delete(t)}else{n.filesInProgress.set(t,"inprogress")}if(n.filesInProgress.size===0){n.onDone()}};this.getFilesAsArray=function(){var t=[];var e=[];n.files.forEach((function(i){if(i.valid&&!i.deleted){t.push(i)}else if(!i.valid&&!i.deleted){e.push(i)}}));return{valid:t,invalid:e}};this.resetFormFields=function(){n.nativeInput.value=""};this.startUpload=function(t){var e=[];for(var i=1;i<arguments.length;i++){e[i-1]=arguments[i]}return __awaiter(n,__spreadArray([t],e,true),void 0,(function(t,e){var i,a,n;if(e===void 0){e=undefined}return __generator(this,(function(r){i=this.validateTotals(),a=i.bytesMaxReached,n=i.fileMaxReached;if(a||n){this.kick();return[2]}this.metaData=e;this.nativeInput.click();this.onUpload(t,e);t.stopPropagation();t.preventDefault();return[2]}))}))};this.transferComplete=function(t){n.updateValueInMap(t,"progress",100,false);n.trackProgress(t,true)};this.transferDone=function(t,e,i){n.updateValueInMap(e,"status",i,false);n.updateValueInMap(e,"uploaded",true,false);try{var a=JSON.parse(t.response);n.updateValueInMap(e,"url",a.url)}catch(t){n.updateValueInMap(e,"url",null);console.error("Server did not respond with expected response {url: string}")}return};this.transferDoneWithFailure=function(t,e,i){try{var a=JSON.parse(t.response).error;n.updateValueInMap(e,"error",{message:a.message,type:a.type},false)}catch(t){console.error("Server did not respond with expected response error:{message: string, type: int}");n.updateValueInMap(e,"error",{type:i},false)}n.updateValueInMap(e,"valid",false,true)};this.transferFailed=function(t){n.updateValueInMap(t,"error",_("duet-upload-001",n.errorCodes))};this.transferCanceled=function(t){n.files.delete(t);n.validateTotals(t);n.kick()};this.validateTotals=function(t){var e=W(n.files,n.maxBytesTotal);var i=R(n.files,n.maxFiles);if(e&&t){n.updateValueInMap(t,"error",_("duet-upload-202",n.errorCodes),false)}if(i&&t){n.updateValueInMap(t,"error",_("duet-upload-301",n.errorCodes),false)}n.bytesMaxReached=e;n.fileMaxReached=i;return{bytesMaxReached:e,fileMaxReached:i}};this.uploadFile=function(t){var e=[];for(var i=1;i<arguments.length;i++){e[i-1]=arguments[i]}return __awaiter(n,__spreadArray([t],e,true),void 0,(function(t,e,i){var a,n,r;if(e===void 0){e=false}return __generator(this,(function(d){switch(d.label){case 0:if(!e&&this.deferUpload){this.updateValueInMap(t.item.name,"pending",true,false);this.updateValueInMap(t.item.name,"group","pending",true)}else if(e){this.updateValueInMap(t.item.name,"pending",false,false);this.updateValueInMap(t.item.name,"group",undefined,true)}d.label=1;case 1:d.trys.push([1,4,,5]);if(!(!this.deferUpload||e))return[3,3];a=new FormData;a.append("file",t.item);if(i){a.append("key",i)}a.append("uid",t.uid);a.append("name",t.item.name);a.append("metadata",JSON.stringify({uid:t.uid,url:this.uri,size:t.item.size,meta:t.meta}));n=t;return[4,this.makeXHRPostRequest(a)];case 2:n.xhr=d.sent();d.label=3;case 3:return[3,5];case 4:r=d.sent();this.updateValueInMap(t.item.name,"valid",false,false);return[3,5];case 5:return[2]}}))}))};this.uploadPendingFiles=function(){for(var t=0,e=Array.from(n.files.entries());t<e.length;t++){var i=e[t],a=i[0],r=i[1];if(r.group==="pending"&&r.pending===true){n.uploadFile(r,true,a)}}};this.getItemFromUID=function(t){for(var e=0,i=Array.from(n.files.entries());e<i.length;e++){var a=i[e],r=a[0],d=a[1];if(d.uid===t){return{value:d,key:r}}}return null};this.handleExternalUploadButton=function(t,e){if(n.externalUploadButton){if(t||e){n.externalUploadButton.disabled=true}else{n.externalUploadButton.disabled=false}}};this.onDelete=function(t,e){var i=n.getItemFromUID(t);var a=i.key;var r=n.files.get(a);n.files.delete(a);var d=n.validateTotals(),o=d.bytesMaxReached,l=d.fileMaxReached;n.handleExternalUploadButton(o,l);n.kick();n.duetDelete.emit({originalEvent:e,data:{deletion:r},component:"duet-upload"});if(!n.external&&!r.pending){n.makeXHRDeleteRequest(r)}n.resetFormFields()};this.onCancel=function(t,e){var i=n.getItemFromUID(t).key;var a=n.files.get(i);n.files.delete(i);var r=n.validateTotals(),d=r.bytesMaxReached,o=r.fileMaxReached;n.handleExternalUploadButton(d,o);if(!n.external){var l=a.xhr;if(l){l.abort()}}n.kick();n.resetFormFields();n.duetCancel.emit({originalEvent:e,data:{cancelled:a},component:"duet-upload"})};this.onUpload=function(t,e){n.duetUpload.emit({originalEvent:t,metaData:e,component:"duet-upload"})};this.onBlur=function(t){n.duetBlur.emit({originalEvent:t,component:"duet-upload"})};this.onProgress=function(t,e,i){n.duetChange.emit({originalEvent:i,data:{key:t,percentComplete:e},component:"duet-upload"})};this.onFocus=function(t){n.duetFocus.emit({originalEvent:t,component:"duet-upload"})};this.onReady=function(){n.duetReady.emit({component:"duet-upload"})};this.onDone=function(){n.duetDone.emit({component:"duet-upload",data:{files:n.files}})};this.filterMap=function(){var t=Array.from(n.files.values());var e=[];var i=[];var a=[];var r=[];var d=false;t.forEach((function(t){var o=n.getGroupFromItemData(t);if(t.meta&&!!t.meta.badges){d=true}if(o===n.DefaultGroups.success){r.push({uid:t.uid,data:t})}else if(o===n.DefaultGroups.inprogress){e.push({uid:t.uid,data:t})}else if(o===n.DefaultGroups.pending){a.push({uid:t.uid,data:t})}else if(o===n.DefaultGroups.failure){i.push({uid:t.uid,data:t})}else if(t.group){e.push({uid:t.uid,data:t})}}));return{pending:a,failure:i,success:r,inprogress:e,hasCategory:d}};this.getActions=function(t,e){return e.filter((function(e){return e.map.includes(t)}))};this.renderUploadedItems=function(){n.itemRefs.clear();var t=n.filterMap();var i=t.hasCategory;var a=n.hideCancelButton?n.actions.filter((function(t){return t.name!=="cancel"})):n.actions;var r=n.groups.map((function(r){var o=t[r.id];if(!(o===null||o===void 0?void 0:o.length)){return}return e(d,null,!n.hideGroups&&e(D,{categoryLabel:i?n.categoryLabel:undefined,label:r.label}),o.map((function(t){return n.mapFilesToUploadItems(t.data,r.id,i,a)})))}));return e(d,null,n.showUploadedItemsHeader&&e(D,{categoryLabel:i?n.categoryLabel:undefined,label:n.uploadedItemsHeaderLabel}),r)};this.tick=Date.now();this.accessibleActiveDescendant=undefined;this.accessibleDescribedBy=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.external=false;this.middleware=null;this.deferUpload=false;this.hideButton=false;this.actions=[{icon:"action-delete",color:"color-danger",size:"x-small",background:"gray-lightest",name:"delete",map:["success","failure"],label:{fi:"Poista tiedosto",en:"Delete the file",sv:"Ta bort filen"}},{icon:"navigation-close",color:"primary",size:"x-small",background:"gray-lightest",name:"cancel",map:["inprogress","pending"],label:{fi:"Keskeytä lähetys",en:"Cancel the upload",sv:"Stop överföringen"}}];this.uri=undefined;this.showLinks=false;this.caption=undefined;this.statusLabelDefaults={fi:{inProgress:"Lähetetään {filesUploaded}, yhteensä lähetettävänä {filesTotal}.",inProgressWithErrors:"Lähetetään {filesInProgress}, lähetetty {filesUploaded}, yhteensä lähetettävänä {filesTotal}, {filesWithErrors} epäonnistui",done:"Lähetys valmis, {filesTotal} lisätty onnistuneesti",doneWithErrors:"Lähetys valmis, {filesUploaded} lisätty onnistuneesti, {filesWithErrors} epäonnistui",files:"tiedostoa",file:"tiedosto"},sv:{inProgress:"Laddar upp {filesUploaded} av {filesTotal}",inProgressWithErrors:"Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",done:"Uppladdningen slutförd, {filesTotal} har lagts till",doneWithErrors:"Uppladdningen slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",files:"filer",file:"fil"},en:{inProgress:"Uploading {filesUploaded} of {filesTotal}",inProgressWithErrors:"Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",done:"Upload completed, {filesTotal} added successfully",doneWithErrors:"Upload completed, {filesUploaded} added successfully, {filesWithErrors} failed.",files:"files",file:"file"}};this.statusMessageLabel=c(this.statusLabelDefaults);this.buttonLabelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add an attachment"};this.buttonLabel=c(this.buttonLabelDefaults);this.accessibleButtonLabel=undefined;this.theme="";this.disabled=false;this.identifier=undefined;this.margin="auto";this.required=false;this.alignment="middle";this.hideGroups=false;this.files=new Map;this.valid=!this.required;this.labelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add attachments"};this.label=c(this.labelDefaults);this.descriptionDefaults={en:"You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",sv:"Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",fi:"Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena."};this.description=c(this.descriptionDefaults);this.fileListEmptyDefaults={fi:"Ei vielä lisättyjä tiedostoja.",sv:"Inga filer har lagts till ännu.",en:"No files added yet."};this.fileListEmpty=c(this.fileListEmptyDefaults);this.error="";this.errorCodes=M;this.name=undefined;this.maxBytes=2e8;this.maxBytesTotal=undefined;this.maxFiles=99;this.allowedExtensions="all";this.allowedMimetypes="";this.multiple=true;this.limitSelection=false;this.hideCancelButton=false;this.value=undefined;this.externalUploadButtonId=undefined;this.captionOnBottom=false;this.showUploadedItemsHeader=false;this.uploadedItemsHeaderLabel={fi:"Ladattu tiedosto",sv:"Lägg till en bilaga",en:"Uploaded file"};this.headerHeadingLevel="h3";this.hideHeader=false;this.emitEvent=false;this.actionButtonTitles={cancel:false,delete:false};this.renameDuplicates=false;this.groups=[{id:this.DefaultGroups.success,label:{fi:"Valmiit tiedostot",sv:"Files success",en:"Files success"}},{id:this.DefaultGroups.failure,label:{fi:"Tiedostot, joissa on virheitä",sv:"Filer med fel",en:"Files with errors"}},{id:this.DefaultGroups.inprogress,label:{fi:"Kesken olevat tiedostot",sv:"Filer inprogress",en:"Files inprogress"}},{id:this.DefaultGroups.pending,label:{en:"Files to upload",sv:"Filer att ladda",fi:"Ladattavat tiedostot"}}]}t.prototype.watchValidHandler=function(t,e){if(t!==e){this.kick()}};t.prototype.componentWillLoad=function(){if(typeof this.statusMessageLabel==="string"){this.internalStatusMessageLabel=p(this.groups)}else{this.internalStatusMessageLabel=this.statusMessageLabel}o(this);this.listenForActionEvents();this.onReady();this.externalUploadButton=document.querySelector("#".concat(this.externalUploadButtonId));this.processedButtonTitles=w(this.actionButtonTitles)};t.prototype.componentWillRender=function(){this.verifyValidity()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeInput){this.nativeInput.focus(t)}return[2]}))}))};t.prototype.upload=function(){return __awaiter(this,arguments,void 0,(function(t){var e,i,a;if(t===void 0){t=undefined}return __generator(this,(function(n){e=this.validateTotals(),i=e.bytesMaxReached,a=e.fileMaxReached;if(i||a){this.handleExternalUploadButton(i,a);this.kick();return[2]}this.metaData=t;this.nativeInput.click();return[2]}))}))};t.prototype.uploadPending=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.uploadPendingFiles();return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.kick();return[4,this.setFocus()];case 1:t.sent();return[2]}}))}))};t.prototype.getFiles=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.files||this.files.size===0){return[2,false]}return[2,this.getFilesAsArray()]}))}))};t.prototype.updateValue=function(t,e,i){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.updateValueInMap(t,e,i);return[2]}))}))};t.prototype.focusActionButton=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){switch(i.label){case 0:return[4,(e=this.itemRefs.get(t))===null||e===void 0?void 0:e.focusActionButton()];case 1:i.sent();return[2]}}))}))};t.prototype.render=function(){var t=this;var i=this.identifier||this.uploadId;var a=Math.round((this.maxBytesTotal?this.maxBytesTotal:this.maxBytes*this.maxFiles)/1024/1024);var r=Math.round(this.maxBytes/1024/1024);var o=this.description.replace(/{maxfiles}/g,this.maxFiles.toString());o=o.replace(/{maxbytes}/g,"".concat(r.toString()," MB"));o=o.replace(/{maxbytestotal}/g,"".concat(a.toString()," MB"));o=o.replace(/{filetypes}/g,this.allowedExtensions.split(",").join(", "));if(this.externalUploadButton){this.externalUploadButton.accessibleLabel="".concat(this.externalUploadButton.innerText,". ").concat(o)}return e(n,{key:"1cf963112372b0839905ebd303f16cfae5aa5917",class:{"duet-m-0":this.margin==="none"}},e("duet-fieldset",{key:"35564b78c8b82f58b93f9a7460399f57967e19bf","label-heading-level":this.headerHeadingLevel,"label-hidden":this.hideHeader,label:this.label},e("slot",{key:"faf369cde5952486b48923f2c913e4c049d156f6",name:"header"}),!this.files.size&&e("duet-empty-state",{key:"e472abcf75d492b1c4cb7a9b59cbe67b23d318f6",id:this.labelId,part:this.identifier?"".concat(this.identifier,"-empty-state"):"duet-upload-empty-state",icon:"messaging-attachment"},e("duet-paragraph",{key:"421fac3a1916616bb493ba375f9b3d23e2a61fd0",margin:"none"},this.fileListEmpty)),!!this.files.size&&e("slot",{key:"18b91ef0ca261cb796b9a03f2409c7172da19a82",name:"fileheader"}),!!this.files.size&&e("duet-upload-aria-status",{key:"080c19a8966ab4943ef3ed1698b475ecc44c346e",invalid:this.getFilesAsArray().invalid.length,valid:this.getFilesAsArray().valid.length,inprogress:this.filesInProgress.size,total:this.files.size,statusMessageLabel:this.internalStatusMessageLabel}),!!this.files.size&&this.renderUploadedItems(),!!this.files.size&&e("slot",{key:"7c1f27c8b8536a6112d6a1746812b80b672fbd96",name:"filefooter"}),e("slot",{key:"d5889f6e90bc40cc6031cbfb99c3f28e80fced37",name:"uploadfooter"}),this.captionOnBottom&&e("duet-caption",{key:"b4c43409de0dbfe70dd43939dea8c733493348cf",margin:"none",size:"small"},e("div",{key:"f5c70becb6e99a87a9059885ca2bfc3748e0df10",class:"upload-bottom-caption"},o)),e("slot",{key:"01adfecfb33b057497a73c43c2c7caaab1c4a9e2",name:"afterfooter"}),!this.hideButton&&e(d,{key:"601403192ed82f9b3508e62ab701daab90c313d2"},e("duet-spacer",{key:"b387500c9d551a371d1c2e01a5ccfdeb130826e8",size:"large"}),e("duet-button",{key:"681d70016955aeaaf21fbea4edf92fd7c28ccec0",id:this.buttonId,onClick:this.startUpload,"accessible-controls":i,disabled:this.fileMaxReached,"accessible-label":this.accessibleButtonLabel||"".concat(this.buttonLabel,". ").concat(o),"accessible-owns":i,size:"small",variation:"secondary",fixed:true,icon:"action-add-circle",part:this.identifier?"".concat(this.identifier,"-button-upload"):"duet-upload-button-upload"},this.buttonLabel)),(this.fileMaxReached||this.bytesMaxReached||this.filesToUploadExceedsLimit||this.filesToUploadTotalSizeIsAboveMax)&&e(d,{key:"0d1fa3fccf78c8af90c14195219c988a5d53b161"},e("duet-spacer",{key:"7602cb47424ab7b5ed19654956b4235691e97f91",size:"medium"}),e("duet-alert",{key:"54a5be1c79fc490445d3f9fb36efa0c113d619d0",part:this.identifier?"".concat(this.identifier,"-error-notification"):"duet-upload-error-notification"},this.fileMaxReached&&_("duet-upload-301",this.errorCodes),this.bytesMaxReached&&_("duet-upload-202",this.errorCodes),this.filesToUploadExceedsLimit&&_("duet-upload-302",this.errorCodes),this.filesToUploadTotalSizeIsAboveMax&&_("duet-upload-203",this.errorCodes))),e("duet-visually-hidden",{key:"78a670de5fef020407da2b18bd07d6b056c818ed","aria-hidden":"true"},e("input",{key:"04ce3da566f26a64f42a30eba51914031ad1dcc9",ref:function(e){t.nativeInput=e},accept:!this.limitSelection?undefined:"".concat(this.allowedMimetypes,",").concat(this.allowedExtensions),onBlur:this.onBlur,onFocus:this.onFocus,onChange:function(e){return t.onChange(e)},type:"file",class:{"duet-upload":true},disabled:this.disabled,"aria-hidden":"true",required:this.required,name:this.name,id:this.identifier,multiple:this.multiple,tabIndex:-1}))))};t.prototype.makeXHRPostRequest=function(t){var e=this;var i=new XMLHttpRequest;var a=t.get("name");i.upload.addEventListener("progress",(function(t){e.updateProgress(t,a)}));i.upload.addEventListener("load",(function(){e.transferComplete(a)}));i.upload.addEventListener("error",(function(){e.transferFailed(a)}));i.upload.addEventListener("abort",(function(){e.transferCanceled(a)}));var n={payload:{data:t,name:a},options:{type:"POST",uri:this.uri,xhr:i,argument:null,headers:undefined},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};if(this.middleware){n=this.middleware(n)}return q(n)};t.prototype.makeXHRDeleteRequest=function(t){var e=t.uid,i=t.item;var a=new XMLHttpRequest;var n={"x-fileuid":e,"x-filename":i.name};var r={payload:{data:null,name:name},options:{type:"DELETE",xhr:a,uri:this.uri,argument:"?key=".concat(e,"&name=").concat(i.name),headers:n},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};if(this.middleware){r=this.middleware(r)}return q(r)};t.prototype.escapeSpecialCharacters=function(t){return(t+"").replace(/[\\"'(){}\[\]*?$^+]/g,"\\$&").replace(/\u0000/g,"\\0")};t.prototype.getRenamedFileName=function(t,e){var i=new RegExp("".concat(this.escapeSpecialCharacters(t)," \\(\\d+\\).").concat(e));var a=Array.from(this.files.entries()).map((function(t){var e=t[0],i=t[1];return e})).filter((function(a){return i.test(a)||a==="".concat(t,".").concat(e)})).sort((function(t,e){return t.split(".").slice(0,-1).join(".")>e.split(".").slice(0,-1).join(".")?1:-1})).pop().split(".").slice(0,-1).join(".");if(a===t){return"".concat(t," (1).").concat(e)}var n=parseInt(a.split("(").pop().slice(0,-1));return"".concat(t," (").concat(n+1,").").concat(e)};t.prototype.renameFiles=function(t){var e=this;return t.map((function(t){if(e.files.get(t.name)){var i=t.name.split(".");var a=i.pop();var n=i.join(".");var r=e.getRenamedFileName(n,a);return new File([t],r,{type:t.type,lastModified:t.lastModified})}else{return t}}))};t.prototype.onChange=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i,a,n,r,d,o,l,s,u,h,f;return __generator(this,(function(b){switch(b.label){case 0:i=Array.from((e=this.nativeInput)===null||e===void 0?void 0:e.files);this.filesToUploadExceedsLimit=false;if(N(this.files.size,i.length,this.maxFiles)){this.filesToUploadExceedsLimit=true;this.kick();return[2]}this.filesToUploadTotalSizeIsAboveMax=false;if(Y(this.files,i,this.maxBytesTotal)){this.filesToUploadTotalSizeIsAboveMax=true;this.kick();return[2]}if(!i)return[3,6];if(this.renameDuplicates){i=this.renameFiles(i)}a=0,n=i;b.label=1;case 1:if(!(a<n.length))return[3,6];r=n[a];d=O(r,{maxBytes:this.maxBytes,allowedExtensions:this.allowedExtensions,allowedMimetypes:this.allowedMimetypes},this.errorCodes),o=d.valid,l=d.errorMessage,s=d.errorType,u=d.errorSystem;h=this.genHashName();f={uid:h,item:r,size:r.size,meta:this.metaData,uploaded:false,valid:o,error:{type:o?undefined:s,message:o?undefined:l,system_message:o?undefined:u},progress:0,deleted:false,xhr:false,url:false};this.files.set(r.name,f);if(!(o&&!this.external))return[3,3];return[4,this.uploadFile(f)];case 2:b.sent();return[3,4];case 3:if(o&&this.external){this.updateValueInMap(f.item.name,"pending",true,false);this.updateValueInMap(f.item.name,"group","pending",true)}else if(!o){this.updateValueInMap(r.name,"valid",false,true)}b.label=4;case 4:this.kick();b.label=5;case 5:a++;return[3,1];case 6:this.resetFormFields();this.metaData=undefined;this.duetChange.emit({originalEvent:t,data:{files:this.files},component:"duet-upload"});return[2]}}))}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{valid:["watchValidHandler"]}},enumerable:false,configurable:true});return t}());J.style=H}}}));