@duetds/components 8.6.8 → 8.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (959) hide show
  1. package/hydrate/index.d.ts +30 -12
  2. package/hydrate/index.js +33069 -23517
  3. package/lib/cjs/{app-globals-aece069f.js → app-globals-44f2c7a3.js} +2 -0
  4. package/lib/cjs/duet-action-button.cjs.entry.js +5 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +10 -9
  6. package/lib/cjs/duet-badge.cjs.entry.js +5 -4
  7. package/lib/cjs/duet-banner.cjs.entry.js +6 -5
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +8 -7
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -5
  10. package/lib/cjs/duet-button_2.cjs.entry.js +13 -11
  11. package/lib/cjs/duet-callout.cjs.entry.js +6 -5
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +18 -14
  13. package/lib/cjs/duet-card.cjs.entry.js +6 -5
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -2
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +5 -4
  16. package/lib/cjs/duet-chip.cjs.entry.js +4 -3
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +7 -5
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +6 -5
  19. package/lib/cjs/duet-combobox.cjs.entry.js +5 -4
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +6 -5
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -3
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -5
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +7 -5
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +13 -10
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +5 -4
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +7 -6
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +4 -3
  28. package/lib/cjs/duet-footer.cjs.entry.js +9 -8
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +5 -3
  30. package/lib/cjs/duet-header_2.cjs.entry.js +7 -5
  31. package/lib/cjs/duet-hero.cjs.entry.js +10 -9
  32. package/lib/cjs/duet-icon.cjs.entry.js +6 -5
  33. package/lib/cjs/duet-input_2.cjs.entry.js +7 -5
  34. package/lib/cjs/duet-layout.cjs.entry.js +8 -7
  35. package/lib/cjs/duet-list_2.cjs.entry.js +8 -6
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -4
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -4
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -6
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -4
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -4
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +5 -4
  42. package/lib/cjs/duet-modal.cjs.entry.js +17 -14
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +11 -10
  44. package/lib/cjs/duet-nav.cjs.entry.js +4 -3
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +10 -8
  46. package/lib/cjs/duet-number-input.cjs.entry.js +5 -4
  47. package/lib/cjs/duet-overlay.cjs.entry.js +4 -3
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +5 -4
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +19 -17
  50. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +4 -3
  51. package/lib/cjs/duet-popup-menu.cjs.entry.js +5 -4
  52. package/lib/cjs/duet-progress.cjs.entry.js +4 -3
  53. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -5
  54. package/lib/cjs/duet-radio_2.cjs.entry.js +6 -4
  55. package/lib/cjs/duet-range-slider.cjs.entry.js +3 -2
  56. package/lib/cjs/duet-scrollable_3.cjs.entry.js +44 -23
  57. package/lib/cjs/duet-section-layout.cjs.entry.js +6 -5
  58. package/lib/cjs/duet-select.cjs.entry.js +4 -3
  59. package/lib/cjs/duet-shaped-image.cjs.entry.js +5 -4
  60. package/lib/cjs/duet-show-more.cjs.entry.js +6 -5
  61. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -4
  62. package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -4
  63. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -6
  64. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -11
  65. package/lib/cjs/duet-slideout.cjs.entry.js +10 -9
  66. package/lib/cjs/duet-step_2.cjs.entry.js +6 -4
  67. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -4
  68. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -6
  69. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -3
  70. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -3
  71. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -6
  72. package/lib/cjs/duet-textarea.cjs.entry.js +4 -3
  73. package/lib/cjs/duet-toggle.cjs.entry.js +3 -2
  74. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -4
  75. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -6
  76. package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -4
  77. package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -4
  78. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -3
  79. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -8
  80. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -3
  81. package/lib/cjs/duet-tray.cjs.entry.js +6 -5
  82. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  83. package/lib/cjs/duet-upload-item.cjs.entry.js +7 -6
  84. package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -3
  85. package/lib/cjs/duet.cjs.js +15 -15
  86. package/lib/cjs/{errorcodes.utils-a86b1f94.js → errorcodes.utils-d9f472df.js} +1 -1
  87. package/lib/cjs/{focus-utils-f04d6c12.js → focus-utils-2de8d5de.js} +1 -1
  88. package/lib/cjs/index-7efe7e19.js +1996 -0
  89. package/lib/cjs/{language-utils-e8a527e5.js → language-utils-1ed4b266.js} +1 -0
  90. package/lib/cjs/loader.cjs.js +4 -4
  91. package/lib/cjs/{slot-utils-03a40c78.js → slot-utils-0664e341.js} +2 -0
  92. package/lib/collection/collection-manifest.json +2 -2
  93. package/lib/collection/components/duet-action-button/duet-action-button.js +1 -1
  94. package/lib/collection/components/duet-alert/duet-alert.js +5 -5
  95. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  96. package/lib/collection/components/duet-banner/duet-banner.js +2 -2
  97. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  98. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  99. package/lib/collection/components/duet-button/duet-button.js +5 -5
  100. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  101. package/lib/collection/components/duet-caption/duet-caption.js +2 -2
  102. package/lib/collection/components/duet-card/duet-card.js +3 -3
  103. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  104. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  105. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  106. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  107. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  108. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  109. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  110. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  111. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  112. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  113. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  114. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  115. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  116. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  117. package/lib/collection/components/duet-link/duet-link.js +2 -2
  118. package/lib/collection/components/duet-list/duet-list.js +1 -1
  119. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  120. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  121. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  122. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  123. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  124. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  125. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  126. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  127. package/lib/collection/components/duet-modal/duet-modal.css +6 -0
  128. package/lib/collection/components/duet-modal/duet-modal.js +10 -8
  129. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  130. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  131. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  132. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  133. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  134. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  135. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  136. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  137. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  138. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +1 -1
  139. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  140. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  141. package/lib/collection/components/duet-scrollable/duet-scrollable.css +39 -9
  142. package/lib/collection/components/duet-scrollable/duet-scrollable.js +29 -11
  143. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  144. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  145. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  146. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  147. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  148. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  149. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  150. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  151. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  152. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  153. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  154. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +4 -4
  155. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  156. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  157. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  158. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  159. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  160. package/lib/collection/components/duet-table/duet-table.js +2 -2
  161. package/lib/collection/components/duet-toolbar/duet-toolbar.js +1 -1
  162. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  163. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  164. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +2 -2
  165. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  166. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  167. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  168. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  169. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  170. package/lib/collection/components/duet-upload/mock.helpers.js +6 -4
  171. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  172. package/lib/collection/components/duet-upload-item/duet-upload-item.js +3 -3
  173. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  174. package/lib/collection/utils/axe-core-utils.js +12 -4
  175. package/lib/collection/utils/test-utils.js +82 -32
  176. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  177. package/lib/dist-custom-elements/duet-alert.js +1 -1
  178. package/lib/dist-custom-elements/duet-badge.js +1 -1
  179. package/lib/dist-custom-elements/duet-banner.js +9 -8
  180. package/lib/dist-custom-elements/duet-breadcrumb.js +10 -9
  181. package/lib/dist-custom-elements/duet-breadcrumbs.js +6 -5
  182. package/lib/dist-custom-elements/duet-button.js +1 -1
  183. package/lib/dist-custom-elements/duet-callout.js +7 -6
  184. package/lib/dist-custom-elements/duet-caption.js +1 -1
  185. package/lib/dist-custom-elements/duet-card.js +8 -7
  186. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  187. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  188. package/lib/dist-custom-elements/duet-chip.js +1 -1
  189. package/lib/dist-custom-elements/duet-choice-group.js +11 -10
  190. package/lib/dist-custom-elements/duet-choice.js +8 -7
  191. package/lib/dist-custom-elements/duet-collapsible.js +7 -6
  192. package/lib/dist-custom-elements/duet-combobox.js +17 -16
  193. package/lib/dist-custom-elements/duet-contact-card.js +13 -12
  194. package/lib/dist-custom-elements/duet-cookie-consent.js +9 -8
  195. package/lib/dist-custom-elements/duet-date-picker.js +19 -18
  196. package/lib/dist-custom-elements/duet-divider.js +1 -1
  197. package/lib/dist-custom-elements/duet-editable-table.js +11 -10
  198. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  199. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  200. package/lib/dist-custom-elements/duet-file-chooser.js +5 -4
  201. package/lib/dist-custom-elements/duet-footer.js +15 -14
  202. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  203. package/lib/dist-custom-elements/duet-grid.js +1 -1
  204. package/lib/dist-custom-elements/duet-header.js +12 -11
  205. package/lib/dist-custom-elements/duet-heading.js +1 -1
  206. package/lib/dist-custom-elements/duet-hero.js +18 -17
  207. package/lib/dist-custom-elements/duet-icon.js +1 -1
  208. package/lib/dist-custom-elements/duet-input.js +1 -1
  209. package/lib/dist-custom-elements/duet-label.js +1 -1
  210. package/lib/dist-custom-elements/duet-layout.js +8 -7
  211. package/lib/dist-custom-elements/duet-link.js +1 -1
  212. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  213. package/lib/dist-custom-elements/duet-list.js +1 -1
  214. package/lib/dist-custom-elements/duet-logo.js +1 -1
  215. package/lib/dist-custom-elements/duet-menu-bar-button.js +6 -5
  216. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -5
  217. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +8 -7
  218. package/lib/dist-custom-elements/duet-menu-bar-item.js +6 -5
  219. package/lib/dist-custom-elements/duet-menu-bar-link.js +6 -5
  220. package/lib/dist-custom-elements/duet-menu-bar.js +6 -5
  221. package/lib/dist-custom-elements/duet-modal.js +24 -21
  222. package/lib/dist-custom-elements/duet-multiselect.js +19 -18
  223. package/lib/dist-custom-elements/duet-nav.js +4 -3
  224. package/lib/dist-custom-elements/duet-notification-drawer.js +9 -8
  225. package/lib/dist-custom-elements/duet-notification.js +7 -6
  226. package/lib/dist-custom-elements/duet-number-input.js +15 -14
  227. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  228. package/lib/dist-custom-elements/duet-page-heading.js +6 -5
  229. package/lib/dist-custom-elements/duet-pagination.js +27 -26
  230. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  231. package/lib/dist-custom-elements/duet-popup-menu-item.js +5 -4
  232. package/lib/dist-custom-elements/duet-popup-menu.js +6 -5
  233. package/lib/dist-custom-elements/duet-progress.js +1 -1
  234. package/lib/dist-custom-elements/duet-promo-card.js +8 -7
  235. package/lib/dist-custom-elements/duet-radio-group.js +11 -10
  236. package/lib/dist-custom-elements/duet-radio.js +3 -2
  237. package/lib/dist-custom-elements/duet-range-slider.js +4 -3
  238. package/lib/dist-custom-elements/duet-range-stepper.js +9 -8
  239. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  240. package/lib/dist-custom-elements/duet-section-layout.js +6 -5
  241. package/lib/dist-custom-elements/duet-select.js +1 -1
  242. package/lib/dist-custom-elements/duet-shaped-image.js +5 -4
  243. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  244. package/lib/dist-custom-elements/duet-slideout-lang.js +6 -5
  245. package/lib/dist-custom-elements/duet-slideout-link.js +6 -5
  246. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -7
  247. package/lib/dist-custom-elements/duet-slideout-panel.js +13 -12
  248. package/lib/dist-custom-elements/duet-slideout.js +12 -11
  249. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  250. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  251. package/lib/dist-custom-elements/duet-step.js +6 -5
  252. package/lib/dist-custom-elements/duet-stepper.js +5 -4
  253. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -5
  254. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -7
  255. package/lib/dist-custom-elements/duet-submenu-bar-item.js +5 -4
  256. package/lib/dist-custom-elements/duet-submenu-bar-link.js +5 -4
  257. package/lib/dist-custom-elements/duet-submenu-bar.js +9 -8
  258. package/lib/dist-custom-elements/duet-tab-group.js +21 -20
  259. package/lib/dist-custom-elements/duet-tab.js +4 -3
  260. package/lib/dist-custom-elements/duet-table.js +1 -1
  261. package/lib/dist-custom-elements/duet-textarea.js +13 -12
  262. package/lib/dist-custom-elements/duet-toggle.js +4 -3
  263. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -5
  264. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +8 -7
  265. package/lib/dist-custom-elements/duet-toolbar-item.js +6 -5
  266. package/lib/dist-custom-elements/duet-toolbar-link.js +6 -5
  267. package/lib/dist-custom-elements/duet-toolbar.js +4 -3
  268. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  269. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  270. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  271. package/lib/dist-custom-elements/duet-tray.js +8 -7
  272. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  273. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  274. package/lib/dist-custom-elements/duet-upload.js +25 -24
  275. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  276. package/lib/dist-custom-elements/index.js +2 -1
  277. package/lib/dist-custom-elements/{p-5d1b1309.js → p-00eccbc8.js} +5 -4
  278. package/lib/dist-custom-elements/{p-dcbd3217.js → p-0231ea20.js} +5 -4
  279. package/lib/dist-custom-elements/{p-2f74a80b.js → p-02911244.js} +3 -3
  280. package/lib/dist-custom-elements/{p-f010dbb0.js → p-03c64124.js} +5 -4
  281. package/lib/dist-custom-elements/{p-184196bf.js → p-12a09bbc.js} +5 -4
  282. package/lib/dist-custom-elements/{p-8806e54e.js → p-151934ce.js} +8 -7
  283. package/lib/dist-custom-elements/{p-8b931125.js → p-1c341405.js} +11 -10
  284. package/lib/dist-custom-elements/{p-0301d789.js → p-21e0af47.js} +38 -19
  285. package/lib/dist-custom-elements/{p-2e4d752a.js → p-26d4d49e.js} +3 -2
  286. package/lib/dist-custom-elements/{p-a1b81dbc.js → p-2a041992.js} +7 -6
  287. package/lib/dist-custom-elements/{p-2e36d5bf.js → p-2f5e2da8.js} +1 -0
  288. package/lib/dist-custom-elements/{p-3a3e990d.js → p-330bf2a1.js} +4 -3
  289. package/lib/dist-custom-elements/{p-ecb49066.js → p-37e44d89.js} +5 -4
  290. package/lib/dist-custom-elements/{p-aaf04b7b.js → p-384f880b.js} +6 -5
  291. package/lib/dist-custom-elements/{p-164f1743.js → p-3e74515a.js} +10 -9
  292. package/lib/dist-custom-elements/{p-a5b07a4c.js → p-401b6b1f.js} +5 -4
  293. package/lib/dist-custom-elements/{p-e4489c9c.js → p-45dd5240.js} +7 -6
  294. package/lib/dist-custom-elements/p-47c44289.js +178 -0
  295. package/lib/dist-custom-elements/{p-d4cc9e7f.js → p-48a3af88.js} +3 -2
  296. package/lib/dist-custom-elements/{p-b691a561.js → p-5ad5934d.js} +4 -3
  297. package/lib/dist-custom-elements/{p-188198bb.js → p-61ffea9e.js} +6 -5
  298. package/lib/dist-custom-elements/{p-f3fed1d1.js → p-6bd18890.js} +15 -14
  299. package/lib/dist-custom-elements/{p-9d2943a1.js → p-706daff4.js} +14 -13
  300. package/lib/dist-custom-elements/{p-fe0978ef.js → p-7666f1bc.js} +5 -4
  301. package/lib/dist-custom-elements/{p-e4f40301.js → p-7eef087e.js} +12 -11
  302. package/lib/{esm/floating-ui.dom.esm-01fcd83a.js → dist-custom-elements/p-81287261.js} +1 -1
  303. package/lib/dist-custom-elements/{p-06e608ae.js → p-895db398.js} +2 -0
  304. package/lib/dist-custom-elements/{p-45ce252d.js → p-8fb1d873.js} +15 -14
  305. package/lib/dist-custom-elements/{p-2933d260.js → p-955053f9.js} +7 -5
  306. package/lib/dist-custom-elements/p-955746f9.js +1848 -0
  307. package/lib/dist-custom-elements/{p-d1f8f9d9.js → p-9bda0343.js} +5 -4
  308. package/lib/dist-custom-elements/{p-674040a2.js → p-9d348a4b.js} +4 -3
  309. package/lib/dist-custom-elements/{p-f390637a.js → p-9dc74a9b.js} +8 -7
  310. package/lib/dist-custom-elements/{p-9a63d9a1.js → p-ad23e869.js} +6 -5
  311. package/lib/dist-custom-elements/{p-2a29afc3.js → p-b8bb3910.js} +5 -4
  312. package/lib/dist-custom-elements/{p-c6788c34.js → p-bb20326f.js} +4 -3
  313. package/lib/dist-custom-elements/{p-ee310f8e.js → p-c7a796da.js} +4 -3
  314. package/lib/dist-custom-elements/{p-4bd749d9.js → p-d2f0147b.js} +1 -1
  315. package/lib/dist-custom-elements/{p-3ee1ee19.js → p-d7ff39b6.js} +5 -4
  316. package/lib/dist-custom-elements/{p-1a167655.js → p-e091bb48.js} +3 -2
  317. package/lib/dist-custom-elements/{p-2d44ce95.js → p-f1938f1a.js} +3 -2
  318. package/lib/dist-custom-elements/{p-b59388e4.js → p-fd601808.js} +9 -8
  319. package/lib/duet/duet.esm.js +1 -1
  320. package/lib/duet/duet.js +1 -1
  321. package/lib/duet/p-01e99b47.system.entry.js +4 -0
  322. package/lib/duet/p-032d42d4.entry.js +4 -0
  323. package/lib/duet/p-06472b8c.entry.js +4 -0
  324. package/lib/duet/p-064b908b.entry.js +4 -0
  325. package/lib/duet/p-069aaf78.entry.js +4 -0
  326. package/lib/duet/{p-00638431.system.entry.js → p-077b9a06.system.entry.js} +1 -1
  327. package/lib/duet/p-08866b96.system.entry.js +4 -0
  328. package/lib/duet/{p-09f2162b.system.entry.js → p-08daf525.system.entry.js} +1 -1
  329. package/lib/duet/p-0a042569.entry.js +4 -0
  330. package/lib/duet/p-0c3a491b.system.entry.js +4 -0
  331. package/lib/duet/{p-f0a8edfa.system.entry.js → p-0cbdf836.system.entry.js} +1 -1
  332. package/lib/duet/{p-15d65ccc.system.js → p-0dc9089b.system.js} +1 -1
  333. package/lib/duet/{p-fabb616b.js → p-0f1980bc.js} +1 -1
  334. package/lib/duet/{p-bc99f838.system.entry.js → p-115a50f2.system.entry.js} +1 -1
  335. package/lib/duet/{p-c9c57249.system.entry.js → p-12b4df90.system.entry.js} +1 -1
  336. package/lib/duet/p-13ea970e.system.entry.js +4 -0
  337. package/lib/duet/{p-d537a47b.entry.js → p-155b7733.entry.js} +1 -1
  338. package/lib/duet/p-16be8ba9.entry.js +4 -0
  339. package/lib/duet/{p-b0d67f51.entry.js → p-16e63390.entry.js} +1 -1
  340. package/lib/duet/p-1784b1d2.js +1 -1
  341. package/lib/duet/{p-48e4b33e.system.entry.js → p-17eeb1cc.system.entry.js} +1 -1
  342. package/lib/duet/p-1801e2be.entry.js +4 -0
  343. package/lib/duet/p-18d8207e.entry.js +4 -0
  344. package/lib/duet/{p-a87c1819.entry.js → p-198b0f16.entry.js} +1 -1
  345. package/lib/duet/p-1a6ea3db.entry.js +4 -0
  346. package/lib/duet/p-1d1f8607.entry.js +4 -0
  347. package/lib/duet/p-23805ac9.entry.js +4 -0
  348. package/lib/duet/p-2383fbeb.entry.js +4 -0
  349. package/lib/duet/p-2504c504.entry.js +4 -0
  350. package/lib/duet/p-28106a87.system.entry.js +4 -0
  351. package/lib/duet/{p-322273ee.system.entry.js → p-2928c320.system.entry.js} +1 -1
  352. package/lib/duet/{p-1af39d2d.entry.js → p-29665476.entry.js} +1 -1
  353. package/lib/duet/p-2aa796b7.js +4 -0
  354. package/lib/duet/p-2b9defde.system.entry.js +4 -0
  355. package/lib/duet/p-2c78ff7b.system.entry.js +4 -0
  356. package/lib/duet/p-300c8dd9.entry.js +4 -0
  357. package/lib/duet/{p-b3f5fea3.entry.js → p-32be247b.entry.js} +1 -1
  358. package/lib/duet/p-32d698f2.system.entry.js +4 -0
  359. package/lib/duet/{p-d9800a64.entry.js → p-364d7058.entry.js} +1 -1
  360. package/lib/duet/p-3e1a0cb7.entry.js +4 -0
  361. package/lib/duet/p-41b6d132.entry.js +4 -0
  362. package/lib/duet/{p-15a018c2.entry.js → p-41d5039a.entry.js} +1 -1
  363. package/lib/duet/p-428f66d6.system.entry.js +4 -0
  364. package/lib/duet/p-42e31c87.entry.js +4 -0
  365. package/lib/duet/p-43417c63.entry.js +4 -0
  366. package/lib/duet/{p-d2082904.system.entry.js → p-4487736b.system.entry.js} +1 -1
  367. package/lib/duet/p-4520f63d.system.entry.js +4 -0
  368. package/lib/duet/p-46079f71.entry.js +4 -0
  369. package/lib/duet/p-48879a51.entry.js +4 -0
  370. package/lib/duet/{p-4083bda5.entry.js → p-4a8d2af0.entry.js} +1 -1
  371. package/lib/duet/{p-0204b3b0.js → p-4bc401c3.js} +1 -1
  372. package/lib/duet/p-50c0ea9c.system.entry.js +4 -0
  373. package/lib/duet/p-54351362.entry.js +4 -0
  374. package/lib/duet/p-54c28fa4.system.entry.js +4 -0
  375. package/lib/duet/p-55327462.entry.js +4 -0
  376. package/lib/duet/p-5672308b.entry.js +4 -0
  377. package/lib/duet/p-56d35ccf.system.entry.js +4 -0
  378. package/lib/duet/p-5776972c.entry.js +4 -0
  379. package/lib/duet/p-585ad67b.entry.js +4 -0
  380. package/lib/duet/p-5866eaea.entry.js +4 -0
  381. package/lib/duet/p-58cb8b0b.system.entry.js +4 -0
  382. package/lib/duet/p-5abdc5ab.entry.js +4 -0
  383. package/lib/duet/p-5cb08833.system.entry.js +4 -0
  384. package/lib/duet/p-5f3de870.system.entry.js +4 -0
  385. package/lib/duet/{p-da20db91.system.js → p-6084bf4c.system.js} +1 -1
  386. package/lib/duet/{p-e36d3c27.entry.js → p-60d43265.entry.js} +1 -1
  387. package/lib/duet/{p-4a65e996.system.entry.js → p-61a24bce.system.entry.js} +1 -1
  388. package/lib/duet/{p-f370f3c5.system.entry.js → p-66e3ce81.system.entry.js} +1 -1
  389. package/lib/duet/p-6892b798.system.entry.js +4 -0
  390. package/lib/duet/{p-36eb52a8.system.entry.js → p-68a9aeee.system.entry.js} +1 -1
  391. package/lib/duet/p-68f52c23.system.entry.js +4 -0
  392. package/lib/duet/p-693ad8aa.entry.js +4 -0
  393. package/lib/duet/{p-e67c546c.system.entry.js → p-6a496c70.system.entry.js} +1 -1
  394. package/lib/duet/{p-e1fb0446.entry.js → p-6a84bf93.entry.js} +1 -1
  395. package/lib/duet/p-6bb927f9.system.entry.js +4 -0
  396. package/lib/duet/p-6c76d396.entry.js +4 -0
  397. package/lib/duet/p-6cdd3596.entry.js +4 -0
  398. package/lib/duet/{p-a909fac2.system.entry.js → p-6d157e53.system.entry.js} +2 -2
  399. package/lib/duet/p-6d75cdf6.system.js +4 -0
  400. package/lib/duet/p-6db296a5.entry.js +4 -0
  401. package/lib/duet/{p-95d3a1c1.system.entry.js → p-6dfa9f0e.system.entry.js} +1 -1
  402. package/lib/duet/{p-d54716cb.system.entry.js → p-70ba1823.system.entry.js} +1 -1
  403. package/lib/duet/p-72affe21.system.entry.js +4 -0
  404. package/lib/duet/p-7340e2e2.entry.js +4 -0
  405. package/lib/duet/p-7344d97c.system.js +4 -0
  406. package/lib/duet/p-7a5dd34d.entry.js +4 -0
  407. package/lib/duet/p-7b0e681f.system.entry.js +4 -0
  408. package/lib/duet/{p-55ce0916.system.entry.js → p-7bfc6d05.system.entry.js} +1 -1
  409. package/lib/duet/p-7c3649ba.js +5 -0
  410. package/lib/duet/p-7c533802.entry.js +4 -0
  411. package/lib/duet/p-7d473104.system.entry.js +4 -0
  412. package/lib/duet/{p-22b1cabe.system.entry.js → p-7e4597c6.system.entry.js} +1 -1
  413. package/lib/duet/p-7f8fc279.entry.js +4 -0
  414. package/lib/duet/p-7ff17c05.system.entry.js +4 -0
  415. package/lib/duet/p-80d722bc.entry.js +4 -0
  416. package/lib/duet/{p-31ed51c3.js → p-81287261.js} +1 -1
  417. package/lib/duet/p-813c2271.entry.js +4 -0
  418. package/lib/duet/{p-71b71fae.system.entry.js → p-83b88e0d.system.entry.js} +1 -1
  419. package/lib/duet/{p-e240a248.system.entry.js → p-84c50c75.system.entry.js} +1 -1
  420. package/lib/duet/p-8589c504.system.entry.js +4 -0
  421. package/lib/duet/p-86361d66.system.entry.js +4 -0
  422. package/lib/duet/p-8aefdb36.entry.js +4 -0
  423. package/lib/duet/p-8d4fde72.entry.js +4 -0
  424. package/lib/duet/{p-49492752.system.entry.js → p-8dcb869d.system.entry.js} +2 -2
  425. package/lib/duet/p-933895d6.system.entry.js +4 -0
  426. package/lib/duet/p-93d9f454.system.js +4 -0
  427. package/lib/duet/{p-2ebe1ac5.system.entry.js → p-95778aca.system.entry.js} +2 -2
  428. package/lib/duet/{p-fd736af1.entry.js → p-97f74160.entry.js} +1 -1
  429. package/lib/duet/p-98ac1721.system.entry.js +4 -0
  430. package/lib/duet/{p-b0c801cc.system.entry.js → p-9b6cc90a.system.entry.js} +1 -1
  431. package/lib/duet/{p-56c629ed.entry.js → p-9bdec5df.entry.js} +1 -1
  432. package/lib/duet/p-9d4cd103.system.entry.js +4 -0
  433. package/lib/duet/p-9d5823eb.entry.js +4 -0
  434. package/lib/duet/{p-847bf63e.entry.js → p-9e60a58d.entry.js} +1 -1
  435. package/lib/duet/p-9ef799f8.js +4 -0
  436. package/lib/duet/p-9f850d18.system.entry.js +4 -0
  437. package/lib/duet/p-9f9e290a.system.entry.js +4 -0
  438. package/lib/duet/p-a168b3f5.system.js +4 -0
  439. package/lib/duet/p-a32dad7f.system.entry.js +4 -0
  440. package/lib/duet/p-a4d9c151.system.entry.js +4 -0
  441. package/lib/duet/p-a5d65d5f.entry.js +4 -0
  442. package/lib/duet/{p-ec9dbf7d.system.entry.js → p-a7768425.system.entry.js} +2 -2
  443. package/lib/duet/p-a7c62459.system.entry.js +4 -0
  444. package/lib/duet/{p-7fcbb429.system.entry.js → p-a8301a1a.system.entry.js} +1 -1
  445. package/lib/duet/{p-dd9e6250.system.entry.js → p-a9891098.system.entry.js} +1 -1
  446. package/lib/duet/p-aa1f6b55.entry.js +4 -0
  447. package/lib/duet/p-ac596f9f.entry.js +4 -0
  448. package/lib/duet/p-acd65ed7.entry.js +4 -0
  449. package/lib/duet/p-ad433963.system.entry.js +4 -0
  450. package/lib/duet/{p-87e7e6d8.entry.js → p-ae714885.entry.js} +1 -1
  451. package/lib/duet/p-aeaa9698.entry.js +4 -0
  452. package/lib/duet/{p-1dc415a6.system.entry.js → p-aface64d.system.entry.js} +1 -1
  453. package/lib/duet/p-afadf391.entry.js +4 -0
  454. package/lib/duet/p-b0be53ba.entry.js +4 -0
  455. package/lib/duet/p-b25d69bf.system.entry.js +4 -0
  456. package/lib/duet/p-b2b49d1a.entry.js +4 -0
  457. package/lib/duet/p-b3bff87d.entry.js +4 -0
  458. package/lib/duet/{p-6f74db7d.system.entry.js → p-b5e50220.system.entry.js} +2 -2
  459. package/lib/duet/{p-ec7dd416.system.entry.js → p-b70dd317.system.entry.js} +1 -1
  460. package/lib/duet/p-b8fc9725.system.entry.js +4 -0
  461. package/lib/duet/p-b9772bdf.entry.js +4 -0
  462. package/lib/duet/p-b9e27ff4.entry.js +4 -0
  463. package/lib/duet/{p-9ef3bc8d.system.entry.js → p-ba7fbd88.system.entry.js} +1 -1
  464. package/lib/duet/p-bd936407.js +4 -0
  465. package/lib/duet/{p-24046fe3.system.entry.js → p-bddc227d.system.entry.js} +1 -1
  466. package/lib/duet/{p-b3c24039.system.entry.js → p-bf5630d6.system.entry.js} +1 -1
  467. package/lib/duet/p-bfecf35c.entry.js +4 -0
  468. package/lib/duet/p-c1445714.system.js +1 -1
  469. package/lib/duet/p-c3de57c1.system.entry.js +4 -0
  470. package/lib/duet/{p-81e718f5.system.entry.js → p-c45a4823.system.entry.js} +1 -1
  471. package/lib/duet/p-c45c1cc8.entry.js +4 -0
  472. package/lib/duet/{p-29ef8ffc.system.entry.js → p-c5759522.system.entry.js} +1 -1
  473. package/lib/duet/p-c62ed778.entry.js +4 -0
  474. package/lib/duet/{p-81681caf.entry.js → p-cb4e6c86.entry.js} +1 -1
  475. package/lib/duet/p-cf83f662.entry.js +4 -0
  476. package/lib/duet/p-d0f3224e.entry.js +4 -0
  477. package/lib/duet/{p-bdd90cdd.system.entry.js → p-d52fa492.system.entry.js} +1 -1
  478. package/lib/duet/p-d6c95c73.system.entry.js +4 -0
  479. package/lib/duet/p-d920063d.entry.js +4 -0
  480. package/lib/duet/p-dde61943.system.js +4 -0
  481. package/lib/duet/p-e0db32fc.system.entry.js +4 -0
  482. package/lib/duet/p-e38064d5.entry.js +4 -0
  483. package/lib/duet/p-e4674cda.entry.js +4 -0
  484. package/lib/duet/p-e7d7928e.system.js +5 -0
  485. package/lib/duet/{p-8a9f7476.entry.js → p-e824a614.entry.js} +1 -1
  486. package/lib/duet/p-ec143606.entry.js +4 -0
  487. package/lib/duet/{p-aad5c506.system.entry.js → p-ee6f4bc1.system.entry.js} +2 -2
  488. package/lib/duet/p-ee8bcb1f.entry.js +4 -0
  489. package/lib/duet/{p-bc2af760.system.entry.js → p-ef9675f8.system.entry.js} +2 -2
  490. package/lib/duet/{p-ed7d1160.system.entry.js → p-ef9b2ced.system.entry.js} +1 -1
  491. package/lib/duet/p-f0eeebb5.entry.js +4 -0
  492. package/lib/duet/p-f1a726c9.entry.js +4 -0
  493. package/lib/duet/{p-b5bbe11d.system.entry.js → p-f2f1de65.system.entry.js} +2 -2
  494. package/lib/duet/{p-2936ccf3.system.entry.js → p-f6ea07d1.system.entry.js} +1 -1
  495. package/lib/duet/p-f6fc4754.system.entry.js +4 -0
  496. package/lib/duet/p-f9069050.system.entry.js +4 -0
  497. package/lib/duet/p-fbb2d1c4.system.entry.js +4 -0
  498. package/lib/duet/{p-47fa3bf9.entry.js → p-fc76bb60.entry.js} +1 -1
  499. package/lib/duet/p-fd1cbfc8.entry.js +4 -0
  500. package/lib/esm/{app-globals-45aa6d20.js → app-globals-21820dd0.js} +2 -0
  501. package/lib/esm/duet-action-button.entry.js +5 -4
  502. package/lib/esm/duet-alert.entry.js +10 -9
  503. package/lib/esm/duet-badge.entry.js +5 -4
  504. package/lib/esm/duet-banner.entry.js +6 -5
  505. package/lib/esm/duet-breadcrumb.entry.js +8 -7
  506. package/lib/esm/duet-breadcrumbs.entry.js +6 -5
  507. package/lib/esm/duet-button_2.entry.js +13 -11
  508. package/lib/esm/duet-callout.entry.js +6 -5
  509. package/lib/esm/duet-caption_4.entry.js +18 -14
  510. package/lib/esm/duet-card.entry.js +6 -5
  511. package/lib/esm/duet-checkbox.entry.js +3 -2
  512. package/lib/esm/duet-checkmark.entry.js +5 -4
  513. package/lib/esm/duet-chip.entry.js +4 -3
  514. package/lib/esm/duet-choice_2.entry.js +7 -5
  515. package/lib/esm/duet-collapsible.entry.js +6 -5
  516. package/lib/esm/duet-combobox.entry.js +5 -4
  517. package/lib/esm/duet-contact-card.entry.js +6 -5
  518. package/lib/esm/duet-cookie-consent.entry.js +4 -3
  519. package/lib/esm/duet-date-picker.entry.js +6 -5
  520. package/lib/esm/duet-divider_2.entry.js +7 -5
  521. package/lib/esm/duet-editable-table_3.entry.js +13 -10
  522. package/lib/esm/duet-empty-state.entry.js +5 -4
  523. package/lib/esm/duet-fieldset.entry.js +7 -6
  524. package/lib/esm/duet-file-chooser.entry.js +4 -3
  525. package/lib/esm/duet-footer.entry.js +9 -8
  526. package/lib/esm/duet-grid_2.entry.js +5 -3
  527. package/lib/esm/duet-header_2.entry.js +7 -5
  528. package/lib/esm/duet-hero.entry.js +10 -9
  529. package/lib/esm/duet-icon.entry.js +6 -5
  530. package/lib/esm/duet-input_2.entry.js +7 -5
  531. package/lib/esm/duet-layout.entry.js +8 -7
  532. package/lib/esm/duet-list_2.entry.js +8 -6
  533. package/lib/esm/duet-menu-bar-button.entry.js +5 -4
  534. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -4
  535. package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -6
  536. package/lib/esm/duet-menu-bar-item.entry.js +5 -4
  537. package/lib/esm/duet-menu-bar-link.entry.js +5 -4
  538. package/lib/esm/duet-menu-bar.entry.js +5 -4
  539. package/lib/esm/duet-modal.entry.js +17 -14
  540. package/lib/esm/duet-multiselect.entry.js +11 -10
  541. package/lib/esm/duet-nav.entry.js +4 -3
  542. package/lib/esm/duet-notification_2.entry.js +10 -8
  543. package/lib/esm/duet-number-input.entry.js +5 -4
  544. package/lib/esm/duet-overlay.entry.js +4 -3
  545. package/lib/esm/duet-page-heading.entry.js +5 -4
  546. package/lib/esm/duet-pagination_2.entry.js +19 -17
  547. package/lib/esm/duet-popup-menu-item.entry.js +4 -3
  548. package/lib/esm/duet-popup-menu.entry.js +6 -5
  549. package/lib/esm/duet-progress.entry.js +4 -3
  550. package/lib/esm/duet-promo-card.entry.js +6 -5
  551. package/lib/esm/duet-radio_2.entry.js +6 -4
  552. package/lib/esm/duet-range-slider.entry.js +3 -2
  553. package/lib/esm/duet-scrollable_3.entry.js +44 -23
  554. package/lib/esm/duet-section-layout.entry.js +6 -5
  555. package/lib/esm/duet-select.entry.js +4 -3
  556. package/lib/esm/duet-shaped-image.entry.js +5 -4
  557. package/lib/esm/duet-show-more.entry.js +6 -5
  558. package/lib/esm/duet-slideout-lang.entry.js +5 -4
  559. package/lib/esm/duet-slideout-link.entry.js +5 -4
  560. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -6
  561. package/lib/esm/duet-slideout-panel.entry.js +12 -11
  562. package/lib/esm/duet-slideout.entry.js +10 -9
  563. package/lib/esm/duet-step_2.entry.js +6 -4
  564. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -4
  565. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -6
  566. package/lib/esm/duet-submenu-bar-item.entry.js +4 -3
  567. package/lib/esm/duet-submenu-bar-link.entry.js +4 -3
  568. package/lib/esm/duet-submenu-bar.entry.js +7 -6
  569. package/lib/esm/duet-textarea.entry.js +4 -3
  570. package/lib/esm/duet-toggle.entry.js +3 -2
  571. package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -4
  572. package/lib/esm/duet-toolbar-dropdown.entry.js +7 -6
  573. package/lib/esm/duet-toolbar-item.entry.js +5 -4
  574. package/lib/esm/duet-toolbar-link.entry.js +5 -4
  575. package/lib/esm/duet-toolbar.entry.js +4 -3
  576. package/lib/esm/duet-tooltip-button_2.entry.js +10 -8
  577. package/lib/esm/duet-tooltip.entry.js +5 -4
  578. package/lib/esm/duet-tray.entry.js +6 -5
  579. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  580. package/lib/esm/duet-upload-item.entry.js +7 -6
  581. package/lib/esm/duet-visually-hidden.entry.js +4 -3
  582. package/lib/esm/duet.js +16 -16
  583. package/lib/esm/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
  584. package/lib/{dist-custom-elements/p-31ed51c3.js → esm/floating-ui.dom.esm-ebc91b33.js} +1 -1
  585. package/lib/esm/{focus-utils-f0e6853d.js → focus-utils-f583d4fb.js} +1 -1
  586. package/lib/esm/index-640026f0.js +1962 -0
  587. package/lib/esm/{language-utils-00ca4c55.js → language-utils-eda57343.js} +1 -0
  588. package/lib/esm/loader.js +5 -5
  589. package/lib/esm/{slot-utils-b50aaef5.js → slot-utils-00899492.js} +2 -0
  590. package/lib/esm/token-utils-1f843fb9.js +1 -1
  591. package/lib/esm-es5/app-globals-21820dd0.js +4 -0
  592. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  593. package/lib/esm-es5/duet-alert.entry.js +2 -2
  594. package/lib/esm-es5/duet-badge.entry.js +1 -1
  595. package/lib/esm-es5/duet-banner.entry.js +1 -1
  596. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  597. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  598. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  599. package/lib/esm-es5/duet-callout.entry.js +1 -1
  600. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  601. package/lib/esm-es5/duet-card.entry.js +1 -1
  602. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  603. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  604. package/lib/esm-es5/duet-chip.entry.js +2 -2
  605. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  606. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  607. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  608. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  609. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  610. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  611. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  612. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  613. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  614. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  615. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  616. package/lib/esm-es5/duet-footer.entry.js +1 -1
  617. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  618. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-hero.entry.js +2 -2
  620. package/lib/esm-es5/duet-icon.entry.js +2 -2
  621. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  622. package/lib/esm-es5/duet-layout.entry.js +1 -1
  623. package/lib/esm-es5/duet-list_2.entry.js +2 -2
  624. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  625. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  626. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  627. package/lib/esm-es5/duet-menu-bar-item.entry.js +2 -2
  628. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  629. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  630. package/lib/esm-es5/duet-modal.entry.js +2 -2
  631. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  632. package/lib/esm-es5/duet-nav.entry.js +1 -1
  633. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  634. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  635. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  636. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  637. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  638. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  639. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  640. package/lib/esm-es5/duet-progress.entry.js +1 -1
  641. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  642. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  643. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  644. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  645. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  646. package/lib/esm-es5/duet-select.entry.js +1 -1
  647. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  648. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  649. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  650. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  651. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  652. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  653. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  654. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  655. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  656. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  657. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  658. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  659. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  660. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  661. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  662. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  663. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  664. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  665. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  666. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  667. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  668. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  669. package/lib/esm-es5/duet-tray.entry.js +1 -1
  670. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  671. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  672. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  673. package/lib/esm-es5/duet.js +2 -2
  674. package/lib/esm-es5/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
  675. package/lib/esm-es5/{floating-ui.dom.esm-01fcd83a.js → floating-ui.dom.esm-ebc91b33.js} +1 -1
  676. package/lib/esm-es5/focus-utils-f583d4fb.js +4 -0
  677. package/lib/esm-es5/index-640026f0.js +5 -0
  678. package/lib/esm-es5/language-utils-eda57343.js +4 -0
  679. package/lib/esm-es5/loader.js +2 -2
  680. package/lib/esm-es5/slot-utils-00899492.js +4 -0
  681. package/lib/esm-es5/token-utils-1f843fb9.js +1 -1
  682. package/lib/loader/cdn.js +1 -1
  683. package/lib/loader/index.cjs.js +1 -1
  684. package/lib/loader/index.d.ts +3 -0
  685. package/lib/loader/index.es2017.js +1 -1
  686. package/lib/loader/index.js +1 -1
  687. package/lib/types/components/duet-modal/duet-modal.d.ts +1 -0
  688. package/lib/types/components/duet-upload/mock.helpers.d.ts +1 -0
  689. package/lib/types/stencil-public-runtime.d.ts +3 -10
  690. package/lib/types/utils/axe-core-utils.d.ts +2 -1
  691. package/lib/types/utils/test-utils.d.ts +22 -10
  692. package/lib/types/utils/watch-options.d.ts +2 -2
  693. package/package.json +17 -16
  694. package/lib/cjs/index-c3716ea8.js +0 -2836
  695. package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +0 -13
  696. package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +0 -20
  697. package/lib/collection/components/duet-alert/duet-alert.e2e.js +0 -53
  698. package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +0 -20
  699. package/lib/collection/components/duet-badge/duet-badge.e2e.js +0 -28
  700. package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +0 -34
  701. package/lib/collection/components/duet-banner/duet-banner.e2e.js +0 -23
  702. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +0 -17
  703. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.e2e.js +0 -18
  704. package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +0 -48
  705. package/lib/collection/components/duet-button/duet-button.e2e.js +0 -212
  706. package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +0 -17
  707. package/lib/collection/components/duet-callout/duet-callout.e2e.js +0 -21
  708. package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +0 -13
  709. package/lib/collection/components/duet-caption/duet-caption.e2e.js +0 -26
  710. package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +0 -29
  711. package/lib/collection/components/duet-card/duet-card.e2e.js +0 -91
  712. package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +0 -20
  713. package/lib/collection/components/duet-checkbox/duet-checkbox.e2e.js +0 -112
  714. package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +0 -25
  715. package/lib/collection/components/duet-chip/duet-chip.e2e.js +0 -56
  716. package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +0 -79
  717. package/lib/collection/components/duet-choice/duet-choice.e2e.js +0 -184
  718. package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +0 -17
  719. package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +0 -102
  720. package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +0 -24
  721. package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +0 -123
  722. package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +0 -17
  723. package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +0 -153
  724. package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +0 -36
  725. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +0 -16
  726. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +0 -27
  727. package/lib/collection/components/duet-date-picker/date-utils.spec.js +0 -330
  728. package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +0 -13
  729. package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +0 -693
  730. package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +0 -13
  731. package/lib/collection/components/duet-divider/duet-divider.e2e.js +0 -32
  732. package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +0 -202
  733. package/lib/collection/components/duet-editable-table/duet-editable-table.e2e.js +0 -29
  734. package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +0 -15
  735. package/lib/collection/components/duet-empty-state/duet-empty-state.e2e.js +0 -16
  736. package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +0 -17
  737. package/lib/collection/components/duet-fieldset/duet-fieldset.e2e.js +0 -13
  738. package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +0 -22
  739. package/lib/collection/components/duet-footer/duet-footer.e2e.js +0 -186
  740. package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +0 -17
  741. package/lib/collection/components/duet-grid/duet-grid.e2e.js +0 -42
  742. package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +0 -42
  743. package/lib/collection/components/duet-header/duet-header.e2e.js +0 -470
  744. package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +0 -13
  745. package/lib/collection/components/duet-heading/duet-heading.e2e.js +0 -27
  746. package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +0 -70
  747. package/lib/collection/components/duet-hero/duet-hero.e2e.js +0 -172
  748. package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +0 -13
  749. package/lib/collection/components/duet-icon/duet-icon.e2e.js +0 -27
  750. package/lib/collection/components/duet-icon/icon-utils.spec.js +0 -84
  751. package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +0 -33
  752. package/lib/collection/components/duet-input/duet-input.e2e.js +0 -201
  753. package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +0 -14
  754. package/lib/collection/components/duet-label/duet-label.e2e.js +0 -32
  755. package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +0 -18
  756. package/lib/collection/components/duet-layout/duet-layout.e2e.js +0 -32
  757. package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +0 -39
  758. package/lib/collection/components/duet-link/duet-link.e2e.js +0 -53
  759. package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +0 -30
  760. package/lib/collection/components/duet-list/duet-list.e2e.js +0 -105
  761. package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +0 -13
  762. package/lib/collection/components/duet-logo/duet-logo.e2e.js +0 -42
  763. package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +0 -63
  764. package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +0 -49
  765. package/lib/collection/components/duet-modal/duet-modal.e2e.js +0 -113
  766. package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +0 -22
  767. package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +0 -157
  768. package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +0 -20
  769. package/lib/collection/components/duet-notification/duet-notification.e2e.js +0 -12
  770. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +0 -28
  771. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.e2e.js +0 -177
  772. package/lib/collection/components/duet-number-input/duet-number-input-negative.e2e.js +0 -32
  773. package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +0 -14
  774. package/lib/collection/components/duet-number-input/duet-number-input.e2e.js +0 -242
  775. package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +0 -15
  776. package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +0 -36
  777. package/lib/collection/components/duet-pagination/duet-pagination.e2e.js +0 -101
  778. package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +0 -18
  779. package/lib/collection/components/duet-paragraph/duet-paragraph.e2e.js +0 -27
  780. package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +0 -27
  781. package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +0 -17
  782. package/lib/collection/components/duet-progress/duet-progress.e2e.js +0 -12
  783. package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +0 -43
  784. package/lib/collection/components/duet-promo-card/duet-promo-card.e2e.js +0 -23
  785. package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +0 -13
  786. package/lib/collection/components/duet-radio/duet-radio.e2e.js +0 -135
  787. package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +0 -36
  788. package/lib/collection/components/duet-radio-group/duet-radio-group.e2e.js +0 -57
  789. package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +0 -14
  790. package/lib/collection/components/duet-range-slider/duet-range-slider.e2e.js +0 -57
  791. package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +0 -13
  792. package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +0 -52
  793. package/lib/collection/components/duet-range-stepper/duet-range-stepper.spec.js +0 -23
  794. package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +0 -17
  795. package/lib/collection/components/duet-scrollable/duet-scrollable.e2e.js +0 -12
  796. package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +0 -18
  797. package/lib/collection/components/duet-section-layout/duet-section-layout.e2e.js +0 -22
  798. package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +0 -45
  799. package/lib/collection/components/duet-select/duet-select.e2e.js +0 -211
  800. package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +0 -20
  801. package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +0 -13
  802. package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +0 -47
  803. package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +0 -13
  804. package/lib/collection/components/duet-spacer/duet-spacer.e2e.js +0 -27
  805. package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +0 -13
  806. package/lib/collection/components/duet-spinner/duet-spinner.e2e.js +0 -30
  807. package/lib/collection/components/duet-step/duet-step.e2e.js +0 -94
  808. package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +0 -26
  809. package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +0 -84
  810. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +0 -21
  811. package/lib/collection/components/duet-tab/duet-tab.e2e.js +0 -16
  812. package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +0 -16
  813. package/lib/collection/components/duet-tab-group/duet-tab-group.e2e.js +0 -108
  814. package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +0 -35
  815. package/lib/collection/components/duet-table/duet-table.e2e.js +0 -95
  816. package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +0 -28
  817. package/lib/collection/components/duet-textarea/duet-textarea.e2e.js +0 -199
  818. package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +0 -13
  819. package/lib/collection/components/duet-toggle/duet-toggle.e2e.js +0 -73
  820. package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +0 -82
  821. package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +0 -34
  822. package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +0 -104
  823. package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +0 -22
  824. package/lib/collection/components/duet-tray/duet-tray.e2e.js +0 -103
  825. package/lib/collection/components/duet-upload/duet-upload.e2e.js +0 -48
  826. package/lib/collection/components/duet-upload/upload-validators.spec.js +0 -41
  827. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +0 -15
  828. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.e2e.js +0 -12
  829. package/lib/collection/utils/create-id.spec.js +0 -12
  830. package/lib/collection/utils/js-utils.spec.js +0 -22
  831. package/lib/collection/utils/language-utils.spec.js +0 -159
  832. package/lib/collection/utils/math.utils.spec.js +0 -140
  833. package/lib/collection/utils/string-utils.spec.js +0 -39
  834. package/lib/collection/utils/template-utils.spec.js +0 -39
  835. package/lib/collection/utils/token-utils.spec.js +0 -178
  836. package/lib/dist-custom-elements/p-33937fd7.js +0 -183
  837. package/lib/dist-custom-elements/p-d160ca6a.js +0 -2333
  838. package/lib/duet/p-021968b7.system.entry.js +0 -4
  839. package/lib/duet/p-039f1ee1.system.entry.js +0 -4
  840. package/lib/duet/p-06e608ae.js +0 -4
  841. package/lib/duet/p-09fdd234.entry.js +0 -4
  842. package/lib/duet/p-0b515d0c.system.entry.js +0 -4
  843. package/lib/duet/p-0b7e7cdd.entry.js +0 -4
  844. package/lib/duet/p-12e97d2c.entry.js +0 -4
  845. package/lib/duet/p-17abbe45.system.entry.js +0 -4
  846. package/lib/duet/p-1a815d69.entry.js +0 -4
  847. package/lib/duet/p-1c90a161.system.entry.js +0 -4
  848. package/lib/duet/p-1f0c6aa9.entry.js +0 -4
  849. package/lib/duet/p-224f6c46.system.js +0 -4
  850. package/lib/duet/p-252c61f9.entry.js +0 -4
  851. package/lib/duet/p-259a297a.system.js +0 -4
  852. package/lib/duet/p-2757e1be.entry.js +0 -4
  853. package/lib/duet/p-286cbd79.system.entry.js +0 -4
  854. package/lib/duet/p-2a3b428e.entry.js +0 -4
  855. package/lib/duet/p-2e36d5bf.js +0 -4
  856. package/lib/duet/p-2e615f90.entry.js +0 -4
  857. package/lib/duet/p-2f1b5c7d.js +0 -5
  858. package/lib/duet/p-354e8617.entry.js +0 -4
  859. package/lib/duet/p-36340a70.entry.js +0 -4
  860. package/lib/duet/p-36a4e269.system.entry.js +0 -4
  861. package/lib/duet/p-37aab3fc.entry.js +0 -4
  862. package/lib/duet/p-3aca8b0e.entry.js +0 -4
  863. package/lib/duet/p-3eb18ea9.system.entry.js +0 -4
  864. package/lib/duet/p-45ec9edc.entry.js +0 -4
  865. package/lib/duet/p-47ba309d.system.entry.js +0 -4
  866. package/lib/duet/p-48de6532.entry.js +0 -4
  867. package/lib/duet/p-4918a89e.entry.js +0 -4
  868. package/lib/duet/p-4bbe62cc.system.entry.js +0 -4
  869. package/lib/duet/p-4c41c996.system.entry.js +0 -4
  870. package/lib/duet/p-4db9c3d9.entry.js +0 -4
  871. package/lib/duet/p-52899472.entry.js +0 -4
  872. package/lib/duet/p-5318851f.system.entry.js +0 -4
  873. package/lib/duet/p-57346eff.system.entry.js +0 -4
  874. package/lib/duet/p-5747dc4a.entry.js +0 -4
  875. package/lib/duet/p-5852bc10.system.entry.js +0 -4
  876. package/lib/duet/p-59923821.system.entry.js +0 -4
  877. package/lib/duet/p-5c1c9204.system.entry.js +0 -4
  878. package/lib/duet/p-5f07590d.entry.js +0 -4
  879. package/lib/duet/p-61a1045e.entry.js +0 -4
  880. package/lib/duet/p-647e7930.entry.js +0 -4
  881. package/lib/duet/p-68ff07cc.entry.js +0 -4
  882. package/lib/duet/p-694dc2b2.entry.js +0 -4
  883. package/lib/duet/p-69b8ad83.system.entry.js +0 -4
  884. package/lib/duet/p-6ae750db.system.entry.js +0 -4
  885. package/lib/duet/p-6d7602d0.system.entry.js +0 -4
  886. package/lib/duet/p-6d839458.js +0 -4
  887. package/lib/duet/p-6dd2833f.entry.js +0 -4
  888. package/lib/duet/p-6e788570.entry.js +0 -4
  889. package/lib/duet/p-7187fcdb.entry.js +0 -4
  890. package/lib/duet/p-72a9c332.entry.js +0 -4
  891. package/lib/duet/p-7bba0a5f.entry.js +0 -4
  892. package/lib/duet/p-8030ac7d.entry.js +0 -4
  893. package/lib/duet/p-808390ff.entry.js +0 -4
  894. package/lib/duet/p-80c37175.system.entry.js +0 -4
  895. package/lib/duet/p-81488a05.system.js +0 -4
  896. package/lib/duet/p-820439f1.system.entry.js +0 -4
  897. package/lib/duet/p-848fd377.system.entry.js +0 -4
  898. package/lib/duet/p-86bb5185.entry.js +0 -4
  899. package/lib/duet/p-8868aefd.system.entry.js +0 -4
  900. package/lib/duet/p-8aa74f9c.system.entry.js +0 -4
  901. package/lib/duet/p-8c610e96.system.entry.js +0 -4
  902. package/lib/duet/p-916d8f4e.system.entry.js +0 -4
  903. package/lib/duet/p-92dd9326.entry.js +0 -4
  904. package/lib/duet/p-93abcf6f.system.entry.js +0 -4
  905. package/lib/duet/p-95ba5b53.system.entry.js +0 -4
  906. package/lib/duet/p-95bba705.entry.js +0 -4
  907. package/lib/duet/p-9c102070.system.entry.js +0 -4
  908. package/lib/duet/p-9c5e5c04.entry.js +0 -4
  909. package/lib/duet/p-9cbcb120.entry.js +0 -4
  910. package/lib/duet/p-a072af11.entry.js +0 -4
  911. package/lib/duet/p-a0be10bb.entry.js +0 -4
  912. package/lib/duet/p-a2ebc336.entry.js +0 -4
  913. package/lib/duet/p-a3def4ae.entry.js +0 -4
  914. package/lib/duet/p-a42bd424.system.entry.js +0 -4
  915. package/lib/duet/p-a52cfc5a.entry.js +0 -4
  916. package/lib/duet/p-a532d984.entry.js +0 -4
  917. package/lib/duet/p-a58f39e3.entry.js +0 -4
  918. package/lib/duet/p-a74d3389.system.entry.js +0 -4
  919. package/lib/duet/p-a787f19b.system.entry.js +0 -4
  920. package/lib/duet/p-a7b5f7e2.system.entry.js +0 -4
  921. package/lib/duet/p-aab7c415.system.js +0 -5
  922. package/lib/duet/p-ac32b610.entry.js +0 -4
  923. package/lib/duet/p-adcab9d7.system.entry.js +0 -4
  924. package/lib/duet/p-ae21ad57.system.js +0 -4
  925. package/lib/duet/p-b3bb7acb.entry.js +0 -4
  926. package/lib/duet/p-b86e538f.system.entry.js +0 -4
  927. package/lib/duet/p-bbe8cb06.system.entry.js +0 -4
  928. package/lib/duet/p-bbf58838.entry.js +0 -4
  929. package/lib/duet/p-bda99d9b.entry.js +0 -4
  930. package/lib/duet/p-be1dc5c4.entry.js +0 -4
  931. package/lib/duet/p-c1cc3eeb.entry.js +0 -4
  932. package/lib/duet/p-c75f879a.entry.js +0 -4
  933. package/lib/duet/p-c7626b56.entry.js +0 -4
  934. package/lib/duet/p-c7d7a477.system.entry.js +0 -4
  935. package/lib/duet/p-c7e75e4b.entry.js +0 -4
  936. package/lib/duet/p-d3964acf.entry.js +0 -4
  937. package/lib/duet/p-d43d061f.entry.js +0 -4
  938. package/lib/duet/p-d4c16da7.system.entry.js +0 -4
  939. package/lib/duet/p-d5eff7a7.system.js +0 -4
  940. package/lib/duet/p-d778d2ac.entry.js +0 -4
  941. package/lib/duet/p-dade1b81.entry.js +0 -4
  942. package/lib/duet/p-de217be7.entry.js +0 -4
  943. package/lib/duet/p-dfdc8492.system.entry.js +0 -4
  944. package/lib/duet/p-e11847f2.entry.js +0 -4
  945. package/lib/duet/p-e2760c6f.system.entry.js +0 -4
  946. package/lib/duet/p-e5f76223.entry.js +0 -4
  947. package/lib/duet/p-e81fdc04.entry.js +0 -4
  948. package/lib/duet/p-ec29ee80.system.entry.js +0 -4
  949. package/lib/duet/p-f04ed9cd.entry.js +0 -4
  950. package/lib/duet/p-f2da4d8f.entry.js +0 -4
  951. package/lib/duet/p-f6d62e5a.system.entry.js +0 -4
  952. package/lib/duet/p-ff45b962.entry.js +0 -4
  953. package/lib/duet/p-ff7efd44.entry.js +0 -4
  954. package/lib/esm/index-0f5e92a8.js +0 -2802
  955. package/lib/esm-es5/app-globals-45aa6d20.js +0 -4
  956. package/lib/esm-es5/focus-utils-f0e6853d.js +0 -4
  957. package/lib/esm-es5/index-0f5e92a8.js +0 -5
  958. package/lib/esm-es5/language-utils-00ca4c55.js +0 -4
  959. package/lib/esm-es5/slot-utils-b50aaef5.js +0 -4
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,a){function d(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function n(t){try{s(a.next(t))}catch(t){o(t)}}function r(t){try{s(a["throw"](t))}catch(t){o(t)}}function s(t){t.done?i(t.value):d(t.value).then(n,r)}s((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,d,o,n;return n={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function r(t){return function(e){return s([t,e])}}function s(r){if(a)throw new TypeError("Generator is already executing.");while(n&&(n=0,r[0]&&(i=0)),i)try{if(a=1,d&&(o=r[0]&2?d["return"]:r[0]?d["throw"]||((o=d["return"])&&o.call(d),0):d.next)&&!(o=o.call(d,r[1])).done)return o;if(d=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;d=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];d=0}finally{a=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-aab7c415.system.js","./p-49957220.system.js","./p-50f4bca2.system.js","./p-cc5e6288.system.js","./p-d5eff7a7.system.js","./p-34d7dd10.system.js","./p-224f6c46.system.js","./p-ae21ad57.system.js","./p-b6f2538b.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var e,i,a,d,o,n,r,s,l,u,m,h,c,p,f,g;return{setters:[function(t){e=t.r;i=t.c;a=t.h;d=t.g},function(t){o=t.d;n=t.e},function(t){r=t.i},function(t){s=t.a},function(t){l=t.f},function(t){u=t.f},function(t){m=t.a;h=t.g;c=t.c;p=t.d},function(t){f=t.h},function(t){g=t.T},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}.duet-modal-container{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-container.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-container.duet-disable-transitions{transition:none}.duet-modal-container.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:"";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:300ms ease;transition-delay:0ms;transform:scale(0.96)}.duet-theme-turva .duet-modal{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-modal-active .duet-modal{opacity:1;transition:300ms ease;transition-delay:200ms;transform:none}.duet-modal-active .duet-modal.slide-up{top:0;transition:top 600ms ease}.duet-modal.loader{text-align:center;background:transparent}.duet-modal.loader .duet-modal-close{display:none}.duet-modal.loader .duet-modal-spinner{position:relative;height:120px}.duet-modal.loader .duet-modal-inner-slot-default{position:relative;backdrop-filter:blur(10px)}.duet-modal.loader duet-paragraph.duet-loader-message{position:absolute;opacity:0;transition:all 300ms ease;transform:scaleY(0);transform-origin:top}.duet-modal.loader duet-paragraph.duet-loader-message.show{opacity:1;transform:scaleY(1);transform-origin:bottom}.duet-modal.loader duet-paragraph.duet-loader-message.show::part(duet-paragraph){backdrop-filter:blur(10px)}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal.slide-up{top:100vh;margin:0;overflow:auto;border-radius:4px 4px 0 0;opacity:1;transition:top 600ms ease}@media (max-width: 35.9375em){.duet-modal.slide-up{border-radius:16px 16px 0 0}}.duet-modal.duet-modal-has-sticky-header{height:100%;overflow:auto}.duet-modal:focus{outline:0}.duet-modal-body,.duet-modal-sticky-header{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-none,.duet-modal-sticky-header.duet-modal-gutter-none{padding:0 !important}.duet-modal-body.duet-modal-gutter-small,.duet-modal-sticky-header.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body,.duet-modal-sticky-header{padding:36px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body,.small .duet-modal-sticky-header{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-sticky-header{position:sticky;top:0;z-index:300;display:block;padding-bottom:12px;text-align:left;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-modal-close{position:absolute;top:12px;right:12px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;text-overflow:ellipsis;letter-spacing:-0.01rem;white-space:nowrap}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}';var v=600;var y=t("duet_modal",function(){function t(t){e(this,t);this.duetOpen=i(this,"duetOpen",7);this.duetClose=i(this,"duetClose",7);this.duetCloseComplete=i(this,"duetCloseComplete",7);this.duetBeforeClose=i(this,"duetBeforeClose",7);var a,d;this.hasStickyHeader=false;this.isAndroidDevice=((d=(a=navigator===null||navigator===void 0?void 0:navigator.userAgent)===null||a===void 0?void 0:a.toLowerCase())===null||d===void 0?void 0:d.indexOf("android"))>-1||null;this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.accessibleLoaderAnnouncementDefaults=s;this.accessibleCloseLabelDefaults={fi:"Sulje ikkuna",sv:"Stäng fönstret",en:"Close the dialog"};this.handleAndroidResizeEvents=function(){if(document.activeElement.tagName=="INPUT"){window.setTimeout((function(){var t;try{(t=document===null||document===void 0?void 0:document.activeElement)===null||t===void 0?void 0:t.scrollIntoViewIfNeeded(true)}catch(t){}}),100)}};this.open=false;this.language=m();this.accessibleCloseLabel=h(this.accessibleCloseLabelDefaults,this.language);this.accessibleLoaderAnnouncement=h(this.accessibleLoaderAnnouncementDefaults,this.language);this.size="medium";this.accessibleDescribedBy=undefined;this.accessibleLabelledBy=undefined;this.accessibleLabel=undefined;this.accessibleDetails=undefined;this.accessibleDescription=undefined;this.variation="default";this.gutterSize="medium";this.theme="";this.heading="";this.headingLevel="h3";this.headingVisualLevel=undefined;this.icon="";this.color="";this.active=false;this.closeOnBlur=false}t.prototype.openChanged=function(){var t=this;if(this.open){if(this.modalEl&&this.modalEl.scrollTop){this.modalEl.scrollTop=0}this.focusedElBeforeOpen=document.activeElement;o(this.modalEl,{reserveScrollBarGap:true});this.teleport.makeSiblingsInert();this.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((function(t){return t.remove()}));setTimeout((function(){if(t.variation==="loader"){t.addMessage(t.accessibleLoaderAnnouncement,false)}else{if(t.isAndroidDevice){t.modalEl.focus()}else{t.buttonEl.setFocus()}}}),v);setTimeout((function(){t.modalEl.classList.add("duet-disable-transitions")}),v+200);if(this.isAndroidDevice){window.addEventListener("resize",this.handleAndroidResizeEvents)}this.duetOpen.emit()}else{this.modalEl.classList.remove("duet-disable-transitions");this.modalEl.addEventListener("transitionend",(function(){return t.duetCloseComplete.emit()}),{once:true});n(this.modalEl);this.duetClose.emit();this.teleport.removeInertFromSiblings();setTimeout((function(){l(t.focusedElBeforeOpen)}),v);if(this.isAndroidDevice){window.removeEventListener("resize",this.handleAndroidResizeEvents)}}};t.prototype.activeChanged=function(){this.open=this.active};t.prototype.componentWillLoad=function(){this.hasStickyHeader=f(this.element,"sticky-header");r(this)};t.prototype.componentDidLoad=function(){if(this.active){this.open=true;this.modalEl.classList.add("duet-disable-transitions")}};t.prototype.connectedCallback=function(){if(!this.teleport){this.teleport=new g(this.element)}if(this.teleport){this.teleport.activate()}c(this,[{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefaults"},{prop:"accessibleLoaderAnnouncement",defaults:"accessibleLoaderAnnouncementDefaults"}])};t.prototype.disconnectedCallback=function(){p(this);if(this.modalEl){n(this.modalEl)}};t.prototype.handleKeyUp=function(t){if(this.open){if(u(t)){this.closeModal(t)}}};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=true;return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=false;return[2]}))}))};t.prototype.scrollToTop=function(t){if(t===void 0){t=true}return __awaiter(this,void 0,void 0,(function(){var e,i,a,d;return __generator(this,(function(o){i=t?"smooth":"auto";if(this.variation==="slide-up"){a=((e=this.modalEl.querySelector(".duet-modal-sticky-header"))===null||e===void 0?void 0:e.clientHeight)||0;d=this.modalEl.querySelector(".duet-modal-body").computedStyleMap().get("padding-top");this.slotContainerEl.style.scrollMarginTop="".concat(a+d.value,"px");this.slotContainerEl.scrollIntoView({behavior:i})}else{this.modalEl.querySelector(".duet-modal-body").scrollIntoView({behavior:i})}return[2]}))}))};t.prototype.addMessage=function(t,e){if(e===void 0){e=true}return __awaiter(this,void 0,void 0,(function(){var i;var a=this;return __generator(this,(function(d){i=document.createElement(e?"duet-paragraph":"duet-visually-hidden");i.textContent=t;i.classList.add("duet-loader-message");if(e){setTimeout((function(){a.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((function(t){return t.classList.remove("show")}));i.classList.add("show")}),10)}this.slotContainerEl.appendChild(i);return[2]}))}))};t.prototype.closeModal=function(t){var e=this;this.duetBeforeClose.emit({originalEvent:t,component:"duet-modal"});if(!t.defaultPrevented){setTimeout((function(){e.hide()}),1)}};t.prototype.render=function(){var t,e;var i=this;var d,o;var n="primary";var r="secondary";var s=a("div",{class:"duet-modal-close"},a("duet-button",{ref:function(t){return i.buttonEl=t},variation:"plain",accessibleLabel:this.accessibleCloseLabel,color:r,iconSize:"large",icon:"navigation-close",iconOnly:true,margin:"none",theme:this.theme,onClick:function(t){return i.closeModal(t)},fixed:true}));if(this.theme==="turva"){n="primary-turva";r="secondary-turva"}return a("div",{ref:function(t){return i.modalEl=t},"aria-label":(d=this.accessibleLabel)!==null&&d!==void 0?d:this.heading,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,role:this.variation==="loader"?"alert":"dialog","aria-modal":this.isSafariBrowser?false:true,tabindex:"-1",class:{"duet-modal-container":true,"duet-theme-turva":this.theme==="turva","duet-modal-active":this.open,"duet-modal-slide-up":this.variation==="slide-up","duet-modal-has-sticky-header":this.hasStickyHeader}},a("duet-overlay",{"z-index":"-1",visible:this.open,variation:this.variation==="loader"?"white":"default"}),a("div",{ref:function(t){return i.modalInnerEl=t},class:(t={"duet-modal-inner":true},t[this.size]=true,t["duet-modal-slide-up"]=this.variation==="slide-up",t),onClick:function(t){if(i.closeOnBlur){var e=t.target||t.srcElement;if(e===i.modalInnerEl){i.closeModal(t)}}}},a("div",{class:(e={"duet-modal":true,"duet-modal-has-sticky-header":this.hasStickyHeader},e[this.size]=true,e[this.variation]=true,e)},this.gutterSize!=="none"&&!this.hasStickyHeader&&a("duet-spacer",null),this.hasStickyHeader?a("div",{class:"duet-modal-sticky-header"},s,a("slot",{name:"sticky-header"})):s,a("div",{class:{"duet-modal-body":true,"duet-modal-gutter-none":this.gutterSize==="none","duet-modal-gutter-small":this.gutterSize==="small","duet-modal-gutter-medium":this.gutterSize==="medium","duet-modal-gutter-large":this.gutterSize==="large"}},a("div",{class:"duet-modal-header"},a("span",{class:"duet-modal-inner-slot-top"},a("slot",{name:"top"})),this.icon&&a("duet-icon",{name:this.icon,size:"xx-large",color:this.color||n}),this.heading&&a("duet-heading",{"visual-level":(o=this.headingVisualLevel)!==null&&o!==void 0?o:this.headingLevel,level:this.headingLevel,theme:this.theme},this.heading)),this.variation==="loader"&&a("div",{class:"duet-modal-spinner"},a("duet-spinner",{size:"large",color:"primary"})),a("div",{class:"duet-modal-inner-slot-default",ref:function(t){return i.slotContainerEl=t},"aria-live":this.variation==="loader"?"assertive":"off"},a("slot",null))))))};Object.defineProperty(t.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{open:["openChanged"],active:["activeChanged"]}},enumerable:false,configurable:true});return t}());y.style=b}}}));
@@ -1,4 +0,0 @@
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-aab7c415.system.js","./p-50f4bca2.system.js","./p-41982d26.system.js","./p-34d7dd10.system.js","./p-224f6c46.system.js","./p-c86d6786.system.js","./p-c1445714.system.js","./p-e6b5a1c7.system.js","./p-6ef75455.system.js","./p-da20db91.system.js"],(function(t){"use strict";var e,i,a,n,r,d,o,l,s,u,h,f,b,p,c,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;p=t.g;c=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=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=p(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(p(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}());E.style=j;var S='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(0, 41, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}duet-table.duet-theme-turva th{color:rgb(116, 116, 117)}duet-table tbody th{font-weight:600;color:rgb(0, 41, 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(0, 41, 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(101, 119, 135);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(225, 227, 230)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(228, 228, 230)}.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(0, 80, 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(0, 80, 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(225, 227, 230)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(228, 228, 230)}.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(225, 227, 230)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(228, 228, 230)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(101, 119, 135)}.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(68, 68, 69)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(225, 227, 230)}.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(228, 228, 230)}.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(225, 227, 230)}.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(228, 228, 230)}.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(225, 227, 230)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(228, 228, 230)}.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(225, 227, 230)}.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(225, 227, 230)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.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(225, 227, 230)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.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(68, 68, 69, 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(225, 227, 230)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.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 L={none:0,"with-links":parseFloat(m)*16,"without-links":parseFloat(g)*16};var z=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=L[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,{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",null))};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}());z.style=S;var A=[{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 F={fi:"Liiteluettelo",sv:"Lista över bilagor",en:"Attachments list"};var M=function(t){var i=t.label,a=t.categoryLabel;return e("div",{class:"items-header",tabindex:"-1","aria-label":p(F)},a&&e("duet-heading",{class:"category-header",border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none","aria-hidden":"true"},p(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"},p(i)))};var U=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 D=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 C=function(t,e){if(!e||!t){return true}return e>=t};var P=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=D(s,a);var f=n==="all"||n===""||n===" "||n===undefined?true:U(l.toLowerCase(),n);var b=C(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:p(o.message),errorSystem:d?undefined:o.system_message,errorType:d?undefined:o.type}};var I=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 O=function(t,e){var i=0;if(e){t.forEach((function(t){if(t.valid){i++}}));if(i>=e){return true}}return false};var W=function(t,e,i){if(t+e>i){return true}return false};var R=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 N=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 p=e.data,c=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,c,l.status)}if(l.readyState===XMLHttpRequest.DONE&&l.status>=300&&l.status<999){a(l,c,l.status)}};r(c)}l.send(p);return l};var Y="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::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(225, 227, 230)}@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 q=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,e){if(e===void 0){e=undefined}return __awaiter(n,void 0,void 0,(function(){var i,a,n;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=I(n.files,n.maxBytesTotal);var i=O(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,e,i){if(e===void 0){e=false}return __awaiter(n,void 0,void 0,(function(){var a,n,r;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(M,{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(M,{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=p(this.statusLabelDefaults);this.buttonLabelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add an attachment"};this.buttonLabel=p(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=p(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=p(this.descriptionDefaults);this.fileListEmptyDefaults={fi:"Ei vielä lisättyjä tiedostoja.",sv:"Inga filer har lagts till ännu.",en:"No files added yet."};this.fileListEmpty=p(this.fileListEmptyDefaults);this.error="";this.errorCodes=A;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=c(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(t){if(t===void 0){t=undefined}return __awaiter(this,void 0,void 0,(function(){var e,i,a;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=o}return e(n,{class:{"duet-m-0":this.margin==="none"}},e("duet-fieldset",{"label-heading-level":this.headerHeadingLevel,"label-hidden":this.hideHeader,label:this.label,caption:!this.captionOnBottom?o:undefined},e("slot",{name:"header"}),!this.files.size&&e("duet-empty-state",{id:this.labelId,part:this.identifier?"".concat(this.identifier,"-empty-state"):"duet-upload-empty-state",icon:"messaging-attachment"},e("duet-paragraph",{margin:"none"},this.fileListEmpty)),!!this.files.size&&e("slot",{name:"fileheader"}),!!this.files.size&&e("duet-upload-aria-status",{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",{name:"filefooter"}),e("slot",{name:"uploadfooter"}),this.captionOnBottom&&e("duet-caption",{margin:"none",size:"small"},e("div",{class:"upload-bottom-caption"},o)),e("slot",{name:"afterfooter"}),!this.hideButton&&e(d,null,e("duet-spacer",{size:"large"}),e("duet-button",{id:this.buttonId,onClick:this.startUpload,"accessible-controls":i,disabled:this.fileMaxReached,"accessible-label":this.accessibleButtonLabel,"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,null,e("duet-spacer",{size:"medium"}),e("duet-alert",{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",{"aria-hidden":"true"},e("input",{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 N(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 N(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(W(this.files.size,i.length,this.maxFiles)){this.filesToUploadExceedsLimit=true;this.kick();return[2]}this.filesToUploadTotalSizeIsAboveMax=false;if(R(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=P(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}());q.style=Y}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const e=(e,n)=>Array.from(e.querySelectorAll(":scope > *")).filter((e=>e.matches(`[slot='${n}']`))),n=e=>Array.from(e.querySelectorAll(":scope > *")).filter((e=>!e.getAttribute("slot"))),s=(s,o)=>o?e(s,o).length>0:n(s).length>0,o=(n,s,o,t=0,$=!1)=>{const l=$?"error":"warn",r=[],a=e(n,s),c=a.filter((e=>!!e.matches(o)||(r.push(`Only elements matcing selector "${o}" may be used in slot ${s}, found:\n${e.outerHTML}`),!$||(e.remove(),!1))));t&&c.length>t&&(r.push(`Only ${t} element${t>1?"s":""} may be used in slot ${s}, found ${a.length}.`),$&&c.slice(t).forEach((e=>e.remove()))),r.length>0&&console[l](`Duet ${l} in ${n.tagName.toLowerCase()}:\n${r.join("\n")}${$?`\nElement${r.length>1?"s":""} removed.`:""}`)};export{o as c,n as g,s as h}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as s,H as i,g as r}from"./p-2f1b5c7d.js";const h=class{constructor(s){t(this,s),this.replacePlaceHolders=t=>{const s=t=>t>1?`${t} ${this.statusMessageLabel.files}`:`${t} ${this.statusMessageLabel.file}`;return t.replace("{filesUploaded}",s(this.valid)).replace("{filesInProgress}",s(this.inprogress)).replace("{filesTotal}",s(this.total)).replace("{filesWithErrors}",s(this.invalid))},this.getStatusMessage=()=>{const{done:t,inProgress:s,doneWithErrors:i,inProgressWithErrors:r}=this.statusMessageLabel,h=this.invalid>0,e=this.inprogress>0,a=this.valid+this.invalid===this.total&&!e;this.valid!==this.total||e||h?this.inprogress>0&&h?this.statusMessage=this.replacePlaceHolders(r):e?this.statusMessage=this.replacePlaceHolders(s):a&&(this.statusMessage=this.replacePlaceHolders(i)):this.statusMessage=this.replacePlaceHolders(t)},this.statusMessage=null,this.statusMessageLabel=null,this.accessibleAriaLive="polite",this.valid=void 0,this.total=void 0,this.invalid=void 0,this.inprogress=void 0}watchHandler(t,s){t!==s&&this.getStatusMessage()}render(){return s(i,{role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},s("duet-visually-hidden",null,this.statusMessage))}get element(){return r(this)}static get watchers(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}}};export{h as duet_upload_aria_status}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-aab7c415.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var n,t,o,a,i;return{setters:[function(e){n=e.r;t=e.h;o=e.H;a=e.g},function(e){i=e.i}],execute:function(){var r="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}.container{position:relative;z-index:400}::slotted(*[slot=mobile]){display:inherit}::slotted(*[slot=desktop]){display:none}@media (min-width: 62em){::slotted(*[slot=mobile]){display:none}::slotted(*[slot=desktop]){display:inherit}}";var s=e("duet_nav",function(){function e(e){n(this,e);this.theme=""}e.prototype.componentWillLoad=function(){i(this)};e.prototype.render=function(){return t(o,null,t("div",{class:"container"},t("slot",null),t("slot",{name:"mobile"}),t("slot",{name:"desktop"})))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());s.style=r}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h as n,r as e,H as t,g as i}from"./p-2f1b5c7d.js";import{i as a}from"./p-a58bd561.js";import{h as s,c as r}from"./p-06e608ae.js";import{p as l}from"./p-0e052642.js";import{g as o}from"./p-1784b1d2.js";import"./p-4a901bfc.js";const d=({img:e,sources:t})=>n("picture",null,t&&t.map((e=>n("source",{srcSet:e.srcset,media:e.media,type:e.type,sizes:e.sizes}))),n("img",Object.assign({},e))),u=class{constructor(n){e(this,n),this.checkCurrentSize=()=>{const n=this.element.clientWidth;this.currentSize=n<500||"small"===this.size?"small":n<900||"medium"===this.size?"medium":"large",this.setButtonSize()},this.setButtonSize=()=>{if(this.hasActionSlot&&this.currentSize){const n=this.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");for(const e of n)e&&null===e.getAttribute("size")&&"large"!==this.currentSize?e.size="small":e&&null===e.getAttribute("size")&&"large"===this.currentSize&&(e.size="medium")}},this.currentSize=void 0,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=void 0,this.icon="",this.headingLevel="h2"}componentWillLoad(){a(this),this.hasHeadingSlot=s(this.element,"heading"),this.hasDescriptionSlot=s(this.element,"description"),this.hasActionSlot=s(this.element,"action"),r(this.element,"heading","span"),this.setButtonSize()}connectedCallback(){window.addEventListener("resize",this.checkCurrentSize)}disconnectedCallback(){window.removeEventListener("resize",this.checkCurrentSize)}componentDidRender(){this.checkCurrentSize()}render(){const e=o("turva"===this.theme&&"primary-lighter"===this.backgroundColor?"gray-lighter":this.backgroundColor,this.theme),i=o(this.textColor,this.theme),a={backgroundColor:e},s={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:l(this.sources)};return n(t,{class:{"duet-m-0":"none"===this.margin}},n("aside",{class:{"duet-banner":!0,"duet-theme-turva":"turva"===this.theme,[this.currentSize]:!0,"size-medium":"medium"===this.size||"large"===this.size,"size-large":"large"===this.size},style:a},n("div",{class:"visual"},n("div",{class:"image-container"},this.image&&n(d,Object.assign({},s))),!1,n("div",{style:a,class:"brand-shape"})),n("div",{class:"content"},this.hasHeadingSlot&&n("div",{class:"heading"},n("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"large"===this.currentSize?"h2":"h3","fixed-size":!0,margin:"none",color:this.textColor},n("span",null,n("slot",{name:"heading"})))),this.hasDescriptionSlot&&n("div",{class:"description",style:{color:i}},n("slot",{name:"description"})),this.hasActionSlot&&n("div",{class:"action"},n("slot",{name:"action"})))))}get element(){return i(this)}};u.style="*,\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}";export{u as duet_banner}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as i,h as s,H as e,g as n}from"./p-2f1b5c7d.js";import{c as o,o as a,f as h}from"./p-31ed51c3.js";import{i as r}from"./p-a58bd561.js";import{f as p}from"./p-0204b3b0.js";import{f as c,c as d,b as l,o as u}from"./p-a1b7f2a0.js";import{T as m}from"./p-5c488cf4.js";const b=class{constructor(s){t(this,s),this.duetToggle=i(this,"duetToggle",7),this.setOpenButton=t=>{if(t)try{const i=t;i.accessiblePopup="true",i.accessibleExpanded=!1,i.setAttribute("trailing-icon","action-arrow-down-small"),this.openButton=i}catch(t){}},this.openButtonEventListener=()=>{this.toggle()},this.updatePlacement=async()=>{if(!this.openButton)return;const t=[a({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),h({mainAxis:!this.forcePlacement})],i=await o(this.openButton,this.menuElement,{middleware:t,placement:this.placement,strategy:this.position});this.menuY=i.y,this.menuX=i.x},this.open=!1,this.menuY=void 0,this.menuX=void 0,this.accessibleLabel=void 0,this.accessibleRole="menu",this.theme="",this.skipTeleport=void 0,this.controller=void 0,this.placement="bottom-start",this.forcePlacement=!1,this.position="absolute",this.mainAxisOffset=0,this.crossAxisOffset=0}componentWillLoad(){r(this)}componentDidLoad(){this.updatePlacement()}connectedCallback(){this.handleControllerChange(this.controller,null),this.teleport||(this.teleport=new m(this.element)),this.teleport&&this.teleport.activate()}disconnectedCallback(){this.openButton&&(this.openButton.removeEventListener("click",this.openButtonEventListener),this.openButton.removeAttribute("trailing-icon"))}handleKeyUp(t){this.open&&c(t)&&(this.focusOpenButton(),this.hide())}async handleKeyDown(t){if(this.open){if(d(t)){t.preventDefault();const i=await this.getFocusedItemIndex();-1!==i&&(i<this.itemElements.length-1?this.itemElements[i+1].setFocus():this.itemElements[0].setFocus())}if(l(t)){t.preventDefault();const i=await this.getFocusedItemIndex();-1!==i&&(0===i?this.itemElements[this.itemElements.length-1].setFocus():this.itemElements[i-1].setFocus())}u(t)&&"menu"===this.accessibleRole&&(t.preventDefault(),this.hide())}}handleClick(t){const i=t.composedPath().every((t=>t!==this.element&&t!==this.openButton));this.open&&i&&this.hide()}async isOpen(){return this.open}async show(){this.open=!0}async hide(){this.open=!1}async toggle(){this.open?this.hide():this.show()}handleControllerChange(t,i){!!t!=!!i&&("string"==typeof this.controller?(this.setOpenButton(document.getElementById(this.controller)),this.openButton&&this.openButton.addEventListener("click",this.openButtonEventListener)):this.setOpenButton(this.controller))}handleOpenChange(t,i){!!t!=!!i&&(this.open&&!i?(this.openButton&&(this.openButton.accessibleExpanded=!0),this.teleport.makeSiblingsInert(),this.updatePlacement(),setTimeout((()=>{"menu"===this.accessibleRole&&this.itemElements[0].setFocus(),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"})}),200)):!this.open&&i&&(this.openButton&&(this.openButton.accessibleExpanded=!1),setTimeout((()=>{"menu"===this.accessibleRole&&this.focusOpenButton(),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"}),this.teleport.removeInertFromSiblings()}),200)))}focusOpenButton(){this.open&&p(this.openButton)}get itemElements(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))}async getFocusedItemIndex(){const t=this.itemElements;for(let i=0;i<t.length;i++)if(await t[i].isFocused())return i;return-1}render(){return s(e,null,s("div",{ref:t=>this.menuElement=t,style:{top:`${this.menuY}px`,left:`${this.menuX}px`,position:this.position},class:{open:this.open,"duet-popup-menu-list":!0,"duet-theme-turva":"turva"===this.theme},role:this.accessibleRole,"aria-label":this.accessibleLabel},s("slot",null)))}get element(){return n(this)}static get watchers(){return{controller:["handleControllerChange"],open:["handleOpenChange"]}}};b.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(0, 41, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}";export{b as duet_popup_menu}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function s(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(a,s)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return c([t,e])}}function c(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(r=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{r=i=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-aab7c415.system.js","./p-50f4bca2.system.js","./p-ae21ad57.system.js","./p-c1445714.system.js","./p-c86d6786.system.js"],(function(t){"use strict";var e,n,r,o,i,a,s,c;return{setters:[function(t){e=t.r;n=t.h;r=t.H;o=t.g},function(t){i=t.i},function(t){a=t.h;s=t.c},function(t){c=t.g},function(){}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.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-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}';var p=t("duet_promo_card",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.backgroundColor="";this.textColor="secondary";this.image="";this.headingLevel="h3";this.url=undefined}t.prototype.componentWillLoad=function(){i(this);this.hasPreHeadingSlot=a(this.element,"pre-heading");this.hasHeadingSlot=a(this.element,"heading");this.hasDescriptionSlot=a(this.element,"description");this.hasActionSlot=a(this.element,"action");s(this.element,"heading","span");s(this.element,"description","span")};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.url&&this.aOrDivElement){this.aOrDivElement.focus(t)}return[2]}))}))};t.prototype.render=function(){var t=this;var e=c(this.backgroundColor,this.theme);var o={backgroundColor:e?e:"none"};var i=this.url?"a":"div";return n(r,{class:{"duet-m-0":this.margin==="none"}},n("aside",{class:{"duet-promo-card":true,"duet-theme-turva":this.theme==="turva","no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:o},n(i,{href:this.url,class:"content-wrapper",ref:function(e){return t.aOrDivElement=e}},n("img",{class:"image",src:this.image,alt:"",role:"presentation"}),n("div",{class:"content"},this.hasPreHeadingSlot&&n("div",{class:"pre-heading"},n("slot",{name:"pre-heading"})),this.hasHeadingSlot&&n("div",{class:"heading"},n("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},n("span",null,n("slot",{name:"heading"})))),this.hasDescriptionSlot&&n("div",{class:"description"},n("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},n("span",null,n("slot",{name:"description"})))),this.hasActionSlot&&n("div",{class:"action"},n("slot",{name:"action"}))))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());p.style=d}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as r,H as t,g as o}from"./p-2f1b5c7d.js";import{i as a}from"./p-a58bd561.js";const d=class{constructor(r){e(this,r),this.theme="",this.variation="default",this.background="normal",this.margin="auto"}componentWillLoad(){a(this)}render(){return r(t,{class:{"duet-m-0":"none"===this.margin}},r("span",{class:{"duet-badge":!0,[this.variation]:!0,[`background-${this.background}`]:!0,"duet-theme-turva":"turva"===this.theme}},r("slot",null)))}get element(){return o(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}';export{d as duet_badge}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,o,i){function n(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,r){function a(t){try{u(i.next(t))}catch(t){r(t)}}function d(t){try{u(i["throw"](t))}catch(t){r(t)}}function u(t){t.done?o(t.value):n(t.value).then(a,d)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,a;return a={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function d(t){return function(e){return u([t,e])}}function u(d){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,d[0]&&(o=0)),o)try{if(i=1,n&&(r=d[0]&2?n["return"]:d[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,d[1])).done)return r;if(n=0,r)d=[d[0]&2,r.value];switch(d[0]){case 0:case 1:r=d;break;case 4:o.label++;return{value:d[1],done:false};case 5:o.label++;n=d[1];d=[0];continue;case 7:d=o.ops.pop();o.trys.pop();continue;default:if(!(r=o.trys,r=r.length>0&&r[r.length-1])&&(d[0]===6||d[0]===2)){o=0;continue}if(d[0]===3&&(!r||d[1]>r[0]&&d[1]<r[3])){o.label=d[1];break}if(d[0]===6&&o.label<r[1]){o.label=r[1];r=d;break}if(r&&o.label<r[2]){o.label=r[2];o.ops.push(d);break}if(r[2])o.ops.pop();o.trys.pop();continue}d=e.call(t,o)}catch(t){d=[6,t];n=0}finally{i=r=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-aab7c415.system.js","./p-053b71e6.system.js","./p-cc5e6288.system.js","./p-50f4bca2.system.js","./p-34d7dd10.system.js","./p-224f6c46.system.js","./p-ae21ad57.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var e,o,i,n,r,a,d,u,s,l,f,p,m,c,h,g;return{setters:[function(t){e=t.r;o=t.c;i=t.h;n=t.F;r=t.g},function(t){a=t.a},function(t){d=t.D},function(t){u=t.i},function(t){s=t.s;l=t.u},function(t){f=t.a;p=t.g;m=t.c;c=t.d},function(t){h=t.h},function(t){g=t.p}],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;flex-shrink:0;width:100%}::slotted([slot=info]){padding:0 28px;margin-top:0;margin-bottom:16px}@media (min-width: 62em){::slotted([slot=info]){padding:0;margin-top:calc(20px - 0.5em);margin-bottom:0}}.duet-footer{display:block;width:100%;padding-top:24px;padding-bottom:16px;margin-top:48px;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(255, 255, 255);text-align:left;background:rgb(0, 41, 77)}.duet-footer.duet-p-0{padding:0 !important}.duet-footer.duet-m-0{margin:0 !important}@media (min-width: 62em){.duet-footer{padding-top:48px;padding-bottom:36px}}.duet-footer.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:rgb(198, 12, 48)}.duet-footer a{color:rgb(255, 255, 255);text-decoration:none}@media (min-width: 62em){.duet-footer a{border-radius:4px}}.duet-footer a:focus{outline:0}:host(.user-is-tabbing) .duet-footer a:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva a:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-footer-wrapper{position:relative;margin:0 auto}@media (min-width: 62em){.duet-footer-wrapper{padding:0 72px 0 48px}}@media (min-width: 76.25em){.duet-footer-wrapper{max-width:1110px;padding:0 20px 0 0}}.duet-footer-top{width:100%}@media (min-width: 62em){.duet-footer-top{display:flex;flex-direction:row;align-items:center}.duet-footer-top.duet-has-info{align-items:flex-start}}.duet-footer-top .footer-top-logo{flex-grow:1}.duet-footer-top .footer-top-right-container{flex-grow:1}@media (min-width: 62em){.duet-footer-top .footer-top-right-container{text-align:right}}.duet-footer-top .footer-top-items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding-left:28px}@media (min-width: 62em){.duet-footer-top .footer-top-items{flex-direction:row;justify-content:flex-end}}duet-logo{margin-bottom:24px;margin-left:16px !important}@media (min-width: 62em){duet-logo{margin-bottom:0;margin-left:0 !important}}.duet-footer-link{padding:16px !important;display:flex;flex-direction:row;align-items:center;width:100%;font-weight:600;border-bottom:1px solid rgba(255, 255, 255, 0.2);transition:background-color 300ms ease}@media (min-width: 36em){.duet-footer-link{padding-right:20px !important;padding-left:28px !important}}@media (min-width: 62em){.duet-footer-link{width:auto;min-width:0;padding-right:0 !important;padding-left:0 !important;border:0}}.duet-footer-link:first-of-type{margin-top:20px;border-top:1px solid rgba(255, 255, 255, 0.2)}@media (min-width: 62em){.duet-footer-link:first-of-type{margin:0;border:0}}.duet-footer-link span{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duet-footer-link:hover{background:rgba(0, 0, 0, 0.1)}@media (min-width: 62em){.duet-footer-link:hover{background:transparent}}.duet-footer-menu{padding:20px !important;display:flex;gap:2rem;padding-left:28px !important;font-size:0.875rem}@media (min-width: 36em){.duet-footer-menu{padding:28px !important}}@media (min-width: 62em){.duet-footer-menu{padding-right:0 !important;padding-left:8px !important}}.duet-footer-menu a{display:inline-block;text-decoration:none;overflow-wrap:break-word}.duet-footer-menu a:hover,.duet-footer-menu a:focus{text-decoration:underline}.duet-footer-menu a:hover .duet-footer-divider,.duet-footer-menu a:focus .duet-footer-divider{text-decoration:none}.duet-footer-menu .duet-footer-divider{display:inline-block;margin:0 8px}.duet-footer-menu .duet-footer-divider-copyright{display:none}.duet-footer-menu .duet-footer-menu-links{display:block;flex:1}@media (min-width: 62em){.duet-footer-menu .duet-footer-menu-links{text-align:right}}.duet-footer-menu a:last-of-type .duet-footer-divider{display:none}.duet-footer-copyright{display:none;font-size:0.875rem;color:rgb(255, 255, 255)}@media (min-width: 62em){.duet-footer-copyright{display:inline}}.duet-footer-copyright.duet-footer-copyright-mobile{display:block;padding-top:0.5rem;padding-bottom:1.25rem;padding-left:28px;text-align:left}@media (min-width: 62em){.duet-footer-copyright.duet-footer-copyright-mobile{display:none}}.duet-footer-simple{padding:0;margin:0;margin-top:16px;color:rgb(0, 41, 77);background:transparent !important;border-top:1px solid rgb(225, 227, 230)}.duet-footer-simple .duet-footer-wrapper{max-width:100%;padding:0 20px;margin:0}@media (min-width: 62em){.duet-footer-simple .duet-footer-wrapper{padding:0 36px}}@media (min-width: 106.25em){.duet-footer-simple .duet-footer-wrapper{padding:0 48px}}.duet-footer-simple .duet-footer-copyright,.duet-footer-simple .duet-footer-menu a{color:rgb(0, 41, 77)}.duet-footer-simple .duet-footer-menu{padding:20px 0 !important}.duet-footer-simple .duet-footer-copyright-mobile{padding-left:0}.duet-footer-simple.duet-theme-turva{color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}.duet-footer-simple.duet-theme-turva .duet-footer-copyright,.duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 28, 58)}.duet-footer-external{display:inline-block;margin-left:4px;color:rgb(0, 119, 179)}.duet-theme-turva .duet-footer-external{color:rgb(255, 255, 255)}.duet-footer-simple.duet-theme-turva .duet-footer-external{color:rgb(198, 12, 48)}';var x={fi:{lahi:"© LähiTapiola",turva:"© Turva"},sv:{lahi:"© LokalTapiola",turva:"© Turva"},en:{lahi:"© LocalTapiola",turva:"© Turva"}};var v=function(t,e){return{component:"duet-footer",data:e,originalEvent:t}};var w=t("duet_footer",function(){function t(t){var i=this;e(this,t);this.duetChange=o(this,"duetChange",3);this.duetLogoClick=o(this,"duetLogoClick",7);this.duetMenuClick=o(this,"duetMenuClick",7);this.duetItemClick=o(this,"duetItemClick",7);this.duetAnalytics=o(this,"duetAnalytics",7);this.duetEvent=o(this,"duetEvent",7);this.handleClick=function(t){if(t.data.analyticsId){i.duetAnalytics.emit({component:"duet-footer",analyticsId:t.data.analyticsId})}i.duetChange.emit(t)};this.handleLogoClick=function(t){var e=v(t,{href:i.logoHref,label:"logo"});i.duetLogoClick.emit(e);i.handleClick(e)};this.handleMenuClick=function(t,e){var o=v(t,e);i.handleClick(o);i.duetMenuClick.emit(o)};this.handleItemClick=function(t,e){var o=v(t,e);i.handleClick(o);i.duetItemClick.emit(o)};this.emitDuetEvent=function(t,e){i.duetEvent.emit({component:"duet-footer",data:e,originalEvent:t})};this.processedMainItem=null;this.processedItems=null;this.processedMenu=null;this.theme="";this.variation="default";this.margin="auto";this.logoHref="/";this.language=f();this.items=undefined;this.accessibleLabel=undefined;this.accessibleLabelExternalDefaults=d;this.accessibleLabelExternal=p(this.accessibleLabelExternalDefaults);this.menu=undefined}t.prototype.componentWillLoad=function(){u(this);this.refresh();this.hasInfoSlot=h(this.element,"info")};t.prototype.connectedCallback=function(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"});s(this)};t.prototype.disconnectedCallback=function(){c(this);l(this)};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedItems=g(this.items);this.processedMenu=g(this.menu);return[2]}))}))};t.prototype.render=function(){var t=this;var e=p(x);var o=this.theme==="turva"?e.turva:e.lahi;return i("footer",{class:{"duet-footer":true,"duet-m-0":this.margin==="none","duet-theme-turva":this.theme==="turva","duet-footer-simple":this.variation==="simple"},"aria-label":this.accessibleLabel},i("div",{class:"duet-footer-wrapper"},this.variation!=="simple"&&i("div",{class:{"duet-footer-top":true,"duet-has-info":this.hasInfoSlot},part:"top"},i("div",{class:"footer-top-logo"},i("duet-logo",{href:this.logoHref,onClick:this.handleLogoClick,size:"large",inverse:true,language:this.language,theme:this.theme})),i("div",{class:"footer-top-right-container"},i("slot",{name:"info"}),i("div",{class:"footer-top-items"},this.processedItems&&this.processedItems.map((function(e,o){var r,a,d,u,s,l;return i(n,null,o>0&&i("duet-spacer",{size:"x-large",direction:"horizontal"}),i("duet-button",{theme:t.theme,id:e.id,class:"duet-footer-link",variation:"plain",margin:"none",fixed:true,negative:true,url:e.href,external:e.external,icon:((r=e.href)===null||r===void 0?void 0:r.startsWith("tel:"))?"form-tel":((a=e.href)===null||a===void 0?void 0:a.startsWith("mailto:"))?"navigation-message":"navigation-arrow-right","icon-right":!((d=e.href)===null||d===void 0?void 0:d.startsWith("tel:"))&&!((u=e.href)===null||u===void 0?void 0:u.startsWith("mailto:")),"icon-size":((s=e.href)===null||s===void 0?void 0:s.startsWith("tel:"))||((l=e.href)===null||l===void 0?void 0:l.startsWith("mailto:"))?"medium":"medium-small",onClick:function(o){return t.handleItemClick(o,e)},onMouseEnter:function(o){return t.emitDuetEvent(o,e)},onTouchStart:function(o){return t.emitDuetEvent(o,e)}},e.label))}))))),i("slot",{name:"extra"}),i("p",{class:"duet-footer-menu",part:"menu"},i("span",{class:"duet-footer-copyright"},"".concat(o," ").concat((new Date).getFullYear())),i("span",{class:"duet-footer-menu-links"},this.processedMenu&&i(n,null,this.processedMenu.map((function(e){return i("a",{href:e.href,id:e.id,target:e.external?"_blank":"_self",onClick:function(o){return t.handleMenuClick(o,e)},onMouseEnter:function(o){return t.emitDuetEvent(o,e)},onTouchStart:function(o){return t.emitDuetEvent(o,e)}},e.label,e.external&&i(n,null,i("duet-visually-hidden",null,", ",t.accessibleLabelExternal),i("span",{class:"duet-footer-external"},i("duet-icon",{icon:a.svg,size:"xx-small",margin:"none",color:"currentColor"}))),i("span",{class:"duet-footer-divider",role:"presentation","aria-hidden":"true"},"/"))}))))),i("p",{class:"duet-footer-copyright duet-footer-copyright-mobile"},"".concat(o," ").concat((new Date).getFullYear()))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{menu:["refresh"],items:["refresh"]}},enumerable:false,configurable:true});return t}());w.style=b}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as i,h as o,H as e,g as n}from"./p-2f1b5c7d.js";import{i as a}from"./p-a58bd561.js";import{c as s}from"./p-5e59e970.js";import{d as r}from"./p-9e371678.js";import{i as d}from"./p-a1b7f2a0.js";import{g as c,c as h,d as u}from"./p-2e36d5bf.js";import{c as b,g as l,s as p}from"./p-1784b1d2.js";import"./p-0e052642.js";import"./p-4a901bfc.js";const m=class{constructor(o){t(this,o),this.duetActionEvent=i(this,"duetActionEvent",6),this.listId=s("duet-action-button"),this.emitPageEvent=r((t=>{this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionId,name:this.actionName,meta:this.actionMeta,id:this.listId})})),this.numbersStore="",this.theme="",this.iconName="action-arrow-left-small",this.iconColor="currentColor",this.iconSize="xx-small",this.actionName=void 0,this.actionId=void 0,this.actionMeta=void 0,this.disabled=!1,this.color="",this.background="",this.accessibleTitle=!0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"},this.accessibleLabel=c(this.accessibleLabelsDefaults),this.accessibleControls="",this.url=void 0}async onKeyboardDown(t){d(t)&&this.emitPageEvent(t)}getTitle(){return"string"==typeof this.accessibleTitle?this.accessibleTitle:!0===this.accessibleTitle&&this.actionName?b(`${this.actionName}`):null}async onMouseHandler(t){t.preventDefault(),this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta})}componentWillLoad(){a(this)}connectedCallback(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){u(this)}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){const t="currentColor"===this.color?"currentColor":l(this.color,this.theme),i=l(this.background,this.theme),n=i?p(i,-.1):i,a=i?`\n button.duet-action-button {\n background: ${i} !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ${n} !important;\n }\n `:"",s={ref:t=>this.nativeButton=t,part:"button",style:{color:t,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"},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:{"duet-action-button":!0,"duet-action-button--disabled":this.disabled,[`duet-action-button--${this.theme}`]:""!==this.theme,"duet-theme-turva":"turva"===this.theme}};return o(e,{onKeyDown:t=>this.onKeyboardDown(t)},o("style",{innerHTML:a}),this.url&&!this.disabled?o("a",Object.assign({},s,{href:this.url}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):o("button",Object.assign({},s,{onClick:t=>this.onMouseHandler(t)}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),o("duet-visually-hidden",null,o("slot",null))))}get element(){return n(this)}};m.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-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)}";export{m as duet_action_button}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-6ef75455.system.js"],(function(n){"use strict";var r;return{setters:[function(n){r=n.c}],execute:function(){var t={fi:"fi-FI",en:"en-GB",us:"en-US",sv:"sv-SE"};var e={fi:"€",en:"£",us:"$",sv:"€"};var i=["fi","en","sv"];var a="fi";var u=function(){return document.documentElement.lang?document.documentElement.lang.toLowerCase():a};var o=function(n){return i.includes(n)};var f=function(n){if(n===void 0){n=u()}if(o(n)){return n}else{return a}};var c=n("a",(function(n){if(n===void 0){n=u()}return f(n)}));var v=n("b",(function(n){var r={locale:t[n],money:e[n]};if(r.locale&&r.money){return r}throw new Error('Locale for "'.concat(n,'" not found'))}));var s=n("s",(function(n){var t=typeof n==="string";if(t){try{return JSON.parse(r(n))}catch(r){console.log("sanitizeString received a string, that didnt parse to json object",n,r)}}return n}));var d=n("g",(function(n,r){var t=s(n);if(r){return t[f(r)]}else{return t[c()]}}));var l=new Set;var g=new WeakMap;var m=function(n){var r=a;for(var t=0,e=n;t<e.length;t++){var i=e[t];if(i.type==="attributes"&&i.attributeName==="lang"){r=i.oldValue;break}}if(document.documentElement.dataset.duetLangObserve){l.forEach((function(n){if(n.language){n.language=c()}if(g.has(n)){g.get(n).forEach((function(t){if(n[t.defaults]&&n[t.prop]===n[t.defaults][r]){n[t.prop]=d(n[t.defaults])}}))}}))}};{var p=new MutationObserver(m);p.observe(document.documentElement,{attributeFilter:["lang"],attributeOldValue:true})}var b=n("c",(function(n,r){l.add(n);if(r){if(!Array.isArray(r)){r=[r]}if(r.some((function(r){return!(r.prop in n)||!(r.defaults in n)}))){console.error("connectLanguageChangeObserver: component must have target.prop and target.defaults properties");r=r.filter((function(r){return r.prop in n&&r.defaults in n}))}g.set(n,r)}}));var y=n("d",(function(n){l.delete(n);g.delete(n)}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as e,H as i,g as a}from"./p-2f1b5c7d.js";import{i as d}from"./p-43b89e38.js";const n=class{constructor(e){t(this,e),this.margin="auto",this.middle=!1}render(){return e(i,{class:{"duet-middle":this.middle,"duet-ie":d()}},e("div",{class:{"duet-layout":!0,"duet-m-0":"none"===this.margin}},e("section",{class:"duet-main"},e("slot",null))))}get element(){return a(this)}};n.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{position:relative;padding:0 16px;margin:48px auto 36px}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}";export{n as duet_section_layout}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register([],(function(n){"use strict";return{execute:function(){var t=function(){{globalThis.ds={log:function(){return},warn:function(){return},info:function(){return}}}};var r=function(){t()};var u=n("g",r)}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as a,h as e,H as t}from"./p-2f1b5c7d.js";import{i as r}from"./p-a58bd561.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,{class:{"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin}},e("span",{class:{"shaped-image":!0},role:"img","aria-label":this.accessibleLabel,style:{"--rotation":`${this.rotation}deg`}},e("span",{class:"shaped-image-mask",role:"presentation"},e("span",{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 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,o){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function l(t){try{a(o.next(t))}catch(t){s(t)}}function n(t){try{a(o["throw"](t))}catch(t){s(t)}}function a(t){t.done?i(t.value):r(t.value).then(l,n)}a((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},o,r,s,l;return l={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function n(t){return function(e){return a([t,e])}}function a(n){if(o)throw new TypeError("Generator is already executing.");while(l&&(l=0,n[0]&&(i=0)),i)try{if(o=1,r&&(s=n[0]&2?r["return"]:n[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,n[1])).done)return s;if(r=0,s)n=[n[0]&2,s.value];switch(n[0]){case 0:case 1:s=n;break;case 4:i.label++;return{value:n[1],done:false};case 5:i.label++;r=n[1];n=[0];continue;case 7:n=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(n[0]===6||n[0]===2)){i=0;continue}if(n[0]===3&&(!s||n[1]>s[0]&&n[1]<s[3])){i.label=n[1];break}if(n[0]===6&&i.label<s[1]){i.label=s[1];s=n;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(n);break}if(s[2])i.ops.pop();i.trys.pop();continue}n=e.call(t,i)}catch(t){n=[6,t];r=0}finally{o=s=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var o=0,r=e.length,s;o<r;o++){if(s||!(o in e)){if(!s)s=Array.prototype.slice.call(e,0,o);s[o]=e[o]}}return t.concat(s||Array.prototype.slice.call(e))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-aab7c415.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-34d7dd10.system.js","./p-224f6c46.system.js","./p-ae21ad57.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var e,i,o,r,s,l,n,a,u,c,d,h,m,p,b,f,g,v,x;return{setters:[function(t){e=t.r;i=t.c;o=t.h;r=t.H;s=t.g},function(t){l=t.i},function(t){n=t.c},function(t){a=t.f;u=t.o;c=t.j;d=t.d;h=t.b;m=t.a;p=t.c},function(t){b=t.a;f=t.c;g=t.d},function(t){v=t.c},function(t){x=t.p}],execute:function(){var y='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px #747475}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);background:#d9ebf4;border-radius:20rem}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{border-color:rgb(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !important}.duet-theme-turva .duet-multiselect{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(225, 227, 230)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(0, 41, 77)}.duet-multiselect-checkboxes fieldset{margin-top:8px;margin-bottom:12px}.duet-multiselect-checkboxes fieldset+fieldset{margin-top:28px}.duet-multiselect-checkboxes legend{margin-bottom:12px;font-size:1rem;font-weight:600}.duet-multiselect-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.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}';function w(t,e){return t.includes(e)?t.filter((function(t){return t!==e})):__spreadArray(__spreadArray([],t,true),[e],false)}var k=t("duet_multiselect",function(){function t(t){var o=this;e(this,t);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.errorId=n("DuetError");this.labelId=n("DuetLabel");this.topCaptionId=n("DuetCaptionTop");this.selectedLangObject={en:"selected",fi:"valittu",sv:"vald"};this.selectAllLabel={en:"Select all",fi:"Valitse kaikki",sv:"Välj alla"};this.clearAllLabel={en:"Clear all",fi:"Tyhjennä kaikki",sv:"Rensa alla"};this.placeholderLabel={en:"Hint",fi:"Vihje",sv:"Tips"};this.onChange=function(t){o.duetChange.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onBlur=function(t){o.duetBlur.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onFocus=function(t){o.duetFocus.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onMultiselectKeyDown=function(t){if(a(t)||u(t)){if(o.checkboxesVisible){o.checkboxesVisible=false;o.multiselectElement.focus();t.preventDefault()}}};this.onMultiselectInputKeyDown=function(t){if(c(t)){t.preventDefault();o.toggleCheckboxes();setTimeout((function(){if(o.checkboxesVisible){var t=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(o.allControls?-2:0)));if(t){t.focus()}}}),200)}};this.onCheckboxKeyDown=function(t,e){var i;if(d(t)||h(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e-1)))}else if(m(t)||p(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e+1)))}if(i){i.focus();t.preventDefault();o.activeDescendant=i.id}};this.toggleCheckboxes=function(){o.checkboxesVisible=!o.checkboxesVisible};this.toggleCheckbox=function(t,e){o.value=w(o.value,e);o.onChange(t)};this.handleSelectAllClick=function(t){o.value=o.processedItems;o.onChange(t)};this.handleClearAllClick=function(t){o.value=[];o.onChange(t)};this.getOptionIdentifier=function(t){return"".concat(o.identifier,"-option-").concat(t)};this.getDescribedBy=function(){var t=[];if(o.isCaptionVisible&&o.topCaptionId){t.push(o.topCaptionId)}if(o.accessibleDescribedBy){t.push(o.accessibleDescribedBy)}if(o.error){t.push(o.errorId)}return t.length>0?t.join(" "):null};this.processedItems=[];this.processedGroups=[];this.checkboxesVisible=false;this.activeDescendant="";this.language=b();this.margin="auto";this.error="";this.accessibleLiveError="polite";this.expand=false;this.value=[];this.theme="";this.labelHidden=false;this.identifier=n("DuetMultiselect");this.allControls=false;this.placeholder="";this.caption=undefined;this.items=undefined;this.disabled=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.accessibleDescribedBy=undefined;this.tooltip="";this.tooltipDirection="auto"}t.prototype.handleFocus=function(t){var e=this;var i=t.composedPath().every((function(t){return t!==e.element}));if(i){this.checkboxesVisible=false}};t.prototype.componentWillLoad=function(){l(this);this.isCaptionVisible=!!this.caption;v(this.element,"tooltip","duet-tooltip",1,true);this.refresh()};t.prototype.connectedCallback=function(){f(this)};t.prototype.disconnectedCallback=function(){g(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.multiselectElement){this.multiselectElement.focus(t)}return[2]}))}))};t.prototype.selectWithValues=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.processedItems.filter((function(e){return t.includes(e.value)}));this.value=__spreadArray([],new Set(__spreadArray(__spreadArray([],this.value,true),e,true)),true);return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=x(this.items);this.processedItems=[];this.processedGroups=[];if(!t||t.length===0){return[2]}if(t[0].items!==undefined){this.processedGroups=t}else{this.processedGroups=[{label:"",items:t}]}this.processedGroups.forEach((function(t){return t.items.forEach((function(t){return e.processedItems.push(t)}))}));return[2]}))}))};t.prototype.render=function(){var t=this;var e;return o(r,{class:{"duet-m-0":this.margin==="none","duet-expand":this.expand}},o("div",{class:{"duet-multiselect-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva","duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:function(e){return t.onMultiselectKeyDown(e)}},o("duet-label",{theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:this.identifier},this.label),this.tooltip&&o("duet-tooltip",{class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{name:"tooltip"}),this.caption&&o("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),o("div",{class:"duet-multiselect-wrapper"},o("button",{id:this.identifier,ref:function(e){return t.multiselectElement=e},class:{"duet-multiselect":true,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:function(){return t.toggleCheckboxes()},onFocus:function(e){return t.onFocus(e)},onBlur:function(e){return t.onBlur(e)},role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":"".concat(this.identifier,"-checkboxes"),onKeyDown:function(e){return t.onMultiselectInputKeyDown(e)},disabled:this.disabled},o("span",{role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":"".concat(this.identifier,"-checkboxes"),"aria-label":this.placeholderLabel[this.language],class:"duet-multiselect-label"},this.placeholder),this.value&&this.value.length>0&&o("span",{class:"duet-multiselect-badge"},this.value.length,o("duet-visually-hidden",null,this.selectedLangObject[this.language],", ",this.value.map((function(t){return t.label})).join(", "))),o("svg",{class:{"duet-multiselect-icon":true,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))),o("div",{id:"".concat(this.identifier,"-checkboxes"),role:"listbox",class:{"duet-multiselect-checkboxes":true,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},((e=this.processedItems)===null||e===void 0?void 0:e.length)&&this.allControls&&o("div",{class:"duet-multiselect-all-control-buttons"},o("button",{class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:function(e){return t.onCheckboxKeyDown(e,-2)}},this.selectAllLabel[this.language]),o("button",{class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:function(e){return t.onCheckboxKeyDown(e,-1)}},this.clearAllLabel[this.language])),this.processedItems&&this.processedGroups.map((function(e){return o("fieldset",null,e.label&&o("legend",null,e.label),e.items.map((function(e,i){var r,s;return o("duet-checkbox",{identifier:t.getOptionIdentifier(i),role:"option",label:e.label,value:e.value,key:e.value,checked:(r=t.value)===null||r===void 0?void 0:r.includes(e),"accessible-selected":((s=t.value)===null||s===void 0?void 0:s.includes(e))?"true":undefined,disabled:!t.checkboxesVisible||e.disabled,onDuetChange:function(i){return t.toggleCheckbox(i,e)},onKeyDown:function(e){return t.onCheckboxKeyDown(e,i)},theme:t.theme})})))})))),o("span",{class:"duet-multiselect-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&o("span",null,this.error))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{items:["refresh"]}},enumerable:false,configurable:true});return t}());k.style=y}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as n,H as t,g as o}from"./p-2f1b5c7d.js";import{i as a}from"./p-a58bd561.js";import{f as r}from"./p-a1b7f2a0.js";const i=class{constructor(n){e(this,n),this.theme="",this.active=!1,this.href="#",this.icon=void 0,this.caret=!1,this.highlight=!1}componentWillLoad(){a(this)}handleEscape(e){if(r(e)){const e=this.element.closest("duet-submenu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return n(t,null,n("a",{class:{"duet-submenu-bar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:e=>this.handleEscape(e)},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("span",{class:"label-container"},n("span",{class:"label"},n("slot",null)),this.caret&&n("duet-icon",{name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&n("duet-icon",{class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))}get element(){return o(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none}.duet-submenu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown-link .label-container{display:flex;flex:1;gap:12px;align-items:center;justify-content:flex-start}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.5rem 8px;font-size:1rem;line-height:1.5}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}.duet-submenu-bar-dropdown-link.active .active-check{display:none}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link.active{background:rgb(243, 249, 252)}.duet-submenu-bar-dropdown-link.active .label::after{display:none}.duet-submenu-bar-dropdown-link.active .active-check{display:block}.duet-submenu-bar-dropdown-link.active.duet-theme-turva{background:rgb(245, 245, 247)}.duet-submenu-bar-dropdown-link:hover{background:rgb(230, 242, 248)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(228, 228, 230)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(148, 9, 37)}';export{i as duet_submenu_bar_dropdown_link}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{c as e}from"./p-0e052642.js";const t={fi:"fi-FI",en:"en-GB",us:"en-US",sv:"sv-SE"},n={fi:"€",en:"£",us:"$",sv:"€"},r=["fi","en","sv"],o="fi",a=()=>document.documentElement.lang?document.documentElement.lang.toLowerCase():o,s=(e=a())=>r.includes(e)?e:o,i=(e=a())=>s(e),c=e=>{const r={locale:t[e],money:n[e]};if(r.locale&&r.money)return r;throw new Error(`Locale for "${e}" not found`)},u=t=>{if("string"==typeof t)try{return JSON.parse(e(t))}catch(e){console.log("sanitizeString received a string, that didnt parse to json object",t,e)}return t},f=(e,t)=>{const n=u(e);return t?n[s(t)]:n[i()]},d=new Set,l=new WeakMap;new MutationObserver((e=>{let t=o;for(const n of e)if("attributes"===n.type&&"lang"===n.attributeName){t=n.oldValue;break}document.documentElement.dataset.duetLangObserve&&d.forEach((e=>{e.language&&(e.language=i()),l.has(e)&&l.get(e).forEach((n=>{e[n.defaults]&&e[n.prop]===e[n.defaults][t]&&(e[n.prop]=f(e[n.defaults]))}))}))})).observe(document.documentElement,{attributeFilter:["lang"],attributeOldValue:!0});const g=(e,t)=>{d.add(e),t&&(Array.isArray(t)||(t=[t]),t.some((t=>!(t.prop in e)||!(t.defaults in e)))&&(console.error("connectLanguageChangeObserver: component must have target.prop and target.defaults properties"),t=t.filter((t=>t.prop in e&&t.defaults in e))),l.set(e,t))},p=e=>{d.delete(e),l.delete(e)};export{i as a,c as b,g as c,p as d,f as g,u as s}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as r,g as o}from"./p-2f1b5c7d.js";import{i as a}from"./p-a58bd561.js";import{g as i}from"./p-2e36d5bf.js";import{g as d}from"./p-1784b1d2.js";import"./p-0e052642.js";import"./p-4a901bfc.js";const s=class{constructor(t){e(this,t),this.observers=[],this.breadcrumbsAriaLabel=i({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"}),this.children=void 0,this.theme="",this.variation="header",this.color=""}componentWillLoad(){a(this),this.children=Array.from(this.element.children)}connectedCallback(){Array.from(this.element.children).forEach((e=>{const t=new MutationObserver((()=>this.children=Array.from(this.element.children)));t.observe(e,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.observers=[...this.observers,t]}))}disconnectedCallback(){this.observers.forEach((e=>e.disconnect())),this.observers=[]}render(){const e=d(this.color);return t(r,null,t("nav",{"aria-label":this.breadcrumbsAriaLabel,class:{"duet-breadcrumbs":!0,"duet-theme-turva":"turva"===this.theme,[this.variation]:!0}},t("div",{class:"container"},t("div",{role:"list",class:"list",style:{color:e}},t("slot",null)),t("div",{class:"bottom-border bottom-border--container"})),t("div",{class:"bottom-border bottom-border--nav"})))}get element(){return o(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display: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}';export{s as duet_breadcrumbs}
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.54"};let n,l,o,s=!1,i=!1,c=!1,r=!1,f=!1;const u={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},a="s-id",d="sty-id",$="c-id",v="slot-fb{display:contents}slot-fb[hidden]{display:none}",h="http://www.w3.org/1999/xlink",p={},m=e=>"object"==(e=typeof e)||"function"===e;function y(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,c=!1;const r=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!m(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,k);const u=w(e,null);return u.l=t,r.length>0&&(u.o=r),u.i=o,u.u=s,u},w=(e,t)=>({$:0,v:e,t,h:null,o:null,l:null,i:null,u:null}),g={},k={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(O)},j=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.v,vtext:e.t}),O=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},S=(e,t,n,l,o,s,i)=>{let c,r,f,u;if(1===s.nodeType){for(c=s.getAttribute($),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={$:0,p:r[0],m:r[1],k:r[2],j:r[3],v:s.tagName.toLowerCase(),h:s,l:null,o:null,i:null,u:null,t:null},t.push(f),s.removeAttribute($),e.o||(e.o=[]),e.o[f.j]=f,e=f,l&&"0"===f.k&&(l[f.j]=f.h))),u=s.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.childNodes[u],i);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.shadowRoot.childNodes[u],i)}else if(8===s.nodeType)r=s.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={$:0,p:r[1],m:r[2],k:r[3],j:r[4],h:s,l:null,o:null,i:null,u:null,v:null,t:null},"t"===c?(f.h=s.nextSibling,f.h&&3===f.h.nodeType&&(f.t=f.h.textContent,t.push(f),s.remove(),e.o||(e.o=[]),e.o[f.j]=f,l&&"0"===f.k&&(l[f.j]=f.h))):f.p===i&&("s"===c?(f.v="slot",s["s-sn"]=r[5]?f.u=r[5]:"",s["s-sr"]=!0,l&&(f.h=Te.createElement(f.v),f.u&&f.h.setAttribute("name",f.u),s.parentNode.insertBefore(f.h,s),s.remove(),"0"===f.k&&(l[f.j]=f.h)),n.push(f),e.o||(e.o=[]),e.o[f.j]=f):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.v){const t=w(null,s.textContent);t.h=s,t.j="0",e.o=[t]}},x=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)x(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)x(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},C=e=>Se(e).$hostElement$,R=(e,t,n)=>{const l=C(e);return{emit:e=>M(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},M=(e,t,n)=>{const l=Le.ce(t,n);return e.dispatchEvent(l),l},E=new WeakMap,I=(e,t,n)=>{let l=Ne.get(e);De&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Ne.set(e,l)},N=(e,t)=>{var n;const l=P(t),o=Ne.get(l);if(e=11===e.nodeType?e:Te,o)if("string"==typeof o){let s,i=E.get(e=e.head||e);if(i||E.set(e,i=new Set),!i.has(l)){if(e.host&&(s=e.querySelector(`[${d}="${l}"]`)))s.innerHTML=o;else{s=Te.createElement("style"),s.innerHTML=o;const t=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.$&&(s.innerHTML+=v),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},P=e=>"sc-"+e.S,T=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,o,s)=>{if(n!==l){let i=Re(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=A(n),s=A(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=m(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):Re(Pe,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(D);t=t.replace(F,""),n&&Le.rel(e,t,n,o),l&&Le.ael(e,t,l,o)}}},U=/\s/,A=e=>e?e.split(U):[],D="Capture",F=RegExp(D+"$"),W=(e,t,n,l)=>{const o=11===t.h.nodeType&&t.h.host?t.h.host:t.h,s=e&&e.l||p,i=t.l||p;for(l in s)l in i||L(o,l,s[l],void 0,n,t.$);for(l in i)L(o,l,s[l],i[l],n,t.$)},B=(e,t,i,f)=>{const u=t.o[i];let a,d,$,v=0;if(s||(c=!0,"slot"===u.v&&(n&&f.classList.add(n+"-s"),u.$|=u.o?2:1)),null!==u.t)a=u.h=Te.createTextNode(u.t);else if(1&u.$)a=u.h=Te.createTextNode("");else{if(r||(r="svg"===u.v),a=u.h=Te.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&u.$?"slot-fb":u.v),r&&"foreignObject"===u.v&&(r=!1),W(null,u,r),null!=n&&a["s-si"]!==n&&a.classList.add(a["s-si"]=n),u.o)for(v=0;v<u.o.length;++v)d=B(e,u,v,a),d&&a.appendChild(d);"svg"===u.v?r=!1:"foreignObject"===a.tagName&&(r=!0)}return a["s-hn"]=o,3&u.$&&(a["s-sr"]=!0,a["s-cr"]=l,a["s-sn"]=u.u||"",$=e&&e.o&&e.o[i],$&&$.v===u.v&&e.h&&H(e.h,!1)),a},H=(e,t)=>{Le.$|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==o&&l["s-ol"]&&(G(l).insertBefore(l,z(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,c=!0),t&&H(l,t)}Le.$&=-2},V=(e,t,n,l,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===o&&(r=r.shadowRoot);s<=i;++s)l[s]&&(c=B(null,n,s,e),c&&(l[s].h=c,r.insertBefore(c,z(t))))},q=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.h;Z(t),e&&(i=!0,e["s-ol"]?e["s-ol"].remove():H(e,!0),e.remove())}}},_=(e,t,n=!1)=>e.v===t.v&&("slot"===e.v?e.u===t.u:!!n||e.i===t.i),z=e=>e&&e["s-ol"]||e,G=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,J=(e,t,n=!1)=>{const l=t.h=e.h,o=e.o,s=t.o,i=t.v,c=t.t;let f;null===c?(r="svg"===i||"foreignObject"!==i&&r,"slot"===i||W(e,t,r),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,c=0,r=0,f=0,u=0,a=t.length-1,d=t[0],$=t[a],v=l.length-1,h=l[0],p=l[v];for(;c<=a&&r<=v;)if(null==d)d=t[++c];else if(null==$)$=t[--a];else if(null==h)h=l[++r];else if(null==p)p=l[--v];else if(_(d,h,o))J(d,h,o),d=t[++c],h=l[++r];else if(_($,p,o))J($,p,o),$=t[--a],p=l[--v];else if(_(d,p,o))"slot"!==d.v&&"slot"!==p.v||H(d.h.parentNode,!1),J(d,p,o),e.insertBefore(d.h,$.h.nextSibling),d=t[++c],p=l[--v];else if(_($,h,o))"slot"!==d.v&&"slot"!==p.v||H($.h.parentNode,!1),J($,h,o),e.insertBefore($.h,d.h),$=t[--a],h=l[++r];else{for(f=-1,u=c;u<=a;++u)if(t[u]&&null!==t[u].i&&t[u].i===h.i){f=u;break}f>=0?(i=t[f],i.v!==h.v?s=B(t&&t[r],n,f,e):(J(i,h,o),t[f]=void 0,s=i.h),h=l[++r]):(s=B(t&&t[r],n,r,e),h=l[++r]),s&&G(d.h).insertBefore(s,z(d.h))}c>a?V(e,null==l[v+1]?null:l[v+1].h,n,l,r,v):r>v&&q(t,c,a)})(l,o,t,s,n):null!==s?(null!==e.t&&(l.textContent=""),V(l,null,t,s,0,s.length-1)):null!==o&&q(o,0,o.length-1),r&&"svg"===i&&(r=!1)):(f=l["s-cr"])?f.parentNode.textContent=c:e.t!==c&&(l.data=c)},K=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}K(e)}},Q=[],X=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(Y(t,e)){let n=Q.find((e=>e.C===t));i=!0,t["s-sn"]=t["s-sn"]||e,n?(n.C["s-sh"]=o["s-hn"],n.R=o):(t["s-sh"]=o["s-hn"],Q.push({R:o,C:t})),t["s-sr"]&&Q.map((e=>{Y(e.C,t["s-sn"])&&(n=Q.find((e=>e.C===t)),n&&!e.R&&(e.R=n.R))}))}else Q.some((e=>e.C===t))||Q.push({C:t})}1===o.nodeType&&X(o)}},Y=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Z=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Z)},ee=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},te=(e,t)=>{if(e.$|=16,!(4&e.$))return ee(e,e.I),_e((()=>ne(e,t)));e.$|=512},ne=(e,t)=>{const n=e.N;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>fe(n,e,t))),e.P=void 0),l=fe(n,"componentWillLoad")),l=le(l,(()=>fe(n,"componentWillRender"))),le(l,(()=>se(e,n,t)))},le=(e,t)=>oe(e)?e.then(t):t(),oe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,se=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.T,n=e.$hostElement$,l=t.$,o=N(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);ie(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},ie=(e,t,r,f)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t,r=!1)=>{var f,u,a,d;const $=e.$hostElement$,v=e.T,h=e.L||w(null,null),p=(e=>e&&e.v===g)(t)?t:b(null,null,t);if(o=$.tagName,v.U&&(p.l=p.l||{},v.U.map((([e,t])=>p.l[t]=$[e]))),r&&p.l)for(const e of Object.keys(p.l))$.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(p.l[e]=$[e]);if(p.v=null,p.$|=4,e.L=p,p.h=h.h=$.shadowRoot||$,n=$["s-sc"],l=$["s-cr"],s=0!=(1&v.$),i=!1,J(h,p,r),Le.$|=1,c){X(p.h);for(const e of Q){const t=e.C;if(!t["s-ol"]){const e=Te.createTextNode("");e["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of Q){const t=e.C,n=e.R;if(n){const e=n.parentNode;let l=n.nextSibling;{let n=null===(f=t["s-ol"])||void 0===f?void 0:f.previousSibling;for(;n;){let o=null!==(u=n["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}n=n.previousSibling}}(!l&&e!==t.parentNode||t.nextSibling!==l)&&t!==l&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),e.insertBefore(t,l),1===t.nodeType&&(t.hidden=null!==(a=t["s-ih"])&&void 0!==a&&a))}else 1===t.nodeType&&(r&&(t["s-ih"]=null!==(d=t.hidden)&&void 0!==d&&d),t.hidden=!0)}}i&&K(p.h),Le.$&=-2,Q.length=0})(e,t,f)}catch(t){Me(t,e.$hostElement$)}return null},ce=e=>{const t=e.$hostElement$,n=e.N,l=e.I;fe(n,"componentDidRender"),64&e.$?fe(n,"componentDidUpdate"):(e.$|=64,ue(t),fe(n,"componentDidLoad"),e.A(t),l||re()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&qe((()=>te(e,!1))),e.$&=-517},re=()=>{ue(Te.documentElement),qe((()=>M(Pe,"appload",{detail:{namespace:e}})))},fe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Me(e)}},ue=e=>e.classList.add("hydrated"),ae=(e,t,n)=>{var l;const o=e.prototype;if(t.F){e.watchers&&(t.W=e.watchers);const s=Object.entries(t.F);if(s.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>Se(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=Se(e),s=o.$hostElement$,i=o.B.get(t),c=o.$,r=o.N;if(n=((e,t)=>null==e||m(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.B.set(t,n),r)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){Me(e,s)}}))}2==(18&c)&&te(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){var n;const l=Se(this);return null===(n=null==l?void 0:l.H)||void 0===n?void 0:n.then((()=>{var n;return null===(n=l.N)||void 0===n?void 0:n[e](...t)}))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,l,s){Le.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=Se(this),o=null==n?void 0:n.$;if(o&&!(8&o)&&128&o&&s!==l){const o=n.N,c=null===(i=t.W)||void 0===i?void 0:i[e];null==c||c.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.W)&&void 0!==l?l:{}),...s.filter((([e,t])=>15&t[0])).map((([e,l])=>{var o;const s=l[1]||e;return n.set(s,e),512&l[0]&&(null===(o=t.U)||void 0===o||o.push([e,s])),s}))]))}}return e},de=e=>{fe(e,"connectedCallback")},$e=e=>{if(0==(1&Le.$)){const t=Se(e),n=t.T,l=()=>{};if(1&t.$)be(e,t,n.V),(null==t?void 0:t.N)?de(t.N):(null==t?void 0:t.q)&&t.q.then((()=>de(t.N)));else{let l;if(t.$|=1,l=e.getAttribute(a),l){if(1&n.$){const t=N(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,c=l.L=w(t,null);Le._||x(Te.body,Le._=new Map),e[a]=n,e.removeAttribute(a),S(c,s,[],i,e,e,n),s.map((e=>{const n=e.p+"."+e.m,l=Le._.get(n),s=e.h;l&&Ue&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Le._.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&ve(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ee(t,t.I=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),qe((()=>(async(e,t,n)=>{let l;if(0==(32&t.$)){t.$|=32;{if(l=Ie(n),l.then){const e=()=>{};l=await l,e()}l.isProxied||(n.W=l.watchers,ae(l,n,2),l.isProxied=!0);const e=()=>{};t.$|=8;try{new l(t)}catch(e){Me(e)}t.$&=-9,t.$|=128,e(),de(t.N)}if(l.style){let e=l.style;const t=P(n);if(!Ne.has(t)){const l=()=>{};I(t,e,!!(1&n.$)),l()}}}const o=t.I,s=()=>te(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,n)))}l()}},ve=e=>{const t=e["s-cr"]=Te.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},he=e=>{fe(e,"disconnectedCallback")},pe=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&Le.$)&&2&Se(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},me=(e,t={})=>{var n;const l=t.exclude||[],o=Pe.customElements,s=Te.head,i=s.querySelector("meta[charset]"),c=Te.createElement("style"),r=[],f=Te.querySelectorAll(`[${d}]`);let u,a=!0,$=0;for(Object.assign(Le,t),Le.G=new URL(t.resourcesUrl||"./",Te.baseURI).href,Le.$|=2;$<f.length;$++)I(f[$].getAttribute(d),T(f[$].innerHTML),!0);let h=!1;if(e.map((e=>{e[1].map((t=>{var n;const s={$:t[0],S:t[1],F:t[2],V:t[3]};4&s.$&&(h=!0),s.F=t[2],s.V=t[3],s.U=[],s.W=null!==(n=t[4])&&void 0!==n?n:{};const i=s.S,c=class extends HTMLElement{constructor(e){super(e),Ce(e=this,s),1&s.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&s.$)})}connectedCallback(){u&&(clearTimeout(u),u=null),a?r.push(this):Le.jmp((()=>$e(this)))}disconnectedCallback(){Le.jmp((()=>(async()=>{if(0==(1&Le.$)){const e=Se(this);e.J&&(e.J.map((e=>e())),e.J=void 0),(null==e?void 0:e.N)?he(e.N):(null==e?void 0:e.q)&&e.q.then((()=>he(e.N)))}})()))}componentOnReady(){return Se(this).q}};pe(c.prototype,s),s.K=e[0],l.includes(i)||o.get(i)||o.define(i,ae(c,s,1))}))})),h&&(c.innerHTML+=v),c.innerHTML.length){c.setAttribute("data-styles","");const e=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=e&&c.setAttribute("nonce",e),s.insertBefore(c,i?i.nextSibling:s.firstChild)}a=!1,r.length?r.map((e=>e.connectedCallback())):Le.jmp((()=>u=setTimeout(re,30)))},ye=(e,t)=>t,be=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ge(e,n),i=we(t,o),c=ke(n);Le.ael(s,l,i,c),(t.J=t.J||[]).push((()=>Le.rel(s,l,i,c)))}))},we=(e,t)=>n=>{try{256&e.$?e.N[t](n):(e.P=e.P||[]).push([t,n])}catch(e){Me(e)}},ge=(e,t)=>4&t?Te:8&t?Pe:16&t?Te.body:e,ke=e=>0!=(2&e),je=e=>Le.O=e,Oe=new WeakMap,Se=e=>Oe.get(e),xe=(e,t)=>Oe.set(t.N=e,t),Ce=(e,t)=>{const n={$:0,$hostElement$:e,T:t,B:new Map};return n.H=new Promise((e=>n.D=e)),n.q=new Promise((e=>n.A=e)),e["s-p"]=[],e["s-rc"]=[],be(e,n,t.V),Oe.set(e,n)},Re=(e,t)=>t in e,Me=(e,t)=>(0,console.error)(e,t),Ee=new Map,Ie=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Ee.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Ee.set(n,e),e[t])),Me)
5
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ne=new Map,Pe="undefined"!=typeof window?window:{},Te=Pe.document||{head:{}},Le={$:0,G:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},Ue=!0,Ae=e=>Promise.resolve(e),De=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Fe=[],We=[],Be=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&Le.$?qe(Ve):Le.raf(Ve))},He=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){Me(e)}e.length=0},Ve=()=>{He(Fe),He(We),(f=Fe.length>0)&&Le.raf(Ve)},qe=e=>Ae().then(e),_e=Be(We,!0);export{u as B,t as E,ye as F,g as H,e as N,me as b,R as c,Te as d,C as g,b as h,Ae as p,xe as r,je as s}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as o,g as a}from"./p-2f1b5c7d.js";import{i as r}from"./p-a58bd561.js";const i=class{constructor(t){e(this,t),this.theme="",this.variation="default",this.active=!1,this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){r(this)}render(){return t(o,{role:"listitem"},t("a",{class:{"duet-toolbar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active,["negative"===this.variation?"negative":"white"]:!0},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{size:"x-small",name:this.icon,margin:"none",theme:this.theme,color:"currentColor"}),t("slot",null)))}get element(){return a(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-link.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.negative duet-icon{color:rgb(205, 229, 241)}.duet-toolbar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(244, 207, 214)}.duet-toolbar-link:hover{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-toolbar-link:hover.negative{color:rgb(255, 255, 255);background:rgba(0, 41, 77, 0.2)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-toolbar-link:hover.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active{color:rgb(0, 41, 77)}.duet-toolbar-link.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active.negative::after{display:none}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}';export{i as duet_toolbar_link}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as a,g as n}from"./p-2f1b5c7d.js";import{i}from"./p-a58bd561.js";import{f as r}from"./p-a1b7f2a0.js";const o=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.href="#",this.icon=void 0}componentWillLoad(){i(this)}handleEscape(e){if(r(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}render(){return t(a,null,t("a",{class:{"duet-submenu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false"},this.icon&&t("duet-icon",{class:"submenu-bar-link-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("span",{class:"label"},t("slot",null))))}get element(){return n(this)}};o.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-submenu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 77, 128)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}.duet-submenu-bar-link.active.duet-theme-turva{color:rgb(148, 9, 37)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}}.duet-submenu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(148, 9, 37)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(148, 9, 37)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(0, 41, 77);background:rgb(230, 242, 248)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(228, 228, 230)}.duet-submenu-bar-link:hover.duet-theme-turva.active{color:rgb(148, 9, 37)}}';export{o as duet_submenu_bar_link}