@duetds/components 9.7.2 → 9.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (721) hide show
  1. package/hydrate/index.js +147 -142
  2. package/lib/cjs/{a11y-utils-ae1e63c4.js → a11y-utils-a2456285.js} +1 -1
  3. package/lib/cjs/{app-globals-540cd51d.js → app-globals-d1845172.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  10. package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
  11. package/lib/cjs/duet-callout.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +10 -9
  13. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-chip.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  19. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -5
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-footer.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +46 -42
  30. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-hero.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  33. package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
  34. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  44. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  46. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
  50. package/lib/cjs/duet-phone-input.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +12 -9
  52. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  56. package/lib/cjs/duet-scrollable_3.cjs.entry.js +5 -5
  57. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-slideout-lang.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-slideout-link.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-slideout-panel.cjs.entry.js +6 -6
  65. package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
  66. package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  70. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -4
  71. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  73. package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
  74. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-toolbar-item.cjs.entry.js +4 -4
  78. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  79. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  80. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +7 -6
  81. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  82. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  83. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  84. package/lib/cjs/duet-upload-item.cjs.entry.js +3 -3
  85. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  86. package/lib/cjs/duet.cjs.js +3 -3
  87. package/lib/cjs/{errorcodes.utils-b47aaa45.js → errorcodes.utils-f65f1fe3.js} +1 -1
  88. package/lib/cjs/{floating-ui.dom.esm-806e7c53.js → floating-ui.dom.esm-bdde8521.js} +50 -27
  89. package/lib/cjs/{focus-utils-c4163f8f.js → focus-utils-923b8b88.js} +1 -1
  90. package/lib/cjs/{index-00821d28.js → index-3d8a31a0.js} +1 -1
  91. package/lib/cjs/{language-utils-77bf1c27.js → language-utils-53bb7035.js} +1 -1
  92. package/lib/cjs/loader.cjs.js +3 -3
  93. package/lib/cjs/{slot-utils-55f6a689.js → slot-utils-f85c14a2.js} +1 -1
  94. package/lib/cjs/{token-utils-12717808.js → token-utils-6258d3f7.js} +1 -1
  95. package/lib/cjs/{tokens-57e06fe4.js → tokens-e6fda5ee.js} +2 -3
  96. package/lib/cjs/{tokens.module-46ddb47a.js → tokens.module-a7c77c13.js} +2 -2
  97. package/lib/cjs/{watch-options-30a12622.js → watch-options-31527e7b.js} +0 -20
  98. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  99. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  100. package/lib/collection/components/duet-banner/duet-banner.js +1 -1
  101. package/lib/collection/components/duet-button/duet-button.js +5 -5
  102. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  103. package/lib/collection/components/duet-card/duet-card.js +3 -3
  104. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  105. package/lib/collection/components/duet-chip/duet-chip.js +6 -6
  106. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  107. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  108. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  109. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  110. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  111. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  112. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  113. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  114. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  115. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  116. package/lib/collection/components/duet-grid/duet-grid.js +50 -49
  117. package/lib/collection/components/duet-header/duet-header.js +15 -15
  118. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  119. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  120. package/lib/collection/components/duet-input/duet-input.js +8 -8
  121. package/lib/collection/components/duet-label/duet-label.js +2 -2
  122. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  123. package/lib/collection/components/duet-link/duet-link.css +33 -11
  124. package/lib/collection/components/duet-link/duet-link.js +4 -3
  125. package/lib/collection/components/duet-list/duet-list.js +3 -3
  126. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  127. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  128. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +1 -1
  129. package/lib/collection/components/duet-modal/duet-modal.js +4 -4
  130. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  131. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  132. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  133. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  134. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  135. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  136. package/lib/collection/components/duet-phone-input/duet-phone-input.js +4 -4
  137. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +9 -6
  138. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  139. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  140. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  141. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  142. package/lib/collection/components/duet-select/duet-select.js +5 -5
  143. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  144. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  145. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  146. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  147. package/lib/collection/components/duet-step/duet-step.js +2 -2
  148. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  149. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  150. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  151. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  152. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -2
  153. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  154. package/lib/collection/components/duet-tooltip/duet-tooltip.js +2 -2
  155. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  156. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  157. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  158. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  159. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  160. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  161. package/lib/dist-custom-elements/duet-alert.js +1 -1
  162. package/lib/dist-custom-elements/duet-badge.js +1 -1
  163. package/lib/dist-custom-elements/duet-banner.js +4 -4
  164. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  165. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  166. package/lib/dist-custom-elements/duet-button.js +1 -1
  167. package/lib/dist-custom-elements/duet-callout.js +2 -2
  168. package/lib/dist-custom-elements/duet-caption.js +1 -1
  169. package/lib/dist-custom-elements/duet-card.js +4 -4
  170. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  171. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  172. package/lib/dist-custom-elements/duet-chip.js +1 -1
  173. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  174. package/lib/dist-custom-elements/duet-choice.js +4 -4
  175. package/lib/dist-custom-elements/duet-collapsible.js +4 -4
  176. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  177. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  178. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  179. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  180. package/lib/dist-custom-elements/duet-divider.js +1 -1
  181. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  182. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  183. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  184. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  185. package/lib/dist-custom-elements/duet-footer.js +7 -7
  186. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  187. package/lib/dist-custom-elements/duet-grid.js +1 -1
  188. package/lib/dist-custom-elements/duet-header.js +9 -9
  189. package/lib/dist-custom-elements/duet-heading.js +1 -1
  190. package/lib/dist-custom-elements/duet-hero.js +9 -9
  191. package/lib/dist-custom-elements/duet-icon.js +1 -1
  192. package/lib/dist-custom-elements/duet-input.js +1 -1
  193. package/lib/dist-custom-elements/duet-label.js +1 -1
  194. package/lib/dist-custom-elements/duet-layout.js +1 -1
  195. package/lib/dist-custom-elements/duet-link.js +1 -1
  196. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  197. package/lib/dist-custom-elements/duet-list.js +1 -1
  198. package/lib/dist-custom-elements/duet-logo.js +1 -1
  199. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  200. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  201. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  202. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  203. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  204. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  205. package/lib/dist-custom-elements/duet-modal.js +8 -8
  206. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  207. package/lib/dist-custom-elements/duet-nav.js +1 -1
  208. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  209. package/lib/dist-custom-elements/duet-notification.js +2 -2
  210. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  211. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  212. package/lib/dist-custom-elements/duet-page-heading.js +3 -3
  213. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  214. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  215. package/lib/dist-custom-elements/duet-phone-input.js +16 -16
  216. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  217. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  218. package/lib/dist-custom-elements/duet-progress.js +1 -1
  219. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  220. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  221. package/lib/dist-custom-elements/duet-radio.js +1 -1
  222. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  223. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  224. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  225. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  226. package/lib/dist-custom-elements/duet-select.js +1 -1
  227. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  228. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  229. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  230. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  231. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  232. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  233. package/lib/dist-custom-elements/duet-slideout.js +4 -4
  234. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  235. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  236. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  237. package/lib/dist-custom-elements/duet-step.js +4 -4
  238. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  239. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  240. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  241. package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
  242. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  243. package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
  244. package/lib/dist-custom-elements/duet-tab-group.js +7 -7
  245. package/lib/dist-custom-elements/duet-tab.js +2 -2
  246. package/lib/dist-custom-elements/duet-table.js +1 -1
  247. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  248. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  249. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  250. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  251. package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
  252. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  253. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  254. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  255. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  256. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  257. package/lib/dist-custom-elements/duet-tray.js +6 -6
  258. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  259. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  260. package/lib/dist-custom-elements/duet-upload.js +20 -20
  261. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  262. package/lib/dist-custom-elements/index.js +1 -1
  263. package/lib/dist-custom-elements/{p-cc3db4b5.js → p-04762e09.js} +3 -3
  264. package/lib/dist-custom-elements/{p-294be03e.js → p-0d73c2f1.js} +47 -44
  265. package/lib/dist-custom-elements/{p-b2209719.js → p-0e65f2d7.js} +10 -10
  266. package/lib/dist-custom-elements/{p-f2c2f3d2.js → p-0e694c06.js} +1 -1
  267. package/lib/dist-custom-elements/{p-ef48f2c7.js → p-153359ff.js} +1 -1
  268. package/lib/dist-custom-elements/{p-2f35ab6d.js → p-2a6040d0.js} +5 -5
  269. package/lib/dist-custom-elements/{p-2c553cff.js → p-30c1366b.js} +2 -2
  270. package/lib/dist-custom-elements/{p-cc4d7cd3.js → p-30ef95ec.js} +2 -2
  271. package/lib/dist-custom-elements/{p-8dc35603.js → p-31dbfae1.js} +7 -6
  272. package/lib/dist-custom-elements/{p-5830b545.js → p-364b7287.js} +2 -2
  273. package/lib/dist-custom-elements/{p-60321ce4.js → p-3c4c4976.js} +2 -2
  274. package/lib/dist-custom-elements/{p-65a2c6d6.js → p-40ede289.js} +5 -5
  275. package/lib/dist-custom-elements/{p-90074c50.js → p-4365799e.js} +5 -4
  276. package/lib/dist-custom-elements/{p-198d7866.js → p-498c5db1.js} +2 -2
  277. package/lib/dist-custom-elements/{p-d8dddc51.js → p-4e2c2dde.js} +5 -5
  278. package/lib/dist-custom-elements/{p-521ea41a.js → p-5330f4d6.js} +2 -2
  279. package/lib/dist-custom-elements/{p-92f53ff1.js → p-5980607d.js} +1 -1
  280. package/lib/dist-custom-elements/{p-5c9414bb.js → p-59a8e5d4.js} +1 -1
  281. package/lib/dist-custom-elements/{p-30c909e0.js → p-614647ec.js} +2 -2
  282. package/lib/dist-custom-elements/{p-28e818db.js → p-685e9f01.js} +3 -3
  283. package/lib/dist-custom-elements/{p-4c179c1e.js → p-6f42296b.js} +2 -2
  284. package/lib/dist-custom-elements/{p-fcea7cb2.js → p-7247730a.js} +10 -10
  285. package/lib/dist-custom-elements/{p-6e022235.js → p-77260ba8.js} +1 -1
  286. package/lib/dist-custom-elements/{p-f0e6f0d8.js → p-7fc5f0dc.js} +1 -1
  287. package/lib/{esm/watch-options-e96ecd92.js → dist-custom-elements/p-8a5bd61a.js} +1 -20
  288. package/lib/dist-custom-elements/{p-9cd492a4.js → p-8d795f62.js} +2 -2
  289. package/lib/dist-custom-elements/{p-821b01b0.js → p-991fa955.js} +3 -3
  290. package/lib/dist-custom-elements/{p-3c061dcb.js → p-9978e596.js} +1 -1
  291. package/lib/dist-custom-elements/{p-d383dac5.js → p-9a109585.js} +56 -33
  292. package/lib/dist-custom-elements/{p-3e0e12ca.js → p-9e65e6c5.js} +4 -4
  293. package/lib/dist-custom-elements/{p-bb35f7e7.js → p-a80179a7.js} +1 -1
  294. package/lib/dist-custom-elements/{p-b16d3074.js → p-ad18c534.js} +20 -17
  295. package/lib/dist-custom-elements/{p-1b9771cc.js → p-b29b6605.js} +2 -2
  296. package/lib/dist-custom-elements/{p-a42d6be2.js → p-b78caef0.js} +7 -7
  297. package/lib/dist-custom-elements/{p-874675e6.js → p-c4fbeffc.js} +1 -1
  298. package/lib/dist-custom-elements/{p-4ce79667.js → p-c824afc6.js} +2 -2
  299. package/lib/dist-custom-elements/{p-3fda4c4e.js → p-c8aa0c8c.js} +8 -8
  300. package/lib/dist-custom-elements/{p-931ac5ac.js → p-d0fa2af7.js} +2 -2
  301. package/lib/dist-custom-elements/{p-f6000a03.js → p-d32bd233.js} +3 -3
  302. package/lib/dist-custom-elements/{p-9b364696.js → p-dda43548.js} +1 -1
  303. package/lib/dist-custom-elements/{p-e9121d56.js → p-e3decce6.js} +2 -2
  304. package/lib/dist-custom-elements/{p-e096b297.js → p-eafee3ad.js} +5 -5
  305. package/lib/dist-custom-elements/{p-1bc9fed2.js → p-ebecd579.js} +2 -2
  306. package/lib/dist-custom-elements/{p-ac057b32.js → p-f0d133ad.js} +2 -2
  307. package/lib/duet/duet.esm.js +1 -1
  308. package/lib/duet/duet.js +1 -1
  309. package/lib/duet/{p-69e3ec89.entry.js → p-00eead31.entry.js} +1 -1
  310. package/lib/duet/p-00feb58c.system.entry.js +4 -0
  311. package/lib/duet/{p-fee19c9f.entry.js → p-01182f5e.entry.js} +1 -1
  312. package/lib/duet/{p-c760a6bc.system.entry.js → p-018b754d.system.entry.js} +1 -1
  313. package/lib/duet/{p-91d4e473.entry.js → p-01c72f8e.entry.js} +1 -1
  314. package/lib/duet/{p-2e66d74b.entry.js → p-02ce78c7.entry.js} +1 -1
  315. package/lib/duet/{p-4952116e.entry.js → p-02ea4090.entry.js} +1 -1
  316. package/lib/duet/{p-b49e5c58.system.entry.js → p-038e3b41.system.entry.js} +1 -1
  317. package/lib/duet/{p-4853837e.system.entry.js → p-03ec5f79.system.entry.js} +1 -1
  318. package/lib/duet/{p-142afd63.entry.js → p-03ff933b.entry.js} +1 -1
  319. package/lib/duet/{p-56ad7189.system.js → p-058dde3c.system.js} +1 -1
  320. package/lib/duet/{p-d384e575.entry.js → p-09bd9f19.entry.js} +1 -1
  321. package/lib/duet/{p-7fed5b14.system.entry.js → p-09cb29f2.system.entry.js} +1 -1
  322. package/lib/duet/{p-f8314996.system.entry.js → p-0aaa3c39.system.entry.js} +1 -1
  323. package/lib/duet/{p-f6cbe5d9.system.entry.js → p-0c8421f5.system.entry.js} +1 -1
  324. package/lib/duet/{p-ba08c98a.entry.js → p-0fa57cb4.entry.js} +1 -1
  325. package/lib/duet/{p-9a43132b.system.js → p-122d1eb2.system.js} +1 -1
  326. package/lib/duet/{p-facb3115.entry.js → p-13381697.entry.js} +1 -1
  327. package/lib/duet/{p-1004af75.js → p-17efced0.js} +1 -1
  328. package/lib/duet/{p-9c75c38d.entry.js → p-198b651e.entry.js} +1 -1
  329. package/lib/duet/{p-e51d65c9.entry.js → p-1b7c607c.entry.js} +1 -1
  330. package/lib/duet/{p-229649f1.system.entry.js → p-1d5686e9.system.entry.js} +2 -2
  331. package/lib/duet/{p-f11db08e.system.entry.js → p-1d81cad7.system.entry.js} +1 -1
  332. package/lib/duet/{p-744b8ee1.js → p-1ebe06b3.js} +1 -1
  333. package/lib/duet/{p-14857c6a.system.entry.js → p-22ab9afa.system.entry.js} +1 -1
  334. package/lib/duet/{p-171a126f.entry.js → p-242b4466.entry.js} +1 -1
  335. package/lib/duet/{p-6d0be00f.entry.js → p-26095d4c.entry.js} +1 -1
  336. package/lib/duet/{p-25caa9f7.entry.js → p-26ec4dbe.entry.js} +1 -1
  337. package/lib/duet/{p-bf9205ac.system.entry.js → p-2cd44aef.system.entry.js} +1 -1
  338. package/lib/duet/{p-64a9d71c.system.entry.js → p-2f2954b2.system.entry.js} +1 -1
  339. package/lib/duet/{p-b562ad7e.entry.js → p-315b2470.entry.js} +1 -1
  340. package/lib/duet/p-32c98c69.system.entry.js +4 -0
  341. package/lib/duet/{p-f2ccd2cc.system.entry.js → p-34a25d95.system.entry.js} +1 -1
  342. package/lib/duet/{p-101d8dd9.system.entry.js → p-35d29de1.system.entry.js} +1 -1
  343. package/lib/duet/{p-e4d173cc.entry.js → p-35ef7ec4.entry.js} +1 -1
  344. package/lib/duet/p-36ea2c29.entry.js +4 -0
  345. package/lib/duet/{p-b40ce0fa.entry.js → p-36f4e631.entry.js} +1 -1
  346. package/lib/duet/{p-cab23b7f.entry.js → p-3848cdc3.entry.js} +1 -1
  347. package/lib/duet/{p-22a75312.entry.js → p-3e748a32.entry.js} +1 -1
  348. package/lib/duet/{p-9eb022e9.system.entry.js → p-40c929c7.system.entry.js} +1 -1
  349. package/lib/duet/{p-fcafbcd4.entry.js → p-40de9bfa.entry.js} +1 -1
  350. package/lib/duet/p-411366b0.system.js +4 -0
  351. package/lib/duet/{p-905072e0.entry.js → p-41b3ba17.entry.js} +1 -1
  352. package/lib/duet/{p-9c155069.system.entry.js → p-451b4abc.system.entry.js} +1 -1
  353. package/lib/duet/{p-d9e3c5d3.entry.js → p-457fc76a.entry.js} +1 -1
  354. package/lib/duet/{p-e80dd41f.system.entry.js → p-47c86331.system.entry.js} +1 -1
  355. package/lib/duet/{p-ebb8d192.entry.js → p-4ed96d6a.entry.js} +1 -1
  356. package/lib/duet/{p-c3e52ce9.system.entry.js → p-52a7b68f.system.entry.js} +1 -1
  357. package/lib/duet/{p-b75e6fd7.entry.js → p-575df633.entry.js} +1 -1
  358. package/lib/duet/{p-5e0654cc.system.js → p-57dbe566.system.js} +1 -1
  359. package/lib/duet/{p-0511fd26.system.js → p-585fb676.system.js} +1 -1
  360. package/lib/duet/{p-9bd3407d.system.entry.js → p-58c9bd19.system.entry.js} +1 -1
  361. package/lib/duet/{p-d3bde4cc.system.entry.js → p-5939ca51.system.entry.js} +1 -1
  362. package/lib/duet/{p-44b36dbf.js → p-5c1cada7.js} +1 -1
  363. package/lib/duet/{p-db9ef24f.system.entry.js → p-5c732e81.system.entry.js} +1 -1
  364. package/lib/duet/{p-4d3c01fa.system.entry.js → p-5cce55d7.system.entry.js} +1 -1
  365. package/lib/duet/p-5de30279.js +4 -0
  366. package/lib/duet/p-5ee5540a.js +4 -0
  367. package/lib/duet/{p-3b4f6e4b.entry.js → p-5eee138b.entry.js} +1 -1
  368. package/lib/duet/{p-bf0f7acd.entry.js → p-5f13e48c.entry.js} +1 -1
  369. package/lib/duet/{p-820937d1.system.entry.js → p-5f38327e.system.entry.js} +1 -1
  370. package/lib/duet/{p-c2a22f7e.entry.js → p-5fdc84cf.entry.js} +1 -1
  371. package/lib/duet/{p-8097eb44.entry.js → p-5fef7caf.entry.js} +1 -1
  372. package/lib/duet/{p-6f415c0f.system.entry.js → p-5ff67999.system.entry.js} +1 -1
  373. package/lib/duet/p-600b6b9f.entry.js +4 -0
  374. package/lib/duet/{p-ce1ee182.entry.js → p-630e7601.entry.js} +1 -1
  375. package/lib/duet/{p-185cd6bd.system.entry.js → p-630fd37d.system.entry.js} +1 -1
  376. package/lib/duet/{p-c3a69e37.js → p-63675f5c.js} +1 -1
  377. package/lib/duet/{p-ef731dfb.system.js → p-64959c1d.system.js} +1 -1
  378. package/lib/duet/{p-1d94d37d.system.entry.js → p-64f9793b.system.entry.js} +1 -1
  379. package/lib/duet/{p-1d32c95c.system.entry.js → p-6722009a.system.entry.js} +1 -1
  380. package/lib/duet/{p-f64e1189.system.entry.js → p-67cccb20.system.entry.js} +1 -1
  381. package/lib/duet/{p-706f68c0.entry.js → p-6dcdd126.entry.js} +1 -1
  382. package/lib/duet/{p-c0137b84.system.entry.js → p-6e2b62bf.system.entry.js} +1 -1
  383. package/lib/duet/{p-fd3af4d2.entry.js → p-700a2c3e.entry.js} +1 -1
  384. package/lib/duet/{p-1b031645.system.entry.js → p-71639b6e.system.entry.js} +1 -1
  385. package/lib/duet/{p-c4204738.entry.js → p-7186b899.entry.js} +1 -1
  386. package/lib/duet/{p-10e56ab2.entry.js → p-71c75b42.entry.js} +1 -1
  387. package/lib/duet/{p-32a2d722.entry.js → p-71fe9d70.entry.js} +1 -1
  388. package/lib/duet/{p-1515a887.entry.js → p-72ce083f.entry.js} +1 -1
  389. package/lib/duet/{p-0b3cb828.system.entry.js → p-739a8ad7.system.entry.js} +1 -1
  390. package/lib/duet/{p-5ede36ae.entry.js → p-7476c2a6.entry.js} +1 -1
  391. package/lib/duet/{p-926266f1.system.entry.js → p-760c9e95.system.entry.js} +2 -2
  392. package/lib/duet/{p-1c2eb6d0.system.entry.js → p-77163df8.system.entry.js} +1 -1
  393. package/lib/duet/{p-74331989.system.entry.js → p-799a3c7b.system.entry.js} +1 -1
  394. package/lib/duet/{p-bd6a9171.system.entry.js → p-7bd75507.system.entry.js} +1 -1
  395. package/lib/duet/{p-7a2f8df9.entry.js → p-7ff31aac.entry.js} +1 -1
  396. package/lib/duet/{p-6372e73b.entry.js → p-801fd1e1.entry.js} +1 -1
  397. package/lib/duet/{p-f1ba5666.system.entry.js → p-80b1d485.system.entry.js} +1 -1
  398. package/lib/duet/{p-776ed377.system.entry.js → p-815520c1.system.entry.js} +1 -1
  399. package/lib/duet/{p-54188be3.system.entry.js → p-83114a6d.system.entry.js} +1 -1
  400. package/lib/duet/{p-e7185338.entry.js → p-834cbeea.entry.js} +1 -1
  401. package/lib/duet/{p-50a13103.system.entry.js → p-86b908de.system.entry.js} +1 -1
  402. package/lib/duet/{p-c44b5ed2.system.entry.js → p-8a388f5b.system.entry.js} +1 -1
  403. package/lib/duet/p-8a5bd61a.js +4 -0
  404. package/lib/duet/{p-f2d5c69e.system.js → p-90dad2bc.system.js} +1 -1
  405. package/lib/duet/{p-a2fa6a72.system.entry.js → p-9141866f.system.entry.js} +1 -1
  406. package/lib/duet/{p-3bb14438.entry.js → p-933894b9.entry.js} +1 -1
  407. package/lib/duet/{p-7cb195ba.entry.js → p-946b9f45.entry.js} +1 -1
  408. package/lib/duet/p-9508ee67.system.js +4 -0
  409. package/lib/duet/{p-6cbe31c3.system.entry.js → p-97b94b88.system.entry.js} +1 -1
  410. package/lib/duet/{p-453f791b.system.entry.js → p-97ff0a20.system.entry.js} +1 -1
  411. package/lib/duet/{p-4f0be726.system.entry.js → p-985a89d4.system.entry.js} +1 -1
  412. package/lib/duet/{p-1144fc8e.system.entry.js → p-9b2636f0.system.entry.js} +1 -1
  413. package/lib/duet/p-9d336f77.system.js +4 -0
  414. package/lib/duet/{p-495e7223.system.entry.js → p-9edfcaf6.system.entry.js} +1 -1
  415. package/lib/duet/{p-db36e60c.entry.js → p-a0703d11.entry.js} +1 -1
  416. package/lib/duet/{p-50c18c14.system.js → p-a0a62431.system.js} +1 -1
  417. package/lib/duet/{p-73eb17ac.entry.js → p-a31a969b.entry.js} +1 -1
  418. package/lib/duet/{p-0af2a9fd.entry.js → p-a420b2d1.entry.js} +1 -1
  419. package/lib/duet/{p-ce25bba1.entry.js → p-a438841c.entry.js} +1 -1
  420. package/lib/duet/{p-da4450d1.system.entry.js → p-a671f12e.system.entry.js} +1 -1
  421. package/lib/duet/p-a7a13290.entry.js +4 -0
  422. package/lib/duet/{p-15560f1b.entry.js → p-a9b1974d.entry.js} +1 -1
  423. package/lib/duet/{p-56c617ae.entry.js → p-ab0bf0f4.entry.js} +1 -1
  424. package/lib/duet/p-acb3b427.system.entry.js +4 -0
  425. package/lib/duet/{p-0071a5b9.system.entry.js → p-b0839ac6.system.entry.js} +1 -1
  426. package/lib/duet/{p-a234eaa5.system.entry.js → p-b1242cfd.system.entry.js} +1 -1
  427. package/lib/duet/{p-f6c64bac.entry.js → p-b1a2f837.entry.js} +1 -1
  428. package/lib/duet/{p-dee5d396.system.entry.js → p-b26f5296.system.entry.js} +1 -1
  429. package/lib/duet/{p-2d73a182.entry.js → p-b31efa7d.entry.js} +1 -1
  430. package/lib/duet/{p-579d96f9.system.entry.js → p-b4cfa7bb.system.entry.js} +1 -1
  431. package/lib/duet/{p-f4a74e37.entry.js → p-b53d454b.entry.js} +1 -1
  432. package/lib/duet/{p-ed3748dc.js → p-b54f9b74.js} +1 -1
  433. package/lib/duet/{p-d01c4f4b.entry.js → p-b5d3ae06.entry.js} +1 -1
  434. package/lib/duet/{p-9b7649d6.system.entry.js → p-b5fe55fe.system.entry.js} +1 -1
  435. package/lib/duet/{p-0e883b85.entry.js → p-b7646687.entry.js} +1 -1
  436. package/lib/duet/{p-99e02dad.entry.js → p-b8c6086f.entry.js} +1 -1
  437. package/lib/duet/{p-63fef46e.system.entry.js → p-ba8e2d0a.system.entry.js} +1 -1
  438. package/lib/duet/{p-04f1897d.system.entry.js → p-bb6aee0a.system.entry.js} +1 -1
  439. package/lib/duet/{p-611dd17d.entry.js → p-bbfe0fc7.entry.js} +1 -1
  440. package/lib/duet/{p-24bace56.entry.js → p-bc4acf3c.entry.js} +1 -1
  441. package/lib/duet/{p-792c9b83.system.entry.js → p-bc7d623e.system.entry.js} +1 -1
  442. package/lib/duet/{p-5c8ad4d6.system.entry.js → p-bc923039.system.entry.js} +1 -1
  443. package/lib/duet/{p-8d19eece.entry.js → p-be301324.entry.js} +1 -1
  444. package/lib/duet/{p-afd26f78.entry.js → p-c15b13a7.entry.js} +1 -1
  445. package/lib/duet/{p-d6806be3.system.entry.js → p-c387c23d.system.entry.js} +1 -1
  446. package/lib/duet/p-c854531e.system.entry.js +4 -0
  447. package/lib/duet/{p-3a85f7b2.system.entry.js → p-c8cad658.system.entry.js} +1 -1
  448. package/lib/duet/{p-7f03dd39.entry.js → p-ccfce1f5.entry.js} +1 -1
  449. package/lib/duet/p-cd16c798.system.entry.js +4 -0
  450. package/lib/duet/{p-fff58939.entry.js → p-cd3bd02d.entry.js} +1 -1
  451. package/lib/duet/{p-ae0b5812.entry.js → p-cf66bd19.entry.js} +1 -1
  452. package/lib/duet/p-cfa74eff.js +4 -0
  453. package/lib/duet/{p-33433426.system.entry.js → p-d10be375.system.entry.js} +1 -1
  454. package/lib/duet/{p-7f85afa0.entry.js → p-d21b4ed5.entry.js} +1 -1
  455. package/lib/duet/{p-f6000a03.js → p-d32bd233.js} +1 -1
  456. package/lib/duet/{p-a0e30584.entry.js → p-d6d0230a.entry.js} +1 -1
  457. package/lib/duet/p-d7f543fb.js +4 -0
  458. package/lib/duet/p-d8861775.system.js +4 -0
  459. package/lib/duet/{p-d159fb1f.system.entry.js → p-d8a4ec3a.system.entry.js} +1 -1
  460. package/lib/duet/{p-4118597d.entry.js → p-d8c070da.entry.js} +1 -1
  461. package/lib/duet/p-d997b605.system.js +4 -0
  462. package/lib/duet/p-daf57f21.entry.js +4 -0
  463. package/lib/duet/{p-5475be04.entry.js → p-dc844ded.entry.js} +1 -1
  464. package/lib/duet/{p-a4c84b87.system.entry.js → p-df163adc.system.entry.js} +1 -1
  465. package/lib/duet/p-df6faea3.entry.js +4 -0
  466. package/lib/duet/{p-51e5cc18.system.entry.js → p-e180ccbf.system.entry.js} +1 -1
  467. package/lib/duet/{p-8b570e72.system.entry.js → p-e24cf47d.system.entry.js} +1 -1
  468. package/lib/duet/{p-50551117.system.entry.js → p-e35fa4c0.system.entry.js} +1 -1
  469. package/lib/duet/{p-f51c3456.entry.js → p-e59aa740.entry.js} +1 -1
  470. package/lib/duet/{p-60c66aa9.entry.js → p-e72daab4.entry.js} +1 -1
  471. package/lib/duet/{p-bc20b234.system.entry.js → p-e78deb4d.system.entry.js} +1 -1
  472. package/lib/duet/{p-a7e80b9d.system.entry.js → p-e7ca4c2a.system.entry.js} +1 -1
  473. package/lib/duet/{p-b6f08326.entry.js → p-e80aa07c.entry.js} +1 -1
  474. package/lib/duet/{p-77d28810.system.entry.js → p-e82e56d1.system.entry.js} +1 -1
  475. package/lib/duet/p-e8532ea6.js +4 -0
  476. package/lib/duet/{p-4d7186ca.system.entry.js → p-e981142d.system.entry.js} +1 -1
  477. package/lib/duet/{p-a6e8ceb0.system.entry.js → p-ea419ab1.system.entry.js} +1 -1
  478. package/lib/duet/{p-0217b93f.system.entry.js → p-eac48d1e.system.entry.js} +1 -1
  479. package/lib/duet/{p-2fafdd81.entry.js → p-ec025b1a.entry.js} +1 -1
  480. package/lib/duet/{p-2c7d99df.system.entry.js → p-ec6820d3.system.entry.js} +1 -1
  481. package/lib/duet/{p-7443f659.system.entry.js → p-ee209df1.system.entry.js} +1 -1
  482. package/lib/duet/{p-8b301afb.entry.js → p-ee2ad3a0.entry.js} +1 -1
  483. package/lib/duet/{p-67e6cff0.system.entry.js → p-ef35aa03.system.entry.js} +1 -1
  484. package/lib/duet/{p-5c3f4962.system.entry.js → p-efb38f60.system.entry.js} +2 -2
  485. package/lib/duet/{p-34569fd2.entry.js → p-efdcb86f.entry.js} +1 -1
  486. package/lib/duet/{p-6d5e9383.entry.js → p-f075d310.entry.js} +1 -1
  487. package/lib/duet/{p-5940d019.entry.js → p-f3285f42.entry.js} +1 -1
  488. package/lib/duet/{p-3b2c0995.system.entry.js → p-f46c78c3.system.entry.js} +1 -1
  489. package/lib/duet/{p-05931a12.system.entry.js → p-fa2753c1.system.entry.js} +1 -1
  490. package/lib/duet/{p-f7a870e4.entry.js → p-fc16a9c7.entry.js} +1 -1
  491. package/lib/duet/{p-0bc30861.system.entry.js → p-fc7fd7e4.system.entry.js} +1 -1
  492. package/lib/duet/{p-49ee5283.entry.js → p-fcd270af.entry.js} +1 -1
  493. package/lib/duet/{p-5c870999.entry.js → p-fe1cf73e.entry.js} +1 -1
  494. package/lib/duet/p-fe982640.entry.js +4 -0
  495. package/lib/duet/p-ff1194f7.system.js +4 -0
  496. package/lib/duet/{p-d30e2e4f.system.entry.js → p-ff643468.system.entry.js} +1 -1
  497. package/lib/duet/{p-e874b49c.entry.js → p-ffc592b1.entry.js} +1 -1
  498. package/lib/esm/{a11y-utils-3b7c95b9.js → a11y-utils-02146774.js} +1 -1
  499. package/lib/esm/{app-globals-2c6c1103.js → app-globals-3f3fcf1f.js} +1 -1
  500. package/lib/esm/duet-action-button.entry.js +4 -4
  501. package/lib/esm/duet-alert.entry.js +3 -3
  502. package/lib/esm/duet-badge.entry.js +1 -1
  503. package/lib/esm/duet-banner.entry.js +4 -4
  504. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  505. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  506. package/lib/esm/duet-button_2.entry.js +4 -4
  507. package/lib/esm/duet-callout.entry.js +2 -2
  508. package/lib/esm/duet-caption_4.entry.js +10 -9
  509. package/lib/esm/duet-card.entry.js +4 -4
  510. package/lib/esm/duet-checkbox.entry.js +1 -1
  511. package/lib/esm/duet-checkmark.entry.js +1 -1
  512. package/lib/esm/duet-chip.entry.js +2 -2
  513. package/lib/esm/duet-choice_2.entry.js +3 -3
  514. package/lib/esm/duet-collapsible.entry.js +3 -3
  515. package/lib/esm/duet-combobox.entry.js +3 -3
  516. package/lib/esm/duet-contact-card.entry.js +2 -2
  517. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  518. package/lib/esm/duet-date-picker.entry.js +4 -4
  519. package/lib/esm/duet-divider_2.entry.js +3 -3
  520. package/lib/esm/duet-editable-table_3.entry.js +5 -5
  521. package/lib/esm/duet-empty-state.entry.js +1 -1
  522. package/lib/esm/duet-fieldset.entry.js +2 -2
  523. package/lib/esm/duet-file-chooser.entry.js +1 -1
  524. package/lib/esm/duet-footer.entry.js +3 -3
  525. package/lib/esm/duet-grid_2.entry.js +46 -42
  526. package/lib/esm/duet-header_2.entry.js +4 -4
  527. package/lib/esm/duet-hero.entry.js +3 -3
  528. package/lib/esm/duet-icon.entry.js +3 -3
  529. package/lib/esm/duet-input_2.entry.js +5 -5
  530. package/lib/esm/duet-layout.entry.js +2 -2
  531. package/lib/esm/duet-list_2.entry.js +2 -2
  532. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  533. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  534. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  535. package/lib/esm/duet-menu-bar-item.entry.js +4 -4
  536. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  537. package/lib/esm/duet-menu-bar.entry.js +3 -3
  538. package/lib/esm/duet-modal.entry.js +4 -4
  539. package/lib/esm/duet-multiselect.entry.js +3 -3
  540. package/lib/esm/duet-nav.entry.js +1 -1
  541. package/lib/esm/duet-notification_2.entry.js +2 -2
  542. package/lib/esm/duet-number-input.entry.js +3 -3
  543. package/lib/esm/duet-overlay.entry.js +1 -1
  544. package/lib/esm/duet-page-heading.entry.js +1 -1
  545. package/lib/esm/duet-pagination_2.entry.js +4 -4
  546. package/lib/esm/duet-phone-input.entry.js +3 -3
  547. package/lib/esm/duet-popup-menu_2.entry.js +12 -9
  548. package/lib/esm/duet-progress.entry.js +2 -2
  549. package/lib/esm/duet-promo-card.entry.js +4 -4
  550. package/lib/esm/duet-radio_2.entry.js +3 -3
  551. package/lib/esm/duet-range-slider.entry.js +2 -2
  552. package/lib/esm/duet-scrollable_3.entry.js +5 -5
  553. package/lib/esm/duet-section-layout.entry.js +1 -1
  554. package/lib/esm/duet-select.entry.js +2 -2
  555. package/lib/esm/duet-shaped-image.entry.js +1 -1
  556. package/lib/esm/duet-show-more.entry.js +2 -2
  557. package/lib/esm/duet-slideout-lang.entry.js +2 -2
  558. package/lib/esm/duet-slideout-link.entry.js +4 -4
  559. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  560. package/lib/esm/duet-slideout-panel.entry.js +6 -6
  561. package/lib/esm/duet-slideout.entry.js +6 -6
  562. package/lib/esm/duet-status-icon.entry.js +2 -2
  563. package/lib/esm/duet-step_2.entry.js +1 -1
  564. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  565. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  566. package/lib/esm/duet-submenu-bar-item.entry.js +4 -4
  567. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  568. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  569. package/lib/esm/duet-textarea.entry.js +3 -3
  570. package/lib/esm/duet-toggle.entry.js +1 -1
  571. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  572. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  573. package/lib/esm/duet-toolbar-item.entry.js +4 -4
  574. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  575. package/lib/esm/duet-toolbar.entry.js +1 -1
  576. package/lib/esm/duet-tooltip-button_2.entry.js +7 -6
  577. package/lib/esm/duet-tooltip.entry.js +4 -4
  578. package/lib/esm/duet-tray.entry.js +5 -5
  579. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  580. package/lib/esm/duet-upload-item.entry.js +3 -3
  581. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  582. package/lib/esm/duet.js +4 -4
  583. package/lib/esm/{errorcodes.utils-86af68b7.js → errorcodes.utils-0b711abe.js} +1 -1
  584. package/lib/esm/{floating-ui.dom.esm-ebc91b33.js → floating-ui.dom.esm-ef361ca5.js} +50 -27
  585. package/lib/esm/{focus-utils-9bbe977f.js → focus-utils-59c3798e.js} +1 -1
  586. package/lib/esm/{index-a830b2de.js → index-dd60f5fc.js} +1 -1
  587. package/lib/esm/{language-utils-40caac4f.js → language-utils-47475a59.js} +1 -1
  588. package/lib/esm/loader.js +4 -4
  589. package/lib/esm/{slot-utils-a481f2c6.js → slot-utils-205a8937.js} +1 -1
  590. package/lib/esm/{token-utils-a32eb753.js → token-utils-7360bb84.js} +1 -1
  591. package/lib/esm/{tokens-84fb2357.js → tokens-85fb95d1.js} +3 -3
  592. package/lib/esm/{tokens.module-a746651a.js → tokens.module-821694bb.js} +2 -2
  593. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-e22542d2.js} +1 -20
  594. package/lib/esm-es5/{a11y-utils-3b7c95b9.js → a11y-utils-02146774.js} +1 -1
  595. package/lib/esm-es5/{app-globals-2c6c1103.js → app-globals-3f3fcf1f.js} +1 -1
  596. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  597. package/lib/esm-es5/duet-alert.entry.js +1 -1
  598. package/lib/esm-es5/duet-badge.entry.js +1 -1
  599. package/lib/esm-es5/duet-banner.entry.js +1 -1
  600. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  601. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  602. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  603. package/lib/esm-es5/duet-callout.entry.js +1 -1
  604. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  605. package/lib/esm-es5/duet-card.entry.js +1 -1
  606. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  607. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  608. package/lib/esm-es5/duet-chip.entry.js +1 -1
  609. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  610. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  611. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  612. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  613. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  614. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  615. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  616. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  617. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  618. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  619. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  620. package/lib/esm-es5/duet-footer.entry.js +1 -1
  621. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  622. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  623. package/lib/esm-es5/duet-hero.entry.js +1 -1
  624. package/lib/esm-es5/duet-icon.entry.js +1 -1
  625. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  626. package/lib/esm-es5/duet-layout.entry.js +1 -1
  627. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  628. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  629. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  630. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  631. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  632. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  633. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  634. package/lib/esm-es5/duet-modal.entry.js +1 -1
  635. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  636. package/lib/esm-es5/duet-nav.entry.js +1 -1
  637. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  638. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  639. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  640. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  641. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  642. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  643. package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
  644. package/lib/esm-es5/duet-progress.entry.js +1 -1
  645. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  646. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  647. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  648. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  649. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  650. package/lib/esm-es5/duet-select.entry.js +1 -1
  651. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  652. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  653. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  654. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  655. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  656. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  657. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  658. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  659. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  660. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  661. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  662. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  663. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  664. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  665. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  666. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  667. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  668. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  669. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  670. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  671. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  672. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  673. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  674. package/lib/esm-es5/duet-tray.entry.js +1 -1
  675. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  676. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  677. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  678. package/lib/esm-es5/duet.js +1 -1
  679. package/lib/esm-es5/{errorcodes.utils-86af68b7.js → errorcodes.utils-0b711abe.js} +1 -1
  680. package/lib/esm-es5/floating-ui.dom.esm-ef361ca5.js +4 -0
  681. package/lib/esm-es5/focus-utils-59c3798e.js +4 -0
  682. package/lib/esm-es5/{index-a830b2de.js → index-dd60f5fc.js} +1 -1
  683. package/lib/esm-es5/{language-utils-40caac4f.js → language-utils-47475a59.js} +1 -1
  684. package/lib/esm-es5/loader.js +1 -1
  685. package/lib/esm-es5/{slot-utils-a481f2c6.js → slot-utils-205a8937.js} +1 -1
  686. package/lib/esm-es5/{token-utils-a32eb753.js → token-utils-7360bb84.js} +1 -1
  687. package/lib/esm-es5/{tokens-84fb2357.js → tokens-85fb95d1.js} +1 -1
  688. package/lib/esm-es5/{tokens.module-a746651a.js → tokens.module-821694bb.js} +1 -1
  689. package/lib/esm-es5/watch-options-e22542d2.js +4 -0
  690. package/lib/types/common-types.d.ts +1 -1
  691. package/lib/types/components/duet-grid/duet-grid.d.ts +4 -4
  692. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +1 -1
  693. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  694. package/lib/types/components.d.ts +4 -4
  695. package/package.json +4 -4
  696. package/lib/duet/p-055e24d8.system.entry.js +0 -4
  697. package/lib/duet/p-0dc9089b.system.js +0 -4
  698. package/lib/duet/p-10c530d1.js +0 -4
  699. package/lib/duet/p-1cb66641.js +0 -4
  700. package/lib/duet/p-22064e74.entry.js +0 -4
  701. package/lib/duet/p-2683cdc8.entry.js +0 -4
  702. package/lib/duet/p-2e346b26.system.entry.js +0 -4
  703. package/lib/duet/p-4a3dae6f.js +0 -4
  704. package/lib/duet/p-5080b864.system.entry.js +0 -4
  705. package/lib/duet/p-5577da59.system.js +0 -4
  706. package/lib/duet/p-61ac836c.system.js +0 -4
  707. package/lib/duet/p-6e1f8ca5.system.entry.js +0 -4
  708. package/lib/duet/p-718585c1.entry.js +0 -4
  709. package/lib/duet/p-79d7199e.entry.js +0 -4
  710. package/lib/duet/p-7d8a2628.js +0 -4
  711. package/lib/duet/p-81287261.js +0 -4
  712. package/lib/duet/p-81c3bbcc.system.entry.js +0 -4
  713. package/lib/duet/p-a0a5581f.js +0 -4
  714. package/lib/duet/p-a62f7dce.entry.js +0 -4
  715. package/lib/duet/p-afad5fd3.system.js +0 -4
  716. package/lib/duet/p-cbbf6d6a.system.js +0 -4
  717. package/lib/duet/p-dcc6df5e.entry.js +0 -4
  718. package/lib/duet/p-e4c8559c.system.js +0 -4
  719. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  720. package/lib/esm-es5/focus-utils-9bbe977f.js +0 -4
  721. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,a,o){function i(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,r){function n(t){try{u(o.next(t))}catch(t){r(t)}}function s(t){try{u(o["throw"](t))}catch(t){r(t)}}function u(t){t.done?a(t.value):i(t.value).then(n,s)}u((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,i,r,n;return n={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(t){return function(e){return u([t,e])}}function u(s){if(o)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(a=0)),a)try{if(o=1,i&&(r=s[0]&2?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;if(i=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;i=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(s[0]===6&&a.label<r[1]){a.label=r[1];r=s;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(s);break}if(r[2])a.ops.pop();a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t];i=0}finally{o=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-f2d5c69e.system.js","./p-e216bea4.system.js","./p-61ac836c.system.js","./p-752fa0fc.system.js","./p-9a43132b.system.js","./p-cbbf6d6a.system.js","./p-e6b5a1c7.system.js","./p-98636086.system.js","./p-ef731dfb.system.js"],(function(t){"use strict";var e,a,o,i,r,n,s,u,l,d,b,c,h,p,f,g,m,v,x,k,w,y;return{setters:[function(t){e=t.r;a=t.h;o=t.H;i=t.g;r=t.c},function(t){n=t.i},function(t){s=t.h;u=t.a},function(t){l=t.s;d=t.u;b=t.o;c=t.p;h=t.d;p=t.b;f=t.a;g=t.c},function(t){m=t.g;v=t.c;x=t.d;k=t.a},function(t){w=t.d},function(t){y=t.c},function(){},function(){}],execute:function(){var z="*,*::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;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute{position:absolute;top:0;z-index:210;width:auto;height:100%;padding:0 16px;background-color:rgb(255, 255, 255)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.left{left:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button{position:absolute;display:flex;flex:0 0 auto;flex-basis:40px;align-items:center;height:100%;cursor:pointer;transition:transform 300ms ease}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button:active duet-icon{transition:transform 300ms ease;transform:scale(0.8)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--left{left:0;padding:10px 10px 10px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--right{right:0;padding:10px 0 10px 10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--top{align-items:flex-start}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--bottom{align-items:flex-end}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute{padding:0 7px;border:1px solid rgb(212, 223, 229)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--left{border-radius:8px 0 0 8px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--right{border-radius:0 8px 8px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(0, 119, 179);border-width:2px;}.duet-theme-turva :host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button[hidden]{display:none !important}:host .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;padding-inline:10px;margin-inline:-10px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;-webkit-mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);-webkit-mask-size:50% 100%, 50% 100%;-webkit-mask-position:left, right;-webkit-mask-repeat:no-repeat;mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);mask-size:50% 100%, 50% 100%;mask-position:left, right;mask-repeat:no-repeat;}:host .duet-scrollable-items .duet-scrollable-list--absolute{padding-right:0;padding-left:2px;margin-inline:0;-webkit-mask:none !important;mask:none !important}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items .duet-scrollable-list.gap-none{gap:0}:host .duet-scrollable-items .duet-scrollable-list.gap-large{gap:20px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--xx-small{padding-top:4px;padding-bottom:4px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--x-small{padding-top:8px;padding-bottom:8px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--small{padding-top:12px;padding-bottom:12px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--medium{padding-top:16px;padding-bottom:16px}:host .duet-scrollable-items .duet-scrollable-list.duet-scrollable-stretch{width:100%}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}";var _=z;var j=t("duet_scrollable",function(){function t(t){var a=this;e(this,t);this.currentIndex=0;this.scrollPaneElement=undefined;this.hasCollapseButtonLabelSlot=false;this.resizeObserver=new ResizeObserver((function(t){if((t===null||t===void 0?void 0:t.length)===1){var e=a.getOverlayWidth();a.checkScrollingNeeded(t[0].target,e)}}));this.collapsedOnClick=function(){a.collapsed=!a.collapsed};this.scrollPaneAtStart=true;this.needsScrolling=true;this.scrollPaneAtEnd=false;this.childrenData={};this.theme="";this.identifier="";this.collapsed=false;this.buttons=true;this.buttonAlignment="center";this.buttonPosition="relative";this.center=false;this.padding="none";this.gap="large";this.selected=0;this.stretch=false}t.prototype.watchPropHandler=function(t){this.scrollToElement(t,"center")};t.prototype.componentWillLoad=function(){n(this);this.hasCollapseButtonLabelSlot=s(this.element,"collapse-button-label")};t.prototype.componentDidLoad=function(){var t=this;requestAnimationFrame((function(){if(t.scrollPaneElement){var e=t.buttonPosition==="absolute"?0:5;t.checkScrollingNeeded(t.scrollPaneElement,e);t.updateScrollButtons();t.resizeObserver.observe(t.scrollPaneElement)}}))};t.prototype.disconnectedCallback=function(){this.resizeObserver.disconnect()};t.prototype.getScrollPaneElements=function(){return u(this.element)};t.prototype.checkScrollingNeeded=function(t,e){if(t===void 0){t=this.scrollPaneElement}if(e===void 0){e=5}var a;if(!t){return}var o=((a=t.parentElement)===null||a===void 0?void 0:a.getBoundingClientRect().width)||0;var i=t.scrollWidth;var r=this.getOverlayWidth()*2;this.needsScrolling=i-r>o+e;if(!this.needsScrolling){this.scrollPaneAtStart=true;this.scrollPaneAtEnd=true}else{this.updateScrollButtons()}};t.prototype.getLastVisibleElement=function(){var t=this;var e=this.getScrollPaneElements().find((function(e){return e.getBoundingClientRect().x+e.getBoundingClientRect().width-t.scrollPaneElement.getBoundingClientRect().x>t.scrollPaneElement.clientWidth}));var a=this.getScrollPaneElements().indexOf(e);if(e.clientWidth>this.scrollPaneElement.clientWidth){return a}return a-1};t.prototype.getFirstVisibleElement=function(){var t=this;var e=this.getScrollPaneElements();var a=e.find((function(e){return e.getBoundingClientRect().x>t.scrollPaneElement.getBoundingClientRect().x}));var o=!a?e.length:e.indexOf(a);var i=Math.max(o-1,0);if(e[i].clientWidth>this.scrollPaneElement.clientWidth){return i}return o};t.prototype.updateScrollButtons=function(t,e){if(t===void 0){t=null}if(e===void 0){e=this.scrollPaneElement}if(!this.buttons){return}if(t&&t.clientWidth>this.scrollPaneElement.clientWidth){var a=this.getScrollPaneElements().indexOf(t);if(a==0){this.scrollPaneAtStart=true}if(a==this.getScrollPaneElements().length-1){this.scrollPaneAtEnd=true}return}if(e.scrollLeft<=0){this.scrollPaneAtStart=true}else if(e.scrollLeft>0){this.scrollPaneAtStart=false}var o=Math.round(e.clientWidth+e.scrollLeft+this.getOverlayWidth());var i=Math.round(e.scrollWidth);this.scrollPaneAtEnd=o>=i};t.prototype.scrollToElement=function(t,e){var a=this;if(t===void 0){t=this.currentIndex}var o=this.getScrollPaneElements();if(!o||o.length===0){return}if(t+1>=o.length){t=o.length-1}if(t<0){t=0}var i=o[0].getBoundingClientRect().x;var r=5;var n=function(){if(o[0].getBoundingClientRect().x===i){r--;if(r!==0){window.requestAnimationFrame(n);return}a.updateScrollButtons(o[t])}else{window.requestAnimationFrame(n);i=o[0].getBoundingClientRect().x}};o[t].scrollIntoView({behavior:"smooth",block:"nearest",inline:e});window.requestAnimationFrame(n)};t.prototype.scrollLeft=function(){this.scrollPaneAtEnd=false;var t=this.getFirstVisibleElement();this.scrollToElement(t-1,"center")};t.prototype.scrollRight=function(){this.scrollPaneAtStart=false;var t=this.getLastVisibleElement();this.scrollToElement(t+1,"center")};t.prototype.getOverlayWidth=function(){return this.buttonPosition==="absolute"?0:10};t.prototype.renderButton=function(t){var e,o;var i=this;var r=this.theme==="turva"?"color-primary-darker-turva":"color-primary";var n=this.theme==="turva"?"color-gray-turva":"color-gray";var s=function(){if(t==="left"){i.scrollLeft()}else{i.scrollRight()}};var u=t==="left"?this.scrollPaneAtStart:this.scrollPaneAtEnd;return a("div",{class:(e={"duet-scrollable-button-container":true},e["".concat(t)]=true,e["duet-scrollable-button-container--occluded"]=!this.needsScrolling,e["duet-scrollable-button-container--".concat(this.buttonPosition)]=true,e),hidden:!this.buttons||this.buttonPosition==="absolute"&&u},a("span",{part:"".concat(this.identifier,"-button-").concat(t),"aria-hidden":"true",class:(o={"duet-scrollable-button":true},o["duet-scrollable-button--".concat(this.buttonPosition)]=true,o["duet-scrollable-button--".concat(this.buttonAlignment)]=true,o["duet-scrollable-button--".concat(t)]=true,o),onClick:function(){s();if(document.activeElement){document.activeElement.blur()}},hidden:!this.buttons||u},a("duet-icon",{color:u?n:r,name:t==="left"?"action-arrow-left":"action-arrow-right",size:this.buttonPosition==="absolute"?"x-small":"small",margin:"none"})))};t.prototype.render=function(){var t;var e=this;return a(o,{key:"13b04f9678d2d876b3813ff3be4400c6d3cb8706",class:{"duet-theme-turva":this.theme==="turva","duet-theme-default":this.theme==="default"}},this.hasCollapseButtonLabelSlot&&a("div",{key:"5459a8a656904d8cf5930623b0590b533055be36",class:{collapse:true,hide:!this.needsScrolling&&!this.collapsed}},a("duet-button",{key:"0e1a7e9dd6e442d653ce8dbdc19831b3299d47c5",variation:"plain",margin:"none","center-text":true,onClick:function(){return e.collapsedOnClick()}},a("slot",{key:"8c534bbeea9b0f15915958ae3947ca479a141a07",name:"collapse-button-label"}))),a("div",{key:"333736ff3035d3ba6e12b6f73c38fad12af6ec6a",class:{"duet-scrollable-items":true,buttons:this.buttons,center:this.center,"duet-theme-turva":this.theme==="turva"}},this.buttons&&this.renderButton("left"),a("div",{key:"78c52fc83f55f4e9ab7bd9a3d12ec2c7a88f2e3f",class:(t={"duet-scrollable-list":true},t["duet-scrollable-list--".concat(this.buttonPosition)]=true,t["gap-".concat(this.gap)]=true,t.collapsed=this.collapsed,t["duet-overflow-padding--".concat(this.padding)]=this.padding!=="none",t["duet-scrollable-list--".concat(this.buttonPosition)]=this.buttonPosition==="absolute",t["duet-scrollable-stretch"]=this.stretch,t),onScroll:function(){return e.updateScrollButtons()},ref:function(t){return e.scrollPaneElement=t}},a("slot",{key:"95205e7b789573b3f5bfa2e542d81e2068968e93"})),this.buttons&&this.renderButton("right")))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["watchPropHandler"]}},enumerable:false,configurable:true});return t}());j.style=_;var S=".sc-duet-tab-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%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}.duet-tab.has-content-id.sc-duet-tab,.duet-tab.has-content-id.selected.sc-duet-tab{display:none}.user-is-tabbing.sc-duet-tab-h .duet-tab.sc-duet-tab:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-tab-h .duet-tab.duet-theme-turva.sc-duet-tab:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";var I=S;var U=t("duet_tab",function(){function t(t){var a=this;e(this,t);this.setupContentElement=function(){if(a.contentId){a.tabpanelElement=document.getElementById(a.contentId);if(a.tabpanelElement){a.tabpanelElement.setAttribute("role","tabpanel");a.tabpanelElement.setAttribute("tabindex","-1");a.tabpanelElement.removeEventListener("focus",a.tabpanelElementFocusListener);a.tabpanelElement.removeEventListener("blur",a.tabpanelElementBlurListener);a.tabpanelElement.addEventListener("focus",a.tabpanelElementFocusListener);a.tabpanelElement.addEventListener("blur",a.tabpanelElementBlurListener);if(a.accessibleDescription){a.tabpanelElement.setAttribute("aria-description",a.accessibleDescription)}if(a.accessibleLabelledBy){a.tabpanelElement.setAttribute("aria-labelledby",a.accessibleLabelledBy)}if(a.selected){a.tabpanelElement.toggleAttribute("hidden",false)}else{a.tabpanelElement.toggleAttribute("hidden",true)}}}};this.tabpanelElementFocusListener=function(){if(a.element.classList.contains("user-is-tabbing")){a.tabpanelElement.style.outline="0";a.tabpanelElement.style.boxShadow=w(a.theme==="turva"?"focus-turva":"focus")}};this.tabpanelElementBlurListener=function(){a.tabpanelElement.style.outline=null;a.tabpanelElement.style.boxShadow=null};this.theme="";this.label=undefined;this.caption=undefined;this.selected=undefined;this.notificationMark=undefined;this.accessibleDescriptionDefault=null;this.accessibleDescription=this.accessibleDescriptionDefault?m(this.accessibleDescriptionDefault):null;this.accessibleLabelledBy=undefined;this.contentId=undefined}t.prototype.componentWillLoad=function(){n(this)};t.prototype.connectedCallback=function(){v(this,{prop:"accessibleDescription",defaults:"accessibleDescriptionDefault"});l(this);this.setupContentElement()};t.prototype.disconnectedCallback=function(){x(this);d(this);if(this.tabpanelElement){this.tabpanelElement.removeEventListener("focus",this.tabpanelElementFocusListener.bind(this));this.tabpanelElement.removeEventListener("blur",this.tabpanelElementBlurListener.bind(this));this.tabpanelElement=undefined}};t.prototype.setupSelected=function(t,e){if(!!t===!!e){return}this.setupContentElement()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.tabpanelElement.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;return a("div",{ref:function(e){if(!t.contentId){t.tabpanelElement=e}},role:"tabpanel",class:{"duet-theme-turva":this.theme==="turva","duet-tab":true,selected:this.selected,"has-content-id":!!this.contentId},"aria-description":this.accessibleDescription,"aria-labelledby":this.accessibleLabelledBy,tabindex:"-1"},a("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["setupSelected"]}},enumerable:false,configurable:true});return t}());U.style=I;var C='*,*::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;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(222, 224, 228)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-top:0;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper{}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper{position:relative;width:100%;overflow:hidden;border-radius:8px;}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay{display:contents}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background,.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .border{position:absolute;width:100%;height:100%;pointer-events:none;border-radius:8px}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background{z-index:100;background:rgb(245, 248, 250)}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background::after{position:absolute;top:0;left:0;width:100%;height:100%;margin-block:1px;content:"";border-radius:8px;box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-theme-turva .duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background::after{box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .border{z-index:206;border:1px solid rgb(212, 223, 229)}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:inline-block;width:auto;padding:20px;margin-left:-2px;overflow:visible;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.1;text-align:left;text-decoration:none;cursor:pointer;border-right:2px solid rgb(212, 223, 229);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-group-stretch .duet-tab-button{flex:1 1 0;min-width:fit-content;text-align:center}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-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-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button:hover{z-index:200;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-tab-button:hover{border-color:rgba(199, 202, 207, 0.8)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(198, 12, 48);border-color:rgb(222, 224, 228);border-bottom-color:rgb(198, 12, 48)}.duet-tab-button:focus{z-index:205;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tab-variation-default .duet-tab-button{z-index:200;padding:11px 20px 13px 20px;overflow:hidden;font-size:0.875rem;color:rgb(62, 84, 102);background:rgb(245, 248, 250);border:1px solid rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button.switch-large-at-always{padding:15px 28px 17px 28px;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-default .duet-tab-button.switch-large-at-small{padding:15px 28px 17px 28px;font-size:1rem}}.duet-tab-variation-default .duet-tab-button.selected{color:rgb(8, 42, 77);background:rgb(255, 255, 255);transition:none}.duet-tab-variation-default .duet-tab-button.selected::before{position:absolute;right:-1px;bottom:0;z-index:300;display:block;width:calc(100% + 2px);height:2px;content:"";background-color:rgb(0, 119, 179)}.duet-tab-variation-default .duet-tab-button.selected:focus-visible{outline:2px solid rgba(0, 119, 179, 0.8);outline-offset:-5px;box-shadow:none !important}.duet-tab-variation-default .duet-tab-button.selected:focus-visible::before{height:0}.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(30, 45, 59);background:rgb(228, 236, 239)}.duet-tab-variation-default .duet-tab-button:first-child{border-radius:8px 0 0 8px}.duet-tab-variation-default .duet-tab-button:last-child{border-radius:0 8px 8px 0}.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button{z-index:200}.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button:last-child{border-radius:0}.duet-theme-turva.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button::before{height:3px}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(71, 78, 101)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(23, 28, 58);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::before{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){z-index:200;box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:hover:not(.selected){z-index:200;color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:focus-visible{border-color:rgb(222, 224, 228);outline-color:rgba(199, 202, 207, 0.8)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding:12px 0;margin-left:0;font-size:0.875rem;color:rgb(81, 105, 123);border-width:0;border-bottom:2px solid transparent;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button.switch-large-at-always{padding:20px 0;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-plain .duet-tab-button.switch-large-at-small{padding:20px 0;font-size:1rem}}.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button{color:rgb(71, 78, 101)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(45, 52, 79);border-bottom:2px solid rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(23, 28, 58);border-bottom:2px solid rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(181, 198, 208);border-top:2px solid rgb(181, 198, 208);border-bottom-color:rgb(0, 119, 179);border-left:2px solid rgb(181, 198, 208);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(181, 198, 208);border-bottom-color:rgb(113, 118, 132)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(240, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(113, 118, 132);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(98, 121, 138)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:" ";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{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-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(113, 118, 132)}';var E=C;var A=t("duet_tab_group",function(){function t(t){var a=this;e(this,t);this.duetChange=r(this,"duetChange",3);this.duetTabChange=r(this,"duetTabChange",7);this.duetTabChangeRequested=r(this,"duetTabChangeRequested",7);this.id=y("DuetTabGroup");this.handleKeyDown=function(t){var e;if(h(t)||p(t)){e=t.target.previousElementSibling}else if(f(t)||g(t)){e=t.target.nextElementSibling}if(b(t)&&!c(t)){t.preventDefault();a.element.querySelector(":scope > duet-tab[selected]").setFocus()}if(e){t.preventDefault();e.click();e.focus()}};this.onTabSelect=function(t){if(a.tabChangeConfirm){if(t!==a.selected){var e={value:t,component:"duet-tab-group"};a.duetTabChangeRequested.emit(e)}}else{a.openTab(t)}};this.scrollToActive=function(){setTimeout((function(){var t=a.tabsContainer.querySelector(".selected");if(t){t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}}),50)};this.tabs=[];this.selected=undefined;this.theme="";this.scrolls=true;this.collapses=false;this.accessibleLabel=undefined;this.variation="default";this.language=k();this.labelDefaults={fi:"Valitse",en:"Choose",sv:"Välj"};this.label=m(this.labelDefaults,this.language);this.labelHidden=true;this.identifier=this.id;this.margin="auto";this.padding="auto";this.setTabIndex=true;this.tabChangeConfirm=false;this.switchLargeBreakpoint="small";this.fillSpace=false;this.stretch=false}t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){switch(e.label){case 0:if(typeof MutationObserver!=="undefined"){this.mutationO=new MutationObserver((function(){t.updateTabs()}));this.mutationO.observe(this.element,{attributes:true,attributeFilter:["label"],childList:true,characterData:true,subtree:true})}return[4,this.updateTabs()];case 1:e.sent();l(this);return[2]}}))}))};t.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}d(this)};t.prototype.componentWillLoad=function(){n(this)};t.prototype.componentDidLoad=function(){var t=this;this.intersectionObserver=new IntersectionObserver((function(e){if(e.length>0&&e[0].isIntersecting){t.scrollToActive();t.intersectionObserver.disconnect()}}),{root:null,threshold:0});this.intersectionObserver.observe(this.element)};t.prototype.openTab=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){if(t>=this.tabs.length){throw new Error("[duet-tabs] Index ".concat(t," is out of bounds of tabs length"))}this.selected=t;this.tabs.forEach((function(e,a){e.selected=a===t}));this.scrollToActive();e={value:t,component:"duet-tab-group"};this.duetChange.emit(e);this.duetTabChange.emit(e);return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){console.log("[duet-tabs] Refresh method is deprecated and will be removed in the future version.");return[2]}))}))};t.prototype.getTabs=function(){var t=this;var e=Array.from(this.element.querySelectorAll("duet-tab"));var a=e.filter((function(e){return e.closest("duet-tab-group")===t.element}));if(a.length===0){throw new Error("[duet-tabs] Must have at least one tab")}return a};t.prototype.getButtonId=function(t){return"".concat(this.id,"-button-").concat(t)};t.prototype.getTabId=function(t){return"".concat(this.id,"-tab-").concat(t)};t.prototype.getAccessibleDescription=function(t){var e=this.tabs[t].getAttribute("accessible-description")||null;return e};t.prototype.updateTabs=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){this.selected=undefined;this.tabs=this.getTabs();this.tabs.forEach((function(e,a){e.id=t.getTabId(a);if(e.selected){if(t.selected===undefined){t.selected=a}else{e.selected=false}}}));if(this.selected===undefined){this.selected=0;this.tabs[0].selected=true}return[2]}))}))};t.prototype.isCentered=function(){return window&&window.getComputedStyle(this.element).textAlign=="center"};t.prototype.render=function(){var t;var e=this;var o=this.variation==="plain-scrolling"?"duet-tab-variation-plain":"duet-tab-variation-".concat(this.variation);var i=this.variation==="checked"||this.variation==="plain-scrolling";var r="switch-large-at-".concat(this.switchLargeBreakpoint?this.switchLargeBreakpoint:"small");var n=this.tabs.map((function(t,o){var i;return a("button",{role:"tab",id:e.getButtonId(o),"aria-selected":t.selected?"true":"false","aria-description":e.getAccessibleDescription(o),tabindex:t.selected?"0":"-1",part:"".concat(e.identifier,"-button ").concat(t.selected?"".concat(e.identifier,"-button--selected"):""),type:"button",class:(i={"duet-p-0":e.padding==="none","duet-tab-button":true,"stackable-tab":e.variation==="checked"&&e.tabs.length<=3,selected:t.selected},i["duet-notification-mark-".concat(t.notificationMark)]=!!t.notificationMark,i[r]=["default","plain","plain-scrolling"].includes(e.variation)?true:false,i),onClick:function(){return e.onTabSelect(o)},onKeyDown:function(t){return e.handleKeyDown(t)}},e.variation==="checked"?a("div",{class:{"checked-tab-content":true,"stackable-checked-tab-content":e.tabs.length<=3}},a("div",{class:{"checked-tab-description":true,"stackable-description":e.tabs.length<=3}},a("p",null,t.label),a("p",{class:{"tab-caption":true,selected:t.selected}},t.caption)),a("div",{class:{"stackable-checkmark":e.tabs.length<=3}},a("duet-checkmark",{theme:e.theme,checked:t.selected,type:"radio","presentation-only":true,center:true}))):t.label)}));return a("div",{key:"b7f2848d57cafb3d41287f90b8c48b6870ca6e02",class:(t={"duet-tab-group":true,"duet-theme-turva":this.theme==="turva"},t[o]=true,t["duet-tab-plain-scrolling"]=this.variation==="plain-scrolling",t["duet-tab-group-scrolls"]=true,t),"aria-label":this.accessibleLabel},a("div",{key:"d96384958ba83c00c34e4e49d08ea6d90ace8b96",role:"tablist",class:{"duet-m-0":this.margin==="none"||this.variation==="checked","duet-tab-group-tabs":true,"duet-tab-group-hidden":this.tabs.length>3&&!i,"duet-tab-group-fill-space":this.fillSpace&&!this.stretch&&this.variation==="default","duet-tab-group-stretch":this.stretch},ref:function(t){e.tabsContainer=t}},this.variation==="checked"?n:a("div",{class:{"duet-tab-group-scrollable-wrapper":true,"duet-tab-group-fill-space-wrapper":this.fillSpace&&this.variation==="default"}},this.fillSpace&&!this.stretch&&this.variation==="default"&&a("div",{class:"duet-scrollable-stretch-overlay"},a("div",{class:"background"}),a("div",{class:"border"})),a("duet-scrollable",{selected:this.selected,identifier:this.identifier,gap:["default","plain","plain-scrolling"].includes(this.variation)?"none":"large",buttonPosition:this.variation==="default"?"absolute":"relative",center:this.isCentered()?this.isCentered():this.element.style.textAlign=="center",theme:this.theme,stretch:this.stretch},n))),a("div",{key:"1af41aa98fb13ebd5fb4f8913a8ae2a990007271",class:{"duet-tab-group-content":true,"duet-m-0":this.margin==="none","checked-group-content":this.variation==="checked"}},a("slot",{key:"2a232778878cbcd955bf24d008384d1dc02659e9"})))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());A.style=E}}}));
4
+ */System.register(["./p-90dad2bc.system.js","./p-e216bea4.system.js","./p-ff1194f7.system.js","./p-752fa0fc.system.js","./p-122d1eb2.system.js","./p-9508ee67.system.js","./p-e6b5a1c7.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(t){"use strict";var e,a,o,i,r,n,s,u,l,d,b,c,h,p,f,g,m,v,x,k,w,y;return{setters:[function(t){e=t.r;a=t.h;o=t.H;i=t.g;r=t.c},function(t){n=t.i},function(t){s=t.h;u=t.a},function(t){l=t.s;d=t.u;b=t.o;c=t.p;h=t.d;p=t.b;f=t.a;g=t.c},function(t){m=t.g;v=t.c;x=t.d;k=t.a},function(t){w=t.d},function(t){y=t.c},function(){},function(){}],execute:function(){var z="*,*::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;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute{position:absolute;top:0;z-index:210;width:auto;height:100%;padding:0 16px;background-color:rgb(255, 255, 255)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.left{left:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button{position:absolute;display:flex;flex:0 0 auto;flex-basis:40px;align-items:center;height:100%;cursor:pointer;transition:transform 300ms ease}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button:active duet-icon{transition:transform 300ms ease;transform:scale(0.8)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--left{left:0;padding:10px 10px 10px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--right{right:0;padding:10px 0 10px 10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--top{align-items:flex-start}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--bottom{align-items:flex-end}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute{padding:0 7px;border:1px solid rgb(212, 223, 229)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--left{border-radius:8px 0 0 8px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--right{border-radius:0 8px 8px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(0, 119, 179);border-width:2px;}.duet-theme-turva :host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button[hidden]{display:none !important}:host .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;padding-inline:10px;margin-inline:-10px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;-webkit-mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);-webkit-mask-size:50% 100%, 50% 100%;-webkit-mask-position:left, right;-webkit-mask-repeat:no-repeat;mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);mask-size:50% 100%, 50% 100%;mask-position:left, right;mask-repeat:no-repeat;}:host .duet-scrollable-items .duet-scrollable-list--absolute{padding-right:0;padding-left:2px;margin-inline:0;-webkit-mask:none !important;mask:none !important}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items .duet-scrollable-list.gap-none{gap:0}:host .duet-scrollable-items .duet-scrollable-list.gap-large{gap:20px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--xx-small{padding-top:4px;padding-bottom:4px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--x-small{padding-top:8px;padding-bottom:8px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--small{padding-top:12px;padding-bottom:12px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--medium{padding-top:16px;padding-bottom:16px}:host .duet-scrollable-items .duet-scrollable-list.duet-scrollable-stretch{width:100%}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}";var _=z;var j=t("duet_scrollable",function(){function t(t){var a=this;e(this,t);this.currentIndex=0;this.scrollPaneElement=undefined;this.hasCollapseButtonLabelSlot=false;this.resizeObserver=new ResizeObserver((function(t){if((t===null||t===void 0?void 0:t.length)===1){var e=a.getOverlayWidth();a.checkScrollingNeeded(t[0].target,e)}}));this.collapsedOnClick=function(){a.collapsed=!a.collapsed};this.scrollPaneAtStart=true;this.needsScrolling=true;this.scrollPaneAtEnd=false;this.childrenData={};this.theme="";this.identifier="";this.collapsed=false;this.buttons=true;this.buttonAlignment="center";this.buttonPosition="relative";this.center=false;this.padding="none";this.gap="large";this.selected=0;this.stretch=false}t.prototype.watchPropHandler=function(t){this.scrollToElement(t,"center")};t.prototype.componentWillLoad=function(){n(this);this.hasCollapseButtonLabelSlot=s(this.element,"collapse-button-label")};t.prototype.componentDidLoad=function(){var t=this;requestAnimationFrame((function(){if(t.scrollPaneElement){var e=t.buttonPosition==="absolute"?0:5;t.checkScrollingNeeded(t.scrollPaneElement,e);t.updateScrollButtons();t.resizeObserver.observe(t.scrollPaneElement)}}))};t.prototype.disconnectedCallback=function(){this.resizeObserver.disconnect()};t.prototype.getScrollPaneElements=function(){return u(this.element)};t.prototype.checkScrollingNeeded=function(t,e){if(t===void 0){t=this.scrollPaneElement}if(e===void 0){e=5}var a;if(!t){return}var o=((a=t.parentElement)===null||a===void 0?void 0:a.getBoundingClientRect().width)||0;var i=t.scrollWidth;var r=this.getOverlayWidth()*2;this.needsScrolling=i-r>o+e;if(!this.needsScrolling){this.scrollPaneAtStart=true;this.scrollPaneAtEnd=true}else{this.updateScrollButtons()}};t.prototype.getLastVisibleElement=function(){var t=this;var e=this.getScrollPaneElements().find((function(e){return e.getBoundingClientRect().x+e.getBoundingClientRect().width-t.scrollPaneElement.getBoundingClientRect().x>t.scrollPaneElement.clientWidth}));var a=this.getScrollPaneElements().indexOf(e);if(e.clientWidth>this.scrollPaneElement.clientWidth){return a}return a-1};t.prototype.getFirstVisibleElement=function(){var t=this;var e=this.getScrollPaneElements();var a=e.find((function(e){return e.getBoundingClientRect().x>t.scrollPaneElement.getBoundingClientRect().x}));var o=!a?e.length:e.indexOf(a);var i=Math.max(o-1,0);if(e[i].clientWidth>this.scrollPaneElement.clientWidth){return i}return o};t.prototype.updateScrollButtons=function(t,e){if(t===void 0){t=null}if(e===void 0){e=this.scrollPaneElement}if(!this.buttons){return}if(t&&t.clientWidth>this.scrollPaneElement.clientWidth){var a=this.getScrollPaneElements().indexOf(t);if(a==0){this.scrollPaneAtStart=true}if(a==this.getScrollPaneElements().length-1){this.scrollPaneAtEnd=true}return}if(e.scrollLeft<=0){this.scrollPaneAtStart=true}else if(e.scrollLeft>0){this.scrollPaneAtStart=false}var o=Math.round(e.clientWidth+e.scrollLeft+this.getOverlayWidth());var i=Math.round(e.scrollWidth);this.scrollPaneAtEnd=o>=i};t.prototype.scrollToElement=function(t,e){var a=this;if(t===void 0){t=this.currentIndex}var o=this.getScrollPaneElements();if(!o||o.length===0){return}if(t+1>=o.length){t=o.length-1}if(t<0){t=0}var i=o[0].getBoundingClientRect().x;var r=5;var n=function(){if(o[0].getBoundingClientRect().x===i){r--;if(r!==0){window.requestAnimationFrame(n);return}a.updateScrollButtons(o[t])}else{window.requestAnimationFrame(n);i=o[0].getBoundingClientRect().x}};o[t].scrollIntoView({behavior:"smooth",block:"nearest",inline:e});window.requestAnimationFrame(n)};t.prototype.scrollLeft=function(){this.scrollPaneAtEnd=false;var t=this.getFirstVisibleElement();this.scrollToElement(t-1,"center")};t.prototype.scrollRight=function(){this.scrollPaneAtStart=false;var t=this.getLastVisibleElement();this.scrollToElement(t+1,"center")};t.prototype.getOverlayWidth=function(){return this.buttonPosition==="absolute"?0:10};t.prototype.renderButton=function(t){var e,o;var i=this;var r=this.theme==="turva"?"color-primary-darker-turva":"color-primary";var n=this.theme==="turva"?"color-gray-turva":"color-gray";var s=function(){if(t==="left"){i.scrollLeft()}else{i.scrollRight()}};var u=t==="left"?this.scrollPaneAtStart:this.scrollPaneAtEnd;return a("div",{class:(e={"duet-scrollable-button-container":true},e["".concat(t)]=true,e["duet-scrollable-button-container--occluded"]=!this.needsScrolling,e["duet-scrollable-button-container--".concat(this.buttonPosition)]=true,e),hidden:!this.buttons||this.buttonPosition==="absolute"&&u},a("span",{part:"".concat(this.identifier,"-button-").concat(t),"aria-hidden":"true",class:(o={"duet-scrollable-button":true},o["duet-scrollable-button--".concat(this.buttonPosition)]=true,o["duet-scrollable-button--".concat(this.buttonAlignment)]=true,o["duet-scrollable-button--".concat(t)]=true,o),onClick:function(){s();if(document.activeElement){document.activeElement.blur()}},hidden:!this.buttons||u},a("duet-icon",{color:u?n:r,name:t==="left"?"action-arrow-left":"action-arrow-right",size:this.buttonPosition==="absolute"?"x-small":"small",margin:"none"})))};t.prototype.render=function(){var t;var e=this;return a(o,{key:"13b04f9678d2d876b3813ff3be4400c6d3cb8706",class:{"duet-theme-turva":this.theme==="turva","duet-theme-default":this.theme==="default"}},this.hasCollapseButtonLabelSlot&&a("div",{key:"5459a8a656904d8cf5930623b0590b533055be36",class:{collapse:true,hide:!this.needsScrolling&&!this.collapsed}},a("duet-button",{key:"0e1a7e9dd6e442d653ce8dbdc19831b3299d47c5",variation:"plain",margin:"none","center-text":true,onClick:function(){return e.collapsedOnClick()}},a("slot",{key:"8c534bbeea9b0f15915958ae3947ca479a141a07",name:"collapse-button-label"}))),a("div",{key:"333736ff3035d3ba6e12b6f73c38fad12af6ec6a",class:{"duet-scrollable-items":true,buttons:this.buttons,center:this.center,"duet-theme-turva":this.theme==="turva"}},this.buttons&&this.renderButton("left"),a("div",{key:"78c52fc83f55f4e9ab7bd9a3d12ec2c7a88f2e3f",class:(t={"duet-scrollable-list":true},t["duet-scrollable-list--".concat(this.buttonPosition)]=true,t["gap-".concat(this.gap)]=true,t.collapsed=this.collapsed,t["duet-overflow-padding--".concat(this.padding)]=this.padding!=="none",t["duet-scrollable-list--".concat(this.buttonPosition)]=this.buttonPosition==="absolute",t["duet-scrollable-stretch"]=this.stretch,t),onScroll:function(){return e.updateScrollButtons()},ref:function(t){return e.scrollPaneElement=t}},a("slot",{key:"95205e7b789573b3f5bfa2e542d81e2068968e93"})),this.buttons&&this.renderButton("right")))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["watchPropHandler"]}},enumerable:false,configurable:true});return t}());j.style=_;var S=".sc-duet-tab-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%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}.duet-tab.has-content-id.sc-duet-tab,.duet-tab.has-content-id.selected.sc-duet-tab{display:none}.user-is-tabbing.sc-duet-tab-h .duet-tab.sc-duet-tab:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-tab-h .duet-tab.duet-theme-turva.sc-duet-tab:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";var I=S;var U=t("duet_tab",function(){function t(t){var a=this;e(this,t);this.setupContentElement=function(){if(a.contentId){a.tabpanelElement=document.getElementById(a.contentId);if(a.tabpanelElement){a.tabpanelElement.setAttribute("role","tabpanel");a.tabpanelElement.setAttribute("tabindex","-1");a.tabpanelElement.removeEventListener("focus",a.tabpanelElementFocusListener);a.tabpanelElement.removeEventListener("blur",a.tabpanelElementBlurListener);a.tabpanelElement.addEventListener("focus",a.tabpanelElementFocusListener);a.tabpanelElement.addEventListener("blur",a.tabpanelElementBlurListener);if(a.accessibleDescription){a.tabpanelElement.setAttribute("aria-description",a.accessibleDescription)}if(a.accessibleLabelledBy){a.tabpanelElement.setAttribute("aria-labelledby",a.accessibleLabelledBy)}if(a.selected){a.tabpanelElement.toggleAttribute("hidden",false)}else{a.tabpanelElement.toggleAttribute("hidden",true)}}}};this.tabpanelElementFocusListener=function(){if(a.element.classList.contains("user-is-tabbing")){a.tabpanelElement.style.outline="0";a.tabpanelElement.style.boxShadow=w(a.theme==="turva"?"focus-turva":"focus")}};this.tabpanelElementBlurListener=function(){a.tabpanelElement.style.outline=null;a.tabpanelElement.style.boxShadow=null};this.theme="";this.label=undefined;this.caption=undefined;this.selected=undefined;this.notificationMark=undefined;this.accessibleDescriptionDefault=null;this.accessibleDescription=this.accessibleDescriptionDefault?m(this.accessibleDescriptionDefault):null;this.accessibleLabelledBy=undefined;this.contentId=undefined}t.prototype.componentWillLoad=function(){n(this)};t.prototype.connectedCallback=function(){v(this,{prop:"accessibleDescription",defaults:"accessibleDescriptionDefault"});l(this);this.setupContentElement()};t.prototype.disconnectedCallback=function(){x(this);d(this);if(this.tabpanelElement){this.tabpanelElement.removeEventListener("focus",this.tabpanelElementFocusListener.bind(this));this.tabpanelElement.removeEventListener("blur",this.tabpanelElementBlurListener.bind(this));this.tabpanelElement=undefined}};t.prototype.setupSelected=function(t,e){if(!!t===!!e){return}this.setupContentElement()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.tabpanelElement.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;return a("div",{ref:function(e){if(!t.contentId){t.tabpanelElement=e}},role:"tabpanel",class:{"duet-theme-turva":this.theme==="turva","duet-tab":true,selected:this.selected,"has-content-id":!!this.contentId},"aria-description":this.accessibleDescription,"aria-labelledby":this.accessibleLabelledBy,tabindex:"-1"},a("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["setupSelected"]}},enumerable:false,configurable:true});return t}());U.style=I;var C='*,*::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;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(222, 224, 228)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-top:0;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper{}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper{position:relative;width:100%;overflow:hidden;border-radius:8px;}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay{display:contents}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background,.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .border{position:absolute;width:100%;height:100%;pointer-events:none;border-radius:8px}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background{z-index:100;background:rgb(245, 248, 250)}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background::after{position:absolute;top:0;left:0;width:100%;height:100%;margin-block:1px;content:"";border-radius:8px;box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-theme-turva .duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background::after{box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .border{z-index:206;border:1px solid rgb(212, 223, 229)}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:inline-block;width:auto;padding:20px;margin-left:-2px;overflow:visible;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.1;text-align:left;text-decoration:none;cursor:pointer;border-right:2px solid rgb(212, 223, 229);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-group-stretch .duet-tab-button{flex:1 1 0;min-width:fit-content;text-align:center}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-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-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:"";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button:hover{z-index:200;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-tab-button:hover{border-color:rgba(199, 202, 207, 0.8)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(198, 12, 48);border-color:rgb(222, 224, 228);border-bottom-color:rgb(198, 12, 48)}.duet-tab-button:focus{z-index:205;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-tab-variation-default .duet-tab-button{z-index:200;padding:11px 20px 13px 20px;overflow:hidden;font-size:0.875rem;color:rgb(62, 84, 102);background:rgb(245, 248, 250);border:1px solid rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button.switch-large-at-always{padding:15px 28px 17px 28px;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-default .duet-tab-button.switch-large-at-small{padding:15px 28px 17px 28px;font-size:1rem}}.duet-tab-variation-default .duet-tab-button.selected{color:rgb(8, 42, 77);background:rgb(255, 255, 255);transition:none}.duet-tab-variation-default .duet-tab-button.selected::before{position:absolute;right:-1px;bottom:0;z-index:300;display:block;width:calc(100% + 2px);height:2px;content:"";background-color:rgb(0, 119, 179)}.duet-tab-variation-default .duet-tab-button.selected:focus-visible{outline:2px solid rgba(0, 119, 179, 0.8);outline-offset:-5px;box-shadow:none !important}.duet-tab-variation-default .duet-tab-button.selected:focus-visible::before{height:0}.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(30, 45, 59);background:rgb(228, 236, 239)}.duet-tab-variation-default .duet-tab-button:first-child{border-radius:8px 0 0 8px}.duet-tab-variation-default .duet-tab-button:last-child{border-radius:0 8px 8px 0}.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button{z-index:200}.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button:last-child{border-radius:0}.duet-theme-turva.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button::before{height:3px}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(71, 78, 101)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(23, 28, 58);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::before{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){z-index:200;box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:hover:not(.selected){z-index:200;color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:focus-visible{border-color:rgb(222, 224, 228);outline-color:rgba(199, 202, 207, 0.8)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding:12px 0;margin-left:0;font-size:0.875rem;color:rgb(81, 105, 123);border-width:0;border-bottom:2px solid transparent;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button.switch-large-at-always{padding:20px 0;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-plain .duet-tab-button.switch-large-at-small{padding:20px 0;font-size:1rem}}.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button{color:rgb(71, 78, 101)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(45, 52, 79);border-bottom:2px solid rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(23, 28, 58);border-bottom:2px solid rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(181, 198, 208);border-top:2px solid rgb(181, 198, 208);border-bottom-color:rgb(0, 119, 179);border-left:2px solid rgb(181, 198, 208);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(181, 198, 208);border-bottom-color:rgb(113, 118, 132)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(240, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(113, 118, 132);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(98, 121, 138)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:" ";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{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-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(113, 118, 132)}';var E=C;var A=t("duet_tab_group",function(){function t(t){var a=this;e(this,t);this.duetChange=r(this,"duetChange",3);this.duetTabChange=r(this,"duetTabChange",7);this.duetTabChangeRequested=r(this,"duetTabChangeRequested",7);this.id=y("DuetTabGroup");this.handleKeyDown=function(t){var e;if(h(t)||p(t)){e=t.target.previousElementSibling}else if(f(t)||g(t)){e=t.target.nextElementSibling}if(b(t)&&!c(t)){t.preventDefault();a.element.querySelector(":scope > duet-tab[selected]").setFocus()}if(e){t.preventDefault();e.click();e.focus()}};this.onTabSelect=function(t){if(a.tabChangeConfirm){if(t!==a.selected){var e={value:t,component:"duet-tab-group"};a.duetTabChangeRequested.emit(e)}}else{a.openTab(t)}};this.scrollToActive=function(){setTimeout((function(){var t=a.tabsContainer.querySelector(".selected");if(t){t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}}),50)};this.tabs=[];this.selected=undefined;this.theme="";this.scrolls=true;this.collapses=false;this.accessibleLabel=undefined;this.variation="default";this.language=k();this.labelDefaults={fi:"Valitse",en:"Choose",sv:"Välj"};this.label=m(this.labelDefaults,this.language);this.labelHidden=true;this.identifier=this.id;this.margin="auto";this.padding="auto";this.setTabIndex=true;this.tabChangeConfirm=false;this.switchLargeBreakpoint="small";this.fillSpace=false;this.stretch=false}t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){switch(e.label){case 0:if(typeof MutationObserver!=="undefined"){this.mutationO=new MutationObserver((function(){t.updateTabs()}));this.mutationO.observe(this.element,{attributes:true,attributeFilter:["label"],childList:true,characterData:true,subtree:true})}return[4,this.updateTabs()];case 1:e.sent();l(this);return[2]}}))}))};t.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}d(this)};t.prototype.componentWillLoad=function(){n(this)};t.prototype.componentDidLoad=function(){var t=this;this.intersectionObserver=new IntersectionObserver((function(e){if(e.length>0&&e[0].isIntersecting){t.scrollToActive();t.intersectionObserver.disconnect()}}),{root:null,threshold:0});this.intersectionObserver.observe(this.element)};t.prototype.openTab=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){if(t>=this.tabs.length){throw new Error("[duet-tabs] Index ".concat(t," is out of bounds of tabs length"))}this.selected=t;this.tabs.forEach((function(e,a){e.selected=a===t}));this.scrollToActive();e={value:t,component:"duet-tab-group"};this.duetChange.emit(e);this.duetTabChange.emit(e);return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){console.log("[duet-tabs] Refresh method is deprecated and will be removed in the future version.");return[2]}))}))};t.prototype.getTabs=function(){var t=this;var e=Array.from(this.element.querySelectorAll("duet-tab"));var a=e.filter((function(e){return e.closest("duet-tab-group")===t.element}));if(a.length===0){throw new Error("[duet-tabs] Must have at least one tab")}return a};t.prototype.getButtonId=function(t){return"".concat(this.id,"-button-").concat(t)};t.prototype.getTabId=function(t){return"".concat(this.id,"-tab-").concat(t)};t.prototype.getAccessibleDescription=function(t){var e=this.tabs[t].getAttribute("accessible-description")||null;return e};t.prototype.updateTabs=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){this.selected=undefined;this.tabs=this.getTabs();this.tabs.forEach((function(e,a){e.id=t.getTabId(a);if(e.selected){if(t.selected===undefined){t.selected=a}else{e.selected=false}}}));if(this.selected===undefined){this.selected=0;this.tabs[0].selected=true}return[2]}))}))};t.prototype.isCentered=function(){return window&&window.getComputedStyle(this.element).textAlign=="center"};t.prototype.render=function(){var t;var e=this;var o=this.variation==="plain-scrolling"?"duet-tab-variation-plain":"duet-tab-variation-".concat(this.variation);var i=this.variation==="checked"||this.variation==="plain-scrolling";var r="switch-large-at-".concat(this.switchLargeBreakpoint?this.switchLargeBreakpoint:"small");var n=this.tabs.map((function(t,o){var i;return a("button",{role:"tab",id:e.getButtonId(o),"aria-selected":t.selected?"true":"false","aria-description":e.getAccessibleDescription(o),tabindex:t.selected?"0":"-1",part:"".concat(e.identifier,"-button ").concat(t.selected?"".concat(e.identifier,"-button--selected"):""),type:"button",class:(i={"duet-p-0":e.padding==="none","duet-tab-button":true,"stackable-tab":e.variation==="checked"&&e.tabs.length<=3,selected:t.selected},i["duet-notification-mark-".concat(t.notificationMark)]=!!t.notificationMark,i[r]=["default","plain","plain-scrolling"].includes(e.variation)?true:false,i),onClick:function(){return e.onTabSelect(o)},onKeyDown:function(t){return e.handleKeyDown(t)}},e.variation==="checked"?a("div",{class:{"checked-tab-content":true,"stackable-checked-tab-content":e.tabs.length<=3}},a("div",{class:{"checked-tab-description":true,"stackable-description":e.tabs.length<=3}},a("p",null,t.label),a("p",{class:{"tab-caption":true,selected:t.selected}},t.caption)),a("div",{class:{"stackable-checkmark":e.tabs.length<=3}},a("duet-checkmark",{theme:e.theme,checked:t.selected,type:"radio","presentation-only":true,center:true}))):t.label)}));return a("div",{key:"b7f2848d57cafb3d41287f90b8c48b6870ca6e02",class:(t={"duet-tab-group":true,"duet-theme-turva":this.theme==="turva"},t[o]=true,t["duet-tab-plain-scrolling"]=this.variation==="plain-scrolling",t["duet-tab-group-scrolls"]=true,t),"aria-label":this.accessibleLabel},a("div",{key:"d96384958ba83c00c34e4e49d08ea6d90ace8b96",role:"tablist",class:{"duet-m-0":this.margin==="none"||this.variation==="checked","duet-tab-group-tabs":true,"duet-tab-group-hidden":this.tabs.length>3&&!i,"duet-tab-group-fill-space":this.fillSpace&&!this.stretch&&this.variation==="default","duet-tab-group-stretch":this.stretch},ref:function(t){e.tabsContainer=t}},this.variation==="checked"?n:a("div",{class:{"duet-tab-group-scrollable-wrapper":true,"duet-tab-group-fill-space-wrapper":this.fillSpace&&this.variation==="default"}},this.fillSpace&&!this.stretch&&this.variation==="default"&&a("div",{class:"duet-scrollable-stretch-overlay"},a("div",{class:"background"}),a("div",{class:"border"})),a("duet-scrollable",{selected:this.selected,identifier:this.identifier,gap:["default","plain","plain-scrolling"].includes(this.variation)?"none":"large",buttonPosition:this.variation==="default"?"absolute":"relative",center:this.isCentered()?this.isCentered():this.element.style.textAlign=="center",theme:this.theme,stretch:this.stretch},n))),a("div",{key:"1af41aa98fb13ebd5fb4f8913a8ae2a990007271",class:{"duet-tab-group-content":true,"duet-m-0":this.margin==="none","checked-group-content":this.variation==="checked"}},a("slot",{key:"2a232778878cbcd955bf24d008384d1dc02659e9"})))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());A.style=E}}}));
@@ -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 n,F as o}from"./p-5c1cada7.js";import{i as a}from"./p-aaa7a7bd.js";import{s as r}from"./p-9c3c64b9.js";import{g as d}from"./p-5de30279.js";import{a as s}from"./p-f11208c3.js";import{D as l,c as h}from"./p-beeb12f1.js";import{g as c}from"./p-e8532ea6.js";import{a as u,g as p,c as m,d as g}from"./p-1ebe06b3.js";import{c as b}from"./p-5e59e970.js";import"./p-17efced0.js";import"./p-cfa74eff.js";const k=class{constructor(e){t(this,e),this.theme="",this.margin="auto",this.selected=!1,this.size="medium"}componentWillLoad(){a(this)}render(){return e(i,{key:"46c245b72ac2d6f4641a58e56dccecdce8421151",class:{"duet-caption":!0,"duet-caption-selected":this.selected,"duet-caption-small":"small"===this.size,"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin}},e("slot",{key:"56d458c5573dda5e0b8f6ec7d376a9eb327e0628"}))}get element(){return n(this)}};k.style=':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:flex;flex:0 0 100%;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.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(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}';const f=class{constructor(e){t(this,e),this.level="h2",this.margin="auto",this.visualLevel=void 0,this.border=!1,this.weight="auto",this.color="",this.theme="",this.hyphenate=!1,this.fixedSize=!1,this.accessibleLabel=void 0}componentWillLoad(){a(this)}render(){const t=r(this.level),i=d(this.color);return e(t,{key:"503e72f1d157423d41337a6ac71c1032e611b72b",class:{"duet-heading":!0,"duet-heading-border":!1!==this.border,"duet-heading-border-solid":"solid"===this.border,"duet-normal":"normal"===this.weight,"duet-semibold":"semibold"===this.weight,"duet-heading-hyphenate":this.hyphenate,"duet-m-0":"none"===this.margin,[this.visualLevel?this.visualLevel:this.level]:!0,"duet-theme-turva":"turva"===this.theme,"fixed-size":this.fixedSize},"aria-label":this.accessibleLabel,style:{color:i},part:"duet-heading"},e("slot",{key:"5d267eda1aea3d9d8284864c0386c4099823a6c9"}))}get element(){return n(this)}};f.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-wrap:balance;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var x='<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M5.499 24a.752.752 0 0 1-.53-1.281L15.689 12 4.969 1.28c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22l10.72 10.72a1.5 1.5 0 0 1 .001 2.119L6.029 23.78a.743.743 0 0 1-.53.22z"/></svg>',v='<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>';const w=class{constructor(e){t(this,e),this.variation="default",this.accessibleLabel=void 0,this.language=u(),this.accessibleLabelExternalDefaults=l,this.accessibleLabelExternal=p(this.accessibleLabelExternalDefaults),this.accessibleLabelDownloadDefaults=h,this.accessibleLabelDownload=p(this.accessibleLabelDownloadDefaults),this.accessibleExpanded=void 0,this.accessiblePopup="false",this.identifier=void 0,this.theme="",this.url="#",this.external=!1,this.download=null,this.tabToLink=!1,this.icon=void 0,this.iconColor="currentColor",this.iconBackground=null,this.iconResponsive=!1,this.margin="auto",this.padding="auto",this.isMediumScreen=!1,this.ariaLabel=void 0}componentWillLoad(){a(this),this.resolvedDownload=this.resolveDownload(),"button"===this.variation&&"#"===this.url&&(this.url=void 0)}connectedCallback(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"}),this.setAriaLabel(),this.mutationObserver=new MutationObserver(this.setAriaLabel.bind(this)),this.mutationObserver.observe(this.element,{subtree:!0,childList:!0,characterData:!0})}disconnectedCallback(){g(this),this.mutationObserver&&this.mutationObserver.disconnect()}async setFocus(t){this.nativeLink.focus(t)}setAriaLabel(){setTimeout((()=>{this.ariaLabel=this.url&&c(this)||this.accessibleLabel}))}resolveDownload(){return""===this.download?this.url.split("/").pop():this.download}renderDefaultContent(){return e(o,null,e("span",{class:"duet-link-content",part:"duet-link-content"},e("slot",null)),(this.resolvedDownload||this.external)&&"default"===this.variation&&e(o,null,e("span",{class:"duet-link-icon-tail"}," ",e("duet-icon",{icon:this.resolvedDownload?'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.193 1.7c0-.658-.542-1.2-1.2-1.2-.657 0-1.199.542-1.199 1.2v8.922l-2.778-2.6a1.2 1.2 0 0 0-1.64 1.751l4.797 4.498c.458.43 1.183.43 1.64 0l4.798-4.498c.242-.228.379-.544.379-.875a1.2 1.2 0 0 0-2.02-.876l-2.777 2.603V1.699Z"/><path d="M1.5 13.544a1.5 1.5 0 0 1 1.498 1.5v1.498a1.61 1.61 0 0 0 .418 1.096h-.003c0-.002.036.032.13.082.39.194.818.305 1.254.321H19.19a3.085 3.085 0 0 0 1.255-.32c.096-.051.13-.085.13-.085.27-.3.42-.69.414-1.096v-1.5c0-.822.677-1.498 1.5-1.498.822 0 1.499.676 1.499 1.499v1.499c0 1.16-.43 2.293-1.224 3.142-.518.557-1.235.876-1.791 1.056a5.976 5.976 0 0 1-1.783.302H4.797a6.053 6.053 0 0 1-1.782-.302c-.556-.18-1.274-.5-1.792-1.056A4.613 4.613 0 0 1 0 16.542v-1.499a1.5 1.5 0 0 1 1.5-1.499Z"/></svg>':s.svg,size:"xx-small",margin:"none",color:"currentColor"}))))}renderBlockContent(){return e(o,null,this.icon&&e("span",{class:"block__icon"},e("duet-icon",{class:this.iconResponsive?"icon-responsive":"",size:"auto",name:this.icon,margin:"none",color:this.iconColor})),e("span",{class:"block__content"},this.renderDefaultContent()),e("span",{class:"block__chevron",part:"block-chevron"},e("duet-icon",{class:"block__chevron-icon",icon:this.external?v:x,size:"x-small",margin:"none",color:"primary-dark"})))}renderButtonCardContent(){const t={"background-color":d(this.iconBackground,this.theme)};return e(o,null,this.icon&&e("span",{class:"icon-wrap",style:t},e("duet-icon",{size:"auto",name:this.icon,margin:"none",color:this.iconColor})),e("div",{class:"duet-link-content",part:"duet-link-content"},e("slot",null)),e("span",{class:"chevron-wrap"},e("duet-icon",{class:"block__chevron-icon",icon:this.external?v:x,size:"x-small",margin:"none",color:"primary-dark"})))}renderContent(){switch(this.variation){case"default":return this.renderDefaultContent();case"block":case"block-center":return this.renderBlockContent();case"button":case"card":return this.renderButtonCardContent()}}render(){const t=this.url?"a":"button",n="button"===t;return e(i,{key:"257fc0e157b43e4e1daaa1ec31f408436c28c733",class:{[`duet-link-${this.variation}`]:!0,"duet-m-0":"none"===this.margin}},e(t,{key:"fc0fe56a54a5ae2cfc59251d8c2c5f3e70fe9fb9",href:this.url,class:{"duet-link":!0,"duet-link-is-external":this.external,"duet-link-is-download":!!this.download,"duet-link-has-icon":!!this.icon,"duet-link-has-icon-background":!!this.iconBackground,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":"turva"===this.theme,"duet-p-0":"none"===this.padding,[this.padding]:!0,[this.variation]:!0},target:this.download||!this.url?null:this.external?"_blank":"_self",download:this.resolvedDownload,"aria-label":this.ariaLabel,"aria-expanded":null!=this.accessibleExpanded&&n?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup&&n?this.accessiblePopup.toString():void 0,id:this.identifier,ref:t=>this.nativeLink=t,part:"duet-link",rel:this.external?"noopener":void 0},this.renderContent()))}static get delegatesFocus(){return!0}get element(){return n(this)}static get watchers(){return{language:["setAriaLabel"]}}};w.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-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(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link,.block-center.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon,.block-center.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none,.block-center.duet-link.none{padding:0}.block .block__icon,.block-center .block__icon{display:flex}.block .block__icon duet-icon,.block-center .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive,.block-center .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive,.block-center .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content,.block-center .block__content{position:relative;bottom:2px}.block .block__chevron,.block-center .block__chevron{align-self:center}.block .block__chevron-icon,.block-center .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon,.block-center:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.block-center.duet-link{align-items:center}.block-center .block__content{position:static}.block-center .block__chevron{display:flex;align-items:center}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);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-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}';const y=class{constructor(e){t(this,e),this.id=b("duet-paragraph"),this.theme="",this.margin="auto",this.size="medium",this.weight=void 0,this.variation="default",this.color=""}componentWillLoad(){a(this)}render(){const t=d(this.color);return e(i,{key:"c40c5ba6cbe85a63b4175aaedcd83594adc10734","aria-describedby":this.id},e("p",{key:"96d0dad61f9e9b74f6c0945723b401dc179c87df",id:this.id,class:{"duet-paragraph":!0,"duet-paragraph-small":"small"===this.size,"duet-paragraph-semi-bold":"semi-bold"===this.weight,"duet-paragraph-bold":"bold"===this.weight,"duet-m-0":"none"===this.margin,[this.variation]:!0,"duet-theme-turva":"turva"===this.theme},style:{color:t},part:"duet-paragraph"},e("slot",{key:"b8d26076ea382a76379fb587c13f05eadb91da4e"})))}get element(){return n(this)}};y.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;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-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.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-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){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;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).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(198, 12, 48)}::slotted(a):hover{color:rgb(0, 75, 129);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(126, 2, 35)}::slotted(a):active{opacity:0.75;transition:none}';export{k as duet_caption,f as duet_heading,w as duet_link,y as duet_paragraph}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,i,a){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function s(e){try{d(a.next(e))}catch(e){n(e)}}function o(e){try{d(a["throw"](e))}catch(e){n(e)}}function d(e){e.done?i(e.value):r(e.value).then(s,o)}d((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,r,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return d([e,t])}}function d(o){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(a=1,r&&(n=o[0]&2?r["return"]:o[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,o[1])).done)return n;if(r=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;r=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){i.label=o[1];break}if(o[0]===6&&i.label<n[1]){i.label=n[1];n=o;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(o);break}if(n[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];r=0}finally{a=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-f2d5c69e.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-9a43132b.system.js","./p-61ac836c.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,a,r,n,s,o,d,u,c,l,h,p;return{setters:[function(e){t=e.r;i=e.c;a=e.h;r=e.H;n=e.g},function(e){s=e.i},function(e){o=e.c},function(e){d=e.s;u=e.u},function(e){c=e.g;l=e.c;h=e.d},function(e){p=e.h},function(){}],execute:function(){var f='*,*::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%;max-height:999px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:rgb(228, 241, 247);border:1px solid rgb(172, 210, 229);border-radius:12px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.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-alert-wrapper.warning{color:rgb(38, 26, 4);background:rgb(255, 247, 221);border:1px solid rgb(255, 217, 120)}.duet-alert-wrapper.danger{color:rgb(89, 0, 45);background:rgb(255, 225, 231);border:1px solid rgb(252, 136, 162)}.duet-alert-wrapper.success{color:rgb(4, 38, 33);background:rgb(231, 248, 239);border:1px solid rgb(163, 229, 202)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 72px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-wrapper .duet-alert.duet-alert-expandable{padding-right:20px}.duet-alert-dismiss{position:absolute;top:3px;right:3px}.duet-alert-dismiss duet-button:hover{background-color:rgb(198, 225, 238);border-radius:8px}.warning .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 232, 160)}.danger .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 173, 190)}.success .duet-alert-dismiss duet-button:hover{background-color:rgb(191, 239, 218)}.duet-alert-container{display:inline-flex;align-items:flex-start;width:100%;margin:0 auto !important}.duet-alert-container .duet-alert-content{flex-grow:1;line-height:1.5}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{position:relative;top:2px;display:inline-block;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-expander{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;width:calc(100% + 32px + 40px);padding:16px;padding-right:20px;padding-left:52px;margin:-16px;margin-left:-52px;font-family:inherit;color:inherit;cursor:pointer;background-color:inherit}.duet-alert-expanded .duet-alert-expander{margin-bottom:-4px}.duet-alert-expander .expanding-title{flex-grow:1;font-size:1rem;line-height:1.5;text-align:left}.duet-alert-expander duet-icon{position:relative;top:4px;transition:rotate 300ms ease}.duet-alert-expanded .duet-alert-expander duet-icon{rotate:180deg}.duet-alert-expander:hover{filter:brightness(85%)}';var b=f;var m=e("duet_alert",function(){function e(e){var a=this;t(this,e);this.duetDismiss=i(this,"duetDismiss",7);this.duetCloseComplete=i(this,"duetCloseComplete",7);this.descriptiveId=o("DuetAlert");this.hasShowMoreSlot=false;this.handleDismiss=function(e){a.handleHide();a.duetDismiss.emit({component:"duet-alert",originalEvent:e})};this.handleShow=function(){a.isDismissed=false};this.handleHide=function(){a.isDismissed=true;a.element.addEventListener("transitionend",(function(){return a.duetCloseComplete.emit()}),{once:true})};this.handleExpandToggle=function(){a.isExpanded=!a.isExpanded};this.theme="";this.isDismissed=false;this.isExpanded=false;this.timeoutID=undefined;this.accessibleLabelDefaults={fi:"Painike viestin sulkemiseen",sv:"Knapp för att stänga meddelandet",en:"Button to close the message"};this.accessibleLabel=c(this.accessibleLabelDefaults);this.announcements=true;this.icon="";this.autoDismiss=undefined;this.margin="auto";this.padding="auto";this.variation="default";this.position="content";this.dismissible=false;this.focusable=false;this.expandingTitle=""}e.prototype.componentWillLoad=function(){s(this);this.hasShowMoreSlot=p(this.element,"show-more")};e.prototype.componentDidLoad=function(){var e=this;if(this.autoDismiss){this.timeoutID=setTimeout((function(){return e.handleDismiss()}),this.autoDismiss)}};e.prototype.connectedCallback=function(){l(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"});d(this)};e.prototype.disconnectedCallback=function(){if(this.timeoutID){clearTimeout(this.timeoutID)}h(this);u(this)};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleShow();return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleHide();return[2]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.alertContainer.focus(e);return[2]}))}))};e.prototype.render=function(){var e,t;var i=this;return a(r,{key:"ae55751444a59a0630329e55f88711761506aa5f",class:{"duet-theme-turva":this.theme==="turva","duet-alert-is-dismissed":this.isDismissed},role:this.announcements?"alert":undefined},a("div",{key:"03074d2258592e0ffa63f933f291667050116d87",class:(e={"duet-alert-wrapper":true,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},e[this.variation]=true,e[this.position]=true,e["duet-theme-turva"]=this.theme==="turva",e)},a("div",{key:"8a8ba0be00f76fc59c9e6f800ab5e7187c1708d9",class:(t={"duet-alert":true,"duet-alert-expandable":!!this.expandingTitle,"duet-alert-expanded":this.isExpanded,"duet-alert-has-icon":!!this.icon||this.position==="below-nav","duet-alert-has-show-more":this.hasShowMoreSlot,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t)},a("div",{key:"7ea557b2dbf25762a9382fb05a562dd92ba94a0d",class:"duet-alert-container",ref:function(e){i.alertContainer=e},tabindex:this.focusable?"0":undefined},this.position!=="below-nav"&&a("div",{key:"8e1ffa6107c2cd63f831bdfa0d80fdc0565bdfc1",class:"duet-alert-icon"},this.icon&&a("duet-icon",{key:"0e2cddc6680f121ac6837f426c135d94fec8fd4f",size:"auto",name:this.icon,color:"currentColor"})||a("duet-status-icon",{key:"22400d9ead5d0d2153077460773ac2dc3b60b0ec",strong:true,variation:this.variation,margin:"none",size:"auto"})),this.position==="below-nav"&&a("div",{key:"5b40ce74518e3cd6d0bb90d925578b1b8118ca82",class:"duet-alert-icon below-nav"},a("duet-status-icon",{key:"2be267d6749de5f4ba1694b82c2117b2553834e3",strong:true,variation:this.variation,margin:"none",size:"auto"})),a("div",{key:"b806ffa20525c37ea87b4e57b5354181fa4cb8ea",class:"duet-alert-content",id:this.descriptiveId},this.expandingTitle&&a("button",{key:"04956e8168dbd2e3dc200b0c0a4ccd5da3290f2a","aria-expanded":this.isExpanded.toString(),"aria-controls":"".concat(this.descriptiveId,"-content"),class:"duet-alert-expander",onClick:this.handleExpandToggle},a("span",{key:"63ae4a87fbe7e728c81183def7afdf108588f83e",class:"expanding-title"},this.expandingTitle),a("duet-icon",{key:"fb34541b1a576e13e5505e38a944b03a4799a0cf",name:"action-arrow-down",color:this.variation==="default"?"lt-blue-800":"".concat(this.variation,"-800"),margin:"none",size:"x-small"})),(!this.expandingTitle||this.isExpanded)&&a("div",{key:"05754aa30c0d0f9062047c766c0a1151b4599a26",id:"".concat(this.descriptiveId,"-content")},a("slot",{key:"213940d0f233bd4762584448579ad48477d564dd"})))),this.hasShowMoreSlot&&a("duet-show-more",{key:"328837aa4a239bdad2e1a63811ccf64d818863b1",margin:"none",class:"duet-alert-show-more"},a("slot",{key:"6200788cc7facca8507701008dfdb22d5034a974",name:"show-more"})),this.dismissible&&!this.expandingTitle&&a("div",{key:"0302d1c6d386bdca47034e4e08f694d6dcd64149",class:"duet-alert-dismiss"},a("duet-button",{key:"73c78cce1ec34e97b139d267d7efd56d231a8a95",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,iconSize:"medium",icon:"navigation-close",iconOnly:true,margin:"none",color:this.variation==="default"?"lt-blue-800":"".concat(this.variation,"-800"),theme:this.theme,onClick:this.handleDismiss,fixed:true})))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());m.style=b}}}));
4
+ */System.register(["./p-90dad2bc.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-122d1eb2.system.js","./p-ff1194f7.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,i,a,r,n,s,o,d,u,l,c,h,p;return{setters:[function(e){t=e.r;i=e.c;a=e.h;r=e.H;n=e.g},function(e){s=e.i},function(e){o=e.c},function(e){d=e.s;u=e.u},function(e){l=e.g;c=e.c;h=e.d},function(e){p=e.h},function(){}],execute:function(){var f='*,*::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%;max-height:999px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:rgb(228, 241, 247);border:1px solid rgb(172, 210, 229);border-radius:12px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.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-alert-wrapper.warning{color:rgb(38, 26, 4);background:rgb(255, 247, 221);border:1px solid rgb(255, 217, 120)}.duet-alert-wrapper.danger{color:rgb(89, 0, 45);background:rgb(255, 225, 231);border:1px solid rgb(252, 136, 162)}.duet-alert-wrapper.success{color:rgb(4, 38, 33);background:rgb(231, 248, 239);border:1px solid rgb(163, 229, 202)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 72px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-wrapper .duet-alert.duet-alert-expandable{padding-right:20px}.duet-alert-dismiss{position:absolute;top:3px;right:3px}.duet-alert-dismiss duet-button:hover{background-color:rgb(198, 225, 238);border-radius:8px}.warning .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 232, 160)}.danger .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 173, 190)}.success .duet-alert-dismiss duet-button:hover{background-color:rgb(191, 239, 218)}.duet-alert-container{display:inline-flex;align-items:flex-start;width:100%;margin:0 auto !important}.duet-alert-container .duet-alert-content{flex-grow:1;line-height:1.5}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{position:relative;top:2px;display:inline-block;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-expander{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;width:calc(100% + 32px + 40px);padding:16px;padding-right:20px;padding-left:52px;margin:-16px;margin-left:-52px;font-family:inherit;color:inherit;cursor:pointer;background-color:inherit}.duet-alert-expanded .duet-alert-expander{margin-bottom:-4px}.duet-alert-expander .expanding-title{flex-grow:1;font-size:1rem;line-height:1.5;text-align:left}.duet-alert-expander duet-icon{position:relative;top:4px;transition:rotate 300ms ease}.duet-alert-expanded .duet-alert-expander duet-icon{rotate:180deg}.duet-alert-expander:hover{filter:brightness(85%)}';var b=f;var m=e("duet_alert",function(){function e(e){var a=this;t(this,e);this.duetDismiss=i(this,"duetDismiss",7);this.duetCloseComplete=i(this,"duetCloseComplete",7);this.descriptiveId=o("DuetAlert");this.hasShowMoreSlot=false;this.handleDismiss=function(e){a.handleHide();a.duetDismiss.emit({component:"duet-alert",originalEvent:e})};this.handleShow=function(){a.isDismissed=false};this.handleHide=function(){a.isDismissed=true;a.element.addEventListener("transitionend",(function(){return a.duetCloseComplete.emit()}),{once:true})};this.handleExpandToggle=function(){a.isExpanded=!a.isExpanded};this.theme="";this.isDismissed=false;this.isExpanded=false;this.timeoutID=undefined;this.accessibleLabelDefaults={fi:"Painike viestin sulkemiseen",sv:"Knapp för att stänga meddelandet",en:"Button to close the message"};this.accessibleLabel=l(this.accessibleLabelDefaults);this.announcements=true;this.icon="";this.autoDismiss=undefined;this.margin="auto";this.padding="auto";this.variation="default";this.position="content";this.dismissible=false;this.focusable=false;this.expandingTitle=""}e.prototype.componentWillLoad=function(){s(this);this.hasShowMoreSlot=p(this.element,"show-more")};e.prototype.componentDidLoad=function(){var e=this;if(this.autoDismiss){this.timeoutID=setTimeout((function(){return e.handleDismiss()}),this.autoDismiss)}};e.prototype.connectedCallback=function(){c(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"});d(this)};e.prototype.disconnectedCallback=function(){if(this.timeoutID){clearTimeout(this.timeoutID)}h(this);u(this)};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleShow();return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleHide();return[2]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.alertContainer.focus(e);return[2]}))}))};e.prototype.render=function(){var e,t;var i=this;return a(r,{key:"ae55751444a59a0630329e55f88711761506aa5f",class:{"duet-theme-turva":this.theme==="turva","duet-alert-is-dismissed":this.isDismissed},role:this.announcements?"alert":undefined},a("div",{key:"03074d2258592e0ffa63f933f291667050116d87",class:(e={"duet-alert-wrapper":true,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},e[this.variation]=true,e[this.position]=true,e["duet-theme-turva"]=this.theme==="turva",e)},a("div",{key:"8a8ba0be00f76fc59c9e6f800ab5e7187c1708d9",class:(t={"duet-alert":true,"duet-alert-expandable":!!this.expandingTitle,"duet-alert-expanded":this.isExpanded,"duet-alert-has-icon":!!this.icon||this.position==="below-nav","duet-alert-has-show-more":this.hasShowMoreSlot,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t)},a("div",{key:"7ea557b2dbf25762a9382fb05a562dd92ba94a0d",class:"duet-alert-container",ref:function(e){i.alertContainer=e},tabindex:this.focusable?"0":undefined},this.position!=="below-nav"&&a("div",{key:"8e1ffa6107c2cd63f831bdfa0d80fdc0565bdfc1",class:"duet-alert-icon"},this.icon&&a("duet-icon",{key:"0e2cddc6680f121ac6837f426c135d94fec8fd4f",size:"auto",name:this.icon,color:"currentColor"})||a("duet-status-icon",{key:"22400d9ead5d0d2153077460773ac2dc3b60b0ec",strong:true,variation:this.variation,margin:"none",size:"auto"})),this.position==="below-nav"&&a("div",{key:"5b40ce74518e3cd6d0bb90d925578b1b8118ca82",class:"duet-alert-icon below-nav"},a("duet-status-icon",{key:"2be267d6749de5f4ba1694b82c2117b2553834e3",strong:true,variation:this.variation,margin:"none",size:"auto"})),a("div",{key:"b806ffa20525c37ea87b4e57b5354181fa4cb8ea",class:"duet-alert-content",id:this.descriptiveId},this.expandingTitle&&a("button",{key:"04956e8168dbd2e3dc200b0c0a4ccd5da3290f2a","aria-expanded":this.isExpanded.toString(),"aria-controls":"".concat(this.descriptiveId,"-content"),class:"duet-alert-expander",onClick:this.handleExpandToggle},a("span",{key:"63ae4a87fbe7e728c81183def7afdf108588f83e",class:"expanding-title"},this.expandingTitle),a("duet-icon",{key:"fb34541b1a576e13e5505e38a944b03a4799a0cf",name:"action-arrow-down",color:this.variation==="default"?"lt-blue-800":"".concat(this.variation,"-800"),margin:"none",size:"x-small"})),(!this.expandingTitle||this.isExpanded)&&a("div",{key:"05754aa30c0d0f9062047c766c0a1151b4599a26",id:"".concat(this.descriptiveId,"-content")},a("slot",{key:"213940d0f233bd4762584448579ad48477d564dd"})))),this.hasShowMoreSlot&&a("duet-show-more",{key:"328837aa4a239bdad2e1a63811ccf64d818863b1",margin:"none",class:"duet-alert-show-more"},a("slot",{key:"6200788cc7facca8507701008dfdb22d5034a974",name:"show-more"})),this.dismissible&&!this.expandingTitle&&a("div",{key:"0302d1c6d386bdca47034e4e08f694d6dcd64149",class:"duet-alert-dismiss"},a("duet-button",{key:"73c78cce1ec34e97b139d267d7efd56d231a8a95",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,iconSize:"medium",icon:"navigation-close",iconOnly:true,margin:"none",color:this.variation==="default"?"lt-blue-800":"".concat(this.variation,"-800"),theme:this.theme,onClick:this.handleDismiss,fixed:true})))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());m.style=b}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,i,e,n){function a(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,s){function r(t){try{u(n.next(t))}catch(t){s(t)}}function o(t){try{u(n["throw"](t))}catch(t){s(t)}}function u(t){t.done?e(t.value):a(t.value).then(r,o)}u((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,r;return r={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(i){return u([t,i])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,o[0]&&(e=0)),e)try{if(n=1,a&&(s=o[0]&2?a["return"]:o[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,o[1])).done)return s;if(a=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;a=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){e.label=o[1];break}if(o[0]===6&&e.label<s[1]){e.label=s[1];s=o;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(o);break}if(s[2])e.ops.pop();e.trys.pop();continue}o=i.call(t,e)}catch(t){o=[6,t];a=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-f2d5c69e.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-752fa0fc.system.js","./p-9a43132b.system.js","./p-98636086.system.js","./p-cbbf6d6a.system.js","./p-ef731dfb.system.js"],(function(t){"use strict";var i,e,n,a,s,r,o,u,h,c,d,l,f,p,b,g,m,v,y,k,_,w,x;return{setters:[function(t){i=t.r;e=t.c;n=t.h;a=t.F;s=t.H;r=t.g},function(t){o=t.i},function(t){u=t.c},function(t){h=t.d},function(t){c=t.k;d=t.l;l=t.d;f=t.b;p=t.a;b=t.c;g=t.m;m=t.n},function(t){v=t.g;y=t.c;k=t.d},function(t){_=t.p},function(t){w=t.b;x=t.a},function(){}],execute:function(){var S=function(t,i,e){if(t*2>i/e){return false}return true};var j='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{margin: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:1rem;font-weight:600 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{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)}';var M=j;var C=t("duet_pagination",function(){function t(t){var n=this;i(this,t);this.duetPageChange=e(this,"duetPageChange",3);this.listId=u("duet-pagination-list");this.firstRenderDone=false;this.handleMediaQueryChange=function(t){n.matchesCompactBreakpoint=w.includes(n.compactBreakpoint)?t.matches:!t.matches};this.actionChain=function(t,i){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:if(!(t===0))return[3,1];this.current=1;return[3,4];case 1:if(!(t>this.totalPages))return[3,2];this.current=this.totalPages;return[3,4];case 2:if(!(i!==t))return[3,4];e=Math.ceil(t/this.visibleItems)-1;if(!(e!==this.internalSectionIndex))return[3,4];this.internalSectionIndex=e;return[4,this.setFocus()];case 3:n.sent();n.label=4;case 4:return[2,true]}}))}))};this.emitPageEvent=function(t,i){var e=Number(i||n.current);n.duetPageChange.emit({component:"duet-pagination",from:e*n.take,to:e*n.take+n.take,current:e,take:n.take,type:"page",originalEvent:t})};this.getEnteredNumber=h((function(t){n.emitPageEvent(t,n.numbersStore);n.current=Number(n.numbersStore);n.numbersStore="";n.duetPageChange.emit({component:"duet-pagination",from:n.current*n.take,to:n.current*n.take+n.take,current:n.current,take:n.take,type:"jump",originalEvent:t})}),500);this.processedPageLinks=null;this.numbersStore="";this.matchesCompactBreakpoint=false;this.totalPages=10;this.internalSectionIndex=0;this.theme="";this.disabled=false;this.variation="default";this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}};this.accessibleLabels=v(this.accessibleLabelsDefaults);this.take=5;this.visibleItems=5;this.total=1e3;this.compactBreakpoint="x-small";this.ariaControls="";this.current=1;this.pageLinks=undefined}t.prototype.watchPropTotalHandler=function(){this.calculatePageTake();return true};t.prototype.watchStateHandler=function(t,i){return this.actionChain(t,i)};t.prototype.componentWillLoad=function(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1;this.calculatePageTake();o(this);this.refresh()};t.prototype.componentDidLoad=function(){this.firstRenderDone=true};t.prototype.componentWillRender=function(){if(this.internalSectionIndex!==0&&this.internalSectionIndex!==this.totalPages){this.calculatePageTake()}};t.prototype.componentDidRender=function(){if(this.firstRenderDone&&!this.processedPageLinks){this.setFocus()}};t.prototype.connectedCallback=function(){var t=this.compactBreakpoint==="none"?"all":x[this.compactBreakpoint];this.mq=matchMedia(t);this.mq.addEventListener("change",h(this.handleMediaQueryChange,50));this.handleMediaQueryChange(this.mq);y(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){this.mq.removeEventListener("change",this.handleMediaQueryChange);this.mq=null;this.matchesCompactBreakpoint=false;k(this)};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedPageLinks=_(this.pageLinks);return[2]}))}))};t.prototype.calculatePageTake=function(){this.totalPages=Math.ceil(this.total/this.take)};t.prototype.onMouseHandler=function(t,i){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.disabled){return[2]}if(!this.processedPageLinks){t.preventDefault();t.stopPropagation();this.current=this.current+i}this.emitPageEvent(t);return[2]}))}))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){if(this.disabled){return[2]}i=this.current;if(l(t)||f(t)){i--}if(p(t)||b(t)){i++}if(c(t)){if(i<=this.totalPages){this.current=i;if(this.processedPageLinks){this.emitPageEvent(t,i-1);window.open(this.processedPageLinks[i-1],"_self","")}else{this.emitPageEvent(t)}}}if(d(t)&&this.shouldDisplayNavigation()){this.numbersStore=this.numbersStore+t.key;if(Number(this.numbersStore)>this.totalPages){this.numbersStore=this.totalPages+""}this.getEnteredNumber(t)}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(e){switch(e.label){case 0:t=this.nativeNav.querySelector("[data-id='".concat(this.current,"']"));i=t;if(!i)return[3,2];return[4,t.setFocus()];case 1:i=e.sent();e.label=2;case 2:i;return[2]}}))}))};t.prototype.pageClickHandler=function(t){var i=Number(t.target.getAttribute("data-id"));if(!this.processedPageLinks){t.preventDefault();this.current=i}this.emitPageEvent(t,i)};t.prototype.selectClickHandler=function(t){t.preventDefault();var i=Number(t.target.value);this.current=i;if(this.processedPageLinks){this.emitPageEvent(t,i-1);window.open(this.processedPageLinks[i-1],"_self","")}else{this.emitPageEvent(t,i)}};t.prototype.sectionClickHandler=function(t,i){t.preventDefault();var e=this.internalSectionIndex+i;var n=this.take*this.visibleItems;if(e*n>this.total){e=this.internalSectionIndex}var a=e;this.internalSectionIndex=a>=0?a:0};t.prototype.jumpToStart=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=0;this.current=1}this.emitPageEvent(t)};t.prototype.jumpToEnd=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1);this.current=this.totalPages}this.emitPageEvent(t)};t.prototype.renderPageButton=function(t){var i=this;return n("duet-button",{disabled:this.disabled,class:{"duet-pagination-link":true},id:"page-".concat(t,"-button"),color:t!==this.current?this.theme!=="turva"?"secondary":"secondary-turva":this.theme!=="turva"?"primary":"primary-turva","data-id":t,"center-text":true,variation:"plain",margin:"none",accessibleLabel:"".concat(this.accessibleLabels.go_to," ").concat(t),onClick:function(t){return i.pageClickHandler(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:undefined},n("div",{class:"duet-pagination-page-number","aria-hidden":true},t))};t.prototype.renderPageNumbers=function(){var t=[];var i=this.internalSectionIndex*this.visibleItems;do{i++;if(i>this.totalPages){break}t.push(n("li",{class:{"duet-pagination-item":true,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},this.renderPageButton(i)))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t};t.prototype.renderSelect=function(){var t=this;var i=[];for(var e=1;e<=this.totalPages;e++){i.push({value:e.toString(),label:e.toString()})}var a=n("duet-select",{disabled:this.disabled,theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(i),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}","".concat(this.totalPages)),labelHidden:true,onDuetChange:function(i){return t.selectClickHandler(i)}});return n("li",null,a,n("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))};t.prototype.shouldDisplayNavigation=function(){if(this.variation!=="compact"&&!this.matchesCompactBreakpoint){return S(this.visibleItems,this.total,this.take)}return false};t.prototype.render=function(){var t;var i=this;return n(s,{key:"bbd85aaf7cec037863e62449e53dc79850615e68",onKeyDown:function(t){return i.onKeyboardDown(t)},class:{"duet-theme-turva":this.theme==="turva"}},n("nav",{key:"c94a34a3f69d9f743499a00ace0f273ecc64384a",role:"navigation","aria-labelledby":this.accessibleLabelledBy?"".concat(this.accessibleLabelledBy," ").concat(this.listId):this.listId,"aria-describedby":this.accessibleDescribedBy?"".concat(this.accessibleDescribedBy," ").concat(this.listId):this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:function(t){return i.nativeNav=t},"aria-controls":this.ariaControls,class:(t={"duet-pagination-nav":true},t["duet-pagination-variation-".concat(this.variation)]=true,t)},this.numbersStore!==""&&n("div",{key:"ed7656da1a3a9f606cc63018833c8ad54fd2da2a","aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":"".concat(this.accessibleLabels.jump_to," ").concat(this.numbersStore),part:"navigation-overlay"},n("duet-badge",{key:"c2457234d5e4827da9730d753f05d5a8d1c06756",theme:this.theme},"jump to page : ",this.numbersStore)),n("ol",{key:"86efc4ee55dcd2ac47af68e39db42f26e8b2e8fe",id:this.listId,class:{"duet-pagination":true,"duet-pagination-is-dimmed":this.numbersStore!==""},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{key:"e6e7af25d894edcf0549bc37c437952f6e2a5768",class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{key:"4b68b2b1661169ab04879656a2e965a50f9f1849",disabled:this.internalSectionIndex===0&&this.current<=1||this.disabled,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:function(t){return i.jumpToStart(t)},"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined})),n("li",{key:"e118983480f408814517696235620d6ca7c52e28",class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{key:"952f820c61dbd46f107da9982473c44c92d1654b",disabled:!!(this.internalSectionIndex===0&&this.current<=1||this.current<=1&&this.processedPageLinks||this.disabled),"data-direction":"back",onClick:function(t){return i.onMouseHandler(t,-1)},"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:undefined})),this.internalSectionIndex!==0&&this.shouldDisplayNavigation()&&n(a,{key:"64b3f4da24ce028db1125795596beaf6cfd65aeb"},n("li",{key:"c477461d7d68392025f704c5a2df666822b3c1c4",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{key:"8198df04fb593ebcf8a50918c8ffd3fc96bce3bc",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:this.theme!=="turva"?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:function(t){return i.jumpToStart(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined},n("div",{key:"0d1ecd17b7660a6c2ca5ead362b19a39922526f1",class:"duet-pagination-page-number"},"1"))),n("li",{key:"068cc3aa779f838d88e5946716ac2179bd7284c7",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{key:"a3737335bec51de3f6721d2ebd59fa005d8bf3b3",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return i.sectionClickHandler(t,-1)},theme:this.theme},n("div",{key:"403386bfcdb3933adefbbff420f237daa67c2480",class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&n(a,{key:"b8f9ec799fc41d772075e4cf385cbb2805168fcd"},(this.internalSectionIndex+1)*this.visibleItems!==this.totalPages-1&&n("li",{key:"ba47f6c267f218fddf7ef826806e3bd77a72d52f",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{key:"e04c5a6f32318c61562edd6303e049294a3af437",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return i.sectionClickHandler(t,1)},theme:this.theme},n("div",{key:"0f3ec8318ff63e99860219c2f25d0b70068be1a3",class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),n("li",{key:"59c7ba37271b7c8dfb09f8bc251160519adaa324",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{key:"ba66d5bd4910f5f0e3afabb3856e55d9d8a1c734",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:function(t){return i.jumpToEnd(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:undefined},n("div",{key:"fc7212709dc3ed1839226979c3cd3b123bd3c9af",class:"duet-pagination-page-number"},this.totalPages)))),n("li",{key:"49845c246a1bc03efc19cc2fb0d72f1d002edad6",class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{key:"63003ee428957aabe687072ab56094d17d00c6a6",disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks)||this.disabled,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:function(t){return i.onMouseHandler(t,1)},"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:undefined})),(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{key:"4017283c7ba18818612767cf4d1c940bb13bbaba",class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{key:"9625bd8c9071ec35ed43439fbb84334e04f071da",disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.disabled,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:function(t){return i.jumpToEnd(t)},"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:undefined})))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}},enumerable:false,configurable:true});return t}());C.style=M;var N="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(8, 42, 77)}.duet-range-stepper ::part(button){border:0}";var L=N;var z=t("duet_range_stepper",function(){function t(t){var n=this;i(this,t);this.duetRangeStepUpdate=e(this,"duetRangeStepUpdate",7);this.leftBn=u("duetRangeStepper-left");this.rightBn=u("duetRangeStepper-right");this.handleClick=function(t,i){t.preventDefault();n.stepIndex+=i;n.clampStepIndex();n.handleStepClick(t)};this.buttonLeftDisabled=false;this.buttonRightDisabled=false;this.theme="";this.disabled=false;this.stepIndex=1;this.stepSize=50;this.total=1e3;this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}};this.ariaLabels=v(this.ariaLabelsDefaults);this.ariaControls=""}t.prototype.watchStepIndexStateHandler=function(t){if(this.leftBnRef&&this.rightBnRef){if(t<=1){if(this.element===document.activeElement){this.rightBnRef.setFocus()}this.buttonLeftDisabled=true}else{this.buttonLeftDisabled=false}if(t>=this.total/this.stepSize){if(this.element===document.activeElement){this.leftBnRef.setFocus()}this.buttonRightDisabled=true}else{this.buttonRightDisabled=false}}};t.prototype.watchStepSizeStateHandler=function(t,i){if(t!==i){if(this.stepIndex*t>this.total){this.stepIndex=Math.ceil(this.total/t)}this.watchStepIndexStateHandler(this.stepIndex)}};t.prototype.handleStepClick=function(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})};t.prototype.componentWillLoad=function(){o(this);this.clampStepIndex()};t.prototype.componentDidLoad=function(){this.watchStepIndexStateHandler(this.stepIndex)};t.prototype.connectedCallback=function(){y(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})};t.prototype.disconnectedCallback=function(){k(this)};t.prototype.clampStepIndex=function(){if(this.stepIndex<1){this.stepIndex=1}else if(this.stepIndex*this.stepSize>this.total){this.stepIndex=Math.ceil(this.total/this.stepSize)}};t.prototype.getFrom=function(){return Math.floor((this.stepIndex-1)*this.stepSize)+1};t.prototype.getTo=function(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)};t.prototype.generateStepSize=function(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))};t.prototype.generatePreviousIncrementLabel=function(){if(this.getFrom()===1){return""}return this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))};t.prototype.generateNextIncrementLabel=function(){if(this.getTo()===this.total){return""}return this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e;return __generator(this,(function(n){if(this.disabled){return[2]}i=this.stepIndex;e=1;if(l(t)||f(t)||g(t)){i--;e=-1;this.leftBnRef.setFocus()}if(p(t)||b(t)||m(t)){i++;e=1}if(c(t)){if(i>0&&i*this.stepSize<=this.total){this.handleClick(t,e)}}return[2]}))}))};t.prototype.render=function(){var t=this;return n("div",{key:"fa2c2642d5a39d629ac91c1bba26a684b132847e",class:{"duet-range-stepper":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:function(i){return t.onKeyboardDown(i)},"aria-controls":this.ariaControls},n("span",{key:"b13479a4081d1c96598a9a6a155a7ba13bb571a7",class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),n("duet-action-button",{key:"929da802a06c142ef0bf763b8d1ef05ddf296c8a",disabled:this.disabled||this.buttonLeftDisabled,class:"duet-range-step-button duet-range-step-minus",onClick:function(i){return t.handleClick(i,-1)},id:this.leftBn,"accessible-label":"".concat(this.ariaLabels.previous_increment," ").concat(this.generatePreviousIncrementLabel()),ref:function(i){return t.leftBnRef=i},part:"navigation-arrow",iconName:"action-arrow-left-small",title:""}),n("duet-action-button",{key:"cb496f9a6d6776c1083ca280ad2770c6f8ca489b",disabled:this.disabled||this.buttonRightDisabled,class:"duet-range-step-button duet-range-step-plus",onClick:function(i){return t.handleClick(i,1)},"accessible-label":"".concat(this.ariaLabels.next_increment," ").concat(this.generateNextIncrementLabel()),id:this.rightBn,ref:function(i){return t.rightBnRef=i},part:"navigation-arrow",iconName:"action-arrow-right-small",title:""}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}},enumerable:false,configurable:true});return t}());z.style=L}}}));
4
+ */System.register(["./p-90dad2bc.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-752fa0fc.system.js","./p-122d1eb2.system.js","./p-98636086.system.js","./p-9508ee67.system.js","./p-64959c1d.system.js"],(function(t){"use strict";var i,e,n,a,s,r,o,u,h,c,d,l,f,p,b,g,m,v,y,k,_,w,x;return{setters:[function(t){i=t.r;e=t.c;n=t.h;a=t.F;s=t.H;r=t.g},function(t){o=t.i},function(t){u=t.c},function(t){h=t.d},function(t){c=t.k;d=t.l;l=t.d;f=t.b;p=t.a;b=t.c;g=t.m;m=t.n},function(t){v=t.g;y=t.c;k=t.d},function(t){_=t.p},function(t){w=t.b;x=t.a},function(){}],execute:function(){var S=function(t,i,e){if(t*2>i/e){return false}return true};var j='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{margin: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:1rem;font-weight:600 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{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)}';var M=j;var C=t("duet_pagination",function(){function t(t){var n=this;i(this,t);this.duetPageChange=e(this,"duetPageChange",3);this.listId=u("duet-pagination-list");this.firstRenderDone=false;this.handleMediaQueryChange=function(t){n.matchesCompactBreakpoint=w.includes(n.compactBreakpoint)?t.matches:!t.matches};this.actionChain=function(t,i){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:if(!(t===0))return[3,1];this.current=1;return[3,4];case 1:if(!(t>this.totalPages))return[3,2];this.current=this.totalPages;return[3,4];case 2:if(!(i!==t))return[3,4];e=Math.ceil(t/this.visibleItems)-1;if(!(e!==this.internalSectionIndex))return[3,4];this.internalSectionIndex=e;return[4,this.setFocus()];case 3:n.sent();n.label=4;case 4:return[2,true]}}))}))};this.emitPageEvent=function(t,i){var e=Number(i||n.current);n.duetPageChange.emit({component:"duet-pagination",from:e*n.take,to:e*n.take+n.take,current:e,take:n.take,type:"page",originalEvent:t})};this.getEnteredNumber=h((function(t){n.emitPageEvent(t,n.numbersStore);n.current=Number(n.numbersStore);n.numbersStore="";n.duetPageChange.emit({component:"duet-pagination",from:n.current*n.take,to:n.current*n.take+n.take,current:n.current,take:n.take,type:"jump",originalEvent:t})}),500);this.processedPageLinks=null;this.numbersStore="";this.matchesCompactBreakpoint=false;this.totalPages=10;this.internalSectionIndex=0;this.theme="";this.disabled=false;this.variation="default";this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}};this.accessibleLabels=v(this.accessibleLabelsDefaults);this.take=5;this.visibleItems=5;this.total=1e3;this.compactBreakpoint="x-small";this.ariaControls="";this.current=1;this.pageLinks=undefined}t.prototype.watchPropTotalHandler=function(){this.calculatePageTake();return true};t.prototype.watchStateHandler=function(t,i){return this.actionChain(t,i)};t.prototype.componentWillLoad=function(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1;this.calculatePageTake();o(this);this.refresh()};t.prototype.componentDidLoad=function(){this.firstRenderDone=true};t.prototype.componentWillRender=function(){if(this.internalSectionIndex!==0&&this.internalSectionIndex!==this.totalPages){this.calculatePageTake()}};t.prototype.componentDidRender=function(){if(this.firstRenderDone&&!this.processedPageLinks){this.setFocus()}};t.prototype.connectedCallback=function(){var t=this.compactBreakpoint==="none"?"all":x[this.compactBreakpoint];this.mq=matchMedia(t);this.mq.addEventListener("change",h(this.handleMediaQueryChange,50));this.handleMediaQueryChange(this.mq);y(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){this.mq.removeEventListener("change",this.handleMediaQueryChange);this.mq=null;this.matchesCompactBreakpoint=false;k(this)};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedPageLinks=_(this.pageLinks);return[2]}))}))};t.prototype.calculatePageTake=function(){this.totalPages=Math.ceil(this.total/this.take)};t.prototype.onMouseHandler=function(t,i){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.disabled){return[2]}if(!this.processedPageLinks){t.preventDefault();t.stopPropagation();this.current=this.current+i}this.emitPageEvent(t);return[2]}))}))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){if(this.disabled){return[2]}i=this.current;if(l(t)||f(t)){i--}if(p(t)||b(t)){i++}if(c(t)){if(i<=this.totalPages){this.current=i;if(this.processedPageLinks){this.emitPageEvent(t,i-1);window.open(this.processedPageLinks[i-1],"_self","")}else{this.emitPageEvent(t)}}}if(d(t)&&this.shouldDisplayNavigation()){this.numbersStore=this.numbersStore+t.key;if(Number(this.numbersStore)>this.totalPages){this.numbersStore=this.totalPages+""}this.getEnteredNumber(t)}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(e){switch(e.label){case 0:t=this.nativeNav.querySelector("[data-id='".concat(this.current,"']"));i=t;if(!i)return[3,2];return[4,t.setFocus()];case 1:i=e.sent();e.label=2;case 2:i;return[2]}}))}))};t.prototype.pageClickHandler=function(t){var i=Number(t.target.getAttribute("data-id"));if(!this.processedPageLinks){t.preventDefault();this.current=i}this.emitPageEvent(t,i)};t.prototype.selectClickHandler=function(t){t.preventDefault();var i=Number(t.target.value);this.current=i;if(this.processedPageLinks){this.emitPageEvent(t,i-1);window.open(this.processedPageLinks[i-1],"_self","")}else{this.emitPageEvent(t,i)}};t.prototype.sectionClickHandler=function(t,i){t.preventDefault();var e=this.internalSectionIndex+i;var n=this.take*this.visibleItems;if(e*n>this.total){e=this.internalSectionIndex}var a=e;this.internalSectionIndex=a>=0?a:0};t.prototype.jumpToStart=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=0;this.current=1}this.emitPageEvent(t)};t.prototype.jumpToEnd=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1);this.current=this.totalPages}this.emitPageEvent(t)};t.prototype.renderPageButton=function(t){var i=this;return n("duet-button",{disabled:this.disabled,class:{"duet-pagination-link":true},id:"page-".concat(t,"-button"),color:t!==this.current?this.theme!=="turva"?"secondary":"secondary-turva":this.theme!=="turva"?"primary":"primary-turva","data-id":t,"center-text":true,variation:"plain",margin:"none",accessibleLabel:"".concat(this.accessibleLabels.go_to," ").concat(t),onClick:function(t){return i.pageClickHandler(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:undefined},n("div",{class:"duet-pagination-page-number","aria-hidden":true},t))};t.prototype.renderPageNumbers=function(){var t=[];var i=this.internalSectionIndex*this.visibleItems;do{i++;if(i>this.totalPages){break}t.push(n("li",{class:{"duet-pagination-item":true,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},this.renderPageButton(i)))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t};t.prototype.renderSelect=function(){var t=this;var i=[];for(var e=1;e<=this.totalPages;e++){i.push({value:e.toString(),label:e.toString()})}var a=n("duet-select",{disabled:this.disabled,theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(i),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}","".concat(this.totalPages)),labelHidden:true,onDuetChange:function(i){return t.selectClickHandler(i)}});return n("li",null,a,n("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))};t.prototype.shouldDisplayNavigation=function(){if(this.variation!=="compact"&&!this.matchesCompactBreakpoint){return S(this.visibleItems,this.total,this.take)}return false};t.prototype.render=function(){var t;var i=this;return n(s,{key:"bbd85aaf7cec037863e62449e53dc79850615e68",onKeyDown:function(t){return i.onKeyboardDown(t)},class:{"duet-theme-turva":this.theme==="turva"}},n("nav",{key:"c94a34a3f69d9f743499a00ace0f273ecc64384a",role:"navigation","aria-labelledby":this.accessibleLabelledBy?"".concat(this.accessibleLabelledBy," ").concat(this.listId):this.listId,"aria-describedby":this.accessibleDescribedBy?"".concat(this.accessibleDescribedBy," ").concat(this.listId):this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:function(t){return i.nativeNav=t},"aria-controls":this.ariaControls,class:(t={"duet-pagination-nav":true},t["duet-pagination-variation-".concat(this.variation)]=true,t)},this.numbersStore!==""&&n("div",{key:"ed7656da1a3a9f606cc63018833c8ad54fd2da2a","aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":"".concat(this.accessibleLabels.jump_to," ").concat(this.numbersStore),part:"navigation-overlay"},n("duet-badge",{key:"c2457234d5e4827da9730d753f05d5a8d1c06756",theme:this.theme},"jump to page : ",this.numbersStore)),n("ol",{key:"86efc4ee55dcd2ac47af68e39db42f26e8b2e8fe",id:this.listId,class:{"duet-pagination":true,"duet-pagination-is-dimmed":this.numbersStore!==""},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{key:"e6e7af25d894edcf0549bc37c437952f6e2a5768",class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{key:"4b68b2b1661169ab04879656a2e965a50f9f1849",disabled:this.internalSectionIndex===0&&this.current<=1||this.disabled,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:function(t){return i.jumpToStart(t)},"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined})),n("li",{key:"e118983480f408814517696235620d6ca7c52e28",class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{key:"952f820c61dbd46f107da9982473c44c92d1654b",disabled:!!(this.internalSectionIndex===0&&this.current<=1||this.current<=1&&this.processedPageLinks||this.disabled),"data-direction":"back",onClick:function(t){return i.onMouseHandler(t,-1)},"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:undefined})),this.internalSectionIndex!==0&&this.shouldDisplayNavigation()&&n(a,{key:"64b3f4da24ce028db1125795596beaf6cfd65aeb"},n("li",{key:"c477461d7d68392025f704c5a2df666822b3c1c4",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{key:"8198df04fb593ebcf8a50918c8ffd3fc96bce3bc",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:this.theme!=="turva"?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:function(t){return i.jumpToStart(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined},n("div",{key:"0d1ecd17b7660a6c2ca5ead362b19a39922526f1",class:"duet-pagination-page-number"},"1"))),n("li",{key:"068cc3aa779f838d88e5946716ac2179bd7284c7",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{key:"a3737335bec51de3f6721d2ebd59fa005d8bf3b3",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return i.sectionClickHandler(t,-1)},theme:this.theme},n("div",{key:"403386bfcdb3933adefbbff420f237daa67c2480",class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&n(a,{key:"b8f9ec799fc41d772075e4cf385cbb2805168fcd"},(this.internalSectionIndex+1)*this.visibleItems!==this.totalPages-1&&n("li",{key:"ba47f6c267f218fddf7ef826806e3bd77a72d52f",class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{key:"e04c5a6f32318c61562edd6303e049294a3af437",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return i.sectionClickHandler(t,1)},theme:this.theme},n("div",{key:"0f3ec8318ff63e99860219c2f25d0b70068be1a3",class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),n("li",{key:"59c7ba37271b7c8dfb09f8bc251160519adaa324",class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{key:"ba66d5bd4910f5f0e3afabb3856e55d9d8a1c734",disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:function(t){return i.jumpToEnd(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:undefined},n("div",{key:"fc7212709dc3ed1839226979c3cd3b123bd3c9af",class:"duet-pagination-page-number"},this.totalPages)))),n("li",{key:"49845c246a1bc03efc19cc2fb0d72f1d002edad6",class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{key:"63003ee428957aabe687072ab56094d17d00c6a6",disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks)||this.disabled,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:function(t){return i.onMouseHandler(t,1)},"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:undefined})),(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{key:"4017283c7ba18818612767cf4d1c940bb13bbaba",class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{key:"9625bd8c9071ec35ed43439fbb84334e04f071da",disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.disabled,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:function(t){return i.jumpToEnd(t)},"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:undefined})))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}},enumerable:false,configurable:true});return t}());C.style=M;var N="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(8, 42, 77)}.duet-range-stepper ::part(button){border:0}";var L=N;var z=t("duet_range_stepper",function(){function t(t){var n=this;i(this,t);this.duetRangeStepUpdate=e(this,"duetRangeStepUpdate",7);this.leftBn=u("duetRangeStepper-left");this.rightBn=u("duetRangeStepper-right");this.handleClick=function(t,i){t.preventDefault();n.stepIndex+=i;n.clampStepIndex();n.handleStepClick(t)};this.buttonLeftDisabled=false;this.buttonRightDisabled=false;this.theme="";this.disabled=false;this.stepIndex=1;this.stepSize=50;this.total=1e3;this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}};this.ariaLabels=v(this.ariaLabelsDefaults);this.ariaControls=""}t.prototype.watchStepIndexStateHandler=function(t){if(this.leftBnRef&&this.rightBnRef){if(t<=1){if(this.element===document.activeElement){this.rightBnRef.setFocus()}this.buttonLeftDisabled=true}else{this.buttonLeftDisabled=false}if(t>=this.total/this.stepSize){if(this.element===document.activeElement){this.leftBnRef.setFocus()}this.buttonRightDisabled=true}else{this.buttonRightDisabled=false}}};t.prototype.watchStepSizeStateHandler=function(t,i){if(t!==i){if(this.stepIndex*t>this.total){this.stepIndex=Math.ceil(this.total/t)}this.watchStepIndexStateHandler(this.stepIndex)}};t.prototype.handleStepClick=function(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})};t.prototype.componentWillLoad=function(){o(this);this.clampStepIndex()};t.prototype.componentDidLoad=function(){this.watchStepIndexStateHandler(this.stepIndex)};t.prototype.connectedCallback=function(){y(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})};t.prototype.disconnectedCallback=function(){k(this)};t.prototype.clampStepIndex=function(){if(this.stepIndex<1){this.stepIndex=1}else if(this.stepIndex*this.stepSize>this.total){this.stepIndex=Math.ceil(this.total/this.stepSize)}};t.prototype.getFrom=function(){return Math.floor((this.stepIndex-1)*this.stepSize)+1};t.prototype.getTo=function(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)};t.prototype.generateStepSize=function(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))};t.prototype.generatePreviousIncrementLabel=function(){if(this.getFrom()===1){return""}return this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))};t.prototype.generateNextIncrementLabel=function(){if(this.getTo()===this.total){return""}return this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e;return __generator(this,(function(n){if(this.disabled){return[2]}i=this.stepIndex;e=1;if(l(t)||f(t)||g(t)){i--;e=-1;this.leftBnRef.setFocus()}if(p(t)||b(t)||m(t)){i++;e=1}if(c(t)){if(i>0&&i*this.stepSize<=this.total){this.handleClick(t,e)}}return[2]}))}))};t.prototype.render=function(){var t=this;return n("div",{key:"fa2c2642d5a39d629ac91c1bba26a684b132847e",class:{"duet-range-stepper":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:function(i){return t.onKeyboardDown(i)},"aria-controls":this.ariaControls},n("span",{key:"b13479a4081d1c96598a9a6a155a7ba13bb571a7",class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),n("duet-action-button",{key:"929da802a06c142ef0bf763b8d1ef05ddf296c8a",disabled:this.disabled||this.buttonLeftDisabled,class:"duet-range-step-button duet-range-step-minus",onClick:function(i){return t.handleClick(i,-1)},id:this.leftBn,"accessible-label":"".concat(this.ariaLabels.previous_increment," ").concat(this.generatePreviousIncrementLabel()),ref:function(i){return t.leftBnRef=i},part:"navigation-arrow",iconName:"action-arrow-left-small",title:""}),n("duet-action-button",{key:"cb496f9a6d6776c1083ca280ad2770c6f8ca489b",disabled:this.disabled||this.buttonRightDisabled,class:"duet-range-step-button duet-range-step-plus",onClick:function(i){return t.handleClick(i,1)},"accessible-label":"".concat(this.ariaLabels.next_increment," ").concat(this.generateNextIncrementLabel()),id:this.rightBn,ref:function(i){return t.rightBnRef=i},part:"navigation-arrow",iconName:"action-arrow-right-small",title:""}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}},enumerable:false,configurable:true});return t}());z.style=L}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,n,u){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function s(t){try{o(u.next(t))}catch(t){r(t)}}function a(t){try{o(u["throw"](t))}catch(t){r(t)}}function o(t){t.done?n(t.value):i(t.value).then(s,a)}o((u=u.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:[]},u,i,r,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(e){return o([t,e])}}function o(a){if(u)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(n=0)),n)try{if(u=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{u=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-f2d5c69e.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-9a43132b.system.js","./p-61ac836c.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,n,u,i,r,s,a,o,d,c,l,b,h,p,m,f,v,g,w,x;return{setters:[function(t){e=t.r;n=t.c;u=t.h;i=t.H;r=t.g},function(t){s=t.i},function(t){a=t.c},function(t){o=t.a;d=t.b;c=t.c;l=t.d;b=t.e;h=t.s;p=t.u},function(t){m=t.a;f=t.b;v=t.g;g=t.c;w=t.d},function(t){x=t.c},function(){}],execute:function(){var y={title:"action-add",tags:"action add plus",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>'};var A={title:"action-subtract",tags:"action subtract minus remove delete cancel",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>'};function k(t,e){var n;if(typeof t==="string"){if(t===""){return null}var u=t.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");if(e){u=D(u,e,false)}u=u.replace(/\s+/g,"");n=parseFloat(u)}if(typeof t==="number"){n=parseFloat(String(t))}if(!isNaN(Number(n))){return Number(n)}if(t===null||t===undefined){return null}throw new Error("Invalid value passed to SafeParseFloat")}function D(t,e,n){if(n===void 0){n=false}var u;var i=new Intl.NumberFormat(e).format(1/2).replace(/[0-9]/g,"");var r=new Intl.NumberFormat("en-US").format(1/2).replace(/[0-9]/g,"");var s=new Intl.NumberFormat(e).format(1e3).replace(/[0-9]/g,"");var a=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");u=t.replace(i,"DECIMALSEPARATOR");if(n){u=u.replace(s,"THOUSANDSEPARATOR")}else{u=u.replace(s,"")}u=u.replace("DECIMALSEPARATOR",r);u=u.replace("THOUSANDSEPARATOR",a);return u}var N=function(t,e){return Math.round(t/e)*e};var S=function(t,e,n){return Math.min(Math.max(t,e),n)};var E='*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-number-input-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;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{box-shadow:0 0 0 2px #171c3a !important}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid rgb(181, 198, 208)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:"";background:rgb(212, 223, 229)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(199, 202, 207, 0.2) 0%, rgba(199, 202, 207, 0.2) 1px, rgba(199, 202, 207, 0.1) 1px, rgba(199, 202, 207, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(222, 224, 228)}';var _=E;var z=t("duet_number_input",function(){function t(t){var u=this;e(this,t);this.duetChange=n(this,"duetChange",3);this.duetInput=n(this,"duetInput",3);this.duetBlur=n(this,"duetBlur",7);this.duetFocus=n(this,"duetFocus",7);this.inputId=a("DuetInput");this.handleFocus=function(){u.focusedValue=u.value};this.handleKeyDown=function(t){if(o(t)||d(t)){u.add(t)}else if(c(t)||l(t)){u.subtract(t)}else if(b(t)){u.clearValue(t)}};this.handleChange=function(t){var e=t.target;if(e&&e.value){try{var n=k(e.value,u.locale);if(isNaN(n)||n==null){n=u.min||0}u.setValue(n);u.duetInput.emit({component:"duet-number-input",originalEvent:t,value:k(u.value,u.locale).toString(),valueAsNumber:n})}catch(n){if(e.value!=="-"){u.clearValue(t)}u.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}}else{u.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}};this.handleBlur=function(t){var e=t.target;if(!e){return}if(e.value){try{var n=k(e.value,u.locale);if(u.rounding){n=N(n,u.step)}n=S(n,u.min,u.max);if(n!==k(u.value,u.locale)||n!==k(u.focusedValue,u.locale)){u.setValue(n);u.emitChange(t)}}catch(e){u.emitNull(t)}}else{u.emitNull(t)}};this.emitChange=function(t){var e=k(u.value,u.locale);u.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})};this.emitNull=function(t){u.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})};this.localizeValue=function(t){return t.toLocaleString(u.locale,{useGrouping:false})};this.setValue=function(t){u.value=u.localizeValue(t);u.duetInputElement.value="".concat(u.value," ").concat(u.unit)};this.add=function(t){if(t){t.preventDefault()}var e=k(u.value,u.locale);if(e===u.max){return}var n=e==null?u.min:e+u.step;if(n%u.step!==0){var i=n%u.step;n-=i}var r=S(n,u.min,u.max);u.value=u.localizeValue(r);u.emitChange(t)};this.subtract=function(t){if(t){t.preventDefault()}var e=k(u.value,u.locale);if(e===u.min){return}var n=e-u.step;if(n%u.step!==0){var i=u.step-n%u.step;n+=i}n=S(n,u.min,u.max);u.value=u.localizeValue(n);u.emitChange(t)};this.language=m();this.locale=f(this.language).locale;this.unit=f(this.language).money;this.focusedValue=undefined;this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"};this.accessibleLive=v(this.accessibleLiveDefaults,this.language);this.accessibleLiveEnabled=true;this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"};this.accessibleAdd=v(this.accessibleAddDefaults,this.language);this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"};this.accessibleSubtract=v(this.accessibleSubtractDefaults,this.language);this.theme="";this.margin="auto";this.expand=false;this.identifier=undefined;this.min=0;this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"};this.label=v(this.labelDefaults,this.language);this.labelHidden=false;this.max=1e6;this.name=undefined;this.error="";this.tooltip="";this.step=5e3;this.rounding=true;this.role=undefined;this.disabled=false;this.required=false;this.value=undefined}t.prototype.componentWillLoad=function(){s(this);if(this.value){this.value=this.localizeValue(k(this.value,this.locale))}x(this.element,"tooltip","duet-tooltip",1,true)};t.prototype.connectedCallback=function(){g(this,[{prop:"accessibleLive",defaults:"accessibleLiveDefaults"},{prop:"accessibleAdd",defaults:"accessibleAddDefaults"},{prop:"accessibleSubtract",defaults:"accessibleSubtractDefaults"},{prop:"label",defaults:"labelDefaults"}]);h(this)};t.prototype.disconnectedCallback=function(){w(this);p(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.duetInputElement.setFocus(t);return[2]}))}))};t.prototype.getValueAsNumber=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=k(this.value,this.locale);return[2,this.value===undefined||this.value===null||isNaN(t)?null:t]}))}))};t.prototype.clearValue=function(t){this.duetInputElement.value="";if(this.value!==null){this.value=null;this.emitNull(t)}};t.prototype.formatAnnouncement=function(){var t=!!this.value?k(this.value,this.locale):null;if(t==null){return""}return this.accessibleLive.replace("{current}",t.toString(10))};t.prototype.render=function(){var t=this;var e=this.identifier||this.inputId;var n="".concat(this.localizeValue(this.max)," ").concat(this.unit).length;var r=!!this.value?k(this.value,this.locale):null;return u(i,{class:{"duet-theme-turva":this.theme==="turva","duet-expand":this.expand,"duet-m-0":this.margin==="none"}},u("div",{class:"duet-number-container"},u("duet-input",{ref:function(e){return t.duetInputElement=e},onDuetChange:function(e){return t.handleChange(e)},onDuetFocus:this.handleFocus,onDuetBlur:function(e){return t.handleBlur(e)},onKeyDown:function(e){return t.handleKeyDown(e)},label:this.label,value:this.value?"".concat(this.value," ").concat(this.unit):"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":r!=null?r:"",maxlength:n,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:e,theme:this.theme,margin:"none",expand:true,numericKeyboard:true,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},u("slot",{name:"tooltip"}),u("div",{class:{"duet-number-buttons":true,"duet-no-label":this.labelHidden}},u("button",{"aria-controls":e,disabled:this.disabled,"aria-disabled":r==null||r===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},u("duet-visually-hidden",null,this.accessibleSubtract," ",this.step),u("duet-icon",{icon:A.svg,size:"small",margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary"})),u("button",{"aria-controls":e,disabled:this.disabled,"aria-disabled":r===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},u("duet-visually-hidden",null,this.accessibleAdd," ",this.step),u("duet-icon",{icon:y.svg,size:"small",margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&u("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());z.style=_}}}));
4
+ */System.register(["./p-90dad2bc.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-122d1eb2.system.js","./p-ff1194f7.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,n,u,i,r,s,a,o,d,c,b,l,h,p,f,m,v,g,w,x;return{setters:[function(t){e=t.r;n=t.c;u=t.h;i=t.H;r=t.g},function(t){s=t.i},function(t){a=t.c},function(t){o=t.a;d=t.b;c=t.c;b=t.d;l=t.e;h=t.s;p=t.u},function(t){f=t.a;m=t.b;v=t.g;g=t.c;w=t.d},function(t){x=t.c},function(){}],execute:function(){var y={title:"action-add",tags:"action add plus",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>'};var A={title:"action-subtract",tags:"action subtract minus remove delete cancel",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>'};function k(t,e){var n;if(typeof t==="string"){if(t===""){return null}var u=t.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");if(e){u=D(u,e,false)}u=u.replace(/\s+/g,"");n=parseFloat(u)}if(typeof t==="number"){n=parseFloat(String(t))}if(!isNaN(Number(n))){return Number(n)}if(t===null||t===undefined){return null}throw new Error("Invalid value passed to SafeParseFloat")}function D(t,e,n){if(n===void 0){n=false}var u;var i=new Intl.NumberFormat(e).format(1/2).replace(/[0-9]/g,"");var r=new Intl.NumberFormat("en-US").format(1/2).replace(/[0-9]/g,"");var s=new Intl.NumberFormat(e).format(1e3).replace(/[0-9]/g,"");var a=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");u=t.replace(i,"DECIMALSEPARATOR");if(n){u=u.replace(s,"THOUSANDSEPARATOR")}else{u=u.replace(s,"")}u=u.replace("DECIMALSEPARATOR",r);u=u.replace("THOUSANDSEPARATOR",a);return u}var N=function(t,e){return Math.round(t/e)*e};var S=function(t,e,n){return Math.min(Math.max(t,e),n)};var E='*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-number-input-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;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{box-shadow:0 0 0 2px #171c3a !important}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid rgb(181, 198, 208)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:"";background:rgb(212, 223, 229)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(199, 202, 207, 0.2) 0%, rgba(199, 202, 207, 0.2) 1px, rgba(199, 202, 207, 0.1) 1px, rgba(199, 202, 207, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(222, 224, 228)}';var _=E;var z=t("duet_number_input",function(){function t(t){var u=this;e(this,t);this.duetChange=n(this,"duetChange",3);this.duetInput=n(this,"duetInput",3);this.duetBlur=n(this,"duetBlur",7);this.duetFocus=n(this,"duetFocus",7);this.inputId=a("DuetInput");this.handleFocus=function(){u.focusedValue=u.value};this.handleKeyDown=function(t){if(o(t)||d(t)){u.add(t)}else if(c(t)||b(t)){u.subtract(t)}else if(l(t)){u.clearValue(t)}};this.handleChange=function(t){var e=t.target;if(e&&e.value){try{var n=k(e.value,u.locale);if(isNaN(n)||n==null){n=u.min||0}u.setValue(n);u.duetInput.emit({component:"duet-number-input",originalEvent:t,value:k(u.value,u.locale).toString(),valueAsNumber:n})}catch(n){if(e.value!=="-"){u.clearValue(t)}u.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}}else{u.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}};this.handleBlur=function(t){var e=t.target;if(!e){return}if(e.value){try{var n=k(e.value,u.locale);if(u.rounding){n=N(n,u.step)}n=S(n,u.min,u.max);if(n!==k(u.value,u.locale)||n!==k(u.focusedValue,u.locale)){u.setValue(n);u.emitChange(t)}}catch(e){u.emitNull(t)}}else{u.emitNull(t)}};this.emitChange=function(t){var e=k(u.value,u.locale);u.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})};this.emitNull=function(t){u.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})};this.localizeValue=function(t){return t.toLocaleString(u.locale,{useGrouping:false})};this.setValue=function(t){u.value=u.localizeValue(t);u.duetInputElement.value="".concat(u.value," ").concat(u.unit)};this.add=function(t){if(t){t.preventDefault()}var e=k(u.value,u.locale);if(e===u.max){return}var n=e==null?u.min:e+u.step;if(n%u.step!==0){var i=n%u.step;n-=i}var r=S(n,u.min,u.max);u.value=u.localizeValue(r);u.emitChange(t)};this.subtract=function(t){if(t){t.preventDefault()}var e=k(u.value,u.locale);if(e===u.min){return}var n=e-u.step;if(n%u.step!==0){var i=u.step-n%u.step;n+=i}n=S(n,u.min,u.max);u.value=u.localizeValue(n);u.emitChange(t)};this.language=f();this.locale=m(this.language).locale;this.unit=m(this.language).money;this.focusedValue=undefined;this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"};this.accessibleLive=v(this.accessibleLiveDefaults,this.language);this.accessibleLiveEnabled=true;this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"};this.accessibleAdd=v(this.accessibleAddDefaults,this.language);this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"};this.accessibleSubtract=v(this.accessibleSubtractDefaults,this.language);this.theme="";this.margin="auto";this.expand=false;this.identifier=undefined;this.min=0;this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"};this.label=v(this.labelDefaults,this.language);this.labelHidden=false;this.max=1e6;this.name=undefined;this.error="";this.tooltip="";this.step=5e3;this.rounding=true;this.role=undefined;this.disabled=false;this.required=false;this.value=undefined}t.prototype.componentWillLoad=function(){s(this);if(this.value){this.value=this.localizeValue(k(this.value,this.locale))}x(this.element,"tooltip","duet-tooltip",1,true)};t.prototype.connectedCallback=function(){g(this,[{prop:"accessibleLive",defaults:"accessibleLiveDefaults"},{prop:"accessibleAdd",defaults:"accessibleAddDefaults"},{prop:"accessibleSubtract",defaults:"accessibleSubtractDefaults"},{prop:"label",defaults:"labelDefaults"}]);h(this)};t.prototype.disconnectedCallback=function(){w(this);p(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.duetInputElement.setFocus(t);return[2]}))}))};t.prototype.getValueAsNumber=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=k(this.value,this.locale);return[2,this.value===undefined||this.value===null||isNaN(t)?null:t]}))}))};t.prototype.clearValue=function(t){this.duetInputElement.value="";if(this.value!==null){this.value=null;this.emitNull(t)}};t.prototype.formatAnnouncement=function(){var t=!!this.value?k(this.value,this.locale):null;if(t==null){return""}return this.accessibleLive.replace("{current}",t.toString(10))};t.prototype.render=function(){var t=this;var e=this.identifier||this.inputId;var n="".concat(this.localizeValue(this.max)," ").concat(this.unit).length;var r=!!this.value?k(this.value,this.locale):null;return u(i,{class:{"duet-theme-turva":this.theme==="turva","duet-expand":this.expand,"duet-m-0":this.margin==="none"}},u("div",{class:"duet-number-container"},u("duet-input",{ref:function(e){return t.duetInputElement=e},onDuetChange:function(e){return t.handleChange(e)},onDuetFocus:this.handleFocus,onDuetBlur:function(e){return t.handleBlur(e)},onKeyDown:function(e){return t.handleKeyDown(e)},label:this.label,value:this.value?"".concat(this.value," ").concat(this.unit):"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":r!=null?r:"",maxlength:n,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:e,theme:this.theme,margin:"none",expand:true,numericKeyboard:true,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},u("slot",{name:"tooltip"}),u("div",{class:{"duet-number-buttons":true,"duet-no-label":this.labelHidden}},u("button",{"aria-controls":e,disabled:this.disabled,"aria-disabled":r==null||r===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},u("duet-visually-hidden",null,this.accessibleSubtract," ",this.step),u("duet-icon",{icon:A.svg,size:"small",margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary"})),u("button",{"aria-controls":e,disabled:this.disabled,"aria-disabled":r===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},u("duet-visually-hidden",null,this.accessibleAdd," ",this.step),u("duet-icon",{icon:y.svg,size:"small",margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&u("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());z.style=_}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as o,g as a}from"./p-44b36dbf.js";import{i}from"./p-aaa7a7bd.js";const n=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){i(this),this.element.querySelectorAll("duet-slideout-link").forEach((e=>{e.menuItem=!0}))}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"35bf0d91a006cd0fb6a50012f5f48b8b84d5ecac"},t("div",{key:"aebfdab784d0a2921fc1f5b461b881c241ef5066",class:{"duet-slideout-panel-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open}},t("button",{key:"f3174e8f9f070b3c8cd4da9e6db8b695982f236b",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active},onClick:this.onClick},this.icon&&t("duet-icon",{key:"02b31af38cf8ef821d9bd8b83ede34c900b58c41",name:this.icon,size:"medium",margin:"none",color:"secondary"}),t("span",{key:"1244f292f215410cba0750e205392e5d5fcd9ab7",class:"label"},t("slot",{key:"a55379905e5ec24ec617910fccdba8f351494d11",name:"label"}),t("duet-icon",{key:"c63d4943d43087e6ec52e7e54f8a4211daebeadd",class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),t("div",{key:"31e1e8a311b9ee173852bcbf3733cc846d7f87da",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"b7365965b0950b899e494162007d51130444478d"}))))}get element(){return a(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 44px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}';export{n as duet_slideout_panel_dropdown}
4
+ import{r as e,h as t,H as o,g as a}from"./p-5c1cada7.js";import{i}from"./p-aaa7a7bd.js";const n=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.theme="",this.active=!1,this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){i(this),this.element.querySelectorAll("duet-slideout-link").forEach((e=>{e.menuItem=!0}))}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"35bf0d91a006cd0fb6a50012f5f48b8b84d5ecac"},t("div",{key:"aebfdab784d0a2921fc1f5b461b881c241ef5066",class:{"duet-slideout-panel-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open}},t("button",{key:"f3174e8f9f070b3c8cd4da9e6db8b695982f236b",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active},onClick:this.onClick},this.icon&&t("duet-icon",{key:"02b31af38cf8ef821d9bd8b83ede34c900b58c41",name:this.icon,size:"medium",margin:"none",color:"secondary"}),t("span",{key:"1244f292f215410cba0750e205392e5d5fcd9ab7",class:"label"},t("slot",{key:"a55379905e5ec24ec617910fccdba8f351494d11",name:"label"}),t("duet-icon",{key:"c63d4943d43087e6ec52e7e54f8a4211daebeadd",class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),t("div",{key:"31e1e8a311b9ee173852bcbf3733cc846d7f87da",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"b7365965b0950b899e494162007d51130444478d"}))))}get element(){return a(this)}};n.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 44px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}';export{n as duet_slideout_panel_dropdown}