@duetds/components 7.0.13 → 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1051) hide show
  1. package/hydrate/index.d.ts +6 -6
  2. package/hydrate/index.js +554 -223
  3. package/lib/cjs/duet-action-button.cjs.entry.js +12 -8
  4. package/lib/cjs/duet-alert.cjs.entry.js +8 -5
  5. package/lib/cjs/duet-badge.cjs.entry.js +7 -2
  6. package/lib/cjs/duet-banner.cjs.entry.js +7 -3
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +8 -4
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  9. package/lib/cjs/duet-button_2.cjs.entry.js +10 -6
  10. package/lib/cjs/duet-callout.cjs.entry.js +6 -2
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +40 -8
  12. package/lib/cjs/duet-card.cjs.entry.js +10 -6
  13. package/lib/cjs/duet-checkbox.cjs.entry.js +7 -3
  14. package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-chip.cjs.entry.js +20 -16
  16. package/lib/cjs/duet-choice_2.cjs.entry.js +17 -10
  17. package/lib/cjs/duet-collapsible.cjs.entry.js +10 -6
  18. package/lib/cjs/duet-combobox.cjs.entry.js +6 -6
  19. package/lib/cjs/duet-contact-card.cjs.entry.js +8 -4
  20. package/lib/cjs/duet-cookie-consent.cjs.entry.js +6 -2
  21. package/lib/cjs/duet-date-picker.cjs.entry.js +10 -6
  22. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-editable-table_3.cjs.entry.js +16 -9
  24. package/lib/cjs/duet-empty-state.cjs.entry.js +7 -2
  25. package/lib/cjs/duet-fieldset.cjs.entry.js +8 -4
  26. package/lib/cjs/duet-footer.cjs.entry.js +9 -5
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-header_2.cjs.entry.js +12 -8
  29. package/lib/cjs/duet-hero.cjs.entry.js +10 -6
  30. package/lib/cjs/duet-icon.cjs.entry.js +7 -3
  31. package/lib/cjs/duet-input_2.cjs.entry.js +13 -7
  32. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  33. package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +6 -2
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +7 -3
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -3
  37. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +6 -2
  38. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -2
  39. package/lib/cjs/duet-modal.cjs.entry.js +11 -9
  40. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -6
  41. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-notification_2.cjs.entry.js +11 -4
  43. package/lib/cjs/duet-number-input.cjs.entry.js +10 -6
  44. package/lib/cjs/duet-page-heading.cjs.entry.js +6 -2
  45. package/lib/cjs/duet-pagination_2.cjs.entry.js +11 -8
  46. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +6 -2
  47. package/lib/cjs/duet-popup-menu.cjs.entry.js +5 -5
  48. package/lib/cjs/duet-progress.cjs.entry.js +9 -5
  49. package/lib/cjs/duet-promo-card.cjs.entry.js +7 -3
  50. package/lib/cjs/duet-radio_2.cjs.entry.js +8 -4
  51. package/lib/cjs/duet-range-slider.cjs.entry.js +8 -4
  52. package/lib/cjs/duet-scrollable_3.cjs.entry.js +19 -12
  53. package/lib/cjs/duet-section-layout.cjs.entry.js +2 -2
  54. package/lib/cjs/duet-select.cjs.entry.js +8 -4
  55. package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
  56. package/lib/cjs/duet-show-more.cjs.entry.js +10 -6
  57. package/lib/cjs/duet-slideout-lang.cjs.entry.js +8 -4
  58. package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -2
  59. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -2
  60. package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -6
  61. package/lib/cjs/duet-slideout.cjs.entry.js +10 -8
  62. package/lib/cjs/duet-step_2.cjs.entry.js +11 -4
  63. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +7 -3
  64. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -3
  65. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +7 -3
  66. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -3
  67. package/lib/cjs/duet-textarea.cjs.entry.js +8 -4
  68. package/lib/cjs/duet-toggle.cjs.entry.js +7 -3
  69. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +7 -3
  70. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -3
  71. package/lib/cjs/duet-toolbar-link.cjs.entry.js +6 -2
  72. package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
  73. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +23 -3
  74. package/lib/cjs/duet-tooltip.cjs.entry.js +10 -12
  75. package/lib/cjs/duet-tray.cjs.entry.js +9 -5
  76. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +9 -1
  77. package/lib/cjs/duet-upload-item.cjs.entry.js +10 -5
  78. package/lib/cjs/duet-visually-hidden.cjs.entry.js +6 -1
  79. package/lib/cjs/duet.cjs.js +4 -11
  80. package/lib/cjs/{errorcodes.utils-c85ef728.js → errorcodes.utils-8e928de5.js} +2 -2
  81. package/lib/cjs/{focus-utils-a94e86a5.js → focus-utils-135b1e70.js} +1 -1
  82. package/lib/cjs/{index-04d05fd9.js → index-8d4b3790.js} +505 -183
  83. package/lib/cjs/{language-utils-6f1ce5d7.js → language-utils-dc19e8b6.js} +1 -1
  84. package/lib/cjs/loader.cjs.js +3 -12
  85. package/lib/cjs/nudge-ee03ce2e.js +18 -0
  86. package/lib/cjs/{teleport-18e2b4b9.js → teleport-af825e04.js} +9 -12
  87. package/lib/collection/collection-manifest.json +98 -98
  88. package/lib/collection/components/duet-action-button/duet-action-button.js +22 -9
  89. package/lib/collection/components/duet-alert/duet-alert.e2e.js +53 -0
  90. package/lib/collection/components/duet-alert/duet-alert.js +26 -12
  91. package/lib/collection/components/duet-badge/duet-badge.e2e.js +28 -0
  92. package/lib/collection/components/duet-badge/duet-badge.js +11 -3
  93. package/lib/collection/components/duet-banner/duet-banner.e2e.js +23 -0
  94. package/lib/collection/components/duet-banner/duet-banner.js +20 -8
  95. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +8 -2
  96. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.e2e.js +18 -0
  97. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -1
  98. package/lib/collection/components/duet-button/duet-button.e2e.js +210 -0
  99. package/lib/collection/components/duet-button/duet-button.js +33 -15
  100. package/lib/collection/components/duet-callout/duet-callout.e2e.js +21 -0
  101. package/lib/collection/components/duet-callout/duet-callout.js +8 -2
  102. package/lib/collection/components/duet-caption/duet-caption.e2e.js +26 -0
  103. package/lib/collection/components/duet-caption/duet-caption.js +11 -3
  104. package/lib/collection/components/duet-card/duet-card.e2e.js +91 -0
  105. package/lib/collection/components/duet-card/duet-card.js +28 -12
  106. package/lib/collection/components/duet-checkbox/duet-checkbox.e2e.js +112 -0
  107. package/lib/collection/components/duet-checkbox/duet-checkbox.js +18 -7
  108. package/lib/collection/components/duet-chip/duet-chip.e2e.js +46 -0
  109. package/lib/collection/components/duet-chip/duet-chip.js +51 -22
  110. package/lib/collection/components/duet-choice/duet-checkmark.js +4 -2
  111. package/lib/collection/components/duet-choice/duet-choice.e2e.js +181 -0
  112. package/lib/collection/components/duet-choice/duet-choice.js +31 -14
  113. package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +88 -0
  114. package/lib/collection/components/duet-choice-group/duet-choice-group.js +14 -5
  115. package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +125 -0
  116. package/lib/collection/components/duet-collapsible/duet-collapsible.js +20 -8
  117. package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +110 -0
  118. package/lib/collection/components/duet-combobox/duet-combobox.js +14 -7
  119. package/lib/collection/components/duet-contact-card/duet-contact-card.js +10 -3
  120. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +31 -0
  121. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +8 -2
  122. package/lib/collection/components/duet-date-picker/date-utils.spec.js +330 -0
  123. package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +694 -0
  124. package/lib/collection/components/duet-date-picker/duet-date-picker.js +32 -14
  125. package/lib/collection/components/duet-divider/duet-divider.e2e.js +32 -0
  126. package/lib/collection/components/duet-divider/duet-divider.js +6 -3
  127. package/lib/collection/components/duet-editable-table/duet-editable-table.e2e.js +29 -0
  128. package/lib/collection/components/duet-editable-table/duet-editable-table.js +24 -10
  129. package/lib/collection/components/duet-empty-state/duet-empty-state.e2e.js +16 -0
  130. package/lib/collection/components/duet-empty-state/duet-empty-state.js +11 -3
  131. package/lib/collection/components/duet-fieldset/duet-fieldset.e2e.js +13 -0
  132. package/lib/collection/components/duet-fieldset/duet-fieldset.js +10 -3
  133. package/lib/collection/components/duet-footer/duet-footer.e2e.js +186 -0
  134. package/lib/collection/components/duet-footer/duet-footer.js +27 -12
  135. package/lib/collection/components/duet-grid/duet-grid.e2e.js +42 -0
  136. package/lib/collection/components/duet-grid/duet-grid.js +10 -5
  137. package/lib/collection/components/duet-grid-item/duet-grid-item.js +8 -4
  138. package/lib/collection/components/duet-header/duet-header.e2e.js +468 -0
  139. package/lib/collection/components/duet-header/duet-header.js +54 -26
  140. package/lib/collection/components/duet-heading/duet-heading.e2e.js +27 -0
  141. package/lib/collection/components/duet-heading/duet-heading.js +16 -6
  142. package/lib/collection/components/duet-hero/duet-hero.css +30 -0
  143. package/lib/collection/components/duet-hero/duet-hero.e2e.js +172 -0
  144. package/lib/collection/components/duet-hero/duet-hero.js +30 -13
  145. package/lib/collection/components/duet-icon/duet-icon.e2e.js +32 -0
  146. package/lib/collection/components/duet-icon/duet-icon.js +18 -7
  147. package/lib/collection/components/duet-icon/icon-utils.spec.js +84 -0
  148. package/lib/collection/components/duet-input/duet-input.e2e.js +201 -0
  149. package/lib/collection/components/duet-input/duet-input.js +34 -16
  150. package/lib/collection/components/duet-label/duet-label.e2e.js +32 -0
  151. package/lib/collection/components/duet-label/duet-label.js +11 -3
  152. package/lib/collection/components/duet-layout/duet-layout.e2e.js +32 -0
  153. package/lib/collection/components/duet-layout/duet-layout.js +6 -3
  154. package/lib/collection/components/duet-link/duet-link.css +4 -1
  155. package/lib/collection/components/duet-link/duet-link.e2e.js +53 -0
  156. package/lib/collection/components/duet-link/duet-link.js +95 -11
  157. package/lib/collection/components/duet-list/duet-list.e2e.js +105 -0
  158. package/lib/collection/components/duet-list/duet-list.js +14 -7
  159. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -1
  160. package/lib/collection/components/duet-logo/duet-logo.e2e.js +42 -0
  161. package/lib/collection/components/duet-logo/duet-logo.js +14 -7
  162. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +6 -2
  163. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +10 -3
  164. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +10 -3
  165. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +6 -1
  166. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +6 -1
  167. package/lib/collection/components/duet-modal/duet-modal.e2e.js +125 -0
  168. package/lib/collection/components/duet-modal/duet-modal.js +26 -12
  169. package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +96 -0
  170. package/lib/collection/components/duet-multiselect/duet-multiselect.js +24 -10
  171. package/lib/collection/components/duet-nav/duet-nav.js +2 -1
  172. package/lib/collection/components/duet-notification/duet-notification.e2e.js +12 -0
  173. package/lib/collection/components/duet-notification/duet-notification.js +15 -6
  174. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.e2e.js +177 -0
  175. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +22 -9
  176. package/lib/collection/components/duet-number-input/duet-number-input-negative.e2e.js +32 -0
  177. package/lib/collection/components/duet-number-input/duet-number-input.e2e.js +242 -0
  178. package/lib/collection/components/duet-number-input/duet-number-input.js +34 -15
  179. package/lib/collection/components/duet-page-heading/duet-page-heading.js +8 -2
  180. package/lib/collection/components/duet-pagination/duet-pagination.e2e.js +101 -0
  181. package/lib/collection/components/duet-pagination/duet-pagination.js +14 -6
  182. package/lib/collection/components/duet-paragraph/duet-paragraph.e2e.js +27 -0
  183. package/lib/collection/components/duet-paragraph/duet-paragraph.js +16 -6
  184. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +14 -7
  185. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +20 -8
  186. package/lib/collection/components/duet-progress/duet-progress.e2e.js +12 -0
  187. package/lib/collection/components/duet-progress/duet-progress.js +8 -2
  188. package/lib/collection/components/duet-promo-card/duet-promo-card.e2e.js +23 -0
  189. package/lib/collection/components/duet-promo-card/duet-promo-card.js +14 -5
  190. package/lib/collection/components/duet-radio/duet-radio.e2e.js +135 -0
  191. package/lib/collection/components/duet-radio/duet-radio.js +16 -8
  192. package/lib/collection/components/duet-radio-group/duet-radio-group.e2e.js +57 -0
  193. package/lib/collection/components/duet-radio-group/duet-radio-group.js +12 -4
  194. package/lib/collection/components/duet-range-slider/duet-range-slider.e2e.js +57 -0
  195. package/lib/collection/components/duet-range-slider/duet-range-slider.js +18 -7
  196. package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +51 -0
  197. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +10 -4
  198. package/lib/collection/components/duet-range-stepper/duet-range-stepper.spec.js +23 -0
  199. package/lib/collection/components/duet-scrollable/duet-scrollable.e2e.js +12 -0
  200. package/lib/collection/components/duet-scrollable/duet-scrollable.js +12 -9
  201. package/lib/collection/components/duet-section-layout/duet-section-layout.e2e.js +22 -0
  202. package/lib/collection/components/duet-section-layout/duet-section-layout.js +2 -1
  203. package/lib/collection/components/duet-select/duet-select.e2e.js +211 -0
  204. package/lib/collection/components/duet-select/duet-select.js +24 -10
  205. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +4 -2
  206. package/lib/collection/components/duet-show-more/duet-show-more.js +20 -8
  207. package/lib/collection/components/duet-slideout/duet-slideout.js +14 -6
  208. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +6 -1
  209. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +6 -1
  210. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +12 -4
  211. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +10 -3
  212. package/lib/collection/components/duet-spacer/duet-spacer.e2e.js +27 -0
  213. package/lib/collection/components/duet-spacer/duet-spacer.js +6 -3
  214. package/lib/collection/components/duet-spinner/duet-spinner.e2e.js +30 -0
  215. package/lib/collection/components/duet-spinner/duet-spinner.js +6 -3
  216. package/lib/collection/components/duet-step/duet-step.e2e.js +92 -0
  217. package/lib/collection/components/duet-step/duet-step.js +16 -6
  218. package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +85 -0
  219. package/lib/collection/components/duet-stepper/duet-stepper.js +10 -3
  220. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +10 -3
  221. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +10 -3
  222. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +6 -1
  223. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +6 -1
  224. package/lib/collection/components/duet-tab/duet-tab.e2e.js +16 -0
  225. package/lib/collection/components/duet-tab/duet-tab.js +7 -1
  226. package/lib/collection/components/duet-tab-group/duet-tab-group.e2e.js +108 -0
  227. package/lib/collection/components/duet-tab-group/duet-tab-group.js +26 -12
  228. package/lib/collection/components/duet-table/duet-table.e2e.js +95 -0
  229. package/lib/collection/components/duet-table/duet-table.js +10 -5
  230. package/lib/collection/components/duet-textarea/duet-textarea.e2e.js +199 -0
  231. package/lib/collection/components/duet-textarea/duet-textarea.js +22 -9
  232. package/lib/collection/components/duet-toggle/duet-toggle.e2e.js +73 -0
  233. package/lib/collection/components/duet-toggle/duet-toggle.js +14 -5
  234. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -1
  235. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +10 -3
  236. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +6 -1
  237. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +6 -1
  238. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +10 -3
  239. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +34 -7
  240. package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +99 -0
  241. package/lib/collection/components/duet-tooltip/duet-tooltip.js +15 -11
  242. package/lib/collection/components/duet-tray/duet-tray.e2e.js +103 -0
  243. package/lib/collection/components/duet-tray/duet-tray.js +12 -4
  244. package/lib/collection/components/duet-upload/duet-upload.e2e.js +49 -0
  245. package/lib/collection/components/duet-upload/duet-upload.js +73 -35
  246. package/lib/collection/components/duet-upload/upload-validators.spec.js +41 -0
  247. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +10 -1
  248. package/lib/collection/components/duet-upload-item/duet-upload-item.js +23 -9
  249. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.e2e.js +12 -0
  250. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +5 -0
  251. package/lib/collection/utils/create-id.spec.js +12 -0
  252. package/lib/collection/utils/js-utils.spec.js +22 -0
  253. package/lib/collection/utils/language-utils.spec.js +159 -0
  254. package/lib/collection/utils/math.utils.spec.js +140 -0
  255. package/lib/collection/utils/nudge.js +14 -0
  256. package/lib/collection/utils/string-utils.spec.js +39 -0
  257. package/lib/collection/utils/teleport.js +9 -12
  258. package/lib/collection/utils/template-utils.spec.js +39 -0
  259. package/lib/collection/utils/token-utils.spec.js +178 -0
  260. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  261. package/lib/dist-custom-elements/duet-alert.js +1 -1
  262. package/lib/dist-custom-elements/duet-badge.js +1 -1
  263. package/lib/dist-custom-elements/duet-banner.js +11 -7
  264. package/lib/dist-custom-elements/duet-breadcrumb.js +9 -5
  265. package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
  266. package/lib/dist-custom-elements/duet-button.js +1 -1
  267. package/lib/dist-custom-elements/duet-callout.js +9 -5
  268. package/lib/dist-custom-elements/duet-caption.js +1 -1
  269. package/lib/dist-custom-elements/duet-card.js +13 -9
  270. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  271. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  272. package/lib/dist-custom-elements/duet-chip.js +26 -19
  273. package/lib/dist-custom-elements/duet-choice-group.js +21 -11
  274. package/lib/dist-custom-elements/duet-choice.js +17 -13
  275. package/lib/dist-custom-elements/duet-collapsible.js +12 -8
  276. package/lib/dist-custom-elements/duet-combobox.js +15 -10
  277. package/lib/dist-custom-elements/duet-contact-card.js +15 -11
  278. package/lib/dist-custom-elements/duet-cookie-consent.js +12 -8
  279. package/lib/dist-custom-elements/duet-date-picker.js +28 -19
  280. package/lib/dist-custom-elements/duet-divider.js +1 -1
  281. package/lib/dist-custom-elements/duet-editable-table.js +17 -13
  282. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  283. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  284. package/lib/dist-custom-elements/duet-footer.js +16 -9
  285. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  286. package/lib/dist-custom-elements/duet-grid.js +1 -1
  287. package/lib/dist-custom-elements/duet-header.js +28 -17
  288. package/lib/dist-custom-elements/duet-heading.js +1 -1
  289. package/lib/dist-custom-elements/duet-hero.js +23 -15
  290. package/lib/dist-custom-elements/duet-icon.js +1 -1
  291. package/lib/dist-custom-elements/duet-input.js +1 -1
  292. package/lib/dist-custom-elements/duet-label.js +1 -1
  293. package/lib/dist-custom-elements/duet-layout.js +3 -3
  294. package/lib/dist-custom-elements/duet-link.js +1 -1
  295. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  296. package/lib/dist-custom-elements/duet-list.js +1 -1
  297. package/lib/dist-custom-elements/duet-logo.js +1 -1
  298. package/lib/dist-custom-elements/duet-menu-bar-button.js +8 -4
  299. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +9 -5
  300. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +9 -5
  301. package/lib/dist-custom-elements/duet-menu-bar-link.js +8 -4
  302. package/lib/dist-custom-elements/duet-menu-bar.js +6 -4
  303. package/lib/dist-custom-elements/duet-modal.js +21 -16
  304. package/lib/dist-custom-elements/duet-multiselect.js +23 -17
  305. package/lib/dist-custom-elements/duet-nav.js +3 -3
  306. package/lib/dist-custom-elements/duet-notification-drawer.js +11 -7
  307. package/lib/dist-custom-elements/duet-notification.js +9 -5
  308. package/lib/dist-custom-elements/duet-number-input.js +20 -16
  309. package/lib/dist-custom-elements/duet-page-heading.js +8 -4
  310. package/lib/dist-custom-elements/duet-pagination.js +25 -20
  311. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  312. package/lib/dist-custom-elements/duet-popup-menu-item.js +8 -4
  313. package/lib/dist-custom-elements/duet-popup-menu.js +6 -6
  314. package/lib/dist-custom-elements/duet-progress.js +1 -1
  315. package/lib/dist-custom-elements/duet-promo-card.js +10 -6
  316. package/lib/dist-custom-elements/duet-radio-group.js +21 -11
  317. package/lib/dist-custom-elements/duet-radio.js +4 -4
  318. package/lib/dist-custom-elements/duet-range-slider.js +10 -6
  319. package/lib/dist-custom-elements/duet-range-stepper.js +14 -9
  320. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  321. package/lib/dist-custom-elements/duet-section-layout.js +3 -3
  322. package/lib/dist-custom-elements/duet-select.js +1 -1
  323. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  324. package/lib/dist-custom-elements/duet-show-more.js +14 -10
  325. package/lib/dist-custom-elements/duet-slideout-lang.js +9 -5
  326. package/lib/dist-custom-elements/duet-slideout-link.js +8 -4
  327. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -4
  328. package/lib/dist-custom-elements/duet-slideout-panel.js +11 -7
  329. package/lib/dist-custom-elements/duet-slideout.js +11 -9
  330. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  331. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  332. package/lib/dist-custom-elements/duet-step.js +12 -8
  333. package/lib/dist-custom-elements/duet-stepper.js +12 -5
  334. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +9 -5
  335. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +9 -5
  336. package/lib/dist-custom-elements/duet-submenu-bar-link.js +9 -5
  337. package/lib/dist-custom-elements/duet-submenu-bar.js +11 -5
  338. package/lib/dist-custom-elements/duet-tab-group.js +20 -18
  339. package/lib/dist-custom-elements/duet-tab.js +8 -3
  340. package/lib/dist-custom-elements/duet-table.js +1 -1
  341. package/lib/dist-custom-elements/duet-textarea.js +20 -14
  342. package/lib/dist-custom-elements/duet-toggle.js +11 -5
  343. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +9 -5
  344. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +9 -5
  345. package/lib/dist-custom-elements/duet-toolbar-link.js +8 -4
  346. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  347. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  348. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  349. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  350. package/lib/dist-custom-elements/duet-tray.js +11 -7
  351. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  352. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  353. package/lib/dist-custom-elements/duet-upload.js +30 -24
  354. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  355. package/lib/dist-custom-elements/index.d.ts +6 -0
  356. package/lib/dist-custom-elements/index.js +1 -1
  357. package/lib/dist-custom-elements/p-040f8831.js +16 -0
  358. package/lib/dist-custom-elements/{p-7a8c2aed.js → p-092ff822.js} +17 -17
  359. package/lib/dist-custom-elements/{p-5128c90e.js → p-0c7dab94.js} +10 -6
  360. package/lib/dist-custom-elements/{p-fbdc5afe.js → p-227dc421.js} +3 -3
  361. package/lib/dist-custom-elements/{p-7394e25f.js → p-24853ebf.js} +9 -12
  362. package/lib/dist-custom-elements/{p-ae9d10ef.js → p-2764b248.js} +9 -4
  363. package/lib/dist-custom-elements/{p-89f61853.js → p-3c3e91d0.js} +4 -4
  364. package/lib/dist-custom-elements/{p-8a544a4a.js → p-461756c5.js} +8 -6
  365. package/lib/dist-custom-elements/{p-03baceb5.js → p-4883df66.js} +1 -1
  366. package/lib/dist-custom-elements/{p-e9d838dd.js → p-51a58715.js} +7 -3
  367. package/lib/dist-custom-elements/{p-87ab6444.js → p-5f06c4ee.js} +8 -4
  368. package/lib/dist-custom-elements/{p-778299c4.js → p-5fd9c816.js} +10 -6
  369. package/lib/dist-custom-elements/{p-ec4d603d.js → p-62c7d9d4.js} +1 -1
  370. package/lib/dist-custom-elements/{p-811e436b.js → p-6e063bb0.js} +8 -3
  371. package/lib/dist-custom-elements/{p-e4de8f7b.js → p-720c72c5.js} +18 -9
  372. package/lib/dist-custom-elements/{p-580110b9.js → p-7579d4ae.js} +507 -166
  373. package/lib/dist-custom-elements/{p-444a8a81.js → p-7da4aa07.js} +7 -2
  374. package/lib/dist-custom-elements/{p-235639a0.js → p-8160c830.js} +14 -10
  375. package/lib/dist-custom-elements/{p-e8146874.js → p-84946626.js} +35 -9
  376. package/lib/dist-custom-elements/{p-735d77aa.js → p-8800fa36.js} +8 -3
  377. package/lib/dist-custom-elements/{p-31d056ee.js → p-8afda636.js} +21 -16
  378. package/lib/dist-custom-elements/{p-9ec763ef.js → p-8f0848ab.js} +3 -3
  379. package/lib/dist-custom-elements/{p-e7815ffd.js → p-9468d6ea.js} +4 -4
  380. package/lib/dist-custom-elements/{p-891cf00a.js → p-96f45950.js} +2 -2
  381. package/lib/dist-custom-elements/{p-457ad3b4.js → p-a0669ee9.js} +9 -5
  382. package/lib/dist-custom-elements/{p-7ccf98f1.js → p-aa2863af.js} +8 -3
  383. package/lib/dist-custom-elements/{p-216ee242.js → p-bc972b0a.js} +8 -4
  384. package/lib/dist-custom-elements/{p-061830ef.js → p-c5032d3a.js} +1 -1
  385. package/lib/dist-custom-elements/{p-70bf0b69.js → p-cfca65c8.js} +17 -13
  386. package/lib/dist-custom-elements/{p-9510958d.js → p-d27dc964.js} +12 -9
  387. package/lib/dist-custom-elements/{p-6658c850.js → p-db1ac527.js} +12 -4
  388. package/lib/dist-custom-elements/{p-86766141.js → p-dbe427e1.js} +19 -14
  389. package/lib/dist-custom-elements/{p-03e72a70.js → p-e19d1e27.js} +1 -1
  390. package/lib/dist-custom-elements/{p-147839fe.js → p-eb55b736.js} +16 -3
  391. package/lib/dist-custom-elements/{p-dddcc1da.js → p-eea6945b.js} +5 -5
  392. package/lib/dist-custom-elements/{p-6ff6de66.js → p-f06ebf0f.js} +19 -12
  393. package/lib/dist-custom-elements/{p-b4fb8e06.js → p-f2263866.js} +25 -6
  394. package/lib/dist-custom-elements/{p-3b2d38bd.js → p-f6ae66d9.js} +8 -4
  395. package/lib/dist-custom-elements/{p-32b3e436.js → p-fa9cb266.js} +12 -4
  396. package/lib/dist-custom-elements/{p-54138086.js → p-fc5aceac.js} +2 -2
  397. package/lib/duet/duet.esm.js +1 -1
  398. package/lib/duet/duet.js +2 -6
  399. package/lib/duet/p-015c6c0f.entry.js +4 -0
  400. package/lib/duet/p-040f8831.js +4 -0
  401. package/lib/duet/p-053b71e6.system.js +1 -1
  402. package/lib/duet/p-05432941.system.entry.js +4 -0
  403. package/lib/duet/p-07ae2d9c.system.js +5 -0
  404. package/lib/duet/p-07bf4b25.system.entry.js +4 -0
  405. package/lib/duet/{p-b760effb.entry.js → p-09694f22.entry.js} +1 -1
  406. package/lib/duet/p-0c4bbd65.system.js +1 -1
  407. package/lib/duet/p-168f9b1c.entry.js +4 -0
  408. package/lib/duet/p-1a91e22a.system.js +4 -0
  409. package/lib/duet/p-1b56e37f.system.entry.js +4 -0
  410. package/lib/duet/p-1fb54404.system.entry.js +4 -0
  411. package/lib/duet/p-2043a083.entry.js +4 -0
  412. package/lib/duet/{p-8a3fcbdb.system.entry.js → p-2118ce4b.system.entry.js} +1 -1
  413. package/lib/duet/p-21f3a17a.system.js +1 -1
  414. package/lib/duet/p-22a9a885.system.entry.js +4 -0
  415. package/lib/duet/p-22c45d9c.system.entry.js +4 -0
  416. package/lib/duet/p-232940fa.system.js +4 -0
  417. package/lib/duet/p-24853ebf.js +4 -0
  418. package/lib/duet/{p-c201968f.entry.js → p-2622c405.entry.js} +1 -1
  419. package/lib/duet/p-26415995.entry.js +4 -0
  420. package/lib/duet/p-26e1dca0.system.entry.js +4 -0
  421. package/lib/duet/p-28f8fa55.system.entry.js +4 -0
  422. package/lib/duet/p-299e8254.entry.js +4 -0
  423. package/lib/duet/p-2abe65e5.entry.js +4 -0
  424. package/lib/duet/p-31382b41.system.entry.js +4 -0
  425. package/lib/duet/p-31a0d4f6.system.entry.js +4 -0
  426. package/lib/duet/p-3469e15c.entry.js +4 -0
  427. package/lib/duet/{p-0c6705bb.system.entry.js → p-35762693.system.entry.js} +1 -1
  428. package/lib/duet/p-38eb6aa3.system.entry.js +4 -0
  429. package/lib/duet/p-3a0fde44.entry.js +4 -0
  430. package/lib/duet/{p-a678835a.entry.js → p-3e27b126.entry.js} +1 -1
  431. package/lib/duet/p-3f78ed00.entry.js +4 -0
  432. package/lib/duet/p-3f96e6be.system.entry.js +4 -0
  433. package/lib/duet/{p-e7cc2826.system.entry.js → p-3fbc446a.system.entry.js} +1 -1
  434. package/lib/duet/p-403df195.entry.js +4 -0
  435. package/lib/duet/p-406ec3c8.entry.js +4 -0
  436. package/lib/duet/p-442872df.system.entry.js +4 -0
  437. package/lib/duet/p-449c2232.system.entry.js +4 -0
  438. package/lib/duet/p-4655fafc.entry.js +4 -0
  439. package/lib/duet/{p-e91385fb.js → p-4669b0af.js} +1 -1
  440. package/lib/duet/p-4801f8f8.system.entry.js +4 -0
  441. package/lib/duet/{p-03baceb5.js → p-4883df66.js} +1 -1
  442. package/lib/duet/p-4abb665b.system.entry.js +4 -0
  443. package/lib/duet/p-4ce91f2d.system.entry.js +4 -0
  444. package/lib/duet/p-4e958a51.system.entry.js +4 -0
  445. package/lib/duet/p-5167068e.system.entry.js +4 -0
  446. package/lib/duet/p-52e15824.entry.js +4 -0
  447. package/lib/duet/p-53da8993.entry.js +4 -0
  448. package/lib/duet/p-556983df.entry.js +4 -0
  449. package/lib/duet/p-56b259c4.system.entry.js +4 -0
  450. package/lib/duet/p-57b02e39.system.entry.js +4 -0
  451. package/lib/duet/p-5aa42e6e.system.entry.js +4 -0
  452. package/lib/duet/p-5b014c86.system.js +4 -0
  453. package/lib/duet/p-5c08947a.system.entry.js +4 -0
  454. package/lib/duet/p-5e25fed6.system.entry.js +4 -0
  455. package/lib/duet/p-6043a34d.entry.js +4 -0
  456. package/lib/duet/p-618fae79.system.entry.js +4 -0
  457. package/lib/duet/p-61989371.system.entry.js +4 -0
  458. package/lib/duet/p-6278bb45.system.entry.js +4 -0
  459. package/lib/duet/p-62e31f4f.entry.js +4 -0
  460. package/lib/duet/p-64599d16.entry.js +4 -0
  461. package/lib/duet/p-64c58523.system.entry.js +4 -0
  462. package/lib/duet/p-6665a293.entry.js +4 -0
  463. package/lib/duet/p-668716b8.system.js +4 -0
  464. package/lib/duet/p-678e5dee.entry.js +4 -0
  465. package/lib/duet/p-6878509c.system.entry.js +4 -0
  466. package/lib/duet/p-68c41c1e.system.entry.js +4 -0
  467. package/lib/duet/p-68e69fb0.entry.js +4 -0
  468. package/lib/duet/p-69180c8a.entry.js +4 -0
  469. package/lib/duet/p-69ed2463.entry.js +4 -0
  470. package/lib/duet/p-6a11cde0.system.entry.js +4 -0
  471. package/lib/duet/p-6ac42c0b.system.entry.js +4 -0
  472. package/lib/duet/p-6cd9e728.system.entry.js +4 -0
  473. package/lib/duet/p-6ff847d2.entry.js +4 -0
  474. package/lib/duet/p-70046a69.entry.js +4 -0
  475. package/lib/duet/p-7041ce72.system.entry.js +4 -0
  476. package/lib/duet/p-7047ac99.system.entry.js +4 -0
  477. package/lib/duet/p-719b38fe.system.js +4 -0
  478. package/lib/duet/p-73e91b76.entry.js +4 -0
  479. package/lib/duet/p-75daef16.system.js +4 -0
  480. package/lib/duet/p-7671b7b7.system.js +4 -0
  481. package/lib/duet/{p-16abb2d5.system.entry.js → p-76837ecf.system.entry.js} +1 -1
  482. package/lib/duet/{p-33b3aba4.system.js → p-77b6e4ba.system.js} +1 -1
  483. package/lib/duet/p-7862b921.entry.js +4 -0
  484. package/lib/duet/{p-e4e0578f.entry.js → p-79b111a8.entry.js} +1 -1
  485. package/lib/duet/p-79f248ef.entry.js +4 -0
  486. package/lib/duet/{p-4ab24dcd.entry.js → p-7b2e5d7f.entry.js} +1 -1
  487. package/lib/duet/p-7c29d36a.system.js +4 -0
  488. package/lib/duet/p-7cc4dfa7.entry.js +4 -0
  489. package/lib/duet/p-7d836058.entry.js +4 -0
  490. package/lib/duet/p-7ff3e582.entry.js +4 -0
  491. package/lib/duet/p-81107718.entry.js +4 -0
  492. package/lib/duet/p-846ff870.entry.js +4 -0
  493. package/lib/duet/p-8517c898.entry.js +4 -0
  494. package/lib/duet/p-867ac9cc.system.entry.js +4 -0
  495. package/lib/duet/p-8683ae46.system.entry.js +4 -0
  496. package/lib/duet/p-87dd7bf3.system.js +4 -0
  497. package/lib/duet/p-8972381a.system.js +4 -0
  498. package/lib/duet/p-89f3b845.entry.js +4 -0
  499. package/lib/duet/p-8b3ca5ab.system.entry.js +4 -0
  500. package/lib/duet/{p-7174ea1e.entry.js → p-8b5fcd98.entry.js} +1 -1
  501. package/lib/duet/p-8d0d6e06.system.js +4 -0
  502. package/lib/duet/p-8e1da663.system.js +4 -0
  503. package/lib/duet/p-8f477bd6.system.js +1 -1
  504. package/lib/duet/p-90c5eed1.entry.js +4 -0
  505. package/lib/duet/p-91aef612.entry.js +4 -0
  506. package/lib/duet/p-92978891.system.entry.js +4 -0
  507. package/lib/duet/p-930e7709.system.entry.js +4 -0
  508. package/lib/duet/p-9323e964.js +4 -0
  509. package/lib/duet/p-93877e30.system.entry.js +4 -0
  510. package/lib/duet/{p-e91a7222.entry.js → p-93c389a8.entry.js} +1 -1
  511. package/lib/duet/p-94f4e0bf.entry.js +4 -0
  512. package/lib/duet/{p-0acc8f88.system.entry.js → p-9c7d954f.system.entry.js} +1 -1
  513. package/lib/duet/p-9d033a04.system.js +1 -1
  514. package/lib/duet/p-9f04f069.entry.js +4 -0
  515. package/lib/duet/p-a1b259b5.entry.js +4 -0
  516. package/lib/duet/p-a31ec36c.entry.js +4 -0
  517. package/lib/duet/{p-6d711206.entry.js → p-a3a93783.entry.js} +1 -1
  518. package/lib/duet/{p-f5903e7d.entry.js → p-a42e4e99.entry.js} +1 -1
  519. package/lib/duet/{p-7fe6bf2c.system.entry.js → p-a5d3e6fb.system.entry.js} +1 -1
  520. package/lib/duet/p-a65edc8c.entry.js +4 -0
  521. package/lib/duet/p-a7c0ac21.system.entry.js +4 -0
  522. package/lib/duet/p-aa326c4e.entry.js +4 -0
  523. package/lib/duet/p-ab981ff7.entry.js +4 -0
  524. package/lib/duet/p-ac711c85.entry.js +4 -0
  525. package/lib/duet/p-acb44157.system.entry.js +4 -0
  526. package/lib/duet/p-ae8732d6.system.entry.js +4 -0
  527. package/lib/duet/p-aeccbda2.entry.js +4 -0
  528. package/lib/duet/p-b1db3006.js +1 -1
  529. package/lib/duet/p-b223f9f3.entry.js +4 -0
  530. package/lib/duet/p-b440e72b.system.entry.js +4 -0
  531. package/lib/duet/{p-e4734600.entry.js → p-b4d48cd1.entry.js} +1 -1
  532. package/lib/duet/p-b66ecbb2.entry.js +4 -0
  533. package/lib/duet/p-b8c3530f.system.entry.js +4 -0
  534. package/lib/duet/{p-429a181d.system.entry.js → p-b9122050.system.entry.js} +1 -1
  535. package/lib/duet/p-b932a1dc.system.entry.js +4 -0
  536. package/lib/duet/p-b99c00fa.system.js +4 -0
  537. package/lib/duet/p-bd988e8e.entry.js +4 -0
  538. package/lib/duet/p-c05d40ff.system.entry.js +4 -0
  539. package/lib/duet/p-c2884d84.system.entry.js +4 -0
  540. package/lib/duet/p-c30a5f7c.system.js +4 -0
  541. package/lib/duet/p-c4162949.system.entry.js +4 -0
  542. package/lib/duet/p-c67fb8ae.entry.js +4 -0
  543. package/lib/duet/{p-7dc87593.system.entry.js → p-c7719838.system.entry.js} +1 -1
  544. package/lib/duet/p-c7d985bf.system.entry.js +4 -0
  545. package/lib/duet/p-c94181d2.entry.js +4 -0
  546. package/lib/duet/p-c97109b5.system.js +4 -0
  547. package/lib/duet/{p-8db716f2.system.entry.js → p-cb01acfa.system.entry.js} +2 -2
  548. package/lib/duet/p-cbe9191a.entry.js +4 -0
  549. package/lib/duet/p-cbf7f63b.entry.js +4 -0
  550. package/lib/duet/p-cefb4bab.entry.js +4 -0
  551. package/lib/duet/{p-213ba11f.entry.js → p-d0dd55f5.entry.js} +1 -1
  552. package/lib/duet/p-d1edbad6.system.entry.js +4 -0
  553. package/lib/duet/p-d3384a8b.entry.js +4 -0
  554. package/lib/duet/p-d366b0ac.system.entry.js +4 -0
  555. package/lib/duet/p-d3e74991.system.entry.js +4 -0
  556. package/lib/duet/p-d5ac9c19.system.entry.js +4 -0
  557. package/lib/duet/p-d60fc476.entry.js +4 -0
  558. package/lib/duet/p-d97155db.system.entry.js +4 -0
  559. package/lib/duet/p-da858b14.entry.js +4 -0
  560. package/lib/duet/p-daea7760.entry.js +4 -0
  561. package/lib/duet/p-e0321b18.system.entry.js +4 -0
  562. package/lib/duet/{p-7804ff1e.entry.js → p-e1178f0e.entry.js} +1 -1
  563. package/lib/duet/p-e2d5f327.entry.js +4 -0
  564. package/lib/duet/p-e4a8487e.system.entry.js +4 -0
  565. package/lib/duet/p-e5fbc547.system.entry.js +4 -0
  566. package/lib/duet/p-e82882cb.system.entry.js +4 -0
  567. package/lib/duet/p-e8f76d19.system.entry.js +4 -0
  568. package/lib/duet/p-ea2375d5.entry.js +4 -0
  569. package/lib/duet/p-ebf8ad5c.system.entry.js +4 -0
  570. package/lib/duet/p-ec2b5cc2.system.entry.js +4 -0
  571. package/lib/duet/p-ecf1f6cd.system.js +4 -0
  572. package/lib/duet/p-ed5a5071.system.js +4 -0
  573. package/lib/duet/{p-1d463cc4.system.entry.js → p-f158a882.system.entry.js} +1 -1
  574. package/lib/duet/p-f6476f51.entry.js +4 -0
  575. package/lib/duet/p-f67da334.system.entry.js +4 -0
  576. package/lib/duet/p-f69e737e.system.entry.js +4 -0
  577. package/lib/duet/p-f89001e8.entry.js +4 -0
  578. package/lib/duet/{p-25495204.system.entry.js → p-faefd02d.system.entry.js} +2 -2
  579. package/lib/duet/p-fd0d794b.entry.js +4 -0
  580. package/lib/duet/p-fdcc3016.entry.js +4 -0
  581. package/lib/duet/p-ff9db811.js +5 -0
  582. package/lib/esm/duet-action-button.entry.js +12 -8
  583. package/lib/esm/duet-alert.entry.js +8 -5
  584. package/lib/esm/duet-badge.entry.js +7 -2
  585. package/lib/esm/duet-banner.entry.js +7 -3
  586. package/lib/esm/duet-breadcrumb.entry.js +8 -4
  587. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  588. package/lib/esm/duet-button_2.entry.js +10 -6
  589. package/lib/esm/duet-callout.entry.js +6 -2
  590. package/lib/esm/duet-caption_4.entry.js +40 -8
  591. package/lib/esm/duet-card.entry.js +10 -6
  592. package/lib/esm/duet-checkbox.entry.js +7 -3
  593. package/lib/esm/duet-checkmark.entry.js +2 -2
  594. package/lib/esm/duet-chip.entry.js +20 -16
  595. package/lib/esm/duet-choice_2.entry.js +17 -10
  596. package/lib/esm/duet-collapsible.entry.js +10 -6
  597. package/lib/esm/duet-combobox.entry.js +6 -6
  598. package/lib/esm/duet-contact-card.entry.js +8 -4
  599. package/lib/esm/duet-cookie-consent.entry.js +6 -2
  600. package/lib/esm/duet-date-picker.entry.js +10 -6
  601. package/lib/esm/duet-divider_2.entry.js +3 -3
  602. package/lib/esm/duet-editable-table_3.entry.js +16 -9
  603. package/lib/esm/duet-empty-state.entry.js +7 -2
  604. package/lib/esm/duet-fieldset.entry.js +8 -4
  605. package/lib/esm/duet-footer.entry.js +9 -5
  606. package/lib/esm/duet-grid_2.entry.js +3 -3
  607. package/lib/esm/duet-header_2.entry.js +12 -8
  608. package/lib/esm/duet-hero.entry.js +10 -6
  609. package/lib/esm/duet-icon.entry.js +7 -3
  610. package/lib/esm/duet-input_2.entry.js +13 -7
  611. package/lib/esm/duet-layout.entry.js +2 -2
  612. package/lib/esm/duet-list_2.entry.js +3 -3
  613. package/lib/esm/duet-menu-bar-button.entry.js +6 -2
  614. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +7 -3
  615. package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -3
  616. package/lib/esm/duet-menu-bar-link.entry.js +6 -2
  617. package/lib/esm/duet-menu-bar.entry.js +4 -2
  618. package/lib/esm/duet-modal.entry.js +11 -9
  619. package/lib/esm/duet-multiselect.entry.js +10 -6
  620. package/lib/esm/duet-nav.entry.js +2 -2
  621. package/lib/esm/duet-notification_2.entry.js +11 -4
  622. package/lib/esm/duet-number-input.entry.js +10 -6
  623. package/lib/esm/duet-page-heading.entry.js +6 -2
  624. package/lib/esm/duet-pagination_2.entry.js +11 -8
  625. package/lib/esm/duet-popup-menu-item.entry.js +6 -2
  626. package/lib/esm/duet-popup-menu.entry.js +5 -5
  627. package/lib/esm/duet-progress.entry.js +9 -5
  628. package/lib/esm/duet-promo-card.entry.js +7 -3
  629. package/lib/esm/duet-radio_2.entry.js +8 -4
  630. package/lib/esm/duet-range-slider.entry.js +8 -4
  631. package/lib/esm/duet-scrollable_3.entry.js +19 -12
  632. package/lib/esm/duet-section-layout.entry.js +2 -2
  633. package/lib/esm/duet-select.entry.js +8 -4
  634. package/lib/esm/duet-shaped-image.entry.js +2 -2
  635. package/lib/esm/duet-show-more.entry.js +10 -6
  636. package/lib/esm/duet-slideout-lang.entry.js +8 -4
  637. package/lib/esm/duet-slideout-link.entry.js +6 -2
  638. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -2
  639. package/lib/esm/duet-slideout-panel.entry.js +10 -6
  640. package/lib/esm/duet-slideout.entry.js +10 -8
  641. package/lib/esm/duet-step_2.entry.js +11 -4
  642. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +7 -3
  643. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -3
  644. package/lib/esm/duet-submenu-bar-link.entry.js +7 -3
  645. package/lib/esm/duet-submenu-bar.entry.js +7 -3
  646. package/lib/esm/duet-textarea.entry.js +8 -4
  647. package/lib/esm/duet-toggle.entry.js +7 -3
  648. package/lib/esm/duet-toolbar-dropdown-link.entry.js +7 -3
  649. package/lib/esm/duet-toolbar-dropdown.entry.js +7 -3
  650. package/lib/esm/duet-toolbar-link.entry.js +6 -2
  651. package/lib/esm/duet-toolbar.entry.js +2 -2
  652. package/lib/esm/duet-tooltip-button_2.entry.js +23 -3
  653. package/lib/esm/duet-tooltip.entry.js +10 -12
  654. package/lib/esm/duet-tray.entry.js +9 -5
  655. package/lib/esm/duet-upload-aria-status.entry.js +9 -1
  656. package/lib/esm/duet-upload-item.entry.js +10 -5
  657. package/lib/esm/duet-visually-hidden.entry.js +6 -1
  658. package/lib/esm/duet.js +5 -12
  659. package/lib/esm/{errorcodes.utils-47fc5d49.js → errorcodes.utils-424b1197.js} +2 -2
  660. package/lib/esm/{focus-utils-e26ba3b3.js → focus-utils-d927e096.js} +1 -1
  661. package/lib/esm/{index-c1a17a4c.js → index-bb518df4.js} +505 -183
  662. package/lib/esm/{language-utils-9d850f6c.js → language-utils-9ff76444.js} +1 -1
  663. package/lib/esm/loader.js +4 -13
  664. package/lib/esm/nudge-560904c3.js +16 -0
  665. package/lib/esm/{teleport-6b18ccae.js → teleport-15747328.js} +9 -12
  666. package/lib/esm-es5/app-globals-de2a5510.js +1 -1
  667. package/lib/esm-es5/{bodyScrollLock.es6-61b5e9a4.js → bodyScrollLock.es6-8dc7cca7.js} +1 -1
  668. package/lib/esm-es5/{create-id-981107da.js → create-id-2b0cd46d.js} +1 -1
  669. package/lib/esm-es5/duet-action-button.entry.js +2 -2
  670. package/lib/esm-es5/duet-alert.entry.js +2 -2
  671. package/lib/esm-es5/duet-badge.entry.js +1 -1
  672. package/lib/esm-es5/duet-banner.entry.js +1 -1
  673. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  674. package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
  675. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  676. package/lib/esm-es5/duet-callout.entry.js +1 -1
  677. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  678. package/lib/esm-es5/duet-card.entry.js +1 -1
  679. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  680. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  681. package/lib/esm-es5/duet-chip.entry.js +2 -2
  682. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  683. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  684. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  685. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  686. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  687. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  688. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  689. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  690. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  691. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  692. package/lib/esm-es5/duet-footer.entry.js +2 -2
  693. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  694. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  695. package/lib/esm-es5/duet-hero.entry.js +2 -2
  696. package/lib/esm-es5/duet-icon.entry.js +2 -2
  697. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  698. package/lib/esm-es5/duet-layout.entry.js +1 -1
  699. package/lib/esm-es5/duet-list_2.entry.js +2 -2
  700. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  701. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  702. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  703. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  704. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  705. package/lib/esm-es5/duet-modal.entry.js +2 -2
  706. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  707. package/lib/esm-es5/duet-nav.entry.js +1 -1
  708. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  709. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  710. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  711. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  712. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  713. package/lib/esm-es5/duet-popup-menu.entry.js +2 -2
  714. package/lib/esm-es5/duet-progress.entry.js +1 -1
  715. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  716. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  717. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  718. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  719. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  720. package/lib/esm-es5/duet-select.entry.js +2 -2
  721. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  722. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  723. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  724. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  725. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  726. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  727. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  728. package/lib/esm-es5/duet-step_2.entry.js +2 -2
  729. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  730. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  731. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  732. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  733. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  734. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  735. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  736. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  737. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  738. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  739. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  740. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  741. package/lib/esm-es5/duet-tray.entry.js +1 -1
  742. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  743. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  744. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  745. package/lib/esm-es5/duet.js +1 -1
  746. package/lib/esm-es5/errorcodes.utils-424b1197.js +4 -0
  747. package/lib/esm-es5/{floating-ui.dom.esm-6025c98f.js → floating-ui.dom.esm-efad5c89.js} +2 -2
  748. package/lib/esm-es5/focus-utils-d927e096.js +4 -0
  749. package/lib/esm-es5/index-bb518df4.js +5 -0
  750. package/lib/esm-es5/input-utils-a0225b92.js +4 -0
  751. package/lib/esm-es5/keyboard-utils-5746e126.js +4 -0
  752. package/lib/esm-es5/{language-utils-9d850f6c.js → language-utils-9ff76444.js} +1 -1
  753. package/lib/esm-es5/loader.js +1 -1
  754. package/lib/esm-es5/nudge-560904c3.js +4 -0
  755. package/lib/esm-es5/string-utils-59ad4cb2.js +4 -0
  756. package/lib/esm-es5/teleport-15747328.js +4 -0
  757. package/lib/esm-es5/token-utils-46c8fe31.js +4 -0
  758. package/lib/esm-es5/watch-options-f189118b.js +4 -0
  759. package/lib/loader/index.d.ts +2 -2
  760. package/lib/types/common-types.d.ts +1 -0
  761. package/lib/types/components/duet-action-button/duet-action-button.d.ts +1 -0
  762. package/lib/types/components/duet-alert/duet-alert.d.ts +2 -1
  763. package/lib/types/components/duet-badge/duet-badge.d.ts +2 -0
  764. package/lib/types/components/duet-banner/duet-banner.d.ts +1 -0
  765. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +1 -0
  766. package/lib/types/components/duet-button/duet-button.d.ts +2 -1
  767. package/lib/types/components/duet-callout/duet-callout.d.ts +1 -0
  768. package/lib/types/components/duet-caption/duet-caption.d.ts +2 -0
  769. package/lib/types/components/duet-card/duet-card.d.ts +1 -0
  770. package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +1 -0
  771. package/lib/types/components/duet-chip/duet-chip.d.ts +6 -1
  772. package/lib/types/components/duet-choice/duet-choice.d.ts +2 -1
  773. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -0
  774. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -0
  775. package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +1 -0
  776. package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +1 -0
  777. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -0
  778. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -0
  779. package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +2 -0
  780. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +1 -0
  781. package/lib/types/components/duet-footer/duet-footer.d.ts +2 -1
  782. package/lib/types/components/duet-header/duet-header.d.ts +3 -2
  783. package/lib/types/components/duet-heading/duet-heading.d.ts +1 -0
  784. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
  785. package/lib/types/components/duet-icon/duet-icon.d.ts +1 -0
  786. package/lib/types/components/duet-label/duet-label.d.ts +2 -0
  787. package/lib/types/components/duet-link/duet-link.d.ts +22 -3
  788. package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +1 -0
  789. package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +1 -0
  790. package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +1 -0
  791. package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +1 -0
  792. package/lib/types/components/duet-modal/duet-modal.d.ts +1 -1
  793. package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +1 -0
  794. package/lib/types/components/duet-notification/duet-notification.d.ts +2 -1
  795. package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +1 -0
  796. package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -0
  797. package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +1 -0
  798. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  799. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  800. package/lib/types/components/duet-progress/duet-progress.d.ts +1 -0
  801. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +1 -0
  802. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  803. package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +1 -0
  804. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +1 -1
  805. package/lib/types/components/duet-select/duet-select.d.ts +1 -0
  806. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  807. package/lib/types/components/duet-slideout-lang/duet-slideout-lang.d.ts +1 -0
  808. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +1 -0
  809. package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +1 -0
  810. package/lib/types/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.d.ts +1 -0
  811. package/lib/types/components/duet-step/duet-step.d.ts +1 -0
  812. package/lib/types/components/duet-stepper/duet-stepper.d.ts +1 -0
  813. package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +1 -0
  814. package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +1 -0
  815. package/lib/types/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts +1 -0
  816. package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +1 -0
  817. package/lib/types/components/duet-tab/duet-tab.d.ts +2 -0
  818. package/lib/types/components/duet-textarea/duet-textarea.d.ts +1 -0
  819. package/lib/types/components/duet-toggle/duet-toggle.d.ts +1 -0
  820. package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +1 -0
  821. package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +1 -0
  822. package/lib/types/components/duet-toolbar-link/duet-toolbar-link.d.ts +1 -0
  823. package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +1 -0
  824. package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +3 -0
  825. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +0 -1
  826. package/lib/types/components/duet-tray/duet-tray.d.ts +1 -0
  827. package/lib/types/components/duet-upload/duet-upload.d.ts +2 -1
  828. package/lib/types/components/duet-upload-aria-status/duet-upload-aria-status.d.ts +5 -0
  829. package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +2 -0
  830. package/lib/types/components/duet-visually-hidden/duet-visually-hidden.d.ts +2 -0
  831. package/lib/types/components.d.ts +502 -22
  832. package/lib/types/stencil-public-runtime.d.ts +41 -5
  833. package/lib/types/utils/nudge.d.ts +7 -0
  834. package/lib/types/utils/teleport.d.ts +0 -2
  835. package/package.json +6 -6
  836. package/lib/duet/p-00abf5b6.entry.js +0 -4
  837. package/lib/duet/p-02b7e1ef.system.entry.js +0 -4
  838. package/lib/duet/p-02f1d7cc.system.js +0 -4
  839. package/lib/duet/p-0478d0eb.entry.js +0 -4
  840. package/lib/duet/p-04940a8a.system.entry.js +0 -4
  841. package/lib/duet/p-059c9d4e.entry.js +0 -4
  842. package/lib/duet/p-066f7fdf.entry.js +0 -4
  843. package/lib/duet/p-076228e9.system.entry.js +0 -4
  844. package/lib/duet/p-076aef18.entry.js +0 -4
  845. package/lib/duet/p-0b0a898d.entry.js +0 -4
  846. package/lib/duet/p-0c3d7e64.system.entry.js +0 -4
  847. package/lib/duet/p-0e697654.system.entry.js +0 -4
  848. package/lib/duet/p-0ffc3cf9.entry.js +0 -4
  849. package/lib/duet/p-108d9370.system.entry.js +0 -4
  850. package/lib/duet/p-11e79c8c.system.entry.js +0 -4
  851. package/lib/duet/p-14285f86.system.entry.js +0 -4
  852. package/lib/duet/p-14bd6514.entry.js +0 -4
  853. package/lib/duet/p-1719aa4e.entry.js +0 -4
  854. package/lib/duet/p-18f1d30e.js +0 -5
  855. package/lib/duet/p-1b398a07.entry.js +0 -4
  856. package/lib/duet/p-1c0ad101.system.entry.js +0 -4
  857. package/lib/duet/p-23ba9eba.entry.js +0 -4
  858. package/lib/duet/p-243a9ef5.system.entry.js +0 -4
  859. package/lib/duet/p-24e2be74.entry.js +0 -4
  860. package/lib/duet/p-29280d68.entry.js +0 -4
  861. package/lib/duet/p-2992af15.entry.js +0 -4
  862. package/lib/duet/p-29be2109.entry.js +0 -4
  863. package/lib/duet/p-29f1e1a4.system.entry.js +0 -4
  864. package/lib/duet/p-2bf922c1.system.js +0 -4
  865. package/lib/duet/p-2e9a772c.entry.js +0 -4
  866. package/lib/duet/p-2ea04945.entry.js +0 -4
  867. package/lib/duet/p-2eabea79.entry.js +0 -4
  868. package/lib/duet/p-31b566c1.entry.js +0 -4
  869. package/lib/duet/p-3346552d.entry.js +0 -4
  870. package/lib/duet/p-34928212.entry.js +0 -4
  871. package/lib/duet/p-34ea0849.system.js +0 -4
  872. package/lib/duet/p-3536fd40.system.entry.js +0 -4
  873. package/lib/duet/p-356745e0.system.entry.js +0 -4
  874. package/lib/duet/p-3709d186.entry.js +0 -4
  875. package/lib/duet/p-380c94f6.system.entry.js +0 -4
  876. package/lib/duet/p-388e6ec4.entry.js +0 -4
  877. package/lib/duet/p-3cb9e865.system.js +0 -4
  878. package/lib/duet/p-3ec86ced.entry.js +0 -4
  879. package/lib/duet/p-417357f9.system.entry.js +0 -4
  880. package/lib/duet/p-427dbb96.system.entry.js +0 -4
  881. package/lib/duet/p-43660fa9.system.js +0 -4
  882. package/lib/duet/p-43b0c3d2.system.entry.js +0 -4
  883. package/lib/duet/p-43b42819.entry.js +0 -4
  884. package/lib/duet/p-45bec102.entry.js +0 -4
  885. package/lib/duet/p-46b3ed07.entry.js +0 -4
  886. package/lib/duet/p-4a4faa7d.entry.js +0 -4
  887. package/lib/duet/p-4e886433.system.entry.js +0 -4
  888. package/lib/duet/p-51721695.system.js +0 -4
  889. package/lib/duet/p-521c96ec.entry.js +0 -4
  890. package/lib/duet/p-56952081.entry.js +0 -4
  891. package/lib/duet/p-5738c25c.system.entry.js +0 -4
  892. package/lib/duet/p-5c8e5f29.system.js +0 -4
  893. package/lib/duet/p-5f6bd5db.system.js +0 -4
  894. package/lib/duet/p-60a70493.entry.js +0 -4
  895. package/lib/duet/p-67862509.system.entry.js +0 -4
  896. package/lib/duet/p-67d9de79.system.entry.js +0 -4
  897. package/lib/duet/p-6aa821df.system.js +0 -4
  898. package/lib/duet/p-6c93f614.system.entry.js +0 -4
  899. package/lib/duet/p-6d74aac6.system.entry.js +0 -4
  900. package/lib/duet/p-6f677b2a.system.entry.js +0 -4
  901. package/lib/duet/p-6f6a58e4.system.entry.js +0 -4
  902. package/lib/duet/p-701b89a1.entry.js +0 -4
  903. package/lib/duet/p-70477e77.system.entry.js +0 -4
  904. package/lib/duet/p-7260f799.entry.js +0 -4
  905. package/lib/duet/p-7326a4c0.system.entry.js +0 -4
  906. package/lib/duet/p-7394e25f.js +0 -4
  907. package/lib/duet/p-74216caa.entry.js +0 -4
  908. package/lib/duet/p-79075bec.system.entry.js +0 -4
  909. package/lib/duet/p-7ac0621b.system.entry.js +0 -4
  910. package/lib/duet/p-7b7faa01.system.entry.js +0 -4
  911. package/lib/duet/p-7cf9e266.system.entry.js +0 -4
  912. package/lib/duet/p-81c35152.entry.js +0 -4
  913. package/lib/duet/p-822a791e.entry.js +0 -4
  914. package/lib/duet/p-8364fae3.entry.js +0 -4
  915. package/lib/duet/p-8433b6d1.system.entry.js +0 -4
  916. package/lib/duet/p-850eacf6.entry.js +0 -4
  917. package/lib/duet/p-87ca87df.entry.js +0 -4
  918. package/lib/duet/p-8810df88.js +0 -4
  919. package/lib/duet/p-8b5d616e.system.entry.js +0 -4
  920. package/lib/duet/p-8b641c9c.system.entry.js +0 -4
  921. package/lib/duet/p-8e5253bc.entry.js +0 -4
  922. package/lib/duet/p-97fc4a88.system.entry.js +0 -4
  923. package/lib/duet/p-98488fab.system.entry.js +0 -4
  924. package/lib/duet/p-9949a334.entry.js +0 -4
  925. package/lib/duet/p-9ce8627c.system.entry.js +0 -4
  926. package/lib/duet/p-9d505129.system.entry.js +0 -4
  927. package/lib/duet/p-9e3276c6.system.entry.js +0 -4
  928. package/lib/duet/p-9f9ada02.system.entry.js +0 -4
  929. package/lib/duet/p-a374de00.entry.js +0 -4
  930. package/lib/duet/p-a39844b6.entry.js +0 -4
  931. package/lib/duet/p-a659351d.system.js +0 -4
  932. package/lib/duet/p-a7c2017b.system.js +0 -5
  933. package/lib/duet/p-a87a2760.system.entry.js +0 -4
  934. package/lib/duet/p-a8e6dcb9.entry.js +0 -4
  935. package/lib/duet/p-ac962b74.system.entry.js +0 -4
  936. package/lib/duet/p-afee3739.system.entry.js +0 -4
  937. package/lib/duet/p-b0475c8a.entry.js +0 -4
  938. package/lib/duet/p-b07fe45f.system.entry.js +0 -4
  939. package/lib/duet/p-b465c929.entry.js +0 -4
  940. package/lib/duet/p-b6d51921.system.js +0 -4
  941. package/lib/duet/p-b71c141b.system.entry.js +0 -4
  942. package/lib/duet/p-b7605eb1.entry.js +0 -4
  943. package/lib/duet/p-b760c72b.system.js +0 -4
  944. package/lib/duet/p-b7e61bdc.system.entry.js +0 -4
  945. package/lib/duet/p-b8b12400.system.entry.js +0 -4
  946. package/lib/duet/p-b9eb37ae.system.entry.js +0 -4
  947. package/lib/duet/p-bd594a8b.entry.js +0 -4
  948. package/lib/duet/p-bde9a702.system.entry.js +0 -4
  949. package/lib/duet/p-c1573ac3.system.entry.js +0 -4
  950. package/lib/duet/p-c1fb544b.system.entry.js +0 -4
  951. package/lib/duet/p-c2731be1.system.entry.js +0 -4
  952. package/lib/duet/p-c2b0861c.system.entry.js +0 -4
  953. package/lib/duet/p-c3a883e3.entry.js +0 -4
  954. package/lib/duet/p-c466bad9.system.js +0 -4
  955. package/lib/duet/p-c4fac0b5.system.entry.js +0 -4
  956. package/lib/duet/p-cb451f23.entry.js +0 -4
  957. package/lib/duet/p-cba1009b.entry.js +0 -4
  958. package/lib/duet/p-cd05fea5.system.entry.js +0 -4
  959. package/lib/duet/p-cf824b6b.system.entry.js +0 -4
  960. package/lib/duet/p-d183a3e7.system.entry.js +0 -4
  961. package/lib/duet/p-d1f815a3.system.entry.js +0 -4
  962. package/lib/duet/p-d4d63fbd.system.entry.js +0 -4
  963. package/lib/duet/p-d68c84ab.entry.js +0 -4
  964. package/lib/duet/p-d6d5ef13.entry.js +0 -4
  965. package/lib/duet/p-d7c5ac53.entry.js +0 -4
  966. package/lib/duet/p-d863e150.system.js +0 -4
  967. package/lib/duet/p-db6887df.entry.js +0 -4
  968. package/lib/duet/p-db95e133.entry.js +0 -4
  969. package/lib/duet/p-dfc66b98.entry.js +0 -4
  970. package/lib/duet/p-e27a7520.system.entry.js +0 -4
  971. package/lib/duet/p-e356ca29.entry.js +0 -4
  972. package/lib/duet/p-e3f8becc.entry.js +0 -4
  973. package/lib/duet/p-e50d1003.system.entry.js +0 -4
  974. package/lib/duet/p-e566ff11.system.js +0 -4
  975. package/lib/duet/p-e9b8cee0.system.entry.js +0 -4
  976. package/lib/duet/p-ea1287ce.system.entry.js +0 -4
  977. package/lib/duet/p-eb55ccd2.system.js +0 -4
  978. package/lib/duet/p-f0317574.entry.js +0 -4
  979. package/lib/duet/p-f27b134c.system.entry.js +0 -4
  980. package/lib/duet/p-f74b6629.entry.js +0 -4
  981. package/lib/duet/p-faf2b9d1.entry.js +0 -4
  982. package/lib/duet/p-fbdb1eec.entry.js +0 -4
  983. package/lib/duet/p-fc0f56ae.system.entry.js +0 -4
  984. package/lib/duet/p-fee0f558.entry.js +0 -4
  985. package/lib/esm/polyfills/css-shim.js +0 -1
  986. package/lib/esm-es5/errorcodes.utils-47fc5d49.js +0 -4
  987. package/lib/esm-es5/focus-utils-e26ba3b3.js +0 -4
  988. package/lib/esm-es5/index-c1a17a4c.js +0 -5
  989. package/lib/esm-es5/input-utils-de45e099.js +0 -4
  990. package/lib/esm-es5/keyboard-utils-d237bd5a.js +0 -4
  991. package/lib/esm-es5/string-utils-5954f458.js +0 -4
  992. package/lib/esm-es5/teleport-6b18ccae.js +0 -4
  993. package/lib/esm-es5/token-utils-2d3af0db.js +0 -4
  994. package/lib/esm-es5/watch-options-dd55bce8.js +0 -4
  995. /package/lib/cjs/{bodyScrollLock.es6-6ef1142a.js → bodyScrollLock.es6-83f334d1.js} +0 -0
  996. /package/lib/cjs/{common-strings-de17f887.js → common-strings-17770d7a.js} +0 -0
  997. /package/lib/cjs/{create-id-c3b984b1.js → create-id-167cd350.js} +0 -0
  998. /package/lib/cjs/{floating-ui.dom.esm-d537b048.js → floating-ui.dom.esm-a7d59d53.js} +0 -0
  999. /package/lib/cjs/{input-utils-b5e8f524.js → input-utils-b4615782.js} +0 -0
  1000. /package/lib/cjs/{is-internet-explorer-91361c56.js → is-internet-explorer-76c3b538.js} +0 -0
  1001. /package/lib/cjs/{js-utils-134e0318.js → js-utils-b20cfc79.js} +0 -0
  1002. /package/lib/cjs/{keyboard-utils-bb32119b.js → keyboard-utils-02441bc5.js} +0 -0
  1003. /package/lib/cjs/{slot-query-1624497e.js → slot-query-b7555763.js} +0 -0
  1004. /package/lib/cjs/{string-utils-5cadd058.js → string-utils-51a2f59f.js} +0 -0
  1005. /package/lib/cjs/{themeable-component-fdeaef9f.js → themeable-component-0be6d1f4.js} +0 -0
  1006. /package/lib/cjs/{token-utils-71db4785.js → token-utils-dbfeff2e.js} +0 -0
  1007. /package/lib/cjs/{watch-options-d88afac0.js → watch-options-1773d69f.js} +0 -0
  1008. /package/lib/dist-custom-elements/{p-8adb9463.js → p-00c8a755.js} +0 -0
  1009. /package/lib/dist-custom-elements/{p-bd779757.js → p-141e14d0.js} +0 -0
  1010. /package/lib/dist-custom-elements/{p-5a9d75e1.js → p-1a395a8d.js} +0 -0
  1011. /package/lib/dist-custom-elements/{p-704245ef.js → p-268171f7.js} +0 -0
  1012. /package/lib/dist-custom-elements/{p-0b3f675e.js → p-3d8d557b.js} +0 -0
  1013. /package/lib/dist-custom-elements/{p-c1325e35.js → p-45f71a69.js} +0 -0
  1014. /package/lib/dist-custom-elements/{p-d8549efe.js → p-56ac3289.js} +0 -0
  1015. /package/lib/dist-custom-elements/{p-56118313.js → p-77f2dbee.js} +0 -0
  1016. /package/lib/dist-custom-elements/{p-12721178.js → p-a1371eee.js} +0 -0
  1017. /package/lib/dist-custom-elements/{p-4ebf1618.js → p-d48735b6.js} +0 -0
  1018. /package/lib/dist-custom-elements/{p-76f00bd5.js → p-dade978b.js} +0 -0
  1019. /package/lib/dist-custom-elements/{p-9d915d45.js → p-f8c76b25.js} +0 -0
  1020. /package/lib/duet/{p-8adb9463.js → p-00c8a755.js} +0 -0
  1021. /package/lib/duet/{p-2bb34e3d.js → p-0b31864f.js} +0 -0
  1022. /package/lib/duet/{p-bd779757.js → p-141e14d0.js} +0 -0
  1023. /package/lib/duet/{p-5a9d75e1.js → p-1a395a8d.js} +0 -0
  1024. /package/lib/duet/{p-704245ef.js → p-268171f7.js} +0 -0
  1025. /package/lib/duet/{p-c7ae95bd.system.js → p-36b36a8e.system.js} +0 -0
  1026. /package/lib/duet/{p-0b3f675e.js → p-3d8d557b.js} +0 -0
  1027. /package/lib/duet/{p-c1325e35.js → p-45f71a69.js} +0 -0
  1028. /package/lib/duet/{p-56118313.js → p-77f2dbee.js} +0 -0
  1029. /package/lib/duet/{p-12721178.js → p-a1371eee.js} +0 -0
  1030. /package/lib/duet/{p-f077c646.js → p-cc1909de.js} +0 -0
  1031. /package/lib/duet/{p-4ebf1618.js → p-d48735b6.js} +0 -0
  1032. /package/lib/duet/{p-76f00bd5.js → p-dade978b.js} +0 -0
  1033. /package/lib/duet/{p-9d915d45.js → p-f8c76b25.js} +0 -0
  1034. /package/lib/esm/{bodyScrollLock.es6-61b5e9a4.js → bodyScrollLock.es6-8dc7cca7.js} +0 -0
  1035. /package/lib/esm/{common-strings-97e04e4b.js → common-strings-71f2aabd.js} +0 -0
  1036. /package/lib/esm/{create-id-981107da.js → create-id-2b0cd46d.js} +0 -0
  1037. /package/lib/esm/{floating-ui.dom.esm-6025c98f.js → floating-ui.dom.esm-efad5c89.js} +0 -0
  1038. /package/lib/esm/{input-utils-de45e099.js → input-utils-a0225b92.js} +0 -0
  1039. /package/lib/esm/{is-internet-explorer-62b3bdbd.js → is-internet-explorer-032d4dae.js} +0 -0
  1040. /package/lib/esm/{js-utils-fa98b8cd.js → js-utils-a35dcc8c.js} +0 -0
  1041. /package/lib/esm/{keyboard-utils-d237bd5a.js → keyboard-utils-5746e126.js} +0 -0
  1042. /package/lib/esm/{slot-query-8c7dce21.js → slot-query-7877f18f.js} +0 -0
  1043. /package/lib/esm/{string-utils-5954f458.js → string-utils-59ad4cb2.js} +0 -0
  1044. /package/lib/esm/{themeable-component-cb76be7c.js → themeable-component-fdce4fd7.js} +0 -0
  1045. /package/lib/esm/{token-utils-2d3af0db.js → token-utils-46c8fe31.js} +0 -0
  1046. /package/lib/esm/{watch-options-dd55bce8.js → watch-options-f189118b.js} +0 -0
  1047. /package/lib/esm-es5/{common-strings-97e04e4b.js → common-strings-71f2aabd.js} +0 -0
  1048. /package/lib/esm-es5/{is-internet-explorer-62b3bdbd.js → is-internet-explorer-032d4dae.js} +0 -0
  1049. /package/lib/esm-es5/{js-utils-fa98b8cd.js → js-utils-a35dcc8c.js} +0 -0
  1050. /package/lib/esm-es5/{slot-query-8c7dce21.js → slot-query-7877f18f.js} +0 -0
  1051. /package/lib/esm-es5/{themeable-component-cb76be7c.js → themeable-component-fdce4fd7.js} +0 -0
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-07ae2d9c.system.js","./p-c97109b5.system.js"],(function(e){"use strict";var t,n,r,i,s;return{setters:[function(e){t=e.r;n=e.h;r=e.H;i=e.g},function(e){s=e.n}],execute:function(){var u=e("duet_upload_aria_status",function(){function e(e){var n=this;t(this,e);this.replacePlaceHolders=function(e){var t=function(e){return e>1?"".concat(e," ").concat(n.statusMessageLabel.files):"".concat(e," ").concat(n.statusMessageLabel.file)};return e.replace("{filesUploaded}",t(n.valid)).replace("{filesInProgress}",t(n.inprogress)).replace("{filesTotal}",t(n.total)).replace("{filesWithErrors}",t(n.invalid))};this.getStatusMessage=function(){var e=n.statusMessageLabel,t=e.done,r=e.inProgress,i=e.doneWithErrors,s=e.inProgressWithErrors;var u=n.invalid>0;var a=n.inprogress>0;var l=n.inprogress>0&&u;var f=n.valid===n.total&&!a&&!u;var c=n.valid+n.invalid===n.total&&!a;if(f){n.statusMessage=n.replacePlaceHolders(t);return}else if(l){n.statusMessage=n.replacePlaceHolders(s);return}else if(a){n.statusMessage=n.replacePlaceHolders(r);return}else if(c){n.statusMessage=n.replacePlaceHolders(i);return}return};this.statusMessage=null;this.statusMessageLabel=null;this.accessibleAriaLive="polite";this.valid=undefined;this.total=undefined;this.invalid=undefined;this.inprogress=undefined}e.prototype.watchHandler=function(e,t){if(e!==t){this.getStatusMessage()}};e.prototype.componentDidLoad=function(){s(this)};e.prototype.render=function(){return n(r,{role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},n("duet-visually-hidden",null,this.statusMessage))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}},enumerable:false,configurable:true});return e}())}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c as s,h as t,H as o,g as i}from"./p-ff9db811.js";import{i as a}from"./p-d48735b6.js";import{c as n}from"./p-45f71a69.js";import{i as r}from"./p-cc1909de.js";import{a as h,g as l,c as m,d as c}from"./p-4883df66.js";import{n as p}from"./p-040f8831.js";import"./p-1a395a8d.js";const d=class{constructor(t){e(this,t),this.duetToggle=s(this,"duetToggle",7),this.contentId=n("DuetShowMore"),this.buttonId=n("DuetShowMoreButton"),this.handleKeyDown=e=>{r(e)&&this.handleClick(e)},this.handleClick=e=>{e.preventDefault();const s=!this.open;this.open=s,s?(setTimeout((()=>{this.contentElement.focus()}),100),setTimeout((()=>{this.buttonAriaOpen=s}),500)):this.buttonAriaOpen=s,this.duetToggle.emit({component:"duet-show-more",originalEvent:e})},this.buttonAriaOpen=!1,this.theme="",this.language=h(),this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"},this.showMoreLabel=l(this.showMoreLabelDefaults),this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"},this.showLessLabel=l(this.showLessLabelDefaults),this.showMoreAccessibleLabelDefaults={fi:"Näytä lisää tästä aiheesta",sv:"Visa mer om detta ämne",en:"Show more about this subject"},this.showMoreAccessibleLabel=l(this.showMoreAccessibleLabelDefaults),this.showLessAccessibleLabelDefaults={fi:"Näytä vähemmän tästä aiheesta",sv:"Visa mindre om detta ämne",en:"Show less about this subject"},this.showLessAccessibleLabel=l(this.showLessAccessibleLabelDefaults),this.margin="auto",this.open=!1}componentWillLoad(){a(this),this.buttonAriaOpen=this.open}componentDidLoad(){p(this)}connectedCallback(){m(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])}disconnectedCallback(){c(this)}render(){return t(o,null,t("div",{class:{"duet-show-more":!0,"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin,open:this.open}},t("div",{ref:e=>this.contentElement=e,class:{content:!0},id:this.contentId,tabindex:this.open?"0":""},t("div",{class:{"slotted-content":!0}},t("slot",null))),t("duet-button",{id:this.buttonId,variation:"plain","accessible-label":this.buttonAriaOpen?this.showLessAccessibleLabel:this.showMoreAccessibleLabel,"accessible-expanded":this.buttonAriaOpen?"true":"false","accessible-controls":this.contentId,onClick:this.handleClick,onKeyDown:this.handleKeyDown,"icon-right":!0,icon:this.open?"action-arrow-up-small":"action-arrow-down-small","icon-size":"medium-small",size:"small"},this.open?this.showLessLabel:this.showMoreLabel)))}get element(){return i(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block}.duet-show-more{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more.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)}';export{d as duet_show_more}
@@ -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 i,g as n}from"./p-ff9db811.js";import{i as a}from"./p-d48735b6.js";import{n as s}from"./p-040f8831.js";const u=class{constructor(o){e(this,o),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.onFocus=e=>{this.focus=!0,this.duetFocus.emit({originalEvent:e,value:this.value,component:"duet-popup-menu-item"})},this.onBlur=e=>{this.focus=!1,this.duetBlur.emit({originalEvent:e,value:this.value,component:"duet-popup-menu-item"})},this.focus=!1,this.accessibleLabel=void 0,this.theme="",this.url=void 0,this.external=!1,this.value=void 0,this.leadingIcon=void 0,this.trailingIcon=void 0,this.trailingText=void 0,this.active=!1}componentWillLoad(){a(this)}componentDidLoad(){s(this)}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}async isFocused(){return this.focus}render(){return o(i,null,o(this.url?"a":"button",{ref:e=>this.itemElement=e,tabIndex:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"menuitem","aria-label":this.accessibleLabel,class:{"duet-popup-menu-item":!0,active:this.active,"duet-theme-turva":"turva"===this.theme},value:this.value,href:this.url,target:this.external?"_blank":void 0,rel:this.external?"noopener":void 0},this.leadingIcon&&o("duet-icon",{name:this.leadingIcon,size:"xx-small",color:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),o("span",{class:"duet-popup-menu-item-label"},o("slot",null)),this.trailingIcon&&o("duet-icon",{name:this.trailingIcon,size:"xx-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&o("span",{class:"duet-popup-menu-item-trailing"},this.trailingText)))}get element(){return n(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:8px;align-items:center;height:100%;padding:8px 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;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.active,.duet-popup-menu-item.active:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-popup-menu-item.active.duet-theme-turva,.duet-popup-menu-item.active:hover.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-popup-menu-item:hover{background:rgb(230, 242, 248)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}';export{u as duet_popup_menu_item}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-07ae2d9c.system.js","./p-77b6e4ba.system.js","./p-75daef16.system.js","./p-1a91e22a.system.js","./p-c97109b5.system.js"],(function(e){"use strict";var t,i,o,a,n,s,l,d;return{setters:[function(e){t=e.r;i=e.h;o=e.H;a=e.g},function(e){n=e.i},function(e){s=e.h},function(e){l=e.c},function(e){d=e.n}],execute:function(){var r='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{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-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(222, 35, 98);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-theme-turva .duet-fieldset-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(224, 42, 13)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';var p=e("duet_fieldset",function(){function e(e){var i=this;t(this,e);this.errorId=l("DuetError");this.labelId=l("DuetLabel");this.checkHasTooltip=function(){i.hasTooltip=s(i.element,"tooltip")};this.hasTooltip=false;this.theme="";this.margin="auto";this.caption=undefined;this.label=undefined;this.compactLabel=false;this.error=undefined;this.accessibleLiveError="polite";this.labelHeadingLevel="h3";this.labelHidden=false}e.prototype.componentWillLoad=function(){n(this);this.checkHasTooltip()};e.prototype.componentDidLoad=function(){d(this)};e.prototype.render=function(){return i(o,{class:{"duet-m-0":this.margin==="none"}},i("fieldset",{"aria-labelledby":this.labelId,"aria-describedby":this.error?this.errorId:null,class:{"duet-fieldset":true,"duet-theme-turva":this.theme==="turva"}},i("legend",{id:this.labelId},i(this.labelHeadingLevel,null,this.label),this.caption&&i("span",null,this.caption)),i("div",{class:{"duet-legend-wrapper":true,"duet-legend-has-caption":!!this.caption,"duet-legend-has-tooltip":this.hasTooltip,"duet-legend-hidden":this.labelHidden,"duet-legend-compact":this.compactLabel}},i("div",{class:"duet-fieldset-label"},i("span",{"aria-hidden":"true"},this.label),i("slot",{onSlotchange:this.checkHasTooltip,name:"tooltip"})),this.caption&&i("div",{class:"duet-fieldset-caption","aria-hidden":"true"},i("duet-caption",{margin:"none"},this.caption))),i("slot",null),i("span",{class:"duet-fieldset-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",null,this.error))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());p.style=r}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,c as e,h as i,H as o,g as s}from"./p-ff9db811.js";import{d as a,e as d}from"./p-141e14d0.js";import{i as n}from"./p-d48735b6.js";import{F as l}from"./p-9323e964.js";import{f as r}from"./p-cc1909de.js";import{a as h,c as u,d as p,g}from"./p-4883df66.js";import{n as c}from"./p-040f8831.js";import{g as m}from"./p-0b31864f.js";import"./p-1a395a8d.js";import"./p-f1d51e20.js";const b=class{constructor(i){t(this,i),this.duetSlideoutEvent=e(this,"duetSlideoutEvent",7),this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"},this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.handleBodyScrolling=()=>{this.displaying&&this.open?a(this.dialog,{reserveScrollBarGap:!0}):d(this.dialog)},this.toggleMenu=t=>{const e=!this.open;if(this.open=e,this.openButton.setAttribute("aria-expanded",this.open.toString()),this.duetSlideoutEvent.emit({originalEvent:t,data:{element:this.element,open:this.open},component:"duet-slideout"}),e){const t=this.element.querySelector("duet-slideout-panel[open]");t?(t.setFocus(),this.handleBodyScrolling()):setTimeout((()=>{this.closeButton.focus(),this.handleBodyScrolling()}),200)}else setTimeout((()=>{this.openButton.setFocus(),this.handleBodyScrolling()}),200)},this.onClick=t=>{this.toggleMenu(t)},this.language=h(),this.displaying=!1,this.theme="",this.open=!1,this.backgroundColor="gray-lightest"}async toggle(){const t=new CustomEvent("toggle");this.toggleMenu(t),setTimeout((()=>{this.closeButton.focus()}),200)}componentWillLoad(){n(this),this.openButton=this.element.querySelector(":scope > [slot='toggle']"),this.openButton&&(this.openButton.accessiblePopup="true",this.openButton.accessibleExpanded=!1,this.openButton.addEventListener("click",(t=>{t.stopPropagation(),t.preventDefault(),this.onClick(t)})),this.openButton=this.openButton)}async componentDidLoad(){this.intersectionObserver=new IntersectionObserver((t=>{this.displaying=!!t[0].isIntersecting,this.handleBodyScrolling()})),this.intersectionObserver.observe(this.dialog),c(this)}connectedCallback(){u(this)}disconnectedCallback(){p(this),d(this.dialog),this.intersectionObserver.disconnect()}handleKeyUp(t){r(t)&&this.open&&this.toggleMenu(t)}async setFocus(t){this.openButton.focus(t)}render(){const t={background:m(this.backgroundColor,this.theme)},e=g(this.exitLangObject);return i(o,null,i("div",{class:{"duet-slideout":!0,"duet-theme-turva":"turva"===this.theme}},i("slot",{name:"toggle"}),i("div",{class:{"desktop-bg":!0,hidden:!this.open},onClick:()=>{this.open=!1}}),i("div",{ref:t=>this.dialog=t,tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":!this.isSafariBrowser,"aria-flowto":"menubar",class:{dialog:!0,hidden:!this.open},style:t},i(l,{moveFocusTo:this.closeButton}),i("div",{class:"top"},i("button",{ref:t=>this.closeButton=t,"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":`${e}`,type:"button",class:{"slideout-close":!0,active:this.open},onClick:this.onClick},i("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),i("div",{id:"menubar",role:"menubar",class:{items:!0}},i("slot",null)),i(l,{moveFocusTo:this.closeButton}))))}get element(){return s(this)}};b.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}:host slot:not([name=toggle])::slotted(*){position:relative;visibility:hidden;opacity:0}:host([open]) slot:not([name=toggle])::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%}.duet-slideout .desktop-bg{display:none}@media (min-width: 62em){.duet-slideout .desktop-bg{position:fixed;top:0;left:0;z-index:400;display:block;width:100%;height:100%;visibility:hidden;background:rgba(0, 41, 77, 0.6);opacity:0;transition:600ms ease}.duet-slideout .desktop-bg:not(.hidden){visibility:visible;opacity:1;transition:600ms ease}}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgba(23, 28, 58, 0.6)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:400;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}::slotted(*){width:100%}slot{color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=toggle]{color:inherit}';export{b as duet_slideout}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-07ae2d9c.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.h}],execute:function(){var n=t("f",(function(t){if("setFocus"in t){t.setFocus()}else{t.focus()}}));var u=t("F",(function(t){var u=t.moveFocusTo;return e("div",{class:"duet-focus-guard","aria-hidden":"true",tabIndex:0,onFocus:function(){return n(u)}})}))}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as r,H as t,g as o}from"./p-ff9db811.js";import{i as a}from"./p-d48735b6.js";import{n as d}from"./p-040f8831.js";const n=class{constructor(r){e(this,r),this.theme="",this.variation="default",this.background="normal",this.margin="auto"}componentWillLoad(){a(this)}componentDidLoad(){d(this)}render(){return r(t,{class:{"duet-m-0":"none"===this.margin}},r("div",{class:{"duet-badge":!0,[this.variation]:!0,[`background-${this.background}`]:!0,"duet-theme-turva":"turva"===this.theme}},r("slot",null)))}get element(){return o(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}';export{n as duet_badge}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-07ae2d9c.system.js","./p-77b6e4ba.system.js","./p-c97109b5.system.js","./p-719b38fe.system.js","./p-9d033a04.system.js"],(function(t){"use strict";var e,a,n,i,r,o,s;return{setters:[function(t){e=t.r;a=t.h;n=t.H;i=t.g},function(t){r=t.i},function(t){o=t.n},function(t){s=t.g},function(){}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.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-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}';var l=t("duet_banner",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.backgroundColor="primary-lighter";this.iconColor="gray-lightest";this.iconBackgroundColor="primary";this.textColor="secondary";this.size="auto";this.image="";this.icon="";this.headingLevel="h2"}t.prototype.componentWillLoad=function(){r(this);this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]');this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]');this.hasActionSlot=!!this.element.querySelector('[slot="action"]')};t.prototype.componentDidLoad=function(){o(this)};t.prototype.render=function(){var t;var e=this.theme==="turva"&&this.backgroundColor==="primary-lighter"?"gray-light":this.backgroundColor;var i=s(e,this.theme);var r={backgroundColor:i};return a(n,{class:{"duet-m-0":this.margin==="none"}},a("aside",{class:(t={"duet-banner":true,"duet-theme-turva":this.theme==="turva"},t[this.size]=true,t),style:r},a("div",{class:"visual"},a("div",{class:"image-container"},a("img",{class:"image",src:this.image,alt:"",role:"presentation"})),this.icon&&a("duet-icon",{theme:this.theme,class:"icon",name:this.icon,shape:"brand",size:"xx-large",color:this.iconColor,background:this.iconBackgroundColor,"background-rotation":"7","background-opacity":"0.85",margin:"none"})),a("div",{class:"content"},this.hasHeadingSlot&&a("div",{class:"heading"},a("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h2",margin:"none",color:this.textColor},a("slot",{name:"heading"}))),this.hasDescriptionSlot&&a("div",{class:"description"},a("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},a("slot",{name:"description"}))),this.hasActionSlot&&a("div",{class:"action"},a("slot",{name:"action"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());l.style=u}}}));
@@ -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-07ae2d9c.system.js","./p-dd994793.system.js","./p-053b71e6.system.js","./p-36b36a8e.system.js","./p-77b6e4ba.system.js","./p-8972381a.system.js","./p-c97109b5.system.js","./p-b99c00fa.system.js"],(function(t){"use strict";var e,o,i,r,n,a,d,u,s,l,f,p,m,c,h;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.D},function(t){s=t.i},function(t){l=t.a;f=t.g;p=t.c;m=t.d},function(t){c=t.n},function(t){h=t.p}],execute:function(){var g={title:"action-new-window",tags:"arrow open new window tab external link square box rectangle action",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>'};var b='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex-shrink:0;width:100%}::slotted([slot=info]){padding:0 28px;margin-top:36px}@media (min-width: 62em){::slotted([slot=info]){padding:0;margin:0}}.duet-footer{display:block;width:100%;padding-top:20px;padding-bottom:16px;margin-top:48px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(255, 255, 255);text-align:left;background:rgb(0, 41, 77)}.duet-footer.duet-p-0{padding:0 !important}.duet-footer.duet-m-0{margin:0 !important}@media (min-width: 36em){.duet-footer{padding-top:36px}}@media (min-width: 62em){.duet-footer{padding-top:48px;padding-bottom:36px}}.duet-footer.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background:rgb(198, 12, 48)}.duet-footer a{color:rgb(255, 255, 255);text-decoration:none}@media (min-width: 62em){.duet-footer a{border-radius:4px}}.duet-footer a:focus{outline:0}:host(.user-is-tabbing) .duet-footer a:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva a:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-footer-wrapper{position:relative;margin:0 auto}@media (min-width: 62em){.duet-footer-wrapper{padding:0 72px 0 48px}}@media (min-width: 76.25em){.duet-footer-wrapper{max-width:1110px;padding:0 20px 0 0}}.duet-footer-top{width:100%}@media (min-width: 62em){.duet-footer-top{display:flex;flex-direction:row;align-items:center;justify-content:space-between}}.duet-footer-top .footer-top-logo{flex-grow:1}.duet-footer-top .footer-top-right-container{flex-grow:1.5}.duet-footer-top .footer-top-items{display:flex;flex-direction:column;justify-content:space-between}@media (min-width: 62em){.duet-footer-top .footer-top-items{flex-direction:row}}duet-logo{margin-left:16px !important}@media (min-width: 36em){duet-logo{margin-left:28px !important}}@media (min-width: 62em){duet-logo{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-icon{display:flex;align-items:center;justify-content:center;padding:12px;margin-right:16px;background:rgb(0, 119, 179);border-radius:50%;transition:300ms ease}.duet-theme-turva .duet-footer-icon{background:transparent;box-shadow:0 0 0 1px #fff}a:hover .duet-footer-icon{background:#006ba1}.duet-theme-turva a:hover .duet-footer-icon{background:transparent}.duet-footer-arrow{display:flex;align-items:center;justify-content:center;width:20px;min-width:20px;max-width:20px;height:20px;max-height:20px;margin-left:auto;color:rgb(255, 255, 255);transition:transform 300ms ease}@media (min-width: 62em){.duet-footer-arrow{width:10px;min-width:10px;margin-top:3px;margin-left:8px}}@media (min-width: 62em){.duet-footer-arrow{margin-right:0}}a:hover .duet-footer-arrow{transform:translateX(4px)}.duet-footer-arrow duet-icon{width:20px;height:20px}@media (min-width: 62em){.duet-footer-arrow duet-icon{width:10px;height:10px}}.duet-footer-menu{padding:20px !important;display:flex;gap:2rem;font-size:0.875rem}@media (min-width: 36em){.duet-footer-menu{padding:28px !important}}@media (min-width: 62em){.duet-footer-menu{padding-left:8px !important}}.duet-footer-menu a{display:inline-block;text-decoration:none;word-break:break-all}.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{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:2rem;text-align:left}@media (min-width: 62em){.duet-footer-copyright.duet-footer-copyright-mobile{display:none}}.duet-footer-simple{padding:0;margin:0;margin-top:16px;color:rgb(0, 41, 77);background:transparent !important;border-top:1px solid rgb(225, 227, 230)}.duet-footer-simple .duet-footer-wrapper{max-width:100%;padding:0 20px;margin:0}@media (min-width: 62em){.duet-footer-simple .duet-footer-wrapper{padding:0 36px}}@media (min-width: 106.25em){.duet-footer-simple .duet-footer-wrapper{padding:0 48px}}.duet-footer-simple .duet-footer-copyright,.duet-footer-simple .duet-footer-menu a{color:rgb(0, 41, 77)}.duet-footer-simple .duet-footer-menu{padding:20px 0 !important}.duet-footer-simple .duet-footer-copyright-mobile{padding-left:0}.duet-footer-simple.duet-theme-turva{color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}.duet-footer-simple.duet-theme-turva .duet-footer-copyright,.duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 28, 58)}.duet-footer-external{display:inline-block;margin-left:4px;color:rgb(0, 119, 179)}.duet-theme-turva .duet-footer-external{color:rgb(255, 255, 255)}.duet-footer-simple.duet-theme-turva .duet-footer-external{color:rgb(198, 12, 48)}';var x={fi:{lahi:"© LähiTapiola",turva:"© Turva"},sv:{lahi:"© LokalTapiola",turva:"© Turva"},en:{lahi:"© LocalTapiola",turva:"© Turva"}};var w=function(t,e){return{component:"duet-footer",data:e,originalEvent:t}};var v=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=w(t,{href:i.logoHref,label:"logo"});i.duetLogoClick.emit(e);i.handleClick(e)};this.handleMenuClick=function(t,e){var o=w(t,e);i.handleClick(o);i.duetMenuClick.emit(o)};this.handleItemClick=function(t,e){var o=w(t,e);i.handleClick(o);i.duetItemClick.emit(o)};this.emitDuetEvent=function(t,e){i.duetEvent.emit({component:"duet-footer",data:e,originalEvent:t})};this.processedMainItem=null;this.processedItems=null;this.processedMenu=null;this.theme="";this.variation="default";this.margin="auto";this.logoHref="/";this.language=l();this.items=undefined;this.accessibleLabel=undefined;this.accessibleLabelExternalDefaults=u;this.accessibleLabelExternal=f(this.accessibleLabelExternalDefaults);this.menu=undefined}t.prototype.componentWillLoad=function(){s(this);this.refresh();this.hasInfoSlot=!!this.element.querySelector(":scope > [slot='info']")};t.prototype.componentDidLoad=function(){c(this)};t.prototype.connectedCallback=function(){p(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};t.prototype.disconnectedCallback=function(){m(this)};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedItems=h(this.items);this.processedMenu=h(this.menu);return[2]}))}))};t.prototype.renderFooterTop=function(){var t=this;var e=i("div",{class:{"footer-top-logo":this.hasInfoSlot}},this.variation!=="simple"&&i("duet-logo",{href:this.logoHref,onClick:this.handleLogoClick,size:"large",inverse:true,language:this.language,theme:this.theme}));var o=this.processedItems&&this.variation!=="simple"&&this.processedItems.map((function(e){return i("a",{class:"duet-footer-link",href:e.href,id:e.id,target:e.external?"_blank":"_self",onClick:function(o){return t.handleItemClick(o,e)},onMouseEnter:function(o){return t.emitDuetEvent(o,e)},onTouchStart:function(o){return t.emitDuetEvent(o,e)}},i("div",{class:"duet-footer-icon"},i("duet-icon",{size:"medium",margin:"none",name:e.icon,color:"currentColor"})),i("span",null,e.label),!e.hideArrow&&i(r,null,e.external&&i("duet-visually-hidden",null,", ",t.accessibleLabelExternal),i("div",{class:"duet-footer-arrow"},e.external?i("duet-icon",{icon:g.svg,size:"xx-small",margin:"none",color:"currentColor"}):i("duet-icon",{icon:a.svg,size:"auto",margin:"none",color:"currentColor"}))))}));if(this.hasInfoSlot){return i(r,null,e,i("div",{class:"footer-top-right-container"},i("slot",{name:"info"}),i("div",{class:"footer-top-items"},o)))}return i(r,null,e,o)};t.prototype.render=function(){var t=this;var e=f(x);var o=this.theme==="turva"?e.turva:e.lahi;return i("footer",{class:{"duet-footer":true,"duet-m-0":this.margin==="none","duet-theme-turva":this.theme==="turva","duet-footer-simple":this.variation==="simple"},"aria-label":this.accessibleLabel},i("div",{class:"duet-footer-wrapper"},i("div",{class:"duet-footer-top",part:"top"},this.renderFooterTop()),i("slot",{name:"extra"}),i("p",{class:"duet-footer-menu",part:"menu"},i("span",{class:"duet-footer-copyright"},"".concat(o," ").concat((new Date).getFullYear())),i("div",{class:"duet-footer-menu-links"},this.processedMenu&&i(r,null,this.processedMenu.map((function(e){return i("a",{href:e.href,id:e.id,target:e.external?"_blank":"_self",onClick:function(o){return t.handleMenuClick(o,e)},onMouseEnter:function(o){return t.emitDuetEvent(o,e)},onTouchStart:function(o){return t.emitDuetEvent(o,e)}},e.label,e.external&&i(r,null,i("duet-visually-hidden",null,", ",t.accessibleLabelExternal),i("div",{class:"duet-footer-external"},i("duet-icon",{icon:d.svg,size:"xx-small",margin:"none",color:"currentColor"}))),i("span",{class:"duet-footer-divider",role:"presentation","aria-hidden":"true"},"/"))}))))),i("p",{class:"duet-footer-copyright duet-footer-copyright-mobile"},"".concat(o," ").concat((new Date).getFullYear()))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{menu:["refresh"],items:["refresh"]}},enumerable:false,configurable:true});return t}());v.style=b}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,h as e,H as o,g as n}from"./p-ff9db811.js";import{a}from"./p-64d43840.js";import{i as r}from"./p-d48735b6.js";import{f as i}from"./p-cc1909de.js";import{n as s}from"./p-040f8831.js";const d=class{constructor(e){t(this,e),this.mql=[window.matchMedia(a.replace(/'/g,""))],this.boundMqlFunctions=[],this.checkIsDesktop=()=>{this.mql[0].matches?(this.isDesktop=!0,this.iconSize="x-small"):(this.isDesktop=!1,this.iconSize="small")},this.onClick=()=>{const t=this.open;if(!this.isDesktop){const t=Array.from(this.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));for(const e of t)e.open=!1}this.open=!t},this.isDesktop=!1,this.iconSize="small",this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(t){t.composedPath().every((t=>t!==this.element))&&this.isDesktop&&(this.open=!1)}componentWillLoad(){r(this)}componentDidLoad(){s(this)}connectedCallback(){this.checkIsDesktop();for(let t=0;t<this.mql.length;t++)if(this.mql[t].addEventListener){const e=this.checkIsDesktop.bind(this);this.mql[t].addEventListener("change",e),this.boundMqlFunctions[t]=e}}disconnectedCallback(){for(let t=0;t<this.mql.length;t++)this.mql[t].removeEventListener&&this.mql[t].removeEventListener("change",this.boundMqlFunctions[t]);this.boundMqlFunctions=[]}handleEscape(t){if(i(t))if(this.open)this.open=!1;else{const t=this.element.closest("duet-submenu-bar");t.open=!1,t.setFocus()}}async setFocus(t){this.button.focus(t)}render(){return e(o,null,e("div",{class:{"duet-submenu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,open:this.open,active:this.active}},e("button",{ref:t=>this.button=t,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{open:this.open,active:this.active},onClick:this.onClick,onKeyUp:t=>this.handleEscape(t)},this.icon&&e("duet-icon",{theme:this.theme,name:this.icon,size:this.iconSize,margin:"none",color:"currentColor"}),e("div",{class:"label"},e("span",{class:"label-text"},e("slot",{name:"label"})),e("duet-icon",{class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),e("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},e("slot",null))))}get element(){return n(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-dropdown{position:relative;height:100%}.duet-submenu-bar-dropdown button{position:relative;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 77, 128)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(230, 242, 248)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(0, 41, 77);background:rgb(230, 242, 248)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(0, 41, 77)}.duet-theme-turva .duet-submenu-bar-dropdown button:hover.active{color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-theme-turva .duet-submenu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-theme-turva .duet-submenu-bar-dropdown button.active::after,.duet-theme-turva .duet-submenu-bar-dropdown button.open::after{background:rgb(198, 12, 48)}}.duet-submenu-bar-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(0, 41, 77);visibility:visible;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:102%;z-index:600;min-width:320px;padding:4px 0 0;background:rgb(255, 255, 255);border-radius:0 0 4px 4px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1);transition:none}}.duet-submenu-bar-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(228, 228, 230)}}.duet-submenu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(148, 9, 37);background:rgb(228, 228, 230)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(148, 9, 37)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}';export{d as duet_submenu_bar_dropdown}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c,h as t,H as o,g as i}from"./p-ff9db811.js";import{i as d}from"./p-d48735b6.js";import{h}from"./p-f8c76b25.js";import{D as s}from"./p-dade978b.js";import{c as r}from"./p-45f71a69.js";import{F as a}from"./p-9323e964.js";import{i as u,h as n,f as l}from"./p-cc1909de.js";import{g as b,a as p,c as g,d as m}from"./p-4883df66.js";import{n as f}from"./p-040f8831.js";import{f as k,w as v}from"./p-a1371eee.js";import"./p-1a395a8d.js";const x=class{constructor(t){e(this,t),this.duetChange=c(this,"duetChange",7),this.duetFocus=c(this,"duetFocus",7),this.duetBlur=c(this,"duetBlur",7),this.hasHeader=!1,this.choiceId=r("DuetChoice"),this.expandId=r("DuetChoiceExpand"),this.headerId=r("DuetChoiceHeader"),this.infoButtonId=r("DuetChoiceInfoButton"),this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1},this.onClick=e=>{this.toggleChecked(e)},this.handleKeyDown=e=>{u(e)&&this.toggleChecked(e),n(e)&&this.hasInfo&&this.toggleInfo()},this.onChange=()=>{this.checked=this.nativeInput.checked||!1,this.duetChange.emit({checked:this.checked,value:this.value,component:"duet-choice"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.toggleChecked=e=>{e.preventDefault(),e.stopPropagation(),this.getDisabled()||(this.isInfoOpen=!1,"radio"===this.type&&this.checked||(this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})))},this.toggleInfo=()=>{this.isInfoOpen=!this.isInfoOpen},this.isHovering=!1,this.isInfoOpen=!1,this.isBlurred=!1,this.theme="",this.label="label",this.accessibleLabelInfoButtonDefaults=s,this.accessibleLabelInfoButton=b(this.accessibleLabelInfoButtonDefaults),this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.caption="",this.value=void 0,this.type="checkbox",this.name=void 0,this.checked=!1,this.collapsible=!1,this.collapsibleForceExpanded=!1,this.margin="auto",this.icon="",this.expand=!1,this.padding="auto",this.identifier=void 0,this.groupDirection=void 0,this.groupDisabled=void 0,this.groupResponsive=void 0,this.disabled=!1,this.required=!1,this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"},this.infoLabel=b(this.infoLabelDefaults,p())}componentWillLoad(){d(this),this.hasInfo=h(this.element,"info"),this.hasHeader=h(this.element,"header"),this.hasAdditional=h(this.element,"additional"),this.hasLabel=h(this.element,"label"),this.hasBeforeText=h(this.element,"before-text")}componentDidLoad(){f(this)}connectedCallback(){g(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"}])}disconnectedCallback(){m(this)}handleHostBlur(e){this.hasInfo&&this.isInfoOpen&&this.isKeyDown&&(this.element.contains(null==e?void 0:e.relatedTarget)||this.toggleInfo())}handleHostKeyDown(){this.isKeyDown=!0}handleHostKeyUp(e){this.isKeyDown=!1,l(e)&&this.isInfoOpen&&this.toggleInfo()}async setFocus(e){this.nativeInput.focus(e)}async toggleInfoMethod(){this.isInfoOpen=!this.isInfoOpen}getAriaDescribedby(){return this.accessibleDescribedBy?this.accessibleDescribedBy:this.collapsible||this.hasInfo?this.hasHeader?this.headerId:this.expandId:null}getDisabled(){return this.disabled||this.groupDisabled}getExpanded(){return this.checked||this.collapsibleForceExpanded}getClassNames(){return this.hasInfo&&!this.collapsible?{checked:this.checked,"duet-choice-card-info":!0,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":"turva"===this.theme}:!this.hasInfo&&this.collapsible?{checked:this.checked,"duet-choice-card-collapsible":!0,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":"turva"===this.theme}:{checked:this.checked,"duet-choice-default-slot":!0}}render(){const e=this.element.closest("duet-choice-group"),c=e?e.label:void 0,i=this.identifier||this.choiceId;return t(o,{class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin,"duet-expand":this.expand,"duet-theme-turva":"turva"===this.theme,"no-hover":this.isHovering,disabled:this.getDisabled()}},t("div",{class:{"duet-choice-card-flextainer":!0,"duet-theme-turva":"turva"===this.theme}},t("div",{class:{"duet-choice-card":!0,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":"none"===this.padding}},t("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:i,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:e=>this.nativeInput=e}),t("label",{htmlFor:i,class:{"duet-choice-label":!0,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&t("slot",{name:"before-text"}),this.icon&&t("div",{class:"duet-choice-card-icon"},t("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),t("div",{class:"duet-choice-card-text"},c&&t("duet-visually-hidden",null,c,", "),t("div",null,this.hasLabel?t("slot",{name:"label"}):this.label),this.caption&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("slot",{name:"additional"}))),t("div",null,t("div",{class:{"duet-checkmark-container":!0,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&t("button",{ref:e=>this.infoButtonEl=e,id:this.infoButtonId,class:{"duet-choice-info-toggle":!0,"duet-theme-turva":"turva"===this.theme},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":`${this.infoLabel} ${this.label}`,"aria-controls":this.expandId,"aria-flowto":this.expandId,tabindex:"radio"!==this.type||this.checked?"0":"-1",type:"button"},t("duet-visually-hidden",{"aria-hidden":this.isBlurred?"false":"true"},this.accessibleLabelInfoButton),t("div",{class:"duet-choice-info-icon"},t("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>',margin:"none",size:"small",color:"currentColor"})))),this.collapsible||this.hasInfo?t("div",{class:this.getClassNames(),id:this.expandId},t("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},t("span",{id:this.headerId},t("slot",{name:"header"})),this.hasInfo?t("span",null,t("span",{"aria-relevant":"all","aria-atomic":"true","aria-live":this.isInfoOpen?"polite":"off"},t("slot",{name:"info"})),t("slot",null)):t("span",null,t("slot",null))),this.isInfoOpen&&t(a,{moveFocusTo:this.infoButtonEl})):null)}get element(){return i(this)}};x.style='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.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:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms 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(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.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{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);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);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(144, 149, 153)}.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(144, 149, 153)}.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(116, 116, 117)}.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(116, 116, 117)}.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(116, 116, 117)}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !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(116, 116, 117) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.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{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !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(207, 207, 209) !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}.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(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@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:2px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(0, 119, 179)}.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(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.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, 245, 247);border-color:rgb(228, 228, 230)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.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(116, 116, 117)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.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(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}';const w=":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)",y=class{constructor(c){e(this,c),this.choiceGroupName="duet-choice-group",this.getChoices=()=>Array.from(this.element.querySelectorAll(w)),this.isMyChoice=e=>this.getChoices().includes(e),this.onSelect=e=>{if("duet-choice"!==e.detail.component)return;const c=e.target;c&&this.isMyChoice(c)&&(this.value=c.value),e.cancelBubble=!0},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption=void 0,this.tooltip=void 0,this.tooltipDirection="auto",this.responsive=!1,this.breakpoint="small",this.value=void 0,this.disabled=void 0}async connectedCallback(){const e=this.element;if(void 0===this.value){const c=k(e,w);void 0!==c&&(await c.componentOnReady(),void 0===this.value&&(this.value=c.value))}this.mutationO=v(e,w,(e=>{void 0!==e?e.componentOnReady().then((()=>{this.isMyChoice(e)&&(this.value=e.value)})):this.updateChoices()})),this.updateChoices()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){d(this)}componentDidLoad(){f(this)}async updateChoices(){const e=this.getChoices(),{value:c}=this;let t=!1;for(const o of e)o.name=this.name,o.groupDisabled=this.disabled,o.groupDirection=this.direction,o.groupResponsive=this.responsive,t||o.value!==c?o.checked=!1:(t=!0,o.checked=!0);t||(this.value=void 0)}render(){return t(o,{onDuetChange:this.onSelect,class:{horizontal:"horizontal"===this.direction,"duet-choice-group-breakpoint-x-small":this.responsive&&"x-small"===this.breakpoint,"duet-choice-group-breakpoint-small":this.responsive&&"small"===this.breakpoint,"duet-choice-group-breakpoint-medium":this.responsive&&"medium"===this.breakpoint,"duet-choice-group-breakpoint-large":this.responsive&&"large"===this.breakpoint,"duet-choice-group-breakpoint-x-large":this.responsive&&"x-large"===this.breakpoint}},t("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:!0,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme},this.tooltip&&t("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),t("div",{class:{[this.choiceGroupName]:!0,"duet-no-stacking":!this.responsive}},t("slot",null))))}get element(){return i(this)}static get watchers(){return{value:["updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}}};y.style="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";export{x as duet_choice,y as duet_choice_group}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,c as e,h as o,F as i,g as r}from"./p-ff9db811.js";import{a}from"./p-6fa39608.js";import{a as n}from"./p-f11208c3.js";import{D as d}from"./p-dade978b.js";import{i as s}from"./p-d48735b6.js";import{a as l,g as p,c as m,d as u}from"./p-4883df66.js";import{n as f}from"./p-040f8831.js";import{p as h}from"./p-1a395a8d.js";const c={fi:{lahi:"© LähiTapiola",turva:"© Turva"},sv:{lahi:"© LokalTapiola",turva:"© Turva"},en:{lahi:"© LocalTapiola",turva:"© Turva"}},g=(t,e)=>({component:"duet-footer",data:e,originalEvent:t}),x=class{constructor(o){t(this,o),this.duetChange=e(this,"duetChange",3),this.duetLogoClick=e(this,"duetLogoClick",7),this.duetMenuClick=e(this,"duetMenuClick",7),this.duetItemClick=e(this,"duetItemClick",7),this.duetAnalytics=e(this,"duetAnalytics",7),this.duetEvent=e(this,"duetEvent",7),this.handleClick=t=>{t.data.analyticsId&&this.duetAnalytics.emit({component:"duet-footer",analyticsId:t.data.analyticsId}),this.duetChange.emit(t)},this.handleLogoClick=t=>{const e=g(t,{href:this.logoHref,label:"logo"});this.duetLogoClick.emit(e),this.handleClick(e)},this.handleMenuClick=(t,e)=>{const o=g(t,e);this.handleClick(o),this.duetMenuClick.emit(o)},this.handleItemClick=(t,e)=>{const o=g(t,e);this.handleClick(o),this.duetItemClick.emit(o)},this.emitDuetEvent=(t,e)=>{this.duetEvent.emit({component:"duet-footer",data:e,originalEvent:t})},this.processedMainItem=null,this.processedItems=null,this.processedMenu=null,this.theme="",this.variation="default",this.margin="auto",this.logoHref="/",this.language=l(),this.items=void 0,this.accessibleLabel=void 0,this.accessibleLabelExternalDefaults=d,this.accessibleLabelExternal=p(this.accessibleLabelExternalDefaults),this.menu=void 0}componentWillLoad(){s(this),this.refresh(),this.hasInfoSlot=!!this.element.querySelector(":scope > [slot='info']")}componentDidLoad(){f(this)}connectedCallback(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){u(this)}async refresh(){this.processedItems=h(this.items),this.processedMenu=h(this.menu)}renderFooterTop(){const t=o("div",{class:{"footer-top-logo":this.hasInfoSlot}},"simple"!==this.variation&&o("duet-logo",{href:this.logoHref,onClick:this.handleLogoClick,size:"large",inverse:!0,language:this.language,theme:this.theme})),e=this.processedItems&&"simple"!==this.variation&&this.processedItems.map((t=>o("a",{class:"duet-footer-link",href:t.href,id:t.id,target:t.external?"_blank":"_self",onClick:e=>this.handleItemClick(e,t),onMouseEnter:e=>this.emitDuetEvent(e,t),onTouchStart:e=>this.emitDuetEvent(e,t)},o("div",{class:"duet-footer-icon"},o("duet-icon",{size:"medium",margin:"none",name:t.icon,color:"currentColor"})),o("span",null,t.label),!t.hideArrow&&o(i,null,t.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal),o("div",{class:"duet-footer-arrow"},o("duet-icon",t.external?{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>',size:"xx-small",margin:"none",color:"currentColor"}:{icon:a.svg,size:"auto",margin:"none",color:"currentColor"}))))));return o(i,null,t,this.hasInfoSlot?o("div",{class:"footer-top-right-container"},o("slot",{name:"info"}),o("div",{class:"footer-top-items"},e)):e)}render(){const t=p(c),e="turva"===this.theme?t.turva:t.lahi;return o("footer",{class:{"duet-footer":!0,"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme,"duet-footer-simple":"simple"===this.variation},"aria-label":this.accessibleLabel},o("div",{class:"duet-footer-wrapper"},o("div",{class:"duet-footer-top",part:"top"},this.renderFooterTop()),o("slot",{name:"extra"}),o("p",{class:"duet-footer-menu",part:"menu"},o("span",{class:"duet-footer-copyright"},`${e} ${(new Date).getFullYear()}`),o("div",{class:"duet-footer-menu-links"},this.processedMenu&&o(i,null,this.processedMenu.map((t=>o("a",{href:t.href,id:t.id,target:t.external?"_blank":"_self",onClick:e=>this.handleMenuClick(e,t),onMouseEnter:e=>this.emitDuetEvent(e,t),onTouchStart:e=>this.emitDuetEvent(e,t)},t.label,t.external&&o(i,null,o("duet-visually-hidden",null,", ",this.accessibleLabelExternal),o("div",{class:"duet-footer-external"},o("duet-icon",{icon:n.svg,size:"xx-small",margin:"none",color:"currentColor"}))),o("span",{class:"duet-footer-divider",role:"presentation","aria-hidden":"true"},"/"))))))),o("p",{class:"duet-footer-copyright duet-footer-copyright-mobile"},`${e} ${(new Date).getFullYear()}`)))}get element(){return r(this)}static get watchers(){return{menu:["refresh"],items:["refresh"]}}};x.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex-shrink:0;width:100%}::slotted([slot=info]){padding:0 28px;margin-top:36px}@media (min-width: 62em){::slotted([slot=info]){padding:0;margin:0}}.duet-footer{display:block;width:100%;padding-top:20px;padding-bottom:16px;margin-top:48px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(255, 255, 255);text-align:left;background:rgb(0, 41, 77)}.duet-footer.duet-p-0{padding:0 !important}.duet-footer.duet-m-0{margin:0 !important}@media (min-width: 36em){.duet-footer{padding-top:36px}}@media (min-width: 62em){.duet-footer{padding-top:48px;padding-bottom:36px}}.duet-footer.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background:rgb(198, 12, 48)}.duet-footer a{color:rgb(255, 255, 255);text-decoration:none}@media (min-width: 62em){.duet-footer a{border-radius:4px}}.duet-footer a:focus{outline:0}:host(.user-is-tabbing) .duet-footer a:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva a:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-footer-wrapper{position:relative;margin:0 auto}@media (min-width: 62em){.duet-footer-wrapper{padding:0 72px 0 48px}}@media (min-width: 76.25em){.duet-footer-wrapper{max-width:1110px;padding:0 20px 0 0}}.duet-footer-top{width:100%}@media (min-width: 62em){.duet-footer-top{display:flex;flex-direction:row;align-items:center;justify-content:space-between}}.duet-footer-top .footer-top-logo{flex-grow:1}.duet-footer-top .footer-top-right-container{flex-grow:1.5}.duet-footer-top .footer-top-items{display:flex;flex-direction:column;justify-content:space-between}@media (min-width: 62em){.duet-footer-top .footer-top-items{flex-direction:row}}duet-logo{margin-left:16px !important}@media (min-width: 36em){duet-logo{margin-left:28px !important}}@media (min-width: 62em){duet-logo{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-icon{display:flex;align-items:center;justify-content:center;padding:12px;margin-right:16px;background:rgb(0, 119, 179);border-radius:50%;transition:300ms ease}.duet-theme-turva .duet-footer-icon{background:transparent;box-shadow:0 0 0 1px #fff}a:hover .duet-footer-icon{background:#006ba1}.duet-theme-turva a:hover .duet-footer-icon{background:transparent}.duet-footer-arrow{display:flex;align-items:center;justify-content:center;width:20px;min-width:20px;max-width:20px;height:20px;max-height:20px;margin-left:auto;color:rgb(255, 255, 255);transition:transform 300ms ease}@media (min-width: 62em){.duet-footer-arrow{width:10px;min-width:10px;margin-top:3px;margin-left:8px}}@media (min-width: 62em){.duet-footer-arrow{margin-right:0}}a:hover .duet-footer-arrow{transform:translateX(4px)}.duet-footer-arrow duet-icon{width:20px;height:20px}@media (min-width: 62em){.duet-footer-arrow duet-icon{width:10px;height:10px}}.duet-footer-menu{padding:20px !important;display:flex;gap:2rem;font-size:0.875rem}@media (min-width: 36em){.duet-footer-menu{padding:28px !important}}@media (min-width: 62em){.duet-footer-menu{padding-left:8px !important}}.duet-footer-menu a{display:inline-block;text-decoration:none;word-break:break-all}.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{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:2rem;text-align:left}@media (min-width: 62em){.duet-footer-copyright.duet-footer-copyright-mobile{display:none}}.duet-footer-simple{padding:0;margin:0;margin-top:16px;color:rgb(0, 41, 77);background:transparent !important;border-top:1px solid rgb(225, 227, 230)}.duet-footer-simple .duet-footer-wrapper{max-width:100%;padding:0 20px;margin:0}@media (min-width: 62em){.duet-footer-simple .duet-footer-wrapper{padding:0 36px}}@media (min-width: 106.25em){.duet-footer-simple .duet-footer-wrapper{padding:0 48px}}.duet-footer-simple .duet-footer-copyright,.duet-footer-simple .duet-footer-menu a{color:rgb(0, 41, 77)}.duet-footer-simple .duet-footer-menu{padding:20px 0 !important}.duet-footer-simple .duet-footer-copyright-mobile{padding-left:0}.duet-footer-simple.duet-theme-turva{color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}.duet-footer-simple.duet-theme-turva .duet-footer-copyright,.duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 28, 58)}.duet-footer-external{display:inline-block;margin-left:4px;color:rgb(0, 119, 179)}.duet-theme-turva .duet-footer-external{color:rgb(255, 255, 255)}.duet-footer-simple.duet-theme-turva .duet-footer-external{color:rgb(198, 12, 48)}';export{x as duet_footer}
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function u(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{s(i.next(e))}catch(e){r(e)}}function a(e){try{s(i["throw"](e))}catch(e){r(e)}}function s(e){e.done?n(e.value):u(e.value).then(o,a)}s((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,u,r,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return s([e,t])}}function s(a){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(n=0)),n)try{if(i=1,u&&(r=a[0]&2?u["return"]:a[0]?u["throw"]||((r=u["return"])&&r.call(u),0):u.next)&&!(r=r.call(u,a[1])).done)return r;if(u=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;u=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){n.label=a[1];break}if(a[0]===6&&n.label<r[1]){n.label=r[1];r=a;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(a);break}if(r[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];u=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-07ae2d9c.system.js","./p-77b6e4ba.system.js","./p-c97109b5.system.js"],(function(e){"use strict";var t,n,i,u,r,o,a;return{setters:[function(e){t=e.r;n=e.c;i=e.h;u=e.H;r=e.g},function(e){o=e.i},function(e){a=e.n}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:8px;align-items:center;height:100%;padding:8px 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;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.active,.duet-popup-menu-item.active:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-popup-menu-item.active.duet-theme-turva,.duet-popup-menu-item.active:hover.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-popup-menu-item:hover{background:rgb(230, 242, 248)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}';var c=e("duet_popup_menu_item",function(){function e(e){var i=this;t(this,e);this.duetFocus=n(this,"duetFocus",7);this.duetBlur=n(this,"duetBlur",7);this.onFocus=function(e){i.focus=true;i.duetFocus.emit({originalEvent:e,value:i.value,component:"duet-popup-menu-item"})};this.onBlur=function(e){i.focus=false;i.duetBlur.emit({originalEvent:e,value:i.value,component:"duet-popup-menu-item"})};this.focus=false;this.accessibleLabel=undefined;this.theme="";this.url=undefined;this.external=false;this.value=undefined;this.leadingIcon=undefined;this.trailingIcon=undefined;this.trailingText=undefined;this.active=false}e.prototype.componentWillLoad=function(){o(this)};e.prototype.componentDidLoad=function(){a(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.isFocused=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.focus]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";var n={"duet-popup-menu-item":true,active:this.active,"duet-theme-turva":this.theme==="turva"};return i(u,null,i(t,{ref:function(t){return e.itemElement=t},tabIndex:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"menuitem","aria-label":this.accessibleLabel,class:n,value:this.value,href:this.url,target:this.external?"_blank":undefined,rel:this.external?"noopener":undefined},this.leadingIcon&&i("duet-icon",{name:this.leadingIcon,size:"xx-small",color:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),i("span",{class:"duet-popup-menu-item-label"},i("slot",null)),this.trailingIcon&&i("duet-icon",{name:this.trailingIcon,size:"xx-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&i("span",{class:"duet-popup-menu-item-trailing"},this.trailingText)))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());c.style=s}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function o(t){try{u(i.next(t))}catch(t){a(t)}}function s(t){try{u(i["throw"](t))}catch(t){a(t)}}function u(t){t.done?n(t.value):r(t.value).then(o,s)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return u([t,e])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(n=0)),n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];r=0}finally{i=a=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-07ae2d9c.system.js","./p-885b38a9.system.js","./p-77b6e4ba.system.js","./p-c97109b5.system.js"],(function(t){"use strict";var e,n,i,r,a,o,s;return{setters:[function(t){e=t.r;n=t.h;i=t.H;r=t.g},function(t){a=t.a},function(t){o=t.i},function(t){s=t.n}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;color:inherit;text-align:center;text-decoration:none;cursor:pointer}.duet-menu-bar-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-button:focus,.duet-menu-bar-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-button.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"}@media (min-width: 62em){.duet-menu-bar-button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-button{padding:0 28px}}@media (min-width: 62em){.duet-menu-bar-button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-button:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';var c=t("duet_menu_bar_button",function(){function t(t){var n=this;e(this,t);this.mql=[window.matchMedia(a.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="x-small";this.accessibleLabel=undefined;this.accessibleControls=undefined;this.accessiblePopup="false";this.accessibleActiveDescendant=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleExpanded=undefined;this.accessiblePressed=undefined;this.theme="";this.icon=undefined}t.prototype.componentWillLoad=function(){o(this)};t.prototype.componentDidLoad=function(){s(this)};t.prototype.connectedCallback=function(){this.changeIconSize();for(var t=0;t<this.mql.length;t++){if(this.mql[t].addEventListener){var e=this.changeIconSize.bind(this);this.mql[t].addEventListener("change",e);this.boundMqlFunctions[t]=e}}};t.prototype.disconnectedCallback=function(){for(var t=0;t<this.mql.length;t++){if(this.mql[t].removeEventListener){this.mql[t].removeEventListener("change",this.boundMqlFunctions[t])}}this.boundMqlFunctions=[]};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t=this;return n(i,{onfocus:function(){return t.setFocus()}},n("button",{ref:function(e){return t.nativeButton=e},class:{"duet-menu-bar-button":true,"duet-theme-turva":this.theme==="turva"},"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-pressed":this.accessiblePressed!=null?this.accessiblePressed.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined},this.icon&&n("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),n("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());c.style=u}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,s){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function o(t){try{u(s.next(t))}catch(t){r(t)}}function a(t){try{u(s["throw"](t))}catch(t){r(t)}}function u(t){t.done?n(t.value):i(t.value).then(o,a)}u((s=s.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,i,r,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return u([t,e])}}function u(a){if(s)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(n=0)),n)try{if(s=1,i&&(r=a[0]&2?i["return"]:a[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;if(i=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){n.label=a[1];break}if(a[0]===6&&n.label<r[1]){n.label=r[1];r=a;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(a);break}if(r[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];i=0}finally{s=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-07ae2d9c.system.js","./p-77b6e4ba.system.js","./p-1a91e22a.system.js","./p-8d0d6e06.system.js","./p-c97109b5.system.js"],(function(t){"use strict";var e,n,s,i,r,o,a,u,d;return{setters:[function(t){e=t.r;n=t.c;s=t.h;i=t.g;r=t.H},function(t){o=t.i},function(t){a=t.c},function(t){u=t.i},function(t){d=t.n}],execute:function(){var p={title:"action-edit-2",tags:"action edit 2 pen pencil",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'};var c='*.sc-duet-step,*.sc-duet-step::after,*.sc-duet-step::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-step-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-step.sc-duet-step{padding:20px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.duet-theme-turva.sc-duet-step{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top.sc-duet-step{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom.sc-duet-step{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom.sc-duet-step{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step.sc-duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading.sc-duet-step{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false].sc-duet-step{cursor:pointer}.duet-step-heading.sc-duet-step:focus{outline:0}.duet-step-heading.sc-duet-step:active{opacity:0.75}.user-is-tabbing.sc-duet-step-h .duet-step-heading.sc-duet-step:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-step-h .duet-theme-turva.sc-duet-step .duet-step-heading.sc-duet-step:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step,.is-disabled.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step{background-color:#005f8f}.duet-theme-turva.is-complete.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step,.duet-theme-turva.is-disabled.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step{background-color:#9e0a26}.is-current.sc-duet-step .duet-step-heading.sc-duet-step{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading.sc-duet-step{margin-top:8px;margin-bottom:8px !important}.sc-duet-step-h:first-of-type .duet-step-heading.sc-duet-step{margin-top:0}.sc-duet-step-h:last-of-type .duet-step-heading.sc-duet-step{margin-bottom:0 !important}}.duet-step-counter.sc-duet-step{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter.sc-duet-step{width:40px;height:40px;line-height:40px}}.is-complete.sc-duet-step .duet-step-counter.sc-duet-step,.is-current.sc-duet-step .duet-step-counter.sc-duet-step,.is-disabled.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete.sc-duet-step .duet-step-counter.sc-duet-step,.duet-theme-turva.is-current.sc-duet-step .duet-step-counter.sc-duet-step,.duet-theme-turva.is-disabled.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(198, 12, 48)}.is-incomplete.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(101, 119, 135)}.duet-theme-turva.is-incomplete.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(116, 116, 117)}.duet-step-icon.sc-duet-step{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon.sc-duet-step{width:20px;height:20px}}.duet-step-icon.sc-duet-step duet-icon.sc-duet-step{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon.sc-duet-step duet-icon.sc-duet-step{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper.sc-duet-step{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(225, 227, 230)}.duet-theme-turva.sc-duet-step .duet-step-content-wrapper.sc-duet-step{border-color:rgb(228, 228, 230)}.sc-duet-step-h:last-of-type .duet-step-content-wrapper.sc-duet-step{min-height:0;border:transparent}}.duet-step-content.sc-duet-step{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content.sc-duet-step{padding-bottom:28px}}.is-current.sc-duet-step .duet-step-content.sc-duet-step{display:block}.duet-step-heading-slot.sc-duet-step{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot.sc-duet-step{display:block}}';var h=t("duet_step",function(){function t(t){var s=this;e(this,t);this.duetStepClick=n(this,"duetStepClick",7);this.buttonId=a("DuetStepButton");this.contentId=a("DuetStepContent");this.handleKeyDown=function(t){if(s.isClickDisabled()){return}if(u(t)){t.preventDefault();s.handleStepClick(t)}};this.handleClick=function(t){if(s.isClickDisabled()){return}s.handleStepClick(t)};this.theme="";this.heading=undefined;this.headingLevel=undefined;this.stepIndex=undefined;this.state=undefined;this.roundedTop=false;this.roundedBottom=false}t.prototype.handleStepClick=function(t){this.duetStepClick.emit({originalEvent:t,component:"duet-step",stepIndex:this.stepIndex})};t.prototype.componentWillLoad=function(){o(this)};t.prototype.componentDidLoad=function(){d(this)};t.prototype.setFocus=function(t){if(t===void 0){t={preventScroll:true}}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.buttonElement.focus(t);return[2]}))}))};t.prototype.isClickDisabled=function(){return this.state!=="complete"};t.prototype.headingColor=function(){if(this.state!=="incomplete"){return""}if(this.theme!=="turva"){return"gray-darker"}else{return"gray-dark-turva"}};t.prototype.renderStepCounter=function(){if(this.state==="complete"||this.state==="disabled"){return s("div",{class:"duet-step-icon"},s("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:p.svg}))}return"".concat(this.stepIndex+1," ")};t.prototype.render=function(){var t;var e=this;{return s("div",{class:(t={"duet-step":true},t["is-".concat(this.state)]=true,t["rounded-top"]=this.roundedTop,t["rounded-bottom"]=this.roundedBottom,t["duet-theme-turva"]=this.theme==="turva",t)},s("div",{class:"duet-step-heading",id:this.buttonId,role:this.state!=="current"?"button":"region","aria-current":this.state==="current"?"step":undefined,tabindex:this.state!=="current"?"0":undefined,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":(this.state==="current").toString(),"aria-controls":this.contentId,"aria-selected":(this.state==="current").toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){return e.buttonElement=t}},s("div",{"aria-hidden":"true"},s("div",{class:"duet-step-counter"},this.renderStepCounter())),s("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),s("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),s("div",null,s("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),s("duet-spacer",{direction:"horizontal",size:"large"}),s("div",{class:"duet-step-heading-slot"},s("slot",{name:"heading-content"}))),s("div",{class:"duet-step-content-wrapper"},s("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},s("slot",null))))}};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());h.style=c;function l(t,e){var n={};e.forEach((function(e){var s=e[t];if(!n[s]){n[s]=[]}n[s].push(e)}));return n}var m=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";var g=t("duet_stepper",function(){function t(t){e(this,t);this.duetStepChange=n(this,"duetStepChange",7);this.theme="";this.accessibleLive="Lista jossa {total} kohtaa. Olet kohdassa {current}.";this.margin="auto";this.backDisabled=false;this.selected=0}t.prototype.currentStepChanged=function(t){var e=this;if(isNaN(t)){throw new Error("step must be a number. got: ".concat(t))}if(t<0){throw new Error("step must be not be less than zero. got: ".concat(t))}if(t>this.getSteps().length){throw new Error("step must not exceed total number of steps")}this.updateStepState();setTimeout((function(){return e.setStepFocus()}),50)};t.prototype.currentStepInvokedDisable=function(){this.updateStepState()};t.prototype.onDuetStepClick=function(t){this.duetStepChange.emit({fromStep:this.selected,toStep:t.detail.stepIndex,component:"duet-stepper"})};t.prototype.componentWillLoad=function(){o(this)};t.prototype.componentDidLoad=function(){d(this)};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.updateStepState();return[2]}))}))};t.prototype.getSteps=function(){return Array.from(this.element.querySelectorAll("duet-step"))};t.prototype.setStepFocus=function(){var t=this.getSteps();var e=t[this.selected];e.setFocus()};t.prototype.updateStepState=function(){var t=this;var e=this.getSteps();e.forEach((function(e,n){var s;if(n<t.selected){s=t.backDisabled?"disabled":"complete"}else if(n>t.selected){s="incomplete"}else{s="current"}e.theme=t.theme;e.state=s;e.stepIndex=n}));var n=l("state",e);Object.values(n).forEach((function(t){t.forEach((function(e,n){e.roundedTop=n===0;e.roundedBottom=n===t.length-1}))}))};t.prototype.formatAnnouncement=function(){var t=this.getSteps();var e=(this.selected+1).toString(10);var n=t.length.toString(10);return this.accessibleLive.replace("{current}",e).replace("{total}",n)};t.prototype.render=function(){return s(r,{class:{"duet-m-0":this.margin==="none"}},s("div",{class:{"duet-stepper":true,"duet-theme-turva":this.theme==="turva"}},s("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),s("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}},enumerable:false,configurable:true});return t}());g.style=m}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as o,H as t,g as r}from"./p-ff9db811.js";import{i as n}from"./p-d48735b6.js";import{f as a}from"./p-cc1909de.js";import{n as i}from"./p-040f8831.js";const s=class{constructor(o){e(this,o),this.getVariant=()=>(this.element.parentElement.parentElement.getAttribute("slot"),"right"),this.theme="",this.href="#",this.icon=void 0,this.accessibleLabel=void 0}componentWillLoad(){n(this)}componentDidLoad(){i(this)}handleEscape(e){if(a(e)){const e=this.element.closest("duet-menu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return o(t,null,o("a",{class:{"duet-menu-bar-dropdown-link":!0,[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]:!0,"duet-theme-turva":"turva"===this.theme},href:this.href,role:"menuitem",onKeyUp:e=>this.handleEscape(e),"aria-label":this.accessibleLabel},this.icon&&o("duet-icon",{theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("slot",null)))}get element(){return r(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 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;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-menu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown-link--slot-right:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link--slot-right:focus,.duet-menu-bar-dropdown-link--slot-right:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link--slot-right:hover{background:rgb(230, 242, 248)}.duet-menu-bar-dropdown-link--slot-right:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-menu-bar-dropdown-link--slot-below:hover{color:rgb(0, 77, 128);background:rgb(243, 249, 252)}.duet-menu-bar-dropdown-link--slot-below:hover.duet-theme-turva{color:rgb(148, 9, 37);background:rgb(228, 228, 230)}';export{s as duet_menu_bar_dropdown_link}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,h as e,H as i,g as s}from"./p-ff9db811.js";import{a as n}from"./p-64d43840.js";import{e as a,d as o}from"./p-141e14d0.js";import{i as r}from"./p-d48735b6.js";import{n as d}from"./p-040f8831.js";const u=class{constructor(e){t(this,e),this.mql=[window.matchMedia(n.replace(/'/g,""))],this.boundMqlFunctions=[],this.handleMobileView=()=>{this.mql[0].matches?(this.mobile=!1,this.enableBodyScroll()):(this.mobile=!0,this.bodyScroll||this.disableBodyScroll())},this.onClick=()=>{this.open=!this.open},this.enableBodyScroll=()=>{this.nav&&a(this.nav),this.itemsContainer&&a(this.itemsContainer)},this.disableBodyScroll=()=>{this.nav&&o(this.nav,{reserveScrollBarGap:!0}),this.itemsContainer&&o(this.itemsContainer,{reserveScrollBarGap:!0})},this.checkIfHasItems=()=>{const t=!!this.element.querySelector("duet-submenu-bar-dropdown-link"),e=!!this.element.querySelector("duet-submenu-bar-link");return t||e},this.mobile=!0,this.bodyScroll=!0,this.theme="",this.open=!1,this.accessibleLabel=void 0}watchOpenStateHandler(t){t?(this.bodyScroll=!1,this.disableBodyScroll()):(this.enableBodyScroll(),this.bodyScroll=!0)}componentWillLoad(){r(this);const t=Array.from(this.element.children);for(const e of t)e.setAttribute("role","listitem")}componentDidLoad(){d(this)}connectedCallback(){this.nav=document.querySelector("duet-nav > [slot='mobile']"),this.hasItems=this.checkIfHasItems(),this.handleMobileView();for(let t=0;t<this.mql.length;t++)if(this.mql[t].addEventListener){const e=this.handleMobileView.bind(this);this.mql[t].addEventListener("change",e),this.boundMqlFunctions[t]=e}}disconnectedCallback(){for(let t=0;t<this.mql.length;t++)this.mql[t].removeEventListener&&this.mql[t].removeEventListener("change",this.boundMqlFunctions[t]);this.boundMqlFunctions=[],this.enableBodyScroll()}async setFocus(t){this.button.focus(t)}render(){return e(i,null,e("nav",{class:{"duet-submenu-bar":!0,"duet-theme-turva":"turva"===this.theme},"aria-label":this.accessibleLabel},e("div",{class:"shadow-container",role:"presentation"},e("div",{class:"top-shadow"})),this.hasItems&&e("button",{ref:t=>this.button=t,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},e("div",{class:"label"},e("slot",{name:"label"}),e("duet-icon",{theme:this.theme,class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),e("div",{class:{"menu-container":!0,hidden:!this.open},role:"presentation"},e("div",{role:this.mobile?"menu":null,id:"menu","aria-labelledby":this.mobile?"button":null,"aria-expanded":this.mobile?this.open?"true":"false":null,class:{items:!0,hidden:!this.open},ref:t=>this.itemsContainer=t},e("div",{class:"list",role:this.mobile?"presentation":"list"},e("slot",null),e("div",{class:"list-padding"}))),e("div",{class:"mobile-background"}))))}get element(){return s(this)}static get watchers(){return{open:["watchOpenStateHandler"]}}};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;width:100%}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;background:rgb(243, 249, 252)}.duet-submenu-bar .shadow-container{position:absolute;width:100%;height:100%;overflow:hidden}.duet-submenu-bar .shadow-container .top-shadow{position:absolute;top:-52px;width:100%;height:52px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07)}@media (min-width: 62em){.duet-submenu-bar .shadow-container .top-shadow{top:-80px;height:80px;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(205, 229, 241)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{max-height:0;overflow:hidden;visibility:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;max-height:unset;overflow:visible;visibility:visible}}.duet-submenu-bar .items{width:100%;height:70vh;overflow-y:scroll;visibility:visible;background:rgb(243, 249, 252);border-bottom:1px solid rgb(207, 210, 212)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{max-height:0;overflow:hidden;visibility:hidden;border-bottom:0 solid rgb(207, 210, 212)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;visibility:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar .mobile-background{position:absolute;width:100%;height:100%;background:rgba(0, 41, 77, 0.6)}@media (min-width: 62em){.duet-submenu-bar .mobile-background{display:none}}.duet-submenu-bar.duet-theme-turva{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-submenu-bar.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 245, 247)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgba(23, 28, 58, 0.6)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}';export{u as duet_submenu_bar}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-07ae2d9c.system.js","./p-77b6e4ba.system.js","./p-c97109b5.system.js","./p-719b38fe.system.js","./p-9d033a04.system.js"],(function(t){"use strict";var e,o,i,n,a,r,s;return{setters:[function(t){e=t.r;o=t.h;i=t.H;n=t.g},function(t){a=t.i},function(t){r=t.n},function(t){s=t.g},function(){}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}';var p=t("duet_promo_card",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.backgroundColor="";this.textColor="secondary";this.image="";this.headingLevel="h3";this.url=undefined}t.prototype.componentWillLoad=function(){a(this);this.hasPreHeadingSlot=!!this.element.querySelector('[slot="pre-heading"]');this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]');this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]');this.hasActionSlot=!!this.element.querySelector('[slot="action"]')};t.prototype.componentDidLoad=function(){r(this)};t.prototype.render=function(){var t=s(this.backgroundColor,this.theme);var e={backgroundColor:t?t:"none"};var n=this.url?"a":"div";return o(i,{class:{"duet-m-0":this.margin==="none"}},o("aside",{class:{"duet-promo-card":true,"duet-theme-turva":this.theme==="turva","no-bg-color":!this.backgroundColor},style:e},o(n,{href:this.url,class:"content-wrapper"},o("img",{class:"image",src:this.image,alt:"",role:"presentation"}),o("div",{class:"content"},this.hasPreHeadingSlot&&o("div",{class:"pre-heading"},o("slot",{name:"pre-heading"})),this.hasHeadingSlot&&o("div",{class:"heading"},o("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},o("slot",{name:"heading"}))),this.hasDescriptionSlot&&o("div",{class:"description"},o("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},o("slot",{name:"description"}))),this.hasActionSlot&&o("div",{class:"action"},o("slot",{name:"action"}))))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());p.style=d}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function a(t){try{u(n.next(t))}catch(t){s(t)}}function r(t){try{u(n["throw"](t))}catch(t){s(t)}}function u(t){t.done?i(t.value):o(t.value).then(a,r)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,o,s,a;return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(t){return function(e){return u([t,e])}}function u(r){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,r[0]&&(i=0)),i)try{if(n=1,o&&(s=r[0]&2?o["return"]:r[0]?o["throw"]||((s=o["return"])&&s.call(o),0):o.next)&&!(s=s.call(o,r[1])).done)return s;if(o=0,s)r=[r[0]&2,s.value];switch(r[0]){case 0:case 1:s=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;o=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!s||r[1]>s[0]&&r[1]<s[3])){i.label=r[1];break}if(r[0]===6&&i.label<s[1]){i.label=s[1];s=r;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(r);break}if(s[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];o=0}finally{n=s=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-07ae2d9c.system.js","./p-ed5a5071.system.js","./p-77b6e4ba.system.js","./p-668716b8.system.js","./p-8d0d6e06.system.js","./p-8972381a.system.js","./p-c97109b5.system.js","./p-719b38fe.system.js","./p-b99c00fa.system.js","./p-9d033a04.system.js"],(function(t){"use strict";var e,i,n,o,s,a,r,u,d,l,c,h,f,p,g,b;return{setters:[function(t){e=t.r;i=t.c;n=t.h;o=t.H;s=t.g},function(t){a=t.d;r=t.e},function(t){u=t.i},function(t){d=t.F},function(t){l=t.f},function(t){c=t.a;h=t.c;f=t.d;p=t.g},function(t){g=t.n},function(t){b=t.g},function(){},function(){}],execute:function(){var m='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}:host slot:not([name=toggle])::slotted(*){position:relative;visibility:hidden;opacity:0}:host([open]) slot:not([name=toggle])::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%}.duet-slideout .desktop-bg{display:none}@media (min-width: 62em){.duet-slideout .desktop-bg{position:fixed;top:0;left:0;z-index:400;display:block;width:100%;height:100%;visibility:hidden;background:rgba(0, 41, 77, 0.6);opacity:0;transition:600ms ease}.duet-slideout .desktop-bg:not(.hidden){visibility:visible;opacity:1;transition:600ms ease}}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgba(23, 28, 58, 0.6)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:400;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}::slotted(*){width:100%}slot{color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=toggle]{color:inherit}';var v=t("duet_slideout",function(){function t(t){var n=this;e(this,t);this.duetSlideoutEvent=i(this,"duetSlideoutEvent",7);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.handleBodyScrolling=function(){if(n.displaying&&n.open){a(n.dialog,{reserveScrollBarGap:true})}else{r(n.dialog)}};this.toggleMenu=function(t){var e=!n.open;n.open=e;n.openButton.setAttribute("aria-expanded",n.open.toString());n.duetSlideoutEvent.emit({originalEvent:t,data:{element:n.element,open:n.open},component:"duet-slideout"});if(e){var i=n.element.querySelector("duet-slideout-panel[open]");if(i){i.setFocus();n.handleBodyScrolling()}else{setTimeout((function(){n.closeButton.focus();n.handleBodyScrolling()}),200)}}else{setTimeout((function(){n.openButton.setFocus();n.handleBodyScrolling()}),200)}};this.onClick=function(t){n.toggleMenu(t)};this.language=c();this.displaying=false;this.theme="";this.open=false;this.backgroundColor="gray-lightest"}t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=new CustomEvent("toggle");this.toggleMenu(t);setTimeout((function(){e.closeButton.focus()}),200);return[2]}))}))};t.prototype.componentWillLoad=function(){var t=this;u(this);{this.openButton=this.element.querySelector(":scope > [slot='toggle']")}if(this.openButton){this.openButton.accessiblePopup="true";this.openButton.accessibleExpanded=false;this.openButton.addEventListener("click",(function(e){e.stopPropagation();e.preventDefault();t.onClick(e)}));this.openButton=this.openButton}};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){this.intersectionObserver=new IntersectionObserver((function(e){if(e[0].isIntersecting){t.displaying=true}else{t.displaying=false}t.handleBodyScrolling()}));this.intersectionObserver.observe(this.dialog);g(this);return[2]}))}))};t.prototype.connectedCallback=function(){h(this)};t.prototype.disconnectedCallback=function(){f(this);r(this.dialog);this.intersectionObserver.disconnect()};t.prototype.handleKeyUp=function(t){if(l(t)){if(this.open){this.toggleMenu(t)}}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.openButton.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;var e={background:b(this.backgroundColor,this.theme)};var i=p(this.exitLangObject);return n(o,null,n("div",{class:{"duet-slideout":true,"duet-theme-turva":this.theme==="turva"}},n("slot",{name:"toggle"}),n("div",{class:{"desktop-bg":true,hidden:!this.open},onClick:function(){t.open=false}}),n("div",{ref:function(e){return t.dialog=e},tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":this.isSafariBrowser?false:true,"aria-flowto":"menubar",class:{dialog:true,hidden:!this.open},style:e},n(d,{moveFocusTo:this.closeButton}),n("div",{class:"top"},n("button",{ref:function(e){return t.closeButton=e},"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":"".concat(i),type:"button",class:{"slideout-close":true,active:this.open},onClick:this.onClick},n("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),n("div",{id:"menubar",role:"menubar",class:{items:true}},n("slot",null)),n(d,{moveFocusTo:this.closeButton}))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());v.style=m}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-9d033a04.system.js"],(function(r){"use strict";var n,t,i,u,e,a,f,o,v,c;return{setters:[function(r){n=r.m;t=r.a;i=r.b;u=r.c;e=r.d;a=r.e;f=r.f;o=r.g;v=r.h;c=r.t}],execute:function(){r({c:p,g:j,r:y,s:O});var s=["turva"];function d(r){var n=r.includes("-");var t=r.includes(" ")||r.includes("_");var i=r.charAt(0)==="-";return n&&!t&&!i}function l(r){if(r===void 0){r=""}return"".concat(r.charAt(0).toUpperCase()).concat(r.slice(1))}function x(r){if(r===void 0){r=""}return"".concat(r.charAt(0).toLowerCase()).concat(r.slice(1))}function m(r){if(r===void 0){r=""}var n=r.split("-");n.forEach((function(r,t){n[t]=l(r)}));return n.join("")}function g(r){if(r===void 0){r=""}if(s.includes(r.toLowerCase())){return r.toLowerCase()}return""}function p(r){return r.charAt(0).toUpperCase()+r.slice(1)}function I(r,n){if(n===void 0){n=""}return n.indexOf(p(r))===0||n.indexOf(r)===0}function b(r,n){if(n===void 0){n=""}if(n&&!d(n)&&!I(r,n)){return"".concat(r).concat(l(n))}return n}function h(r,n){var t=g(n).length;if(t&&r.indexOf(n)===-1){return"".concat(r).concat(l(n))}return r}function j(r,n){if(n===void 0){n=""}if(!r){return undefined}var t=M(r);var i=M(r,n);var u=c[i];if(!u){u=c[t]}return u}function M(r,n){if(r===void 0){r=""}if(n===void 0){n=""}var t=r;var i=d(r);if(i){t=m(t)}t=b("color",t);t=h(t,n);t=x(t);return t}function y(r,n){if(!r||n!==0&&!n){return undefined}var t=r.split(",");var i=parseInt(t[0].slice(4)),u=parseInt(t[1]),e=parseInt(t[2]);return"rgba(".concat(i,",").concat(u,",").concat(e,",").concat(n,")")}function O(r,n){var t=r.split(","),i=n<0?0:255,u=n<0?n*-1:n;var e=parseInt(t[0].slice(4)),a=parseInt(t[1]),f=parseInt(t[2]);e=Math.round((i-e)*u)+e;a=Math.round((i-a)*u)+a;f=Math.round((i-f)*u)+f;e=e<0?0:e;e=e>255?255:e;a=a<0?0:a;a=a>255?255:a;f=f<0?0:f;f=f>255?255:f;return"rgb(".concat(e,",").concat(a,",").concat(f,")")}var S=function(r){return r.substring(1,r.length-1)};var _=r("a",{"xxx-small":S(v),"xx-small":S(n),"x-small":S(t),small:S(i),medium:S(u),large:S(e),"x-large":S(a),"xx-large":S(f),"xxx-large":S(o)});var k=r("b",Object.keys(_).filter((function(r){return r.indexOf("x-small")!==-1})));Object.keys(_).filter((function(r){return!k.includes(r)}))}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,c as i,h as e,H as o,g as n}from"./p-ff9db811.js";import{i as c}from"./p-d48735b6.js";import{c as r}from"./p-45f71a69.js";import{n as a}from"./p-040f8831.js";const d=class{constructor(e){t(this,e),this.duetChange=i(this,"duetChange",3),this.duetFocus=i(this,"duetFocus",7),this.duetBlur=i(this,"duetBlur",7),this.chipId=r("DuetChip"),this.popupSetUp=()=>{const t=document.querySelector(`duet-popup-menu#${this.popup}`);if(t){this.popupElement=t,t.controller=this.element;const i=this.element.textContent,e=this.value;t.id||(t.id="popup-menu"),t.addEventListener("duetToggle",(t=>{this.popupOpen=t.detail.open}));const o=()=>{t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.active=!1}))};t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.addEventListener("click",(n=>{var c;const r=null!==(c=t.value)&&void 0!==c?c:t.innerText;t.active?(o(),this.element.textContent=i,this.value=e,this.checked=!1):(o(),t.active=!0,this.element.textContent=t.innerText,this.value=r,this.checked=!0),this.emitChange(n),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=t=>{this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=t=>{this.checked=!this.checked,this.emitChange(t)},this.onRadioChange=t=>{this.checked=this.focusableElement.checked,this.emitChange(t)},this.onFilterClick=t=>{if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.popupElement&&(t.stopPropagation(),t.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=t=>{t.stopPropagation(),t.preventDefault(),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.accessibleLabel=void 0,this.variation="button",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.checked=!1,this.disabled=!1}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((t=>{t!==this.element&&(t.checked=!1)}))}componentWillLoad(){c(this),this.popupSetUp()}componentDidLoad(){a(this)}async setFocus(t){setTimeout((()=>this.focusableElement.focus(t)),200)}render(){var t;const i=this.identifier||this.chipId,n={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"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},c={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.focusableElement=t};return e(o,null,"button"===this.variation&&e("div",{class:n},e("button",Object.assign({id:i,"aria-label":this.accessibleLabel,"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?t=>t.stopPropagation():void 0},c),e("div",{class:"duet-chip-icon-container"},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),e("slot",null))),"input"===this.variation&&e("div",{class:n},e("button",Object.assign({id:i,class:"duet-chip-input-button","aria-label":this.accessibleLabel},c),e("div",{class:"duet-chip-icon-container"},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),e("slot",null)),e("button",{class:"duet-chip-remove-button",onClick:this.onRemoveClick},e("duet-icon",{name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&e("div",{class:n},e("input",Object.assign({"aria-haspopup":this.popupElement&&"menu","aria-controls":null===(t=this.popupElement)||void 0===t?void 0:t.id,"aria-expanded":this.popupElement?this.popupOpen?"true":"false":void 0,"aria-disabled":this.disabled?"true":void 0,id:i,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},c)),e("label",{htmlFor:i},e("div",{class:"duet-chip-icon-container"},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),e("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),e("slot",null),this.popupElement&&e("div",{class:"duet-chip-popup-disclosure"},e("duet-icon",{name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&e("div",{class:n},e("input",Object.assign({"aria-disabled":this.disabled?"true":void 0,id:i,type:"radio",name:this.name,value:this.value,checked:this.checked,onChange:this.onRadioChange,onClick:this.disabled?t=>t.preventDefault():void 0},c)),e("label",{htmlFor:i},e("div",{class:"duet-chip-icon-container"},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),e("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),e("slot",null))))}get element(){return n(this)}static get watchers(){return{checked:["clearOtherRadioButtons"]}}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right: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}.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(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(144, 149, 153);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(23, 28, 58)}.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(101, 119, 135) !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(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.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, 245, 247);border-color:rgb(245, 245, 247)}.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:7px 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;color:rgb(0, 41, 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:10px}.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:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow: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{background:rgb(230, 242, 248);border-color:rgb(230, 242, 248)}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241);border-color:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked button,.duet-chip-container.duet-chip-filter-checked label,.duet-chip-container.duet-chip-radio-checked button,.duet-chip-container.duet-chip-radio-checked 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;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;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(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230);border-color:rgb(228, 228, 230)}.duet-chip-container div.duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container div.duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}:host(.user-is-tabbing) .duet-chip-focus{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{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}';export{d as duet_chip}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register([],(function(t){"use strict";return{execute:function(){var e=t("h",(function(t,e){return!!t.querySelector(":scope > [slot='".concat(e,"']"))}))}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-8972381a.system.js","./p-b99c00fa.system.js"],(function(e){"use strict";var n,t;return{setters:[function(e){n=e.g},function(e){t=e.p}],execute:function(){var r=e("g",(function(e,n){var r={type:undefined,system_message:undefined,message:undefined};n=t(n);r=n.filter((function(n){return n.type==e}))[0];if(!r){r=n.filter((function(e){return e.type==="default"}))[0]}return r}));var u=e("a",(function(e,t){var u=r(e,t);var s=n(u.message);if(s===""||!s){return u.system_message}else{return s}}))}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-a7c2017b.system.js","./p-33b3aba4.system.js","./p-b760c72b.system.js","./p-9d033a04.system.js"],(function(e){"use strict";var t,i,a,h,r,d;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){r=e.i},function(e){d=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";var n=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e=d(this.color);return i("div",{class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());n.style=s;var p=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var o=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());o.style=p}}}));
4
+ System.register(["./p-07ae2d9c.system.js","./p-77b6e4ba.system.js","./p-719b38fe.system.js","./p-9d033a04.system.js"],(function(e){"use strict";var t,i,a,h,d,r;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){d=e.i},function(e){r=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";var n=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e=r(this.color);return i("div",{class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());n.style=s;var p=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var m=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());m.style=p}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register([],(function(e){"use strict";return{execute:function(){var t=e("i",(function(e){var t=Array.from(document.documentElement.classList).join(" ")||"";var n=/(duet-theme-)([a-z]*)/gis.exec(t);if(n&&n[1]==="duet-theme-"){e.theme=n[2]==="default"?"":n[2]}}))}}}));
4
+ System.register([],(function(e){"use strict";return{execute:function(){var t=e("i",(function(e){var t=Array.from(document.documentElement.classList).join(" ")||"";var u=/(duet-theme-)([a-z]*)/gis.exec(t);if(u&&u[1]==="duet-theme-"){e.theme=u[2]==="default"?"":u[2]}}))}}}));