@duetds/components 9.17.0 → 9.18.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 (900) hide show
  1. package/hydrate/index.js +440 -182
  2. package/lib/cjs/{a11y-utils-3f03a649.js → a11y-utils-5b56e0b1.js} +1 -1
  3. package/lib/cjs/{app-globals-ec84cf84.js → app-globals-628c4829.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +6 -6
  5. package/lib/cjs/duet-alert.cjs.entry.js +11 -17
  6. package/lib/cjs/duet-badge.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-banner.cjs.entry.js +6 -6
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
  13. package/lib/cjs/duet-card.cjs.entry.js +12 -10
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +17 -14
  19. package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +6 -6
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +4 -4
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-footer.cjs.entry.js +5 -5
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
  30. package/lib/cjs/duet-header_2.cjs.entry.js +10 -9
  31. package/lib/cjs/duet-hero.cjs.entry.js +5 -5
  32. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  33. package/lib/cjs/duet-indicator.cjs.entry.js +3 -3
  34. package/lib/cjs/duet-input_2.cjs.entry.js +8 -8
  35. package/lib/cjs/duet-layout.cjs.entry.js +3 -3
  36. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  37. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  39. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
  40. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-modal.cjs.entry.js +8 -8
  44. package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
  45. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -6
  47. package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
  48. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-pagination_2.cjs.entry.js +7 -7
  51. package/lib/cjs/duet-panel.cjs.entry.js +3 -3
  52. package/lib/cjs/duet-phone-input.cjs.entry.js +5 -5
  53. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +7 -7
  54. package/lib/cjs/duet-progress.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-promo-card.cjs.entry.js +7 -7
  56. package/lib/cjs/duet-radio_2.cjs.entry.js +5 -5
  57. package/lib/cjs/duet-range-slider.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -13
  59. package/lib/cjs/duet-section-layout.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-select.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  62. package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
  64. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  65. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  66. package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -6
  67. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +8 -6
  68. package/lib/cjs/duet-slideout-panel.cjs.entry.js +15 -13
  69. package/lib/cjs/duet-slideout.cjs.entry.js +12 -11
  70. package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
  71. package/lib/cjs/duet-step_2.cjs.entry.js +5 -5
  72. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-submenu-bar.cjs.entry.js +4 -4
  77. package/lib/cjs/duet-textarea.cjs.entry.js +5 -5
  78. package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  80. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
  81. package/lib/cjs/duet-toolbar-item.cjs.entry.js +6 -6
  82. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  83. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  84. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -6
  85. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  86. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  87. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  88. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  89. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  90. package/lib/cjs/duet.cjs.js +2 -2
  91. package/lib/cjs/{errorcodes.utils-42b43a15.js → errorcodes.utils-d6716198.js} +1 -1
  92. package/lib/cjs/{focus-utils-c047d67f.js → focus-utils-21cb0103.js} +1 -1
  93. package/lib/cjs/{index-a23bb130.js → index-0444d660.js} +1 -1
  94. package/lib/cjs/{language-utils-ebd2e191.js → language-utils-a34e2467.js} +1 -1
  95. package/lib/cjs/loader.cjs.js +2 -2
  96. package/lib/cjs/{slot-utils-628154c1.js → slot-utils-4baa4a9d.js} +6 -1
  97. package/lib/cjs/{themeable-component-7637c899.js → themeable-component-ee2255e3.js} +1 -1
  98. package/lib/cjs/{token-utils-c73ca50c.js → token-utils-955dd258.js} +37 -37
  99. package/lib/cjs/{tokens-22702e71.js → tokens-bdaa8818.js} +144 -0
  100. package/lib/cjs/{tokens.module-a7c77c13.js → tokens.module-2358195b.js} +96 -0
  101. package/lib/collection/components/duet-action-button/duet-action-button.css +18 -20
  102. package/lib/collection/components/duet-alert/duet-alert.css +12 -23
  103. package/lib/collection/components/duet-alert/duet-alert.js +16 -16
  104. package/lib/collection/components/duet-badge/duet-badge.css +12 -12
  105. package/lib/collection/components/duet-banner/duet-banner.css +6 -28
  106. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +9 -7
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +7 -7
  108. package/lib/collection/components/duet-button/duet-button.css +68 -60
  109. package/lib/collection/components/duet-callout/duet-callout.css +3 -3
  110. package/lib/collection/components/duet-caption/duet-caption.css +4 -4
  111. package/lib/collection/components/duet-card/duet-card.css +25 -18
  112. package/lib/collection/components/duet-card/duet-card.js +6 -4
  113. package/lib/collection/components/duet-checkbox/duet-checkbox.css +19 -12
  114. package/lib/collection/components/duet-chip/duet-chip.css +33 -28
  115. package/lib/collection/components/duet-choice/duet-checkmark.css +2 -2
  116. package/lib/collection/components/duet-choice/duet-choice.css +52 -53
  117. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  118. package/lib/collection/components/duet-collapsible/duet-collapsible.css +26 -14
  119. package/lib/collection/components/duet-collapsible/duet-collapsible.js +14 -10
  120. package/lib/collection/components/duet-combobox/duet-combobox.css +4 -4
  121. package/lib/collection/components/duet-contact-card/duet-contact-card.css +5 -5
  122. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +15 -15
  123. package/lib/collection/components/duet-date-picker/duet-date-picker.css +68 -51
  124. package/lib/collection/components/duet-divider/duet-divider.css +5 -5
  125. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  126. package/lib/collection/components/duet-empty-state/duet-empty-state.css +8 -8
  127. package/lib/collection/components/duet-fieldset/duet-fieldset.css +7 -7
  128. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  129. package/lib/collection/components/duet-footer/duet-footer.css +33 -19
  130. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  131. package/lib/collection/components/duet-grid-item/duet-grid-item.css +3 -3
  132. package/lib/collection/components/duet-header/duet-header.css +116 -88
  133. package/lib/collection/components/duet-heading/duet-heading.css +7 -7
  134. package/lib/collection/components/duet-hero/duet-hero.css +27 -24
  135. package/lib/collection/components/duet-icon/duet-icon.css +7 -7
  136. package/lib/collection/components/duet-indicator/duet-indicator.css +4 -4
  137. package/lib/collection/components/duet-input/duet-input.css +75 -81
  138. package/lib/collection/components/duet-label/duet-label.css +5 -5
  139. package/lib/collection/components/duet-layout/duet-layout.css +4 -4
  140. package/lib/collection/components/duet-link/duet-link.css +24 -24
  141. package/lib/collection/components/duet-list/duet-list.css +4 -4
  142. package/lib/collection/components/duet-list-item/duet-list-item.css +10 -10
  143. package/lib/collection/components/duet-logo/duet-logo.css +16 -8
  144. package/lib/collection/components/duet-logo/duet-logo.js +2 -1
  145. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +13 -13
  146. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +12 -9
  147. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +19 -16
  148. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +13 -10
  149. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +17 -14
  150. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +16 -13
  151. package/lib/collection/components/duet-modal/duet-modal.css +13 -13
  152. package/lib/collection/components/duet-multiselect/duet-multiselect.css +46 -38
  153. package/lib/collection/components/duet-nav/duet-nav.css +4 -4
  154. package/lib/collection/components/duet-notification/duet-notification.css +18 -16
  155. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +30 -26
  156. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +4 -1
  157. package/lib/collection/components/duet-number-input/duet-number-input.css +20 -15
  158. package/lib/collection/components/duet-overlay/duet-overlay.css +2 -2
  159. package/lib/collection/components/duet-page-heading/duet-page-heading.css +9 -9
  160. package/lib/collection/components/duet-pagination/duet-pagination.css +5 -5
  161. package/lib/collection/components/duet-panel/duet-panel.css +8 -9
  162. package/lib/collection/components/duet-paragraph/duet-paragraph.css +9 -9
  163. package/lib/collection/components/duet-phone-input/duet-phone-input.css +5 -5
  164. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +7 -7
  165. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +23 -15
  166. package/lib/collection/components/duet-progress/duet-progress.css +14 -14
  167. package/lib/collection/components/duet-promo-card/duet-promo-card.css +15 -12
  168. package/lib/collection/components/duet-promo-card/duet-promo-card.js +1 -1
  169. package/lib/collection/components/duet-radio/duet-radio.css +22 -15
  170. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  171. package/lib/collection/components/duet-range-slider/duet-range-slider.css +33 -28
  172. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +5 -5
  173. package/lib/collection/components/duet-scrollable/duet-scrollable.css +20 -20
  174. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
  175. package/lib/collection/components/duet-select/duet-select.css +36 -31
  176. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  177. package/lib/collection/components/duet-share-chart/duet-share-chart.css +5 -5
  178. package/lib/collection/components/duet-show-more/duet-show-more.css +13 -10
  179. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  180. package/lib/collection/components/duet-slideout/duet-slideout.css +23 -23
  181. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -3
  182. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +5 -5
  183. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +14 -11
  184. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +34 -25
  185. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +7 -5
  186. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +20 -20
  187. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +5 -3
  188. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  189. package/lib/collection/components/duet-spinner/duet-spinner.css +5 -5
  190. package/lib/collection/components/duet-step/duet-step.css +17 -15
  191. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  192. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +23 -23
  193. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +24 -21
  194. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +16 -13
  195. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +20 -17
  196. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +19 -16
  197. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  198. package/lib/collection/components/duet-tab-group/duet-tab-group.css +33 -25
  199. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -4
  200. package/lib/collection/components/duet-table/duet-table.css +21 -18
  201. package/lib/collection/components/duet-textarea/duet-textarea.css +38 -31
  202. package/lib/collection/components/duet-toggle/duet-toggle.css +11 -9
  203. package/lib/collection/components/duet-toolbar/duet-toolbar.css +6 -6
  204. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +20 -17
  205. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +14 -11
  206. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +23 -21
  207. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +23 -15
  208. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +19 -16
  209. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +32 -25
  210. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +4 -1
  211. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  212. package/lib/collection/components/duet-tray/duet-tray.css +36 -32
  213. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  214. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  215. package/lib/collection/utils/slot-utils.js +4 -0
  216. package/lib/collection/utils/turva2-color-tokens.js +36 -36
  217. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  218. package/lib/dist-custom-elements/duet-alert.js +1 -1
  219. package/lib/dist-custom-elements/duet-badge.js +1 -1
  220. package/lib/dist-custom-elements/duet-banner.js +6 -6
  221. package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
  222. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  223. package/lib/dist-custom-elements/duet-button.js +1 -1
  224. package/lib/dist-custom-elements/duet-callout.js +4 -4
  225. package/lib/dist-custom-elements/duet-caption.js +1 -1
  226. package/lib/dist-custom-elements/duet-card.js +12 -10
  227. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  228. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  229. package/lib/dist-custom-elements/duet-chip.js +1 -1
  230. package/lib/dist-custom-elements/duet-choice-group.js +10 -10
  231. package/lib/dist-custom-elements/duet-choice.js +6 -6
  232. package/lib/dist-custom-elements/duet-collapsible.js +18 -15
  233. package/lib/dist-custom-elements/duet-combobox.js +17 -17
  234. package/lib/dist-custom-elements/duet-contact-card.js +9 -9
  235. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  236. package/lib/dist-custom-elements/duet-date-picker.js +15 -15
  237. package/lib/dist-custom-elements/duet-divider.js +1 -1
  238. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  239. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  240. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  241. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  242. package/lib/dist-custom-elements/duet-footer.js +9 -9
  243. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  244. package/lib/dist-custom-elements/duet-grid.js +1 -1
  245. package/lib/dist-custom-elements/duet-header.js +11 -11
  246. package/lib/dist-custom-elements/duet-heading.js +1 -1
  247. package/lib/dist-custom-elements/duet-hero.js +11 -11
  248. package/lib/dist-custom-elements/duet-icon.js +1 -1
  249. package/lib/dist-custom-elements/duet-indicator.js +1 -1
  250. package/lib/dist-custom-elements/duet-input.js +1 -1
  251. package/lib/dist-custom-elements/duet-label.js +1 -1
  252. package/lib/dist-custom-elements/duet-layout.js +3 -3
  253. package/lib/dist-custom-elements/duet-link.js +1 -1
  254. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  255. package/lib/dist-custom-elements/duet-list.js +1 -1
  256. package/lib/dist-custom-elements/duet-logo.js +1 -1
  257. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  258. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  259. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  260. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  261. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  262. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  263. package/lib/dist-custom-elements/duet-modal.js +11 -11
  264. package/lib/dist-custom-elements/duet-multiselect.js +11 -11
  265. package/lib/dist-custom-elements/duet-nav.js +2 -2
  266. package/lib/dist-custom-elements/duet-notification-drawer.js +11 -8
  267. package/lib/dist-custom-elements/duet-notification.js +4 -4
  268. package/lib/dist-custom-elements/duet-number-input.js +13 -13
  269. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  270. package/lib/dist-custom-elements/duet-page-heading.js +4 -4
  271. package/lib/dist-custom-elements/duet-pagination.js +15 -15
  272. package/lib/dist-custom-elements/duet-panel.js +2 -2
  273. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  274. package/lib/dist-custom-elements/duet-phone-input.js +18 -18
  275. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  276. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  277. package/lib/dist-custom-elements/duet-progress.js +1 -1
  278. package/lib/dist-custom-elements/duet-promo-card.js +7 -7
  279. package/lib/dist-custom-elements/duet-radio-group.js +10 -10
  280. package/lib/dist-custom-elements/duet-radio.js +2 -2
  281. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  282. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  283. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  284. package/lib/dist-custom-elements/duet-section-layout.js +2 -2
  285. package/lib/dist-custom-elements/duet-select.js +1 -1
  286. package/lib/dist-custom-elements/duet-shaped-image.js +2 -2
  287. package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
  288. package/lib/dist-custom-elements/duet-share-chart.js +5 -5
  289. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  290. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  291. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  292. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -6
  293. package/lib/dist-custom-elements/duet-slideout-panel.js +14 -12
  294. package/lib/dist-custom-elements/duet-slideout.js +10 -9
  295. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  296. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  297. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  298. package/lib/dist-custom-elements/duet-step.js +5 -5
  299. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  300. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  301. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
  302. package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
  303. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  304. package/lib/dist-custom-elements/duet-submenu-bar.js +5 -5
  305. package/lib/dist-custom-elements/duet-tab-group.js +14 -13
  306. package/lib/dist-custom-elements/duet-tab.js +3 -3
  307. package/lib/dist-custom-elements/duet-table.js +1 -1
  308. package/lib/dist-custom-elements/duet-textarea.js +12 -12
  309. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  310. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
  311. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
  312. package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
  313. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
  314. package/lib/dist-custom-elements/duet-toolbar.js +2 -2
  315. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  316. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  317. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  318. package/lib/dist-custom-elements/duet-tray.js +5 -5
  319. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  320. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  321. package/lib/dist-custom-elements/duet-upload.js +21 -21
  322. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  323. package/lib/dist-custom-elements/index.js +1 -1
  324. package/lib/dist-custom-elements/{p-b0f1b267.js → p-016c81f0.js} +2 -2
  325. package/lib/dist-custom-elements/{p-e2596bcf.js → p-08a5f7e9.js} +3 -3
  326. package/lib/dist-custom-elements/{p-7937b6b8.js → p-0e8e6adf.js} +4 -4
  327. package/lib/dist-custom-elements/{p-5e60533d.js → p-1dc37c4b.js} +2 -2
  328. package/lib/dist-custom-elements/{p-16e2a02e.js → p-1f2c89d9.js} +3 -3
  329. package/lib/dist-custom-elements/{p-9ffaf6b5.js → p-21f8ff7d.js} +10 -10
  330. package/lib/dist-custom-elements/{p-414a9cf3.js → p-30bc1a35.js} +7 -7
  331. package/lib/dist-custom-elements/{p-a0a4aa34.js → p-376095a8.js} +2 -2
  332. package/lib/dist-custom-elements/{p-e772674e.js → p-3ee131dc.js} +3 -3
  333. package/lib/dist-custom-elements/p-4343b5a1.js +318 -0
  334. package/lib/dist-custom-elements/{p-fedfd826.js → p-7645b4d2.js} +2 -2
  335. package/lib/dist-custom-elements/{p-54c30917.js → p-8035b482.js} +3 -3
  336. package/lib/dist-custom-elements/{p-f90dc0c0.js → p-80c4e77a.js} +12 -12
  337. package/lib/dist-custom-elements/{p-bf4a60a5.js → p-86c95505.js} +5 -4
  338. package/lib/dist-custom-elements/{p-3875b690.js → p-889bc211.js} +7 -7
  339. package/lib/dist-custom-elements/{p-f1ad635a.js → p-929f4a06.js} +3 -3
  340. package/lib/dist-custom-elements/{p-3fe34e20.js → p-9357efdb.js} +2 -2
  341. package/lib/dist-custom-elements/{p-ad548c39.js → p-958e3489.js} +3 -3
  342. package/lib/dist-custom-elements/{p-80451d58.js → p-a230e7ac.js} +10 -10
  343. package/lib/dist-custom-elements/{p-5fa530e0.js → p-a49f9fc6.js} +3 -3
  344. package/lib/dist-custom-elements/{p-a92010cb.js → p-a6f89351.js} +14 -14
  345. package/lib/dist-custom-elements/{p-4019d212.js → p-a70e2b0c.js} +2 -2
  346. package/lib/dist-custom-elements/{p-197ff38c.js → p-aa626f8d.js} +2 -2
  347. package/lib/dist-custom-elements/{p-a81fd33c.js → p-af586c7d.js} +3 -3
  348. package/lib/dist-custom-elements/{p-474d3bfc.js → p-b21352e2.js} +2 -2
  349. package/lib/dist-custom-elements/{p-04b7c053.js → p-b49de47a.js} +2 -2
  350. package/lib/dist-custom-elements/{p-ec992e6a.js → p-b5bb4c4e.js} +3 -3
  351. package/lib/dist-custom-elements/{p-7b1d0747.js → p-bf860820.js} +8 -5
  352. package/lib/dist-custom-elements/{p-78b6337a.js → p-c224f527.js} +37 -37
  353. package/lib/dist-custom-elements/{p-5251b6f3.js → p-c26b81c2.js} +3 -3
  354. package/lib/dist-custom-elements/{p-b678c2ea.js → p-c4345060.js} +7 -7
  355. package/lib/dist-custom-elements/{p-6f42296b.js → p-c936343b.js} +96 -0
  356. package/lib/dist-custom-elements/{p-eb60efcc.js → p-c972a96e.js} +144 -0
  357. package/lib/dist-custom-elements/{p-96c4a294.js → p-cdc57494.js} +4 -4
  358. package/lib/dist-custom-elements/{p-495059d2.js → p-d4245e15.js} +3 -3
  359. package/lib/dist-custom-elements/{p-a1ec8b34.js → p-d4904a7c.js} +1 -1
  360. package/lib/dist-custom-elements/{p-858e92f7.js → p-d6911e61.js} +3 -3
  361. package/lib/dist-custom-elements/{p-a1e9e10b.js → p-d80a01fd.js} +5 -5
  362. package/lib/dist-custom-elements/{p-314fe903.js → p-d84ceb08.js} +5 -5
  363. package/lib/dist-custom-elements/{p-6a3c8021.js → p-d8a121cc.js} +3 -3
  364. package/lib/dist-custom-elements/{p-24702026.js → p-db56d5a8.js} +2 -2
  365. package/lib/dist-custom-elements/p-dcc8afe8.js +221 -0
  366. package/lib/dist-custom-elements/{p-a6e34cfd.js → p-e48a192a.js} +3 -3
  367. package/lib/dist-custom-elements/{p-a69b6577.js → p-f33fb629.js} +2 -2
  368. package/lib/dist-custom-elements/{p-1e3171d9.js → p-f8d1e874.js} +1 -1
  369. package/lib/dist-custom-elements/{p-f21662ea.js → p-fe478fac.js} +5 -1
  370. package/lib/duet/duet.esm.js +1 -1
  371. package/lib/duet/duet.js +1 -1
  372. package/lib/duet/p-00fcf2fb.system.entry.js +4 -0
  373. package/lib/duet/p-033bb755.system.entry.js +4 -0
  374. package/lib/duet/p-04658922.entry.js +4 -0
  375. package/lib/duet/p-04c70e04.system.entry.js +4 -0
  376. package/lib/duet/{p-bf2ef446.system.entry.js → p-065bebcf.system.entry.js} +1 -1
  377. package/lib/duet/p-06a2c00d.entry.js +4 -0
  378. package/lib/duet/{p-496f50a3.entry.js → p-07cfc2f5.entry.js} +1 -1
  379. package/lib/duet/{p-05cdcf47.system.entry.js → p-082e654d.system.entry.js} +1 -1
  380. package/lib/duet/{p-b62b157d.entry.js → p-09497e9e.entry.js} +1 -1
  381. package/lib/duet/{p-c2a4fdd4.entry.js → p-0a280ddc.entry.js} +1 -1
  382. package/lib/duet/{p-a2b06e6c.system.entry.js → p-0c1a086f.system.entry.js} +1 -1
  383. package/lib/duet/p-0cf7d917.entry.js +4 -0
  384. package/lib/duet/{p-23e07f62.entry.js → p-0e04330c.entry.js} +1 -1
  385. package/lib/duet/{p-9b4645ac.system.entry.js → p-0e3375dd.system.entry.js} +1 -1
  386. package/lib/duet/p-0e9de590.entry.js +4 -0
  387. package/lib/duet/p-1060eeeb.system.entry.js +4 -0
  388. package/lib/duet/p-1198fd12.system.entry.js +4 -0
  389. package/lib/duet/p-11f86bdc.system.entry.js +4 -0
  390. package/lib/duet/p-1285b423.system.entry.js +4 -0
  391. package/lib/duet/{p-53e6e1da.js → p-12f16785.js} +1 -1
  392. package/lib/duet/p-1338bc5c.entry.js +4 -0
  393. package/lib/duet/{p-ca32f459.js → p-135e72bf.js} +1 -1
  394. package/lib/duet/p-13a834ce.system.entry.js +4 -0
  395. package/lib/duet/{p-e5f8e365.system.entry.js → p-158e2598.system.entry.js} +1 -1
  396. package/lib/duet/p-16a30d86.system.entry.js +4 -0
  397. package/lib/duet/p-17755657.system.entry.js +4 -0
  398. package/lib/duet/p-17ee74b1.system.entry.js +4 -0
  399. package/lib/duet/p-18a0cbe5.system.entry.js +4 -0
  400. package/lib/duet/{p-ae898815.entry.js → p-1d9091b2.entry.js} +1 -1
  401. package/lib/duet/p-1dcd8cb6.system.entry.js +4 -0
  402. package/lib/duet/p-1f4af013.entry.js +4 -0
  403. package/lib/duet/p-21cfc7c9.system.entry.js +4 -0
  404. package/lib/duet/p-2b4a068b.system.entry.js +4 -0
  405. package/lib/duet/{p-3a36c86a.entry.js → p-2daf9e75.entry.js} +1 -1
  406. package/lib/duet/p-2e136720.entry.js +4 -0
  407. package/lib/duet/p-2e64593c.system.entry.js +4 -0
  408. package/lib/duet/p-2e69eb33.entry.js +4 -0
  409. package/lib/duet/p-2fce48bf.entry.js +4 -0
  410. package/lib/duet/{p-1f4fc545.system.js → p-30af84d3.system.js} +1 -1
  411. package/lib/duet/{p-39754220.entry.js → p-311a334f.entry.js} +1 -1
  412. package/lib/duet/{p-d5ddd427.system.entry.js → p-31463f0b.system.entry.js} +1 -1
  413. package/lib/duet/{p-68fea15e.js → p-33c69e1b.js} +1 -1
  414. package/lib/duet/p-33f60648.entry.js +4 -0
  415. package/lib/duet/{p-9d8190ef.entry.js → p-34cdefd2.entry.js} +1 -1
  416. package/lib/duet/{p-6a768ba8.system.entry.js → p-357fba6d.system.entry.js} +1 -1
  417. package/lib/duet/{p-f183abd6.system.js → p-385da7a9.system.js} +1 -1
  418. package/lib/duet/{p-dbb01db7.entry.js → p-3aa5dbed.entry.js} +1 -1
  419. package/lib/duet/p-3c69cc2a.system.entry.js +4 -0
  420. package/lib/duet/p-3e52c8ff.system.entry.js +4 -0
  421. package/lib/duet/p-4030ca2a.system.entry.js +4 -0
  422. package/lib/duet/{p-c6b55245.entry.js → p-439c21e7.entry.js} +1 -1
  423. package/lib/duet/p-43bbba35.system.js +4 -0
  424. package/lib/duet/p-4453a6c6.system.entry.js +4 -0
  425. package/lib/duet/{p-bd89ee4c.system.entry.js → p-47d32341.system.entry.js} +1 -1
  426. package/lib/duet/{p-7c11a214.system.entry.js → p-48bd44c3.system.entry.js} +1 -1
  427. package/lib/duet/p-497bdd59.entry.js +4 -0
  428. package/lib/duet/{p-c6d073be.js → p-4ad740e2.js} +1 -1
  429. package/lib/duet/p-4b6e53bd.entry.js +4 -0
  430. package/lib/duet/{p-87097e7a.system.entry.js → p-4be139d3.system.entry.js} +1 -1
  431. package/lib/duet/{p-cbf98d67.entry.js → p-4cd75d1b.entry.js} +1 -1
  432. package/lib/duet/p-4cfd6aa0.system.entry.js +4 -0
  433. package/lib/duet/p-4d91e61a.system.entry.js +4 -0
  434. package/lib/duet/p-50bb0bef.system.entry.js +4 -0
  435. package/lib/duet/p-52e13815.entry.js +4 -0
  436. package/lib/duet/p-541a4093.system.entry.js +4 -0
  437. package/lib/duet/p-59d65494.entry.js +4 -0
  438. package/lib/duet/{p-1adddd5f.entry.js → p-5b88277b.entry.js} +1 -1
  439. package/lib/duet/{p-1070bd45.entry.js → p-5bb5a55a.entry.js} +1 -1
  440. package/lib/duet/p-5c374688.system.entry.js +4 -0
  441. package/lib/duet/{p-8ab69ada.entry.js → p-5cd1152a.entry.js} +1 -1
  442. package/lib/duet/p-5e33ada9.system.entry.js +4 -0
  443. package/lib/duet/p-60cfe03f.entry.js +4 -0
  444. package/lib/duet/{p-3294a767.entry.js → p-618dcd6b.entry.js} +1 -1
  445. package/lib/duet/p-61efcecb.entry.js +4 -0
  446. package/lib/duet/{p-dfe1b2d2.entry.js → p-638ab80b.entry.js} +1 -1
  447. package/lib/duet/p-66386c5e.entry.js +4 -0
  448. package/lib/duet/p-6751d70f.entry.js +4 -0
  449. package/lib/duet/p-6829be6c.system.entry.js +4 -0
  450. package/lib/duet/p-68fdf1da.system.entry.js +4 -0
  451. package/lib/duet/p-6d7d56e8.entry.js +4 -0
  452. package/lib/duet/p-70d7644c.system.entry.js +4 -0
  453. package/lib/duet/p-7266991d.entry.js +4 -0
  454. package/lib/duet/p-72efa27a.system.entry.js +4 -0
  455. package/lib/duet/{p-33700431.system.entry.js → p-758eb019.system.entry.js} +1 -1
  456. package/lib/duet/p-75c6a8ee.system.entry.js +4 -0
  457. package/lib/duet/p-76e57b3a.system.entry.js +4 -0
  458. package/lib/duet/{p-2436f107.system.js → p-77516717.system.js} +1 -1
  459. package/lib/duet/p-783316e7.system.entry.js +4 -0
  460. package/lib/duet/p-79628294.entry.js +4 -0
  461. package/lib/duet/p-7ae39a1c.entry.js +4 -0
  462. package/lib/duet/p-7c6b903a.entry.js +4 -0
  463. package/lib/duet/p-7ca8790f.system.entry.js +4 -0
  464. package/lib/duet/p-7f2ae5ad.entry.js +4 -0
  465. package/lib/duet/p-7f6f7008.system.entry.js +4 -0
  466. package/lib/duet/{p-76503ac9.system.js → p-80993983.system.js} +1 -1
  467. package/lib/duet/{p-823df6f8.entry.js → p-81677e17.entry.js} +1 -1
  468. package/lib/duet/p-81f0ab52.entry.js +4 -0
  469. package/lib/duet/p-824f8fec.entry.js +4 -0
  470. package/lib/duet/{p-581391e8.entry.js → p-8316c5a6.entry.js} +1 -1
  471. package/lib/duet/{p-e58784e3.entry.js → p-8417d209.entry.js} +1 -1
  472. package/lib/duet/p-855bf182.entry.js +4 -0
  473. package/lib/duet/p-884ee3c8.entry.js +4 -0
  474. package/lib/duet/{p-049c988c.entry.js → p-88880de6.entry.js} +1 -1
  475. package/lib/duet/p-8901b848.system.entry.js +4 -0
  476. package/lib/duet/{p-da1d7e82.entry.js → p-89e30005.entry.js} +1 -1
  477. package/lib/duet/p-8bbea850.system.entry.js +4 -0
  478. package/lib/duet/{p-4d453e20.entry.js → p-8d900bdc.entry.js} +1 -1
  479. package/lib/duet/p-8e21c393.entry.js +4 -0
  480. package/lib/duet/{p-c97abf64.entry.js → p-8f1696fc.entry.js} +1 -1
  481. package/lib/duet/{p-a270142b.system.entry.js → p-904d0415.system.entry.js} +1 -1
  482. package/lib/duet/p-916f4438.entry.js +4 -0
  483. package/lib/duet/p-91a5f0c8.entry.js +4 -0
  484. package/lib/duet/{p-b348dd23.entry.js → p-929579ed.entry.js} +1 -1
  485. package/lib/duet/{p-e177046c.system.entry.js → p-92b098f9.system.entry.js} +1 -1
  486. package/lib/duet/{p-29076935.system.entry.js → p-949a5c17.system.entry.js} +1 -1
  487. package/lib/duet/p-95cd3623.entry.js +4 -0
  488. package/lib/duet/{p-ceb58878.entry.js → p-95d2b637.entry.js} +1 -1
  489. package/lib/duet/p-9718c106.js +4 -0
  490. package/lib/duet/p-9a7b5888.system.entry.js +4 -0
  491. package/lib/duet/p-9d9457bf.js +4 -0
  492. package/lib/duet/p-9df05d74.entry.js +4 -0
  493. package/lib/duet/p-9df8182c.system.entry.js +4 -0
  494. package/lib/duet/p-a0e599fa.system.entry.js +4 -0
  495. package/lib/duet/p-a0f78e44.entry.js +4 -0
  496. package/lib/duet/p-a27a9c69.js +4 -0
  497. package/lib/duet/p-a395c023.entry.js +4 -0
  498. package/lib/duet/p-a48d38dd.entry.js +4 -0
  499. package/lib/duet/{p-1f9e01ca.entry.js → p-aa781739.entry.js} +1 -1
  500. package/lib/duet/p-ac388eb7.entry.js +4 -0
  501. package/lib/duet/p-b07f9abb.system.entry.js +4 -0
  502. package/lib/duet/p-b355076f.entry.js +4 -0
  503. package/lib/duet/p-b3c4e717.system.entry.js +4 -0
  504. package/lib/duet/p-b7691d79.system.entry.js +4 -0
  505. package/lib/duet/{p-293e9e27.system.entry.js → p-b7ce18dd.system.entry.js} +1 -1
  506. package/lib/duet/p-b81ac5ae.system.js +4 -0
  507. package/lib/duet/p-b91fd1ce.system.entry.js +4 -0
  508. package/lib/duet/p-b9f9f07f.entry.js +4 -0
  509. package/lib/duet/p-bd0ab8c6.system.entry.js +4 -0
  510. package/lib/duet/p-bd3c1bb9.entry.js +4 -0
  511. package/lib/duet/{p-8ab631e7.entry.js → p-bf87b23f.entry.js} +1 -1
  512. package/lib/duet/{p-4bb73342.entry.js → p-c03cf41b.entry.js} +1 -1
  513. package/lib/duet/{p-b4bdd169.entry.js → p-c370b95d.entry.js} +1 -1
  514. package/lib/duet/p-c5219057.system.entry.js +4 -0
  515. package/lib/duet/{p-a6944360.system.entry.js → p-c7b24194.system.entry.js} +1 -1
  516. package/lib/duet/{p-7ae725cf.system.js → p-c80618b4.system.js} +1 -1
  517. package/lib/duet/p-c972a96e.js +4 -0
  518. package/lib/duet/p-c976593b.entry.js +4 -0
  519. package/lib/duet/p-c97dbc9b.js +4 -0
  520. package/lib/duet/{p-537a1070.entry.js → p-c9971904.entry.js} +1 -1
  521. package/lib/duet/p-cab933ea.system.entry.js +4 -0
  522. package/lib/duet/p-caf1ece1.system.entry.js +4 -0
  523. package/lib/duet/p-cb37d121.entry.js +4 -0
  524. package/lib/duet/p-cbb72b0c.system.entry.js +4 -0
  525. package/lib/duet/p-cbf13746.entry.js +4 -0
  526. package/lib/duet/p-cc9ee2cb.system.entry.js +4 -0
  527. package/lib/duet/p-ccb84e6a.system.entry.js +4 -0
  528. package/lib/duet/{p-663ffd9a.system.entry.js → p-ce677952.system.entry.js} +1 -1
  529. package/lib/duet/{p-ed759aeb.system.entry.js → p-d10856d3.system.entry.js} +1 -1
  530. package/lib/duet/{p-a9c973e2.entry.js → p-d3602171.entry.js} +1 -1
  531. package/lib/duet/p-d44312ba.system.js +4 -0
  532. package/lib/duet/{p-d384c9b0.entry.js → p-d4a9606f.entry.js} +1 -1
  533. package/lib/duet/p-d4ecb287.js +4 -0
  534. package/lib/duet/{p-ddf20691.system.js → p-d4f972c3.system.js} +1 -1
  535. package/lib/duet/p-d6b96130.system.entry.js +4 -0
  536. package/lib/duet/p-d79d46f4.system.entry.js +4 -0
  537. package/lib/duet/p-d807313e.system.entry.js +4 -0
  538. package/lib/duet/p-d84ab69c.system.entry.js +4 -0
  539. package/lib/duet/p-da33830e.system.entry.js +4 -0
  540. package/lib/duet/p-db0ba7b6.system.js +4 -0
  541. package/lib/duet/{p-e14eece2.entry.js → p-dba326f3.entry.js} +1 -1
  542. package/lib/duet/{p-2fa5de89.entry.js → p-dca26ec6.entry.js} +1 -1
  543. package/lib/duet/{p-b28604f2.entry.js → p-df9388c0.entry.js} +1 -1
  544. package/lib/duet/p-e1c99881.system.entry.js +4 -0
  545. package/lib/duet/{p-94b4498f.system.entry.js → p-e26e10f1.system.entry.js} +1 -1
  546. package/lib/duet/p-e433ff50.system.entry.js +4 -0
  547. package/lib/duet/p-e5a7f0a5.system.entry.js +4 -0
  548. package/lib/duet/{p-fa24fae9.system.entry.js → p-e663f11f.system.entry.js} +1 -1
  549. package/lib/duet/p-e7dc7c7c.entry.js +4 -0
  550. package/lib/duet/{p-cfa5ca24.entry.js → p-e9dee331.entry.js} +1 -1
  551. package/lib/duet/p-ea60fb06.entry.js +4 -0
  552. package/lib/duet/p-ea986606.entry.js +4 -0
  553. package/lib/duet/{p-56774ba4.system.js → p-ec4bb6c3.system.js} +1 -1
  554. package/lib/duet/p-ef35ead4.entry.js +4 -0
  555. package/lib/duet/p-ef4f91d2.system.entry.js +4 -0
  556. package/lib/duet/p-ef97420d.system.entry.js +4 -0
  557. package/lib/duet/p-f0e3d159.js +4 -0
  558. package/lib/duet/p-f103010d.entry.js +4 -0
  559. package/lib/duet/p-f59845f1.entry.js +4 -0
  560. package/lib/duet/p-f5c47365.system.entry.js +4 -0
  561. package/lib/duet/{p-f6f1463b.entry.js → p-f5f409e3.entry.js} +1 -1
  562. package/lib/duet/{p-3f42d7b1.system.js → p-f6486434.system.js} +1 -1
  563. package/lib/duet/p-f81da033.system.entry.js +4 -0
  564. package/lib/duet/p-fa184877.system.entry.js +4 -0
  565. package/lib/duet/p-ff27191d.system.entry.js +4 -0
  566. package/lib/duet/{p-badd028d.system.entry.js → p-ff3fa3b2.system.entry.js} +1 -1
  567. package/lib/esm/{a11y-utils-477acfdc.js → a11y-utils-696f7b73.js} +1 -1
  568. package/lib/esm/{app-globals-fbabb161.js → app-globals-245f0f6e.js} +1 -1
  569. package/lib/esm/duet-action-button.entry.js +6 -6
  570. package/lib/esm/duet-alert.entry.js +11 -17
  571. package/lib/esm/duet-badge.entry.js +4 -4
  572. package/lib/esm/duet-banner.entry.js +6 -6
  573. package/lib/esm/duet-breadcrumb.entry.js +3 -3
  574. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  575. package/lib/esm/duet-button_2.entry.js +7 -7
  576. package/lib/esm/duet-callout.entry.js +4 -4
  577. package/lib/esm/duet-caption_4.entry.js +11 -11
  578. package/lib/esm/duet-card.entry.js +12 -10
  579. package/lib/esm/duet-checkbox.entry.js +3 -3
  580. package/lib/esm/duet-checkmark.entry.js +3 -3
  581. package/lib/esm/duet-chip.entry.js +4 -4
  582. package/lib/esm/duet-choice_2.entry.js +6 -6
  583. package/lib/esm/duet-collapsible.entry.js +17 -14
  584. package/lib/esm/duet-combobox.entry.js +5 -5
  585. package/lib/esm/duet-contact-card.entry.js +4 -4
  586. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  587. package/lib/esm/duet-date-picker.entry.js +6 -6
  588. package/lib/esm/duet-divider_2.entry.js +6 -6
  589. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  590. package/lib/esm/duet-empty-state.entry.js +3 -3
  591. package/lib/esm/duet-fieldset.entry.js +4 -4
  592. package/lib/esm/duet-file-chooser.entry.js +3 -3
  593. package/lib/esm/duet-footer.entry.js +5 -5
  594. package/lib/esm/duet-grid_2.entry.js +4 -4
  595. package/lib/esm/duet-header_2.entry.js +10 -9
  596. package/lib/esm/duet-hero.entry.js +5 -5
  597. package/lib/esm/duet-icon.entry.js +5 -5
  598. package/lib/esm/duet-indicator.entry.js +3 -3
  599. package/lib/esm/duet-input_2.entry.js +8 -8
  600. package/lib/esm/duet-layout.entry.js +3 -3
  601. package/lib/esm/duet-list_2.entry.js +4 -4
  602. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  603. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  604. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
  605. package/lib/esm/duet-menu-bar-item.entry.js +6 -6
  606. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  607. package/lib/esm/duet-menu-bar.entry.js +4 -4
  608. package/lib/esm/duet-modal.entry.js +8 -8
  609. package/lib/esm/duet-multiselect.entry.js +5 -5
  610. package/lib/esm/duet-nav.entry.js +3 -3
  611. package/lib/esm/duet-notification_2.entry.js +9 -6
  612. package/lib/esm/duet-number-input.entry.js +5 -5
  613. package/lib/esm/duet-overlay.entry.js +3 -3
  614. package/lib/esm/duet-page-heading.entry.js +3 -3
  615. package/lib/esm/duet-pagination_2.entry.js +7 -7
  616. package/lib/esm/duet-panel.entry.js +3 -3
  617. package/lib/esm/duet-phone-input.entry.js +5 -5
  618. package/lib/esm/duet-popup-menu_2.entry.js +7 -7
  619. package/lib/esm/duet-progress.entry.js +4 -4
  620. package/lib/esm/duet-promo-card.entry.js +7 -7
  621. package/lib/esm/duet-radio_2.entry.js +5 -5
  622. package/lib/esm/duet-range-slider.entry.js +4 -4
  623. package/lib/esm/duet-scrollable_3.entry.js +14 -13
  624. package/lib/esm/duet-section-layout.entry.js +2 -2
  625. package/lib/esm/duet-select.entry.js +4 -4
  626. package/lib/esm/duet-shaped-image.entry.js +3 -3
  627. package/lib/esm/duet-share-chart-item.entry.js +1 -1
  628. package/lib/esm/duet-share-chart.entry.js +7 -7
  629. package/lib/esm/duet-show-more.entry.js +5 -5
  630. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  631. package/lib/esm/duet-slideout-link.entry.js +6 -6
  632. package/lib/esm/duet-slideout-panel-dropdown.entry.js +8 -6
  633. package/lib/esm/duet-slideout-panel.entry.js +15 -13
  634. package/lib/esm/duet-slideout.entry.js +12 -11
  635. package/lib/esm/duet-status-icon.entry.js +2 -2
  636. package/lib/esm/duet-step_2.entry.js +5 -5
  637. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  638. package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
  639. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  640. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  641. package/lib/esm/duet-submenu-bar.entry.js +4 -4
  642. package/lib/esm/duet-textarea.entry.js +5 -5
  643. package/lib/esm/duet-toggle.entry.js +3 -3
  644. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  645. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
  646. package/lib/esm/duet-toolbar-item.entry.js +6 -6
  647. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  648. package/lib/esm/duet-toolbar.entry.js +3 -3
  649. package/lib/esm/duet-tooltip-button_2.entry.js +9 -6
  650. package/lib/esm/duet-tooltip.entry.js +5 -5
  651. package/lib/esm/duet-tray.entry.js +5 -5
  652. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  653. package/lib/esm/duet-upload-item.entry.js +4 -4
  654. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  655. package/lib/esm/duet.js +3 -3
  656. package/lib/esm/{errorcodes.utils-3b160dbb.js → errorcodes.utils-160ddc21.js} +1 -1
  657. package/lib/esm/{focus-utils-1bece0cd.js → focus-utils-d6e4011c.js} +1 -1
  658. package/lib/esm/{index-79fc1b32.js → index-22246570.js} +1 -1
  659. package/lib/esm/{language-utils-a17dc5f3.js → language-utils-09809102.js} +1 -1
  660. package/lib/esm/loader.js +3 -3
  661. package/lib/esm/{slot-utils-b099bb75.js → slot-utils-eb668280.js} +6 -2
  662. package/lib/esm/{themeable-component-356b273d.js → themeable-component-f4a04f2f.js} +1 -1
  663. package/lib/esm/{token-utils-cf052bc0.js → token-utils-d02c20ff.js} +37 -37
  664. package/lib/esm/{tokens-57aa1508.js → tokens-1fd83076.js} +144 -0
  665. package/lib/esm/{tokens.module-821694bb.js → tokens.module-7b07911f.js} +96 -0
  666. package/lib/esm-es5/{a11y-utils-477acfdc.js → a11y-utils-696f7b73.js} +1 -1
  667. package/lib/esm-es5/{app-globals-fbabb161.js → app-globals-245f0f6e.js} +1 -1
  668. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  669. package/lib/esm-es5/duet-alert.entry.js +2 -2
  670. package/lib/esm-es5/duet-badge.entry.js +1 -1
  671. package/lib/esm-es5/duet-banner.entry.js +1 -1
  672. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  673. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  674. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  675. package/lib/esm-es5/duet-callout.entry.js +1 -1
  676. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  677. package/lib/esm-es5/duet-card.entry.js +2 -2
  678. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  679. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  680. package/lib/esm-es5/duet-chip.entry.js +2 -2
  681. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  682. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  683. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  684. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  685. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  686. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  687. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  688. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  689. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  690. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  691. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  692. package/lib/esm-es5/duet-footer.entry.js +1 -1
  693. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  694. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  695. package/lib/esm-es5/duet-hero.entry.js +1 -1
  696. package/lib/esm-es5/duet-icon.entry.js +1 -1
  697. package/lib/esm-es5/duet-indicator.entry.js +1 -1
  698. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  699. package/lib/esm-es5/duet-layout.entry.js +1 -1
  700. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  701. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  702. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  703. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  704. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  705. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  706. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  707. package/lib/esm-es5/duet-modal.entry.js +1 -1
  708. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  709. package/lib/esm-es5/duet-nav.entry.js +1 -1
  710. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  711. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  712. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  713. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  714. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  715. package/lib/esm-es5/duet-panel.entry.js +1 -1
  716. package/lib/esm-es5/duet-phone-input.entry.js +2 -2
  717. package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
  718. package/lib/esm-es5/duet-progress.entry.js +1 -1
  719. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  720. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  721. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  722. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  723. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  724. package/lib/esm-es5/duet-select.entry.js +2 -2
  725. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  726. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  727. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  728. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  729. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  730. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  731. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  732. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  733. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  734. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  735. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  736. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  737. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
  738. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  739. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  740. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  741. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  742. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  743. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  744. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  745. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  746. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  747. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  748. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  749. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  750. package/lib/esm-es5/duet-tray.entry.js +1 -1
  751. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  752. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  753. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  754. package/lib/esm-es5/duet.js +1 -1
  755. package/lib/esm-es5/{errorcodes.utils-3b160dbb.js → errorcodes.utils-160ddc21.js} +1 -1
  756. package/lib/esm-es5/{focus-utils-1bece0cd.js → focus-utils-d6e4011c.js} +1 -1
  757. package/lib/esm-es5/{index-79fc1b32.js → index-22246570.js} +1 -1
  758. package/lib/esm-es5/{language-utils-a17dc5f3.js → language-utils-09809102.js} +1 -1
  759. package/lib/esm-es5/loader.js +1 -1
  760. package/lib/esm-es5/slot-utils-eb668280.js +4 -0
  761. package/lib/esm-es5/{themeable-component-356b273d.js → themeable-component-f4a04f2f.js} +1 -1
  762. package/lib/esm-es5/token-utils-d02c20ff.js +4 -0
  763. package/lib/esm-es5/tokens-1fd83076.js +4 -0
  764. package/lib/esm-es5/tokens.module-7b07911f.js +4 -0
  765. package/lib/types/components/duet-alert/duet-alert.d.ts +2 -4
  766. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +3 -1
  767. package/lib/types/components.d.ts +3 -3
  768. package/lib/types/utils/slot-utils.d.ts +1 -0
  769. package/package.json +9 -9
  770. package/lib/dist-custom-elements/p-7500a672.js +0 -318
  771. package/lib/dist-custom-elements/p-b2b8bd32.js +0 -227
  772. package/lib/duet/p-008bb91e.system.entry.js +0 -4
  773. package/lib/duet/p-0438375f.entry.js +0 -4
  774. package/lib/duet/p-04d95150.entry.js +0 -4
  775. package/lib/duet/p-05ca0ad3.system.entry.js +0 -4
  776. package/lib/duet/p-061ef483.entry.js +0 -4
  777. package/lib/duet/p-06359695.system.entry.js +0 -4
  778. package/lib/duet/p-0b80b34f.system.entry.js +0 -4
  779. package/lib/duet/p-0fa600fe.system.entry.js +0 -4
  780. package/lib/duet/p-0ff69fd9.system.entry.js +0 -4
  781. package/lib/duet/p-13eec75c.system.js +0 -4
  782. package/lib/duet/p-17efced0.js +0 -4
  783. package/lib/duet/p-19b6319d.entry.js +0 -4
  784. package/lib/duet/p-1c37974e.entry.js +0 -4
  785. package/lib/duet/p-1cd1ae13.system.entry.js +0 -4
  786. package/lib/duet/p-1d003050.system.entry.js +0 -4
  787. package/lib/duet/p-212cdff6.system.entry.js +0 -4
  788. package/lib/duet/p-2437fb8b.entry.js +0 -4
  789. package/lib/duet/p-273b65d0.entry.js +0 -4
  790. package/lib/duet/p-29d51b92.system.entry.js +0 -4
  791. package/lib/duet/p-2d1690fa.system.entry.js +0 -4
  792. package/lib/duet/p-2e8124ec.entry.js +0 -4
  793. package/lib/duet/p-3476ee3c.entry.js +0 -4
  794. package/lib/duet/p-3cff3d41.entry.js +0 -4
  795. package/lib/duet/p-3dc9bee2.entry.js +0 -4
  796. package/lib/duet/p-410c86aa.system.entry.js +0 -4
  797. package/lib/duet/p-42d40a3c.entry.js +0 -4
  798. package/lib/duet/p-443ac457.system.entry.js +0 -4
  799. package/lib/duet/p-46183ffe.system.entry.js +0 -4
  800. package/lib/duet/p-47d5e1ce.system.entry.js +0 -4
  801. package/lib/duet/p-493aa637.entry.js +0 -4
  802. package/lib/duet/p-4b6044f0.system.entry.js +0 -4
  803. package/lib/duet/p-4da157c6.entry.js +0 -4
  804. package/lib/duet/p-52284920.system.entry.js +0 -4
  805. package/lib/duet/p-55666326.system.entry.js +0 -4
  806. package/lib/duet/p-56c98bbe.system.entry.js +0 -4
  807. package/lib/duet/p-57184a72.system.entry.js +0 -4
  808. package/lib/duet/p-577ef99d.system.entry.js +0 -4
  809. package/lib/duet/p-57e79e5a.entry.js +0 -4
  810. package/lib/duet/p-58deab8e.system.entry.js +0 -4
  811. package/lib/duet/p-5b1d7d11.system.entry.js +0 -4
  812. package/lib/duet/p-5bbfd1f3.entry.js +0 -4
  813. package/lib/duet/p-5f76cca6.system.entry.js +0 -4
  814. package/lib/duet/p-60e0b1b3.entry.js +0 -4
  815. package/lib/duet/p-62f62a4e.system.entry.js +0 -4
  816. package/lib/duet/p-64959c1d.system.js +0 -4
  817. package/lib/duet/p-64fff9d4.entry.js +0 -4
  818. package/lib/duet/p-65282a91.entry.js +0 -4
  819. package/lib/duet/p-65b5d699.entry.js +0 -4
  820. package/lib/duet/p-67c1b790.entry.js +0 -4
  821. package/lib/duet/p-67c57029.entry.js +0 -4
  822. package/lib/duet/p-68b8d3a7.entry.js +0 -4
  823. package/lib/duet/p-68ec675c.system.entry.js +0 -4
  824. package/lib/duet/p-6af320c5.system.entry.js +0 -4
  825. package/lib/duet/p-6e179c6b.system.entry.js +0 -4
  826. package/lib/duet/p-700d90be.system.entry.js +0 -4
  827. package/lib/duet/p-718db92a.entry.js +0 -4
  828. package/lib/duet/p-74a09baf.system.entry.js +0 -4
  829. package/lib/duet/p-75fdf144.system.js +0 -4
  830. package/lib/duet/p-76fa145c.entry.js +0 -4
  831. package/lib/duet/p-79f4d63d.entry.js +0 -4
  832. package/lib/duet/p-7a4605fd.system.entry.js +0 -4
  833. package/lib/duet/p-7a9e70bd.entry.js +0 -4
  834. package/lib/duet/p-7ea0d841.js +0 -4
  835. package/lib/duet/p-7fb3b41a.entry.js +0 -4
  836. package/lib/duet/p-80bf7a6d.js +0 -4
  837. package/lib/duet/p-847984b4.system.entry.js +0 -4
  838. package/lib/duet/p-8480c4ef.entry.js +0 -4
  839. package/lib/duet/p-85e2b80d.system.entry.js +0 -4
  840. package/lib/duet/p-8642fde1.js +0 -4
  841. package/lib/duet/p-86482d30.system.entry.js +0 -4
  842. package/lib/duet/p-8668b568.entry.js +0 -4
  843. package/lib/duet/p-876e3c63.entry.js +0 -4
  844. package/lib/duet/p-88cf5661.entry.js +0 -4
  845. package/lib/duet/p-899d6d41.entry.js +0 -4
  846. package/lib/duet/p-8e2ffeb6.system.entry.js +0 -4
  847. package/lib/duet/p-9117cb65.system.entry.js +0 -4
  848. package/lib/duet/p-9468eb9d.entry.js +0 -4
  849. package/lib/duet/p-95193904.entry.js +0 -4
  850. package/lib/duet/p-97374309.system.entry.js +0 -4
  851. package/lib/duet/p-a0b4a7c0.system.entry.js +0 -4
  852. package/lib/duet/p-a3e95ce2.system.entry.js +0 -4
  853. package/lib/duet/p-a40be7c9.system.entry.js +0 -4
  854. package/lib/duet/p-a5997dea.entry.js +0 -4
  855. package/lib/duet/p-a5ddcabc.system.js +0 -4
  856. package/lib/duet/p-a65df70c.entry.js +0 -4
  857. package/lib/duet/p-ad04b6d1.system.entry.js +0 -4
  858. package/lib/duet/p-ae7b2ff0.entry.js +0 -4
  859. package/lib/duet/p-b0d6f6da.entry.js +0 -4
  860. package/lib/duet/p-b4ffb80d.js +0 -4
  861. package/lib/duet/p-b81c80d4.js +0 -4
  862. package/lib/duet/p-bb69d7c1.entry.js +0 -4
  863. package/lib/duet/p-c01ab555.system.entry.js +0 -4
  864. package/lib/duet/p-c185128e.system.entry.js +0 -4
  865. package/lib/duet/p-c1b0c2d9.system.entry.js +0 -4
  866. package/lib/duet/p-c34f89af.system.entry.js +0 -4
  867. package/lib/duet/p-c843e862.system.entry.js +0 -4
  868. package/lib/duet/p-caa37dc7.system.entry.js +0 -4
  869. package/lib/duet/p-cd1744f2.system.entry.js +0 -4
  870. package/lib/duet/p-d191efda.system.entry.js +0 -4
  871. package/lib/duet/p-d2e4bd07.system.entry.js +0 -4
  872. package/lib/duet/p-dc330b8c.system.entry.js +0 -4
  873. package/lib/duet/p-dcd63244.entry.js +0 -4
  874. package/lib/duet/p-ddf7a3ca.system.entry.js +0 -4
  875. package/lib/duet/p-e080806b.system.entry.js +0 -4
  876. package/lib/duet/p-e1d27084.system.entry.js +0 -4
  877. package/lib/duet/p-e3656611.system.entry.js +0 -4
  878. package/lib/duet/p-e3752ac5.entry.js +0 -4
  879. package/lib/duet/p-e3c246cb.entry.js +0 -4
  880. package/lib/duet/p-e94c7242.entry.js +0 -4
  881. package/lib/duet/p-e9a0f29e.system.entry.js +0 -4
  882. package/lib/duet/p-eb60efcc.js +0 -4
  883. package/lib/duet/p-ebe1da5f.system.entry.js +0 -4
  884. package/lib/duet/p-ef853142.system.entry.js +0 -4
  885. package/lib/duet/p-f55a48a1.entry.js +0 -4
  886. package/lib/duet/p-f6711efe.system.entry.js +0 -4
  887. package/lib/duet/p-f6b920dd.system.entry.js +0 -4
  888. package/lib/duet/p-f6d7404f.system.entry.js +0 -4
  889. package/lib/duet/p-f6efded0.entry.js +0 -4
  890. package/lib/duet/p-fa1176a3.system.entry.js +0 -4
  891. package/lib/duet/p-fa2f610d.entry.js +0 -4
  892. package/lib/duet/p-fb26ac12.system.entry.js +0 -4
  893. package/lib/duet/p-fd806af2.entry.js +0 -4
  894. package/lib/duet/p-fdf201cd.system.entry.js +0 -4
  895. package/lib/duet/p-fe781761.system.entry.js +0 -4
  896. package/lib/duet/p-ff8570f9.entry.js +0 -4
  897. package/lib/esm-es5/slot-utils-b099bb75.js +0 -4
  898. package/lib/esm-es5/token-utils-cf052bc0.js +0 -4
  899. package/lib/esm-es5/tokens-57aa1508.js +0 -4
  900. package/lib/esm-es5/tokens.module-821694bb.js +0 -4
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,c,i){function o(e){return e instanceof c?e:new c((function(t){t(e)}))}return new(c||(c=Promise))((function(c,d){function r(e){try{u(i.next(e))}catch(e){d(e)}}function h(e){try{u(i["throw"](e))}catch(e){d(e)}}function u(e){e.done?c(e.value):o(e.value).then(r,h)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var c={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},i,o,d,r;return r={next:h(0),throw:h(1),return:h(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function h(e){return function(t){return u([e,t])}}function u(h){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,h[0]&&(c=0)),c)try{if(i=1,o&&(d=h[0]&2?o["return"]:h[0]?o["throw"]||((d=o["return"])&&d.call(o),0):o.next)&&!(d=d.call(o,h[1])).done)return d;if(o=0,d)h=[h[0]&2,d.value];switch(h[0]){case 0:case 1:d=h;break;case 4:c.label++;return{value:h[1],done:false};case 5:c.label++;o=h[1];h=[0];continue;case 7:h=c.ops.pop();c.trys.pop();continue;default:if(!(d=c.trys,d=d.length>0&&d[d.length-1])&&(h[0]===6||h[0]===2)){c=0;continue}if(h[0]===3&&(!d||h[1]>d[0]&&h[1]<d[3])){c.label=h[1];break}if(h[0]===6&&c.label<d[1]){c.label=d[1];d=h;break}if(d&&c.label<d[2]){c.label=d[2];c.ops.push(h);break}if(d[2])c.ops.pop();c.trys.pop();continue}h=t.call(e,c)}catch(e){h=[6,e];o=0}finally{i=d=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-80993983.system.js","./p-385da7a9.system.js","./p-87633fff.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-d4f972c3.system.js","./p-d44312ba.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,c,i,o,d,r,h,u,s,a,n,l,b,p,g,m,f,v,k;return{setters:[function(e){t=e.r;c=e.c;i=e.h;o=e.H;d=e.g},function(e){r=e.i},function(e){h=e.a},function(e){u=e.c},function(e){s=e.i;a=e.h;n=e.s;l=e.u;b=e.f},function(e){p=e.g;g=e.a;m=e.c;f=e.d},function(e){v=e.h;k=e.c},function(){}],execute:function(){var x={title:"messaging-info",tags:"messaging info information circle",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>'};var y='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;-webkit-hyphens:auto;hyphens:auto;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;word-break:break-word;text-decoration:none;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}input.sc-duet-choice:focus+.duet-choice-label.sc-duet-choice{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva.sc-duet-choice input.sc-duet-choice:focus+.duet-choice-label.sc-duet-choice,input.sc-duet-choice:focus+.duet-choice-label.duet-theme-turva.sc-duet-choice,.duet-theme-turva2.sc-duet-choice input.sc-duet-choice:focus+.duet-choice-label.sc-duet-choice,input.sc-duet-choice:focus+.duet-choice-label.duet-theme-turva2.sc-duet-choice{outline-color:rgba(53, 79, 101, 0.8)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(143, 147, 158)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(98, 121, 138) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{outline:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(127, 150, 165) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(199, 202, 207) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(164, 4, 40)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8);display:block}.duet-theme-turva .user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus,.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus.duet-theme-turva,.duet-theme-turva2 .user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus,.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.sc-duet-choice{border-color:rgb(127, 150, 165)}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;-webkit-appearance:none;appearance:none;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px}.duet-choice-info-toggle.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus,.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus.duet-theme-turva,.duet-theme-turva2 .user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus,.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(143, 147, 158) !important}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(143, 147, 158)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{color:rgb(23, 42, 59) !important}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(178, 194, 205)}.info .duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(253, 247, 242);border-color:rgb(23, 42, 59) !important}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(230, 23, 64)}.duet-choice-label .duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 42, 59);border-color:rgb(23, 42, 59) !important}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-info.sc-duet-choice,.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 42, 59);border-color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-collapsible.sc-duet-choice{border-color:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-card-info.sc-duet-choice{background:rgb(253, 247, 242);border-color:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(120, 145, 164)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-info-toggle.sc-duet-choice{border-color:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-choice-h .duet-theme-turva.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(253, 247, 242);border-bottom-color:transparent}.duet-theme-turva2.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-theme-turva.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-theme-turva.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(120, 145, 164)}';var w=y;var z=e("duet_choice",function(){function e(e){var i=this;t(this,e);this.duetChoiceReady=c(this,"duetChoiceReady",7);this.duetChange=c(this,"duetChange",7);this.duetFocus=c(this,"duetFocus",7);this.duetBlur=c(this,"duetBlur",7);this.hasHeader=false;this.choiceId=u("DuetChoice");this.expandId=u("DuetChoiceExpand");this.headerId=u("DuetChoiceHeader");this.infoButtonId=u("DuetChoiceInfoButton");this.onMouseEnter=function(){i.isHovering=true};this.onMouseLeave=function(){i.isHovering=false};this.onClick=function(e){i.toggleChecked(e)};this.handleKeyDown=function(e){if(s(e)){i.toggleChecked(e)}if(a(e)&&i.hasInfo){i.toggleInfo()}};this.onChange=function(){i.checked=i.nativeInput.checked||false;i.duetChange.emit({checked:i.checked,value:i.value,component:"duet-choice"})};this.onBlur=function(e){i.duetBlur.emit({originalEvent:e,checked:i.checked,value:i.value,component:"duet-choice"})};this.onFocus=function(e){i.duetFocus.emit({originalEvent:e,checked:i.checked,value:i.value,component:"duet-choice"})};this.toggleChecked=function(e){e.preventDefault();e.stopPropagation();if(i.getDisabled()){return}if(i.type==="radio"&&i.checked){return}i.checked=!i.checked;i.duetChange.emit({originalEvent:e,checked:i.checked,value:i.value,component:"duet-choice"})};this.toggleInfo=function(){i.isInfoOpen=!i.isInfoOpen;if(i.isInfoOpen){setTimeout((function(){var e;(e=i.infoContainer)===null||e===void 0?void 0:e.focus()}),150)}};this.isHovering=false;this.isInfoOpen=false;this.theme="";this.label="label";this.accessibleLabelInfoButtonDefaults=h;this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults);this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.caption="";this.value=undefined;this.type="checkbox";this.name=undefined;this.checked=false;this.collapsible=false;this.collapsibleForceExpanded=false;this.margin="auto";this.icon="";this.expand=false;this.padding="auto";this.identifier=undefined;this.groupDirection=undefined;this.groupDisabled=undefined;this.groupResponsive=undefined;this.disabled=false;this.required=false;this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"};this.infoLabel=p(this.infoLabelDefaults,g());this.collapsibleNotificationDefaults={fi:"Tämä valinta sisältää lisätietoja, jotka avautuivat alle",en:"This choice has additional information opened below",sv:"Det här val har mer information som öppnades nedan"};this.collapsibleNotification=p(this.collapsibleNotificationDefaults,g())}e.prototype.componentWillLoad=function(){r(this);this.hasInfo=v(this.element,"info");this.hasHeader=v(this.element,"header");this.hasAdditional=v(this.element,"additional");this.hasLabel=v(this.element,"label");this.hasBeforeText=v(this.element,"before-text");this.duetChoiceReady.emit()};e.prototype.connectedCallback=function(){m(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]);n(this);this.duetChoiceReady.emit()};e.prototype.disconnectedCallback=function(){f(this);l(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.toggleInfoMethod=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.isInfoOpen=!this.isInfoOpen;return[2]}))}))};e.prototype.handleEscape=function(e){if(b(e)){if(this.isInfoOpen){this.isInfoOpen=false;if(this.infoButtonEl){this.infoButtonEl.focus()}}}};e.prototype.isCollapsibleAnnounceable=function(){if(!this.collapsible||!this.getExpanded()){return false}var e=Array.from(this.element.querySelectorAll("#".concat(this.choiceId,"-collapsible-content > *"))||[]);var t=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((function(e){return t.includes(e.tagName.toLowerCase())}))};e.prototype.getAriaDescribedby=function(){if(this.accessibleDescribedBy){return this.accessibleDescribedBy}if((this.collapsible||this.hasInfo)&&this.getExpanded()){if(this.hasHeader){return this.headerId}else if(this.isCollapsibleAnnounceable()){return this.expandId}else{return"".concat(this.choiceId,"-collapsible-notification")}}return null};e.prototype.getDisabled=function(){return this.disabled||this.groupDisabled};e.prototype.getExpanded=function(){return this.checked||this.collapsibleForceExpanded};e.prototype.getClassNames=function(){if(this.hasInfo&&!this.collapsible){return{checked:this.checked,"duet-choice-card-info":true,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":this.theme==="turva"}}if(!this.hasInfo&&this.collapsible){return{checked:this.checked,"duet-choice-card-collapsible":true,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":this.theme==="turva"}}return{checked:this.checked,"duet-choice-default-slot":true}};e.prototype.render=function(){var e=this;var t=this.identifier||this.choiceId;return i(o,{class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none","duet-expand":this.expand,"duet-theme-turva":this.theme==="turva","no-hover":this.isHovering,disabled:this.getDisabled()}},i("div",{class:{"duet-choice-card-flextainer":true,"duet-theme-turva":this.theme==="turva"}},i("div",{class:{"duet-choice-card":true,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":this.padding==="none"}},i("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:t,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:function(t){return e.nativeInput=t}}),i("label",{htmlFor:t,class:{"duet-choice-label":true,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&i("slot",{name:"before-text"}),this.icon&&i("div",{class:"duet-choice-card-icon"},i("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),i("div",{class:"duet-choice-card-text"},i("div",null,this.hasLabel?i("slot",{name:"label"}):this.label),this.caption&&i("div",null,i("duet-spacer",{size:"xx-small"}),i("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&i("div",null,i("duet-spacer",{size:"xx-small"}),i("slot",{name:"additional"}))),i("div",null,i("div",{class:{"duet-checkmark-container":true,"duet-checkmark-radio":this.type==="radio"}},this.checked&&i("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&i("button",{ref:function(t){return e.infoButtonEl=t},id:this.infoButtonId,class:{"duet-choice-info-toggle":true,"duet-theme-turva":this.theme==="turva"},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":"".concat(this.infoLabel," ").concat(this.label),"aria-controls":this.expandId,tabindex:this.type==="radio"&&!this.checked?"-1":"0",type:"button",onKeyUp:function(t){return e.handleEscape(t)}},i("div",{class:"duet-choice-info-icon"},i("duet-icon",{icon:x.svg,margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&i("span",{id:"".concat(this.choiceId,"-collapsible-notification"),hidden:true},this.collapsibleNotification),this.collapsible||this.hasInfo?i("div",{class:this.getClassNames(),id:this.expandId},i("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},i("span",{id:this.headerId},i("slot",{name:"header"})),this.hasInfo?i("span",{ref:function(t){return e.infoContainer=t},tabindex:"-1",class:"duet-choice-info-container",onKeyUp:function(t){return e.handleEscape(t)}},i("span",null,i("slot",{name:"info"})),i("slot",null)):i("span",{id:"".concat(this.choiceId,"-collapsible-content")},i("slot",null)))):null)};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});return e}());z.style=w;var _="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";var C=_;var j=e("duet_choice_group",function(){function e(e){var c=this;t(this,e);this.choiceGroupName="duet-choice-group";this.choices=new Set;this.childObserverCallback=function(e){if(e.some((function(e){var t;return((t=e.removedNodes)===null||t===void 0?void 0:t.length)>0&&Array.from(e.removedNodes.values()).some((function(e){return e.nodeName.toLowerCase()==="duet-choice"}))}))){c.updateChoices()}};this.onSelect=function(e){if(e.detail.component!=="duet-choice"){return}var t=e.target;if(t&&c.choices.has(t)){c.value=t.value}};this.onChoiceReady=function(){c.updateChoices()};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption=undefined;this.tooltip=undefined;this.tooltipDirection="auto";this.responsive=false;this.breakpoint="small";this.value=undefined;this.disabled=undefined;this.required=false;this.accessibleLiveError="polite"}e.prototype.removeDisabledAttributeWhenFalse=function(){if(!this.disabled){this.element.removeAttribute("disabled")}};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.childObserver=new MutationObserver(this.childObserverCallback.bind(this));this.childObserver.observe(this.element,{childList:true,subtree:true});this.setInitialValue();this.updateChoices();return[2]}))}))};e.prototype.disconnectedCallback=function(){if(this.childObserver){this.childObserver.disconnect();this.childObserver=undefined}};e.prototype.componentWillLoad=function(){r(this);this.removeDisabledAttributeWhenFalse();k(this.element,"tooltip","duet-tooltip",1,true)};e.prototype.setInitialValue=function(){if(typeof this.initialValue==="undefined"){this.initialValue=this.value}};e.prototype.getInitialValue=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.initialValue]}))}))};e.prototype.updateChoices=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,c,i,o,d;var r=this;return __generator(this,(function(h){t=(e=this.value)!==null&&e!==void 0?e:this.initialValue;c=false;this.choices.clear();this.element.querySelectorAll("duet-choice").forEach((function(e){if(e.closest("duet-choice-group")===r.element){r.choices.add(e)}}));for(i=0,o=Array.from(this.choices);i<o.length;i++){d=o[i];d.name=this.name;d.required=this.required;d.groupDisabled=this.disabled;d.groupDirection=this.direction;d.groupResponsive=this.responsive;if(!c&&d.value===t){c=true;d.checked=true;if(typeof this.value==="undefined"){this.value=t}}else{d.checked=false}}if(!c){this.value=undefined}return[2]}))}))};e.prototype.render=function(){var e;return i(o,{onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,class:{horizontal:this.direction==="horizontal","duet-choice-group-breakpoint-x-small":this.responsive&&this.breakpoint==="x-small","duet-choice-group-breakpoint-small":this.responsive&&this.breakpoint==="small","duet-choice-group-breakpoint-medium":this.responsive&&this.breakpoint==="medium","duet-choice-group-breakpoint-large":this.responsive&&this.breakpoint==="large","duet-choice-group-breakpoint-x-large":this.responsive&&this.breakpoint==="x-large"}},i("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:true,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&i("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),i("slot",{name:"tooltip"}),i("div",{class:(e={},e[this.choiceGroupName]=true,e["duet-no-stacking"]=!this.responsive,e)},i("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["removeDisabledAttributeWhenFalse","updateChoices"],value:["setInitialValue","updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}},enumerable:false,configurable:true});return e}());j.style=C}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function o(e){try{u(i["throw"](e))}catch(e){r(e)}}function u(e){e.done?n(e.value):a(e.value).then(s,o)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(n=0)),n)try{if(i=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-76503ac9.system.js","./p-f183abd6.system.js","./p-ddf20691.system.js","./p-1f4fc545.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,n,i,a,r,s;return{setters:[function(e){t=e.r;n=e.h;i=e.g},function(e){a=e.i},function(e){r=e.g},function(e){s=e.a},function(){}],execute:function(){var o=function(e,t){if(t===void 0){t=2}if(e===0){return"0 Bytes"}var n=1024;var i=t<0?0:t;var a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];var r=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,r)).toFixed(i))+" "+a[r]};var u=".file-link::part(duet-link){text-decoration:none}";var c=u;var d=e("duet_upload_item",function(){function e(e){var n=this;t(this,e);this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"};this.onLinkClick=function(e){var t=n.data,i=t.url,a=t.meta;if(!!n.linkClickEvent){e.preventDefault();n.linkClickEvent.emit({component:"duet-upload",data:{name:n.data.item.name,url:i,meta:a}})}};this.theme="";this.data=undefined;this.type=undefined;this.showLinks=undefined;this.actions=undefined;this.buttonTitles=undefined;this.label=undefined;this.categoryLabel=undefined;this.errorCodes=undefined;this.showCategory=undefined;this.linkClickEvent=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.focusActionButton=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!this.actionButton)return[3,2];return[4,this.actionButton.setFocus({preventScroll:true})];case 1:e.sent();this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});e.label=2;case 2:return[2]}}))}))};e.prototype.getFileNameLine=function(){var e=this.data,t=e.item,i=e.size,a=e.uploaded,u=e.url,c=e.progress,d=e.error;var l=t.name;var f=n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),l);var h=n("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",o(i),")");switch(this.type){case"inprogress":return n("span",{class:"duet-upload-item-name",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),l),n("duet-visually-hidden",null,n("duet-paragraph",null,r(this.fileUploadingInfo))),n("duet-progress",{theme:this.theme,progress:Math.ceil(c),"aria-hidden":true}));case"pending":return n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),l);case"failure":return n("span",{class:"duet-upload-item-error",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),l),n("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},s(d.type,this.errorCodes)));default:return a&&u&&this.showLinks?n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},n("duet-link",{class:"file-link",onClick:this.onLinkClick,url:u},f),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),h):n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},f,n("duet-spacer",{size:"xx-small",direction:"horizontal"}),h)}};e.prototype.getActionButtonTitle=function(e){if(this.buttonTitles[e.name]===true||this.buttonTitles[e.name]===false){return e}return r(this.buttonTitles[e.name])};e.prototype.render=function(){var e=this;var t=this.data,i=t.uid,a=t.meta,s=t.item;var o=a&&a.badges?n("span",null,a.badges.map((function(e){return n("duet-badge",{color:"primary"},e)}))):undefined;var u="".concat(a&&a.badges?a.badges.join(","):""," ").concat(s.name);return n("div",{key:"1412bdaaf8001dd4849c5128cc463327f4a5dd2d",class:{"upload-item-row":true}},this.showCategory&&n("div",{key:"635382f438d151cbf5f84b04d24ca36d80584953",class:"item-categories"},n("duet-heading",{key:"1a8f5beb2b403297bfe5a25fb125337817848c97",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.categoryLabel)),o),n("div",{key:"b51a8872eff794722a6fbde9fad6cd77e81b036f",class:{"item-name":true,"no-category":!this.showCategory}},!!this.label&&n("duet-heading",{key:"c423681df8f4f2c90dec48b5204090ffe7428019",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.label)),this.getFileNameLine()),n("div",{key:"3f0c5fc33ca3f8053b7a28190e4816aeb2354cbf",class:"item-actions"},this.actions.map((function(t){return n("duet-action-button",{actionMeta:Object.assign({},a||{}),actionId:i||null,actionName:t.name,theme:e.theme,iconName:t.icon,iconColor:t.color,iconSize:t.size,background:t.background,"accessible-label":"".concat(u," ").concat(r(t.label)," "),accessibleTitle:e.getActionButtonTitle(t),ref:function(t){return e.actionButton=t}})}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());d.style=c}}}));
4
+ */System.register(["./p-80993983.system.js","./p-385da7a9.system.js","./p-d4f972c3.system.js","./p-30af84d3.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,n,i,a,r,s;return{setters:[function(e){t=e.r;n=e.h;i=e.g},function(e){a=e.i},function(e){r=e.g},function(e){s=e.a},function(){}],execute:function(){var o=function(e,t){if(t===void 0){t=2}if(e===0){return"0 Bytes"}var n=1024;var i=t<0?0:t;var a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];var r=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,r)).toFixed(i))+" "+a[r]};var u=".file-link::part(duet-link){text-decoration:none}";var c=u;var d=e("duet_upload_item",function(){function e(e){var n=this;t(this,e);this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"};this.onLinkClick=function(e){var t=n.data,i=t.url,a=t.meta;if(!!n.linkClickEvent){e.preventDefault();n.linkClickEvent.emit({component:"duet-upload",data:{name:n.data.item.name,url:i,meta:a}})}};this.theme="";this.data=undefined;this.type=undefined;this.showLinks=undefined;this.actions=undefined;this.buttonTitles=undefined;this.label=undefined;this.categoryLabel=undefined;this.errorCodes=undefined;this.showCategory=undefined;this.linkClickEvent=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.focusActionButton=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!this.actionButton)return[3,2];return[4,this.actionButton.setFocus({preventScroll:true})];case 1:e.sent();this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});e.label=2;case 2:return[2]}}))}))};e.prototype.getFileNameLine=function(){var e=this.data,t=e.item,i=e.size,a=e.uploaded,u=e.url,c=e.progress,d=e.error;var l=t.name;var f=n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),l);var h=n("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",o(i),")");switch(this.type){case"inprogress":return n("span",{class:"duet-upload-item-name",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),l),n("duet-visually-hidden",null,n("duet-paragraph",null,r(this.fileUploadingInfo))),n("duet-progress",{theme:this.theme,progress:Math.ceil(c),"aria-hidden":true}));case"pending":return n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),l);case"failure":return n("span",{class:"duet-upload-item-error",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),l),n("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},s(d.type,this.errorCodes)));default:return a&&u&&this.showLinks?n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},n("duet-link",{class:"file-link",onClick:this.onLinkClick,url:u},f),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),h):n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},f,n("duet-spacer",{size:"xx-small",direction:"horizontal"}),h)}};e.prototype.getActionButtonTitle=function(e){if(this.buttonTitles[e.name]===true||this.buttonTitles[e.name]===false){return e}return r(this.buttonTitles[e.name])};e.prototype.render=function(){var e=this;var t=this.data,i=t.uid,a=t.meta,s=t.item;var o=a&&a.badges?n("span",null,a.badges.map((function(e){return n("duet-badge",{color:"primary"},e)}))):undefined;var u="".concat(a&&a.badges?a.badges.join(","):""," ").concat(s.name);return n("div",{key:"1412bdaaf8001dd4849c5128cc463327f4a5dd2d",class:{"upload-item-row":true}},this.showCategory&&n("div",{key:"635382f438d151cbf5f84b04d24ca36d80584953",class:"item-categories"},n("duet-heading",{key:"1a8f5beb2b403297bfe5a25fb125337817848c97",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.categoryLabel)),o),n("div",{key:"b51a8872eff794722a6fbde9fad6cd77e81b036f",class:{"item-name":true,"no-category":!this.showCategory}},!!this.label&&n("duet-heading",{key:"c423681df8f4f2c90dec48b5204090ffe7428019",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.label)),this.getFileNameLine()),n("div",{key:"3f0c5fc33ca3f8053b7a28190e4816aeb2354cbf",class:"item-actions"},this.actions.map((function(t){return n("duet-action-button",{actionMeta:Object.assign({},a||{}),actionId:i||null,actionName:t.name,theme:e.theme,iconName:t.icon,iconColor:t.color,iconSize:t.size,background:t.background,"accessible-label":"".concat(u," ").concat(r(t.label)," "),accessibleTitle:e.getActionButtonTitle(t),ref:function(t){return e.actionButton=t}})}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());d.style=c}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,o,r){function i(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,n){function a(t){try{s(r.next(t))}catch(t){n(t)}}function u(t){try{s(r["throw"](t))}catch(t){n(t)}}function s(t){t.done?o(t.value):i(t.value).then(a,u)}s((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return s([t,e])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(o=0)),o)try{if(r=1,i&&(n=u[0]&2?i["return"]:u[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,u[1])).done)return n;if(i=0,n)u=[u[0]&2,n.value];switch(u[0]){case 0:case 1:n=u;break;case 4:o.label++;return{value:u[1],done:false};case 5:o.label++;i=u[1];u=[0];continue;case 7:u=o.ops.pop();o.trys.pop();continue;default:if(!(n=o.trys,n=n.length>0&&n[n.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!n||u[1]>n[0]&&u[1]<n[3])){o.label=u[1];break}if(u[0]===6&&o.label<n[1]){o.label=n[1];n=u;break}if(n&&o.label<n[2]){o.label=n[2];o.ops.push(u);break}if(n[2])o.ops.pop();o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t];i=0}finally{r=n=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-80993983.system.js","./p-385da7a9.system.js","./p-752fa0fc.system.js","./p-77516717.system.js","./p-b1f33063.system.js"],(function(t){"use strict";var e,o,r,i,n,a,u,s,d,l;return{setters:[function(t){e=t.r;o=t.h;r=t.H;i=t.g;n=t.c},function(t){a=t.i},function(t){u=t.s;s=t.u},function(t){d=t.F},function(t){l=t.T}],execute:function(){var c='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button:focus{outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-tooltip-button:focus,:host(.user-is-tabbing) .duet-tooltip-button:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-tooltip-button:focus,:host(.user-is-tabbing) .duet-tooltip-button:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:hover{color:rgb(0, 75, 129)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-tooltip-button:hover.duet-tooltip-button-negative{color:rgb(255, 255, 255)}.duet-tooltip-button:focus,:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;vertical-align:top;text-align:left;white-space:normal}.duet-theme-turva .duet-tooltip-label{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}:host(.duet-theme-turva2) .duet-tooltip-button.duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-tooltip-button.duet-theme-turva:hover{color:rgb(230, 23, 64)}';var p=c;var b=t("duet_tooltip_button",function(){function t(t){e(this,t);this.label="";this.accessibleLabel=undefined;this.theme="";this.negative=false;this.active=undefined;this.tooltipId=undefined}t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){u(this)};t.prototype.disconnectedCallback=function(){s(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.buttonElement){this.buttonElement.focus(t)}return[2]}))}))};t.prototype.render=function(){var t=this;var e=o("duet-visually-hidden",{key:"9eb5db50b79dc2250ccf2e24dd8d260daee0344c"},this.accessibleLabel);return o(r,{key:"90c2f17d3ecc3d65c2eabf37bc3b9d13cb43c898"},o("button",{key:"9daf36dd45f62c0319805cbda850d325d7fae558",ref:function(e){return t.buttonElement=e},"aria-controls":this.tooltipId,"aria-expanded":this.active?"true":"false",type:"button",class:{"duet-tooltip-button":true,"duet-tooltip-button-has-label":!!this.label,"duet-theme-turva":this.theme==="turva","duet-tooltip-button-negative":this.negative}},o("svg",{key:"09b56bf7d3108b987c1d3718c3daa99f30f450ab","aria-hidden":"true",role:"img",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"1c61f6ef5e02f9c6cf82f24133b5e6ed5efe653d",d:"m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z"}),o("circle",{key:"dc68127a8bcf1b9e8538ffd25362fdbadb4f631f",cx:"11.625",cy:"7.125",r:"1.125"}),o("path",{key:"146f6ab16c918f0f88b01c2c5da82a64a51ce814",d:"m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z"})),this.label?o("span",{class:"duet-tooltip-label"},this.label,e):e))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());b.style=p;var f='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:absolute;z-index:950}.duet-tooltip{position:relative;visibility:hidden;width:282px;min-height: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:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.07);opacity:0;transform-origin:100% 100%;transition:300ms ease}.duet-tooltip.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);border-color:rgb(222, 224, 228);box-shadow:0 2px 10px 0 rgba(117, 117, 117, 0.13)}.duet-tooltip .arrow{position:absolute;width:22px;height:22px;pointer-events:none}.duet-tooltip .arrow.bottom,.duet-tooltip .arrow.bottom-start,.duet-tooltip .arrow.bottom-end{top:-20px}.duet-tooltip .arrow-container{position:relative;left:4px;width:100%;height:100%;pointer-events:none}.duet-tooltip .arrow-container::after{position:absolute;z-index:200;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container::before{position:absolute;z-index:100;width:0;height:0;pointer-events:none;content:""}.duet-tooltip .arrow-container.top::after,.duet-tooltip .arrow-container.top-start::after,.duet-tooltip .arrow-container.top-end::after{bottom:2px;left:2px;border:10px solid transparent;border-top:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.top::before,.duet-tooltip .arrow-container.top-start::before,.duet-tooltip .arrow-container.top-end::before{bottom:-1px;left:1px;border:11px solid transparent;border-top:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.top::before,.duet-theme-turva .duet-tooltip .arrow-container.top-start::before,.duet-theme-turva .duet-tooltip .arrow-container.top-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip .arrow-container.bottom::after,.duet-tooltip .arrow-container.bottom-start::after,.duet-tooltip .arrow-container.bottom-end::after{bottom:1px;left:2px;border:10px solid transparent;border-bottom:10px solid rgb(255, 255, 255)}.duet-tooltip .arrow-container.bottom::before,.duet-tooltip .arrow-container.bottom-start::before,.duet-tooltip .arrow-container.bottom-end::before{bottom:1px;left:1px;border:11px solid transparent;border-bottom:11px solid rgb(212, 223, 229)}.duet-theme-turva .duet-tooltip .arrow-container.bottom::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-start::before,.duet-theme-turva .duet-tooltip .arrow-container.bottom-end::before{border-top:11px solid rgb(222, 224, 228)}.duet-tooltip.duet-tooltip-has-label{right:auto !important;left:0;width:282px !important;transform-origin:0 0 !important}.duet-tooltip.duet-tooltip-active{visibility:visible;opacity:1;transition-property:transform, opacity}.duet-tooltip-content-area{padding:20px !important;width:100%;padding-right:25px !important;overflow-y:auto;-webkit-hyphens:auto;hyphens:auto;border-radius:4px;-webkit-overflow-scrolling:touch}.duet-tooltip-content-area:focus{outline:0}:host(.user-is-tabbing) .duet-tooltip-content-area:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-tooltip-content-area:focus,:host(.user-is-tabbing) .duet-tooltip-content-area:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-tooltip-content-area:focus,:host(.user-is-tabbing) .duet-tooltip-content-area:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-tooltip-content-area::-webkit-scrollbar{width:4px}.duet-tooltip-content-area::-webkit-scrollbar-track{border-radius:4px}.duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(212, 223, 229);border-radius:4px}.duet-theme-turva .duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(222, 224, 228)}.duet-tooltip-close{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;min-height:0 !important;padding:0 !important;margin:0 !important;line-height:normal;color:rgb(8, 42, 77);-webkit-appearance:none;appearance:none;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%}.duet-tooltip-close:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-tooltip-close:focus,.duet-tooltip-close:focus.duet-theme-turva,.duet-theme-turva2 .duet-tooltip-close:focus,.duet-tooltip-close:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-theme-turva .duet-tooltip-close{color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-tooltip{color:rgb(23, 42, 59);border-color:rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-tooltip.duet-theme-turva{color:rgb(23, 42, 59);border-color:rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-tooltip .arrow-container.top::before,:host(.duet-theme-turva2) .duet-tooltip .arrow-container.top-start::before,:host(.duet-theme-turva2) .duet-tooltip .arrow-container.top-end::before{border-top:11px solid rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-tooltip .arrow-container.bottom::before,:host(.duet-theme-turva2) .duet-tooltip .arrow-container.bottom-start::before,:host(.duet-theme-turva2) .duet-tooltip .arrow-container.bottom-end::before{border-bottom:11px solid rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-tooltip-content-area::-webkit-scrollbar-thumb{background:rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-tooltip-close{color:rgb(23, 42, 59)}';var h=f;var m=t("duet_tooltip_popup",function(){function t(t){var o=this;e(this,t);this.tooltipPopupClosed=n(this,"tooltipPopupClosed",7);this.handleCloseClick=function(){o.tooltipPopupClosed.emit()};this.theme="";this.active=undefined;this.tooltipId=undefined;this.arrowStyles=undefined;this.placement=undefined;this.accessibleCloseLabel=undefined}t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){u(this);if(!this.teleport){this.teleport=new l(this.element)}if(this.teleport){this.teleport.activate()}};t.prototype.disconnectedCallback=function(){s(this)};t.prototype.getArrowElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.arrowEl]}))}))};t.prototype.getContentElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.contentEl]}))}))};t.prototype.setFocusOnContentElement=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.contentEl.focus();return[2]}))}))};t.prototype.render=function(){var t,e;var i=this;return o(r,{key:"20c858471eb122674b6c7ac5de1b243eee925fa2"},o("div",{key:"663db7f4fcfc622d7eacf3a688c9855299ba8cf9",class:{"duet-tooltip":true,"duet-theme-turva":this.theme==="turva","duet-tooltip-active":this.active===true}},o(d,{key:"7ad49fff09a690cae1a3089dc34028fbce775265",moveFocusTo:this.buttonEl}),o("div",{key:"cdb555570f31fce932bc6d56147cf76efae9f501",ref:function(t){return i.contentEl=t},class:{"duet-tooltip-content-area":true,"duet-theme-turva":this.theme==="turva"},tabindex:-1,id:this.tooltipId},o("slot",{key:"4a5489f0934a1c68009144d1eca7ee9ce88f57b0"})),o("div",{key:"3c887e43abbd48008c25bca97a15f99be665e67b",ref:function(t){return i.arrowEl=t},class:(t={arrow:true},t[this.placement]=true,t),style:this.arrowStyles},o("div",{key:"10ed930e95f17f466e15b55ade1018c6ee53de24",class:(e={"arrow-container":true},e[this.placement]=true,e)})),o("button",{key:"8969d8e0e0c18810ed481467abe7cb3f7102b684",type:"button",class:"duet-tooltip-close",onClick:this.handleCloseClick,ref:function(t){return i.buttonEl=t}},o("duet-icon",{key:"1f57750997a186157b0779707e7857a53343f1d8",name:"navigation-close-small",margin:"none",color:"currentColor",size:"xxx-small"}),o("duet-visually-hidden",{key:"f748f051fc0b70d708b3af718754f86414a472e6"},this.accessibleCloseLabel)),o(d,{key:"aced3b198a15712462ebd77d8e86fb3ba0eedd00",moveFocusTo:this.contentEl})))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());m.style=h}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,c,o){function i(e){return e instanceof c?e:new c((function(t){t(e)}))}return new(c||(c=Promise))((function(c,r){function n(e){try{d(o.next(e))}catch(e){r(e)}}function s(e){try{d(o["throw"](e))}catch(e){r(e)}}function d(e){e.done?c(e.value):i(e.value).then(n,s)}d((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var c={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,i,r,n;return n={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(t){return d([e,t])}}function d(s){if(o)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(c=0)),c)try{if(o=1,i&&(r=s[0]&2?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;if(i=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:c.label++;return{value:s[1],done:false};case 5:c.label++;i=s[1];s=[0];continue;case 7:s=c.ops.pop();c.trys.pop();continue;default:if(!(r=c.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){c=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){c.label=s[1];break}if(s[0]===6&&c.label<r[1]){c.label=r[1];r=s;break}if(r&&c.label<r[2]){c.label=r[2];c.ops.push(s);break}if(r[2])c.ops.pop();c.trys.pop();continue}s=t.call(e,c)}catch(e){s=[6,e];i=0}finally{o=r=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-80993983.system.js","./p-385da7a9.system.js","./p-e6b5a1c7.system.js"],(function(e){"use strict";var t,c,o,i,r,n,s;return{setters:[function(e){t=e.r;c=e.c;o=e.h;i=e.H;r=e.g},function(e){n=e.i},function(e){s=e.c}],execute:function(){var d='*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.sc-duet-checkbox-h{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:8px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;vertical-align:top;color:rgb(8, 42, 77);cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-label.sc-duet-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:"";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before,.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before.duet-theme-turva,.duet-theme-turva2.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before,.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:"";background:transparent url("data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(143, 147, 158)}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error.sc-duet-checkbox{margin-left:31px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox,.duet-label-hidden.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-theme-turva2.sc-duet-checkbox-h .duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-checkbox-h .duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-checkbox-h .duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 42, 59);border-color:rgb(23, 42, 59)}';var u=d;var a=e("duet_checkbox",function(){function e(e){var o=this;t(this,e);this.duetChange=c(this,"duetChange",3);this.duetFocus=c(this,"duetFocus",7);this.duetBlur=c(this,"duetBlur",7);this.checkboxId=s("DuetCheckbox");this.errorId=s("DuetError");this.onChange=function(e){o.checked=!o.checked;o.duetChange.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-checkbox"})};this.onBlur=function(e){o.duetBlur.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-checkbox"})};this.onFocus=function(e){o.duetFocus.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-checkbox"})};this.getDescribedBy=function(){var e=[];if(o.accessibleDescribedBy){e.push(o.accessibleDescribedBy)}if(o.error){e.push(o.errorId)}return e.length>0?e.join(" "):null};this.accessibleActiveDescendant=undefined;this.margin="auto";this.accessibleControls=undefined;this.accessibleIndex=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleSelected=undefined;this.accessibleLiveError="polite";this.required=false;this.error="";this.theme="";this.disabled=false;this.identifier=undefined;this.label="label";this.labelHidden=false;this.name=undefined;this.role=undefined;this.checked=false;this.value=undefined}e.prototype.componentWillLoad=function(){n(this);if(this.value===undefined){this.value=this.identifier}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.identifier||this.checkboxId;return o(i,{class:{"duet-m-0":this.margin==="none"}},o("div",{class:{"duet-checkbox-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva"}},o("input",{ref:function(t){return e.nativeInput=t},type:"checkbox",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,class:{"duet-checkbox":true,disabled:this.disabled},checked:this.checked,disabled:this.disabled,tabindex:this.accessibleIndex,"aria-invalid":this.error?"true":"false","aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-selected":this.accessibleSelected,required:this.required,role:this.role,name:this.name,id:t}),o("label",{class:"duet-label",htmlFor:t},o("span",null,this.label)),o("div",{class:"duet-checkbox-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&o("span",null,this.error))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());a.style=u}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-76503ac9.system.js","./p-b864159a.system.js","./p-a5ddcabc.system.js"],(function(e){"use strict";var t,a,d,i,n,p;return{setters:[function(e){t=e.r;a=e.h;d=e.H;i=e.g},function(e){n=e.i},function(e){p=e.c}],execute:function(){var o="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}: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) .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-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";var m=o;var u=e("duet_layout",function(){function e(e){t(this,e);this.hasSidebar=false;this.hasTop=false;this.hasPageHeading=false;this.sticky=false;this.margin="auto";this.stickyDistance="with-links";this.center=false;this.tabs=false;this.middle=false;this.paddingBreakpoint=undefined}e.prototype.componentWillLoad=function(){this.hasSidebar=!!this.element.querySelector("[slot='sidebar']");this.hasTop=!!this.element.querySelector("[slot='top']");this.hasPageHeading=!!this.element.querySelector("[slot='page-heading']");p(this.element,"page-heading","duet-page-heading",1,true);if(!this.element.querySelector("[slot='main']")){console.warn("[DUET WARNING]: Nothing passed to <duet-layout> named slots. Please use one of 'main', 'sidebar' or 'top' to display contents.")}};e.prototype.render=function(){var e,t;return a(d,{key:"87e9a0ec222dde241b22ad453c4ad5c32634396b",class:{center:this.center,"duet-middle":this.middle,"duet-ie":n()}},a("div",{key:"7c2ed9191f4798b3dc85cf376981c6aab0156cf9",class:{"duet-layout-wrapper":true,"duet-m-0":this.margin==="none"}},this.hasTop&&a("div",{key:"0cabad8796c6b6f8d6f9be773432bf8dafdd9e8c",class:{"duet-layout-top":true,"duet-center":this.center}},a("div",{key:"0005e877722cc066af4afc437d27b800853e6a2e",class:"duet-layout-top-wrapper"},a("slot",{key:"f28942644fd863ec25dee20ff7c8e08aa4435de5",name:"top"}))),a("div",{key:"0dfab5135c2abf87bf34ad30ae694032fb15e1c5",class:(e={"duet-layout":true,"has-sidebar":this.hasSidebar,"duet-center":this.center},e["padding-".concat(this.paddingBreakpoint)]=!!this.paddingBreakpoint,e)},a("main",{key:"52f379352c3c1bff9858834461fcbb349387867d",class:"duet-main"},this.hasPageHeading&&a("slot",{key:"4d471586d15b6d703968a1cefa19179015e53287",name:"page-heading"}),a("slot",{key:"861e391f79cafcd371bc7a8a4e534949f5395ff4",name:"main"})),this.hasSidebar&&a("aside",{key:"ea094960d960bea590d79e8ca676fa985bae192c",class:"duet-sidebar"},a("div",{key:"6991b9d89cad949aab416c29ea2ace9819bf9980",class:(t={"duet-sidebar-container":true,"has-tabs":this.tabs,sticky:this.sticky},t[this.stickyDistance]=this.sticky,t)},a("slot",{key:"7d400650d3a268f363d9ca9ec8d358e1e717051e",name:"sidebar"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());u.style=m}}}));
4
+ System.register(["./p-80993983.system.js","./p-b864159a.system.js","./p-d44312ba.system.js"],(function(e){"use strict";var t,a,d,i,n,p;return{setters:[function(e){t=e.r;a=e.h;d=e.H;i=e.g},function(e){n=e.i},function(e){p=e.c}],execute:function(){var o="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;flex:1 0 auto;width:100%}: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-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";var m=o;var u=e("duet_layout",function(){function e(e){t(this,e);this.hasSidebar=false;this.hasTop=false;this.hasPageHeading=false;this.sticky=false;this.margin="auto";this.stickyDistance="with-links";this.center=false;this.tabs=false;this.middle=false;this.paddingBreakpoint=undefined}e.prototype.componentWillLoad=function(){this.hasSidebar=!!this.element.querySelector("[slot='sidebar']");this.hasTop=!!this.element.querySelector("[slot='top']");this.hasPageHeading=!!this.element.querySelector("[slot='page-heading']");p(this.element,"page-heading","duet-page-heading",1,true);if(!this.element.querySelector("[slot='main']")){console.warn("[DUET WARNING]: Nothing passed to <duet-layout> named slots. Please use one of 'main', 'sidebar' or 'top' to display contents.")}};e.prototype.render=function(){var e,t;return a(d,{key:"87e9a0ec222dde241b22ad453c4ad5c32634396b",class:{center:this.center,"duet-middle":this.middle,"duet-ie":n()}},a("div",{key:"7c2ed9191f4798b3dc85cf376981c6aab0156cf9",class:{"duet-layout-wrapper":true,"duet-m-0":this.margin==="none"}},this.hasTop&&a("div",{key:"0cabad8796c6b6f8d6f9be773432bf8dafdd9e8c",class:{"duet-layout-top":true,"duet-center":this.center}},a("div",{key:"0005e877722cc066af4afc437d27b800853e6a2e",class:"duet-layout-top-wrapper"},a("slot",{key:"f28942644fd863ec25dee20ff7c8e08aa4435de5",name:"top"}))),a("div",{key:"0dfab5135c2abf87bf34ad30ae694032fb15e1c5",class:(e={"duet-layout":true,"has-sidebar":this.hasSidebar,"duet-center":this.center},e["padding-".concat(this.paddingBreakpoint)]=!!this.paddingBreakpoint,e)},a("main",{key:"52f379352c3c1bff9858834461fcbb349387867d",class:"duet-main"},this.hasPageHeading&&a("slot",{key:"4d471586d15b6d703968a1cefa19179015e53287",name:"page-heading"}),a("slot",{key:"861e391f79cafcd371bc7a8a4e534949f5395ff4",name:"main"})),this.hasSidebar&&a("aside",{key:"ea094960d960bea590d79e8ca676fa985bae192c",class:"duet-sidebar"},a("div",{key:"6991b9d89cad949aab416c29ea2ace9819bf9980",class:(t={"duet-sidebar-container":true,"has-tabs":this.tabs,sticky:this.sticky},t[this.stickyDistance]=this.sticky,t)},a("slot",{key:"7d400650d3a268f363d9ca9ec8d358e1e717051e",name:"sidebar"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());u.style=m}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c as t,h as o,H as a,g as n}from"./p-4ad740e2.js";import{i as s}from"./p-12f16785.js";import{s as i,u as d}from"./p-a45e3f8b.js";const r=class{constructor(o){e(this,o),this.duetCookieConsent=t(this,"duetCookieConsent",7),this.handleClick=e=>{e.preventDefault(),this.duetCookieConsent.emit({component:"duet-cookie-consent"})},this.accessibleLabel="Hyväksyn evästeiden käytön",this.theme=""}handleFocusIn(e){e.composedPath()[0]!==this.element&&this.element.classList.add("descendant-focused")}handleFocusOut(){this.element.classList.remove("descendant-focused")}componentWillLoad(){s(this)}connectedCallback(){i(this)}disconnectedCallback(){d(this)}render(){return o(a,{key:"506d1769429cf65db0c103b4f18005cfeff7bee8",tabindex:"-1",class:{"duet-theme-turva":"turva"===this.theme}},o("div",{key:"c36f8630bd43e752be0aed0fdefcdbb2cfd29718",class:{"duet-cookie-consent":!0,"duet-theme-turva":"turva"===this.theme}},o("div",{key:"96368e115adefab02051daabb9e584353f411e1a",class:"duet-cookie-consent-content"},o("div",{key:"3179191d41fd6656f1a13fb3bd06b2a3388240f0",class:"expand"},o("slot",{key:"39de067bf84d2b0caf9f6f8675abb10f3d713487"})),o("duet-spacer",{key:"c08f12efe61e76885353c55a1300442c9436a6ff",size:"large",direction:"horizontal"}),o("div",{key:"8d71e1afdd7ec69a6738ccac4fac99179378b64e"},o("duet-button",{key:"d86306aa5911917a369925c86cac272216003ac0",variation:"negative",size:"small",onClick:this.handleClick,margin:"none","aria-label":this.accessibleLabel,theme:this.theme},"OK")))))}get element(){return n(this)}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:not(.descendant-focused):focus){outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8);border-radius:4px}.duet-theme-turva :host(.user-is-tabbing:not(.descendant-focused):focus),:host(.user-is-tabbing:not(.descendant-focused):focus).duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing:not(.descendant-focused):focus),:host(.user-is-tabbing:not(.descendant-focused):focus).duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-cookie-consent{padding:20px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;color:rgb(255, 255, 255) !important;background-color:rgba(4, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(4, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;white-space:nowrap;text-decoration:underline}::slotted(a[target=_blank]){padding-right:16px;background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva ::slotted(a:focus),::slotted(a:focus).duet-theme-turva,.duet-theme-turva2 ::slotted(a:focus),::slotted(a:focus).duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}:host(.duet-theme-turva2) .duet-cookie-consent.duet-theme-turva{background-color:rgba(12, 21, 30, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){:host(.duet-theme-turva2) .duet-cookie-consent.duet-theme-turva{background:rgba(12, 21, 30, 0.8)}}';export{r as duet_cookie_consent}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c as t,h as i,H as c,g as o}from"./p-c6d073be.js";import{i as d}from"./p-53e6e1da.js";import{c as r}from"./p-5e59e970.js";import{s as a,u as n,q as h}from"./p-a45e3f8b.js";import{g as s}from"./p-ca32f459.js";import"./p-9c3c64b9.js";const u=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.duetRemove=t(this,"duetRemove",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.chipId=r("DuetChip"),this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"},this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"},this.enforceNoDisabledSelected=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.radioInputListenersRemove=e=>{e.removeEventListener("change",this.onRadioChange),e.removeEventListener("click",this.onRadioClick),e.removeEventListener("focus",this.onFocus),e.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=e=>{e.addEventListener("change",this.onRadioChange),e.addEventListener("click",this.onRadioClick),e.addEventListener("focus",this.onFocus),e.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const e=this.element.querySelector("input[slot=input]"),t=e||document.createElement("input");t.slot="input",t.ariaDisabled=this.disabled?"true":void 0,t.id=this.identifier||this.chipId,t.type="radio",t.name=this.name,t.value=this.value,t.checked=this.checked,t.ariaLabel=this.element.textContent,e?this.radioInputListenersRemove(t):this.element.appendChild(t),this.radioInputListenersAdd(t),this.focusableElement=t},this.popupSetUp=()=>{const e=document.querySelector(`duet-popup-menu#${this.popup}`);if(e){this.popupElement=e,e.controller=this.element;const t=this.element.textContent,i=this.value;e.id||(e.id="popup-menu"),e.addEventListener("duetToggle",(e=>{this.popupOpen=e.detail.open}));const c=()=>{e.querySelectorAll("duet-popup-menu-item").forEach((e=>{e.active=!1}))};e.querySelectorAll("duet-popup-menu-item").forEach((e=>{e.addEventListener("click",(o=>{var d;const r=null!==(d=e.value)&&void 0!==d?d:e.innerText;e.active?(c(),this.element.textContent=t,this.value=i,this.checked=!1):(c(),e.active=!0,this.element.textContent=e.innerText,this.value=r,this.checked=!0),this.emitChange(o),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=e=>{this.focus=!0,this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=e=>{this.focus=!1,this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=e=>{this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=e=>{this.checked=!this.checked,this.emitChange(e)},this.onRadioChange=e=>{this.checked=this.focusableElement.checked,this.emitChange(e)},this.onRadioClick=e=>{this.disabled&&e.preventDefault()},this.onFilterClick=e=>{if(this.disabled)return e.stopPropagation(),void e.preventDefault();this.popupElement&&(e.stopPropagation(),e.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),this.duetRemove.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"}),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.inputChipHover=!1,this.inputChipDeleteFocus=!1,this.accessibleLabel=void 0,this.variation="button",this.size="medium",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.selected=!1,this.checked=!1,this.disabled=!1,this.accessibleExpanded=void 0,this.accessiblePopup="false"}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((e=>{e!==this.element&&(e.checked=!1)}))}removeDisabledAttributeWhenFalse(){this.disabled||this.element.removeAttribute("disabled")}componentWillLoad(){d(this),this.removeDisabledAttributeWhenFalse(),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){a(this)}disconnectedCallback(){n(this)}componentDidRender(){"radio"===this.variation&&this.radioInputSetUp()}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}getAccessibleDeleteLabel(){return`${s(this.deleteLabels)} ${this.element.textContent}`}getAccessibleInputChipLabel(){return`${this.element.textContent}${this.selected?` (${s(this.selectedForDeletionLabels)}) `:""},`}async setFocus(e){h(),setTimeout((()=>this.focusableElement.focus(e)),200)}async setDeleteFocus(){setTimeout((()=>this.deleteButtonElement.focus()),200)}async removeChip(){this.onRemoveClick()}render(){var e;const t=this.identifier||this.chipId,o={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-selected":this.selected,"duet-chip-hover":this.inputChipHover,"duet-chip-delete-focus":this.inputChipDeleteFocus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},d={onFocus:this.onFocus,onBlur:this.onBlur,ref:e=>this.focusableElement=e};return i(c,{key:"b6fb72c89bb3173bbab5a049fa15e1952c16205e",class:{[this.variation]:!0}},"button"===this.variation&&i("span",{key:"67b4e89093f32e48fa8b0f34cc0bb04cf84fe4d7",class:o},i("button",Object.assign({key:"136da64b566f3ab1aac3ac06e221b382293eafc1",id:t,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?e=>e.stopPropagation():void 0},d),i("span",{key:"edd95585532bb3793d25c9d59ff736bfd93a698f",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"7eee1a45099e4b7e887ca9c18973d5491eebc49e",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"22c6c1e797b3d7ae8d5066e5e54d9d9b091fd8af"}))),"input"===this.variation&&i("span",{key:"6190f5af72bea43c3225440e936d6bcac3ee1a1a",class:o,"aria-label":this.getAccessibleInputChipLabel()},i("button",Object.assign({key:"684bbf1c87dbcc51074a469fef71eabc67b8b3cc",id:t,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:()=>this.inputChipHover=!0,onMouseOut:()=>this.inputChipHover=!1,onClick:()=>this.selected=!this.selected},d),i("span",{key:"3e9d81e6b529cbedd4dc059d2a69c7672dba4c15",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"4eb3a40447390af6f7005afdaf8a892fdb1a37a0",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"6a41790d5bb9b18d29aed4104f7875f4b82a6182"})),i("button",{key:"2aa0bd85705bd9d0f2f9107b81e1c478b79670e7",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:()=>this.inputChipDeleteFocus=!0,onBlur:()=>this.inputChipDeleteFocus=!1,ref:e=>this.deleteButtonElement=e},i("duet-icon",{key:"42142c43f116826ea4754ad43715380a5168a4a0",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&i("span",{key:"da7635d906a3000bdba610b199be6e02e67999a3",class:o},i("input",Object.assign({key:"991860c1d1faaf8b0b94c23878c0fda4cc57d5b2","aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(e=this.popupElement)||void 0===e?void 0:e.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:t,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},d)),i("label",{key:"19200514b12edc1c34ee60d7141e2e443de2f4eb",htmlFor:t},this.icon&&i("span",{key:"e829017680ab4f77b068a795500ab0e228252910",class:"duet-chip-icon-container"},i("duet-icon",{key:"f3726f51afd71e1621bc838d3a5bb01ac741898a",name:this.icon,size:"large"===this.size?"small":"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"38ebb64dffbad02205d259ddc908ad4448146e2c",name:"messaging-checked-small",size:"large"===this.size?"x-small":"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"fdc200f7e366b400ee41adcc43793c1b57c73044"}),this.popupElement&&i("span",{key:"154e4ee257d7152de4bd6089d650f89abab7849b",class:"duet-chip-popup-disclosure"},i("duet-icon",{key:"51559fda4889f9b1d1c5db56005140037d10bbe0",name:"action-arrow-down-small",size:"large"===this.size?"xx-small":"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&i("span",{key:"05b32d584d059da2136a8c3bf615d8c54733b242",class:o},i("slot",{key:"4b75c8a08549ecefda7cbc774e6877a688c5c96a",name:"input"}),i("label",{key:"08d85749a874e5196eb21eb54a132156c7cc6dcf",htmlFor:t},this.icon&&i("span",{key:"48ed797d8716ecaea0c06bd2dcd41ab28bbc14e9",class:"duet-chip-icon-container"},i("duet-icon",{key:"befa22bdb1d0b2682d316551eb8ac873128b0ccf",name:this.icon,size:"large"===this.size?"small":"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"3eab74ef52e823c81daf1c71379127c7650bba80",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"460c29546099eb06cc2dfa71baf9a57999d4f838"}))))}get element(){return o(this)}static get watchers(){return{checked:["clearOtherRadioButtons"],disabled:["removeDisabledAttributeWhenFalse"]}}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;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;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:12px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:12px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(255, 241, 241);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(255, 213, 215)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(255, 241, 241);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 18px}.duet-chip-container.large.duet-chip-has-icon .duet-chip-icon-container{width:30px;padding-right:10px}.duet-chip-container.large .duet-chip-popup-disclosure{padding-right:6.5px;padding-left:14.5px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva{color:#172a3b !important;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva:hover{border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked{background:#fdf7f2;border-color:#e61740}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked:hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked:hover{background:#fbe1d1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-popup-open{background:#fdf7f2;border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input:hover{border-color:#b2c2cd}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected{border-color:#e61740}';export{u as duet_chip}
4
+ import{r as e,c as t,h as i,H as c,g as o}from"./p-4ad740e2.js";import{i as r}from"./p-12f16785.js";import{c as d}from"./p-5e59e970.js";import{s as a,u as n,q as h}from"./p-a45e3f8b.js";import{g as u}from"./p-135e72bf.js";import"./p-9c3c64b9.js";const s=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.duetRemove=t(this,"duetRemove",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.chipId=d("DuetChip"),this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"},this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"},this.enforceNoDisabledSelected=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.radioInputListenersRemove=e=>{e.removeEventListener("change",this.onRadioChange),e.removeEventListener("click",this.onRadioClick),e.removeEventListener("focus",this.onFocus),e.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=e=>{e.addEventListener("change",this.onRadioChange),e.addEventListener("click",this.onRadioClick),e.addEventListener("focus",this.onFocus),e.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const e=this.element.querySelector("input[slot=input]"),t=e||document.createElement("input");t.slot="input",t.ariaDisabled=this.disabled?"true":void 0,t.id=this.identifier||this.chipId,t.type="radio",t.name=this.name,t.value=this.value,t.checked=this.checked,t.ariaLabel=this.element.textContent,e?this.radioInputListenersRemove(t):this.element.appendChild(t),this.radioInputListenersAdd(t),this.focusableElement=t},this.popupSetUp=()=>{const e=document.querySelector(`duet-popup-menu#${this.popup}`);if(e){this.popupElement=e,e.controller=this.element;const t=this.element.textContent,i=this.value;e.id||(e.id="popup-menu"),e.addEventListener("duetToggle",(e=>{this.popupOpen=e.detail.open}));const c=()=>{e.querySelectorAll("duet-popup-menu-item").forEach((e=>{e.active=!1}))};e.querySelectorAll("duet-popup-menu-item").forEach((e=>{e.addEventListener("click",(o=>{var r;const d=null!==(r=e.value)&&void 0!==r?r:e.innerText;e.active?(c(),this.element.textContent=t,this.value=i,this.checked=!1):(c(),e.active=!0,this.element.textContent=e.innerText,this.value=d,this.checked=!0),this.emitChange(o),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=e=>{this.focus=!0,this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=e=>{this.focus=!1,this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=e=>{this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=e=>{this.checked=!this.checked,this.emitChange(e)},this.onRadioChange=e=>{this.checked=this.focusableElement.checked,this.emitChange(e)},this.onRadioClick=e=>{this.disabled&&e.preventDefault()},this.onFilterClick=e=>{if(this.disabled)return e.stopPropagation(),void e.preventDefault();this.popupElement&&(e.stopPropagation(),e.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),this.duetRemove.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-chip"}),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.inputChipHover=!1,this.inputChipDeleteFocus=!1,this.accessibleLabel=void 0,this.variation="button",this.size="medium",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.selected=!1,this.checked=!1,this.disabled=!1,this.accessibleExpanded=void 0,this.accessiblePopup="false"}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((e=>{e!==this.element&&(e.checked=!1)}))}removeDisabledAttributeWhenFalse(){this.disabled||this.element.removeAttribute("disabled")}componentWillLoad(){r(this),this.removeDisabledAttributeWhenFalse(),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){a(this)}disconnectedCallback(){n(this)}componentDidRender(){"radio"===this.variation&&this.radioInputSetUp()}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}getAccessibleDeleteLabel(){return`${u(this.deleteLabels)} ${this.element.textContent}`}getAccessibleInputChipLabel(){return`${this.element.textContent}${this.selected?` (${u(this.selectedForDeletionLabels)}) `:""},`}async setFocus(e){h(),setTimeout((()=>this.focusableElement.focus(e)),200)}async setDeleteFocus(){setTimeout((()=>this.deleteButtonElement.focus()),200)}async removeChip(){this.onRemoveClick()}render(){var e;const t=this.identifier||this.chipId,o={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-selected":this.selected,"duet-chip-hover":this.inputChipHover,"duet-chip-delete-focus":this.inputChipDeleteFocus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},r={onFocus:this.onFocus,onBlur:this.onBlur,ref:e=>this.focusableElement=e};return i(c,{key:"b6fb72c89bb3173bbab5a049fa15e1952c16205e",class:{[this.variation]:!0}},"button"===this.variation&&i("span",{key:"67b4e89093f32e48fa8b0f34cc0bb04cf84fe4d7",class:o},i("button",Object.assign({key:"136da64b566f3ab1aac3ac06e221b382293eafc1",id:t,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?e=>e.stopPropagation():void 0},r),i("span",{key:"edd95585532bb3793d25c9d59ff736bfd93a698f",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"7eee1a45099e4b7e887ca9c18973d5491eebc49e",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"22c6c1e797b3d7ae8d5066e5e54d9d9b091fd8af"}))),"input"===this.variation&&i("span",{key:"6190f5af72bea43c3225440e936d6bcac3ee1a1a",class:o,"aria-label":this.getAccessibleInputChipLabel()},i("button",Object.assign({key:"684bbf1c87dbcc51074a469fef71eabc67b8b3cc",id:t,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:()=>this.inputChipHover=!0,onMouseOut:()=>this.inputChipHover=!1,onClick:()=>this.selected=!this.selected},r),i("span",{key:"3e9d81e6b529cbedd4dc059d2a69c7672dba4c15",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"4eb3a40447390af6f7005afdaf8a892fdb1a37a0",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"6a41790d5bb9b18d29aed4104f7875f4b82a6182"})),i("button",{key:"2aa0bd85705bd9d0f2f9107b81e1c478b79670e7",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:()=>this.inputChipDeleteFocus=!0,onBlur:()=>this.inputChipDeleteFocus=!1,ref:e=>this.deleteButtonElement=e},i("duet-icon",{key:"42142c43f116826ea4754ad43715380a5168a4a0",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&i("span",{key:"da7635d906a3000bdba610b199be6e02e67999a3",class:o},i("input",Object.assign({key:"991860c1d1faaf8b0b94c23878c0fda4cc57d5b2","aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(e=this.popupElement)||void 0===e?void 0:e.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:t,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},r)),i("label",{key:"19200514b12edc1c34ee60d7141e2e443de2f4eb",htmlFor:t},this.icon&&i("span",{key:"e829017680ab4f77b068a795500ab0e228252910",class:"duet-chip-icon-container"},i("duet-icon",{key:"f3726f51afd71e1621bc838d3a5bb01ac741898a",name:this.icon,size:"large"===this.size?"small":"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"38ebb64dffbad02205d259ddc908ad4448146e2c",name:"messaging-checked-small",size:"large"===this.size?"x-small":"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"fdc200f7e366b400ee41adcc43793c1b57c73044"}),this.popupElement&&i("span",{key:"154e4ee257d7152de4bd6089d650f89abab7849b",class:"duet-chip-popup-disclosure"},i("duet-icon",{key:"51559fda4889f9b1d1c5db56005140037d10bbe0",name:"action-arrow-down-small",size:"large"===this.size?"xx-small":"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&i("span",{key:"05b32d584d059da2136a8c3bf615d8c54733b242",class:o},i("slot",{key:"4b75c8a08549ecefda7cbc774e6877a688c5c96a",name:"input"}),i("label",{key:"08d85749a874e5196eb21eb54a132156c7cc6dcf",htmlFor:t},this.icon&&i("span",{key:"48ed797d8716ecaea0c06bd2dcd41ab28bbc14e9",class:"duet-chip-icon-container"},i("duet-icon",{key:"befa22bdb1d0b2682d316551eb8ac873128b0ccf",name:this.icon,size:"large"===this.size?"small":"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"3eab74ef52e823c81daf1c71379127c7650bba80",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"460c29546099eb06cc2dfa71baf9a57999d4f838"}))))}get element(){return o(this)}static get watchers(){return{checked:["clearOtherRadioButtons"],disabled:["removeDisabledAttributeWhenFalse"]}}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;hyphens:none;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;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;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:12px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:12px}.duet-chip-container duet-icon:not(.check-mark){visibility:visible;width:auto;transform:scaleX(1);transition:width 300ms ease, transform 300ms ease}.duet-chip-container duet-icon.check-mark{visibility:hidden;width:0;overflow:hidden;transform:scaleX(0);transition:width 300ms ease, transform 300ms ease}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){visibility:hidden;width:0;overflow:hidden;transform:scaleX(0);transition:width 300ms ease, transform 300ms ease}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{visibility:visible;width:auto;transform:scaleX(1);transition:width 300ms ease, transform 300ms ease}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(255, 241, 241);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(255, 213, 215)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(255, 241, 241);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 18px}.duet-chip-container.large.duet-chip-has-icon .duet-chip-icon-container{width:30px;padding-right:10px}.duet-chip-container.large .duet-chip-popup-disclosure{padding-right:6.5px;padding-left:14.5px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva2,.duet-theme-turva :host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;appearance:none;cursor:pointer;border-width:2px;border-radius:8px;opacity:0}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva{color:rgb(23, 42, 59) !important;border-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva:hover{border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked{background:rgb(253, 247, 242);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked:hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked:hover{background:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-popup-open{background:rgb(253, 247, 242);border-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input:hover{border-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-hover,:host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected{border-color:rgb(230, 23, 64)}';export{s as duet_chip}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as i,g as a}from"./p-4ad740e2.js";import{a as r}from"./p-f11208c3.js";import{a as o}from"./p-24954951.js";import{i as n}from"./p-12f16785.js";import{g as s}from"./p-33c69e1b.js";import{g as u,c as m,d}from"./p-135e72bf.js";import"./p-d4ecb287.js";import"./p-9c3c64b9.js";const h=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.url=void 0,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessibleLabel=void 0,this.accessibleExpanded=void 0,this.accessiblePopup="false",this.accessibleLabelExternalDefaults=o,this.accessibleLabelExternal=u(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){n(this)}connectedCallback(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){d(this)}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){const e=this.url?"a":"button";return t(i,{key:"6c892062c0bd92db9f57b96b7180f9eef0801255",role:"listitem"},t(e,{key:"a23d9012b6e382756434132bdfbe2f42b11e12d6",target:this.url?this.external?"_blank":"_self":null,ref:e=>this.itemElement=e,class:{"duet-menu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,role:"a"===e?"link":"button","aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,rel:this.external?"noopener":void 0},this.leadingIcon&&t("duet-icon",{key:"799e99c90de77fc27884390cee54a2f5ef2b86c7",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),t("slot",{key:"a3e5ca49f3a3ebea08b83ea25eb7f1c9978ac33a"}),(this.trailingIcon||this.external)&&t("duet-icon",{key:"bfc604da6076597a4bbf67adb54020f911a4070b",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!!this.external,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"})))}get element(){return a(this)}};h.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}.duet-menu-bar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;color:inherit;text-align:center;white-space:nowrap;text-decoration:none;cursor:pointer}.duet-menu-bar-item:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva,.duet-theme-turva2 .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva2{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:16px;height:16px}}.duet-menu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-menu-bar-item .external-icon{width:10px;height:10px}.duet-menu-bar-item[aria-expanded=true]{color:rgb(0, 119, 179)}.duet-menu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-menu-bar-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-item{padding:0 28px}}.duet-menu-bar-item.active{color:rgb(0, 119, 179)}.duet-menu-bar-item.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(2px);transition:300ms ease}@media (min-width: 62em){.duet-menu-bar-item.active::after{z-index:auto;height:2px}}.duet-menu-bar-item.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item:hover{color:rgb(0, 119, 179)}.duet-menu-bar-item:hover.duet-theme-turva{color:rgb(198, 12, 48)}}:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(230, 23, 64)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva:hover{color:rgb(230, 23, 64)}}';export{h as duet_menu_bar_item}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as a,g as n}from"./p-4ad740e2.js";import{i as o}from"./p-12f16785.js";import{a as r,c as s,d as i,g as d}from"./p-135e72bf.js";import"./p-9c3c64b9.js";const c=class{constructor(t){e(this,t),this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"},this.language=r(),this.theme=""}componentWillLoad(){o(this)}connectedCallback(){s(this)}disconnectedCallback(){i(this)}render(){const e=d(this.chooseLangObject);return t(a,{key:"2d8d0ea8ccd8932027c97026ab0fd8ff94b13f5d"},t("div",{key:"8ecd4a30d2535356b74019ea8a6e6243bb05b88c",class:"duet-slideout-lang",role:"group","aria-label":e},t("duet-icon",{key:"825bf7a329128b49e03969c52b7abb3c76922fef",name:"navigation-language",margin:"none",color:"secondary",size:"small"}),t("slot",{key:"a43360f381937d2d74610b34de107c10e384a880"})))}get element(){return n(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-slideout-lang{display:flex;gap:16px;align-items:center;justify-content:flex-start;width:min-content;white-space:nowrap}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:25%;right:-14px;width:2px;height:50%;content:"";background:rgb(8, 42, 77)}.duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 42, 59)}';export{c as duet_slideout_lang}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-a5ddcabc.system.js"],(function(t){"use strict";var r;return{setters:[function(t){r=t.a}],execute:function(){t("g",n);function n(t){var n=t.element.textContent;if(t.accessibleLabel){return t.accessibleLabel}if((!!t.download||t.download==="")&&n){return"".concat(n,". ").concat(t.accessibleLabelDownload,".")}if(t.external&&n){return"".concat(n,". ").concat(t.accessibleLabelExternal,".")}if(r(t.element).length){return n}return null}}}}));
4
+ System.register(["./p-d44312ba.system.js"],(function(t){"use strict";var r;return{setters:[function(t){r=t.b}],execute:function(){t("g",n);function n(t){var n=t.element.textContent;if(t.accessibleLabel){return t.accessibleLabel}if((!!t.download||t.download==="")&&n){return"".concat(n,". ").concat(t.accessibleLabelDownload,".")}if(t.external&&n){return"".concat(n,". ").concat(t.accessibleLabelExternal,".")}if(r(t.element).length){return n}return null}}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as r,g as i}from"./p-4ad740e2.js";import{i as a}from"./p-12f16785.js";import{s as o,u as s}from"./p-a45e3f8b.js";const n=class{constructor(t){e(this,t),this.hasSlottedContent=!1,this.theme="",this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.accessibleLabel=void 0}componentWillLoad(){a(this)}connectedCallback(){o(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){s(this)}render(){const e=this.href?"a":"span";return t(r,{key:"2207c094fc1739e35d0282ff76d24264b62ce36a",role:"listitem"},t("div",{key:"3cc99566d2766c3924b4d8b6ede7905180bcbbb9",class:"container"},"arrow-right-small-icon"===this.icon&&t("duet-icon",{key:"39dd9e66014828b37093cd6803823b2e15c3672e",class:"duet-breadrumbs-arrow",size:"auto",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>',margin:"none",color:"currentColor"}),t(e,{key:"53f7d4b23f6beaa1d85c5ea9838c715b3f7c43b1",class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme,"icon-only":this.icon&&!this.hasSlottedContent},href:this.href||void 0,"aria-label":this.accessibleLabel||this.element.textContent,"aria-current":this.href?void 0:"page"},"arrow-right-small-icon"!==this.icon&&this.icon&&[t("duet-icon",{key:"619c49353a03cf8963836ef4fd76aefd9cfd60b2",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&t("duet-spacer",{key:"fd54d24f48cab981020265dd86753fcc46f0276c",size:"x-small",direction:"horizontal"})],t("slot",{key:"42334600d458ab1b9930d17f0b674fd06a1af09c"}))))}get element(){return i(this)}};n.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:list-item;width:auto}.container{display:flex;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;padding:10px 8px;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-breadcrumb:focus,:host(.user-is-tabbing) .duet-breadcrumb:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-breadcrumb:focus,:host(.user-is-tabbing) .duet-breadcrumb:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}";export{n as duet_breadcrumb}
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,n,e,i){function o(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,r){function u(t){try{s(i.next(t))}catch(t){r(t)}}function a(t){try{s(i["throw"](t))}catch(t){r(t)}}function s(t){t.done?e(t.value):o(t.value).then(u,a)}s((i=i.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,o,r,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return s([t,n])}}function s(a){if(i)throw new TypeError("Generator is already executing.");while(u&&(u=0,a[0]&&(e=0)),e)try{if(i=1,o&&(r=a[0]&2?o["return"]:a[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;if(o=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;o=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){e.label=a[1];break}if(a[0]===6&&e.label<r[1]){e.label=r[1];r=a;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(a);break}if(r[2])e.ops.pop();e.trys.pop();continue}a=n.call(t,e)}catch(t){a=[6,t];o=0}finally{i=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-80993983.system.js","./p-385da7a9.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-752fa0fc.system.js","./p-d4f972c3.system.js","./p-43bbba35.system.js","./p-98636086.system.js","./p-db0ba7b6.system.js"],(function(t){"use strict";var n,e,i,o,r,u,a,s,c,d,h,b,f,l,p;return{setters:[function(t){n=t.r;e=t.c;i=t.h;o=t.H;r=t.g},function(t){u=t.i},function(t){a=t.c},function(t){s=t.d},function(t){c=t.i},function(t){d=t.g;h=t.c;b=t.d},function(t){f=t.c;l=t.g;p=t.s},function(){},function(){}],execute:function(){var m="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-action-button:focus,.duet-action-button:focus.duet-theme-turva,.duet-theme-turva2 .duet-action-button:focus,.duet-action-button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:active:focus{background:#dddfe1 !important}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva{color:rgb(23, 42, 59);background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:not(:disabled):hover{background:#f0ebe6}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:active:focus{background:#e4deda !important}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:disabled{color:rgb(120, 145, 164);background:rgb(245, 246, 247)}";var g=m;var v=t("duet_action_button",function(){function t(t){var i=this;n(this,t);this.duetActionEvent=e(this,"duetActionEvent",6);this.listId=a("duet-action-button");this.emitPageEvent=s((function(t){i.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:i.actionId,name:i.actionName,meta:i.actionMeta,id:i.listId})}));this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName=undefined;this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleTitle=true;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"};this.accessibleLabel=d(this.accessibleLabelsDefaults);this.accessibleControls="";this.url=undefined}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(c(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.getTitle=function(){if(typeof this.accessibleTitle==="string"){return this.accessibleTitle}if(this.accessibleTitle===true&&this.actionName){return f("".concat(this.actionName))}return null};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){u(this)};t.prototype.connectedCallback=function(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){b(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t;var n=this;var e=this.color==="currentColor"?"currentColor":l(this.color,this.theme);var r=l(this.background,this.theme);var u=r?p(r,-.1):r;var a=r?"\n button.duet-action-button {\n background: ".concat(r," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(u," !important;\n }\n "):"";var s={color:e,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};var c={ref:function(t){return n.nativeButton=t},part:"button",style:s,disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t["duet-theme-turva"]=this.theme==="turva",t)};return i(o,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:function(t){return n.onKeyboardDown(t)}},i("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:a}),this.url&&!this.disabled?i("a",Object.assign({},c,{href:this.url}),i("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):i("button",Object.assign({},c,{onClick:function(t){return n.onMouseHandler(t)}}),i("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),i("duet-visually-hidden",null,i("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());v.style=g}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,o,i){function r(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,n){function a(t){try{u(i.next(t))}catch(t){n(t)}}function d(t){try{u(i["throw"](t))}catch(t){n(t)}}function u(t){t.done?o(t.value):r(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(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,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,r&&(n=d[0]&2?r["return"]:d[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,d[1])).done)return n;if(r=0,n)d=[d[0]&2,n.value];switch(d[0]){case 0:case 1:n=d;break;case 4:o.label++;return{value:d[1],done:false};case 5:o.label++;r=d[1];d=[0];continue;case 7:d=o.ops.pop();o.trys.pop();continue;default:if(!(n=o.trys,n=n.length>0&&n[n.length-1])&&(d[0]===6||d[0]===2)){o=0;continue}if(d[0]===3&&(!n||d[1]>n[0]&&d[1]<n[3])){o.label=d[1];break}if(d[0]===6&&o.label<n[1]){o.label=n[1];n=d;break}if(n&&o.label<n[2]){o.label=n[2];o.ops.push(d);break}if(n[2])o.ops.pop();o.trys.pop();continue}d=e.call(t,o)}catch(t){d=[6,t];r=0}finally{i=n=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-80993983.system.js","./p-053b71e6.system.js","./p-87633fff.system.js","./p-385da7a9.system.js","./p-752fa0fc.system.js","./p-d4f972c3.system.js","./p-d44312ba.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,o,i,r,n,a,d,u,f,s,l,m,p,c,h,g;return{setters:[function(t){e=t.r;o=t.c;i=t.h;r=t.F;n=t.g},function(t){a=t.a},function(t){d=t.a},function(t){u=t.i},function(t){f=t.s;s=t.u},function(t){l=t.a;m=t.g;p=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;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;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(8, 42, 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}.duet-footer a:focus{outline:0}:host(.user-is-tabbing) .duet-footer a:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-footer a:focus,:host(.user-is-tabbing) .duet-footer a:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-footer a:focus,:host(.user-is-tabbing) .duet-footer a:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 62em){.duet-footer a{border-radius:4px}}.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;overflow-wrap:break-word;text-decoration:none}.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(8, 42, 77);background:transparent !important;border-top:1px solid rgb(212, 223, 229)}.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(8, 42, 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(222, 224, 228)}.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)}:host(.duet-theme-turva2) .duet-footer.duet-theme-turva{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-footer-simple.duet-theme-turva{color:rgb(23, 42, 59);border-color:rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-footer-simple.duet-theme-turva .duet-footer-copyright,:host(.duet-theme-turva2) .duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-footer-simple.duet-theme-turva .duet-footer-external{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) duet-logo{margin-left:28px !important}@media (min-width: 62em){:host(.duet-theme-turva2) duet-logo{margin-left:0 !important}}@media (min-width: 62em){:host(.duet-theme-turva2) ::slotted([slot=info]){margin-top:4px}}';var v=b;var x={fi:{lahi:"© LähiTapiola",turva:"© Turva"},sv:{lahi:"© LokalTapiola",turva:"© Turva"},en:{lahi:"© LocalTapiola",turva:"© Turva"}};var y=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=y(t,{href:i.logoHref,label:"logo"});i.duetLogoClick.emit(e);i.handleClick(e)};this.handleMenuClick=function(t,e){var o=y(t,e);i.handleClick(o);i.duetMenuClick.emit(o)};this.handleItemClick=function(t,e){var o=y(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.setDataAttributes=function(t,e){if(!e.data){return}for(var o in e.data){t.dataset[o]=e.data[o]}};this.processedMainItem=null;this.processedItems=null;this.processedMenu=null;this.theme="";this.variation="default";this.margin="auto";this.logoHref="/";this.language=l();this.items=undefined;this.accessibleLabel=undefined;this.accessibleLabelExternalDefaults=d;this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults);this.menu=undefined}t.prototype.componentWillLoad=function(){u(this);this.refresh();this.hasInfoSlot=h(this.element,"info")};t.prototype.connectedCallback=function(){p(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"});f(this)};t.prototype.disconnectedCallback=function(){c(this);s(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=m(x,this.language);var o=this.theme==="turva"?e.turva:e.lahi;return i("footer",{key:"6fa54dcd00d062870fef8ce931047abde21f1c56",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",{key:"5e9eedb5c729cbc91227cc2636875dd434d6207b",class:"duet-footer-wrapper"},this.variation!=="simple"&&i("div",{key:"7286614e130e7455c28ed4bcb80403763e56f408",class:{"duet-footer-top":true,"duet-has-info":this.hasInfoSlot},part:"top"},i("div",{key:"b3fd6d13a8fac62e4236eda752d920167baf1a10",class:"footer-top-logo"},i("duet-logo",{key:"74f475196e83b9a4a7dc46619f8c77b56c068c5c",href:this.logoHref,onClick:this.handleLogoClick,size:"large",inverse:true,language:this.language,theme:this.theme})),i("div",{key:"80a2684fcdc87454f44c3631f6b7d91c2ff1034c",class:"footer-top-right-container"},i("slot",{key:"aaa8f84447a72bd2ce459c462188e8b634903ea5",name:"info"}),i("div",{key:"799aff5f480b44d4512f1e467dc8e3bfb280b38f",class:"footer-top-items"},this.processedItems&&this.processedItems.map((function(e,o){var n,a,d,u,f,s;return i(r,null,o>0&&i("duet-spacer",{size:"x-large",direction:"horizontal"}),i("duet-button",{ref:function(o){return t.setDataAttributes(o,e)},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:((n=e.href)===null||n===void 0?void 0:n.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":((f=e.href)===null||f===void 0?void 0:f.startsWith("tel:"))||((s=e.href)===null||s===void 0?void 0:s.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",{key:"d88c064ddca3e3dafc81f460513ad82954a98610",name:"extra"}),i("p",{key:"2a86e3021e849b0098a824f4770ab1fac0524ff1",class:"duet-footer-menu",part:"menu"},i("span",{key:"46ed17532335add2cefab0e7db04c1078be774d0",class:"duet-footer-copyright"},"".concat(o," ").concat((new Date).getFullYear())),i("span",{key:"c2b48cdf3eba48b8f36c4b4ec34745929a583cde",class:"duet-footer-menu-links"},this.processedMenu&&i(r,{key:"1a27be7b7525e42cbafd4938765f4fb663ad4d61"},this.processedMenu.map((function(e){return i("a",{ref:function(o){return t.setDataAttributes(o,e)},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(r,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",{key:"f9d8c513b27020cfa64c0726b6f643522fde10ff",class:"duet-footer-copyright duet-footer-copyright-mobile"},"".concat(o," ").concat((new Date).getFullYear()))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{menu:["refresh"],items:["refresh"]}},enumerable:false,configurable:true});return t}());w.style=v}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{g as s}from"./p-135e72bf.js";import{p as e}from"./p-9c3c64b9.js";const t=(s,t)=>{let o={type:void 0,system_message:void 0,message:void 0};return o=(t=e(t)).filter((e=>e.type==s))[0],o||(o=t.filter((s=>"default"===s.type))[0]),o},o=(e,o)=>{const r=t(e,o),a=s(r.message);return""!==a&&a?a:r.system_message};export{o as a,t as g}