@duetds/components 8.2.2 → 8.3.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 (640) hide show
  1. package/hydrate/index.js +137 -30
  2. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  3. package/lib/cjs/duet-alert.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +2 -2
  11. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-footer.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-icon.cjs.entry.js +2 -2
  31. package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-modal.cjs.entry.js +3 -3
  40. package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  43. package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
  44. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-popup-menu.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-promo-card.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-scrollable_3.cjs.entry.js +89 -6
  53. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  57. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -7
  61. package/lib/cjs/duet-slideout.cjs.entry.js +14 -5
  62. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  63. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  70. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
  71. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
  74. package/lib/cjs/duet-tooltip.cjs.entry.js +15 -18
  75. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  76. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  78. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  79. package/lib/cjs/duet.cjs.js +2 -2
  80. package/lib/cjs/{focus-utils-cb2699e7.js → focus-utils-da780025.js} +1 -1
  81. package/lib/cjs/{index-c51398ac.js → index-34b8e765.js} +1 -1
  82. package/lib/cjs/{keyboard-utils-7248dd0a.js → keyboard-utils-66010749.js} +2 -0
  83. package/lib/cjs/loader.cjs.js +2 -2
  84. package/lib/cjs/{token-utils-c672402d.js → token-utils-7a618677.js} +22 -0
  85. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  86. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  87. package/lib/collection/components/duet-button/duet-button.js +5 -5
  88. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  89. package/lib/collection/components/duet-card/duet-card.js +3 -3
  90. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  91. package/lib/collection/components/duet-chip/duet-chip.js +5 -5
  92. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  93. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  94. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  95. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  96. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  97. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  98. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  99. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  100. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  101. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  102. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  103. package/lib/collection/components/duet-header/duet-header.js +15 -15
  104. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  105. package/lib/collection/components/duet-hero/duet-hero.js +6 -6
  106. package/lib/collection/components/duet-input/duet-input.js +8 -8
  107. package/lib/collection/components/duet-label/duet-label.js +2 -2
  108. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  109. package/lib/collection/components/duet-list/duet-list.js +3 -3
  110. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  111. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  112. package/lib/collection/components/duet-modal/duet-modal.js +4 -4
  113. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  114. package/lib/collection/components/duet-nav/duet-nav.css +5 -0
  115. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  116. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  117. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  118. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  119. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  120. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  121. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  122. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  123. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  124. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  125. package/lib/collection/components/duet-select/duet-select.js +5 -5
  126. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  127. package/lib/collection/components/duet-slideout/duet-slideout.css +1 -1
  128. package/lib/collection/components/duet-slideout/duet-slideout.js +10 -1
  129. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +27 -0
  130. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -3
  131. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +1 -1
  132. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  133. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  134. package/lib/collection/components/duet-step/duet-step.js +2 -2
  135. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  136. package/lib/collection/components/duet-tab/duet-tab.css +10 -0
  137. package/lib/collection/components/duet-tab/duet-tab.js +155 -1
  138. package/lib/collection/components/duet-tab-group/duet-tab-group.js +17 -10
  139. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  140. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  141. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +1 -1
  142. package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +5 -0
  143. package/lib/collection/components/duet-tooltip/duet-tooltip.js +16 -18
  144. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  145. package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
  146. package/lib/collection/utils/keyboard-utils.js +1 -0
  147. package/lib/collection/utils/token-utils.js +3 -0
  148. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  149. package/lib/dist-custom-elements/duet-alert.js +1 -1
  150. package/lib/dist-custom-elements/duet-badge.js +1 -1
  151. package/lib/dist-custom-elements/duet-banner.js +4 -4
  152. package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
  153. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  154. package/lib/dist-custom-elements/duet-button.js +1 -1
  155. package/lib/dist-custom-elements/duet-callout.js +2 -2
  156. package/lib/dist-custom-elements/duet-caption.js +1 -1
  157. package/lib/dist-custom-elements/duet-card.js +5 -5
  158. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  159. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  160. package/lib/dist-custom-elements/duet-chip.js +3 -3
  161. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  162. package/lib/dist-custom-elements/duet-choice.js +6 -6
  163. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  164. package/lib/dist-custom-elements/duet-combobox.js +3 -3
  165. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  166. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  167. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  168. package/lib/dist-custom-elements/duet-divider.js +1 -1
  169. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  170. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  171. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  172. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  173. package/lib/dist-custom-elements/duet-footer.js +5 -5
  174. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  175. package/lib/dist-custom-elements/duet-grid.js +1 -1
  176. package/lib/dist-custom-elements/duet-header.js +9 -9
  177. package/lib/dist-custom-elements/duet-heading.js +1 -1
  178. package/lib/dist-custom-elements/duet-hero.js +10 -10
  179. package/lib/dist-custom-elements/duet-icon.js +1 -1
  180. package/lib/dist-custom-elements/duet-input.js +1 -1
  181. package/lib/dist-custom-elements/duet-label.js +1 -1
  182. package/lib/dist-custom-elements/duet-layout.js +1 -1
  183. package/lib/dist-custom-elements/duet-link.js +1 -1
  184. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  185. package/lib/dist-custom-elements/duet-list.js +1 -1
  186. package/lib/dist-custom-elements/duet-logo.js +1 -1
  187. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  188. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  189. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  190. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  191. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  192. package/lib/dist-custom-elements/duet-modal.js +8 -8
  193. package/lib/dist-custom-elements/duet-multiselect.js +10 -10
  194. package/lib/dist-custom-elements/duet-nav.js +3 -3
  195. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  196. package/lib/dist-custom-elements/duet-notification.js +3 -3
  197. package/lib/dist-custom-elements/duet-number-input.js +12 -12
  198. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  199. package/lib/dist-custom-elements/duet-pagination.js +15 -15
  200. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  201. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  202. package/lib/dist-custom-elements/duet-popup-menu.js +2 -2
  203. package/lib/dist-custom-elements/duet-progress.js +1 -1
  204. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  205. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  206. package/lib/dist-custom-elements/duet-radio.js +1 -1
  207. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  208. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  209. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  210. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  211. package/lib/dist-custom-elements/duet-select.js +1 -1
  212. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  213. package/lib/dist-custom-elements/duet-show-more.js +6 -6
  214. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  215. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  216. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +3 -3
  217. package/lib/dist-custom-elements/duet-slideout-panel.js +10 -7
  218. package/lib/dist-custom-elements/duet-slideout.js +14 -5
  219. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  220. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  221. package/lib/dist-custom-elements/duet-step.js +5 -5
  222. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  223. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  224. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  225. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  226. package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
  227. package/lib/dist-custom-elements/duet-tab-group.js +20 -16
  228. package/lib/dist-custom-elements/duet-tab.js +89 -4
  229. package/lib/dist-custom-elements/duet-table.js +1 -1
  230. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  231. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  232. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
  233. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
  234. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  235. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  236. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  237. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  238. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  239. package/lib/dist-custom-elements/duet-tray.js +4 -4
  240. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  241. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  242. package/lib/dist-custom-elements/duet-upload.js +18 -18
  243. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  244. package/lib/dist-custom-elements/index.js +1 -1
  245. package/lib/dist-custom-elements/{p-d1db33b3.js → p-0233383b.js} +1 -1
  246. package/lib/dist-custom-elements/{p-178bd8b5.js → p-0d6e1f1b.js} +1 -1
  247. package/lib/dist-custom-elements/{p-0fcede3e.js → p-10c1d640.js} +2 -2
  248. package/lib/dist-custom-elements/{p-ea75dc3b.js → p-2718851e.js} +2 -2
  249. package/lib/dist-custom-elements/{p-d82ca991.js → p-2bc31f8b.js} +1 -1
  250. package/lib/dist-custom-elements/{p-32b58440.js → p-2c44fafc.js} +2 -2
  251. package/lib/dist-custom-elements/{p-ab998a0f.js → p-34fe2adb.js} +2 -2
  252. package/lib/dist-custom-elements/{p-a7f2d134.js → p-363d74c3.js} +4 -4
  253. package/lib/dist-custom-elements/{p-029fba28.js → p-3bcad21a.js} +2 -2
  254. package/lib/dist-custom-elements/{p-ded7900f.js → p-41c5df58.js} +2 -2
  255. package/lib/dist-custom-elements/{p-e9b96f04.js → p-42da65d1.js} +3 -3
  256. package/lib/dist-custom-elements/{p-8f253845.js → p-55634a0b.js} +2 -1
  257. package/lib/dist-custom-elements/{p-bbff917c.js → p-5b8774b6.js} +6 -6
  258. package/lib/dist-custom-elements/{p-78ce0ce1.js → p-5ccb7f41.js} +21 -23
  259. package/lib/dist-custom-elements/{p-046d07ed.js → p-5df55152.js} +1 -1
  260. package/lib/dist-custom-elements/{p-69f3125f.js → p-60dcae4f.js} +1 -1
  261. package/lib/dist-custom-elements/{p-6db359de.js → p-7183d0e7.js} +10 -10
  262. package/lib/dist-custom-elements/{p-c3d0fd5f.js → p-73904865.js} +2 -2
  263. package/lib/dist-custom-elements/{p-284885b1.js → p-7c44c302.js} +1 -1
  264. package/lib/dist-custom-elements/{p-09d8f6b5.js → p-8a5c7cdf.js} +5 -5
  265. package/lib/dist-custom-elements/{p-bdade4f6.js → p-8cd82767.js} +1 -1
  266. package/lib/dist-custom-elements/{p-5b940d4e.js → p-96a8a294.js} +5 -5
  267. package/lib/dist-custom-elements/{p-14821771.js → p-98ca74e0.js} +1 -1
  268. package/lib/dist-custom-elements/{p-6f02cea5.js → p-997c1c72.js} +2 -2
  269. package/lib/dist-custom-elements/{p-1f650bb2.js → p-a13cbd71.js} +1 -1
  270. package/lib/dist-custom-elements/{p-3c266b7f.js → p-a73804b7.js} +1 -1
  271. package/lib/dist-custom-elements/{p-f26cc3be.js → p-ac4ee6ea.js} +2 -2
  272. package/lib/dist-custom-elements/{p-c2ee0b56.js → p-afe568e9.js} +1 -1
  273. package/lib/dist-custom-elements/{p-48fe3f3e.js → p-b24c3dc4.js} +3 -3
  274. package/lib/dist-custom-elements/{p-4207df32.js → p-b443af91.js} +8 -8
  275. package/lib/dist-custom-elements/{p-d4a52c78.js → p-c7e3638d.js} +1 -1
  276. package/lib/dist-custom-elements/{p-ef9c200e.js → p-cbac9ed5.js} +22 -1
  277. package/lib/dist-custom-elements/{p-501109c4.js → p-cf2212cc.js} +11 -11
  278. package/lib/dist-custom-elements/{p-275c9f06.js → p-d27e5b0d.js} +2 -2
  279. package/lib/dist-custom-elements/{p-f37bade9.js → p-e3d866c6.js} +5 -5
  280. package/lib/dist-custom-elements/{p-dfbd66be.js → p-e445c96b.js} +2 -2
  281. package/lib/duet/duet.esm.js +1 -1
  282. package/lib/duet/duet.js +1 -1
  283. package/lib/duet/{p-5f54e38a.system.entry.js → p-004f5593.system.entry.js} +1 -1
  284. package/lib/duet/{p-1abfbe28.system.entry.js → p-0296a34a.system.entry.js} +1 -1
  285. package/lib/duet/{p-d6154923.entry.js → p-0322bace.entry.js} +1 -1
  286. package/lib/duet/p-05cfffb1.entry.js +4 -0
  287. package/lib/duet/{p-3ccb1ee3.system.entry.js → p-079710fa.system.entry.js} +1 -1
  288. package/lib/duet/p-09c54c8e.system.js +4 -0
  289. package/lib/duet/p-0abf8fe1.system.entry.js +4 -0
  290. package/lib/duet/{p-f54f5ef3.system.entry.js → p-0c2cf3a5.system.entry.js} +1 -1
  291. package/lib/duet/{p-723172a8.system.entry.js → p-0c416590.system.entry.js} +1 -1
  292. package/lib/duet/{p-9418d9ff.entry.js → p-0d0867ae.entry.js} +1 -1
  293. package/lib/duet/{p-3ca93619.system.entry.js → p-0f35fce0.system.entry.js} +1 -1
  294. package/lib/duet/{p-42e4ee86.system.entry.js → p-11be6924.system.entry.js} +1 -1
  295. package/lib/duet/{p-52091e26.entry.js → p-15c9c4cb.entry.js} +1 -1
  296. package/lib/duet/{p-f637700c.system.entry.js → p-193fcf1c.system.entry.js} +1 -1
  297. package/lib/duet/{p-6d186557.entry.js → p-1953edbe.entry.js} +1 -1
  298. package/lib/duet/{p-6edbe47c.system.entry.js → p-19fc4ff9.system.entry.js} +1 -1
  299. package/lib/duet/{p-d1d036d5.entry.js → p-1c7ca800.entry.js} +1 -1
  300. package/lib/duet/{p-cdc6b261.entry.js → p-1cb624dd.entry.js} +1 -1
  301. package/lib/duet/{p-3fab3c3d.entry.js → p-1d91fb5d.entry.js} +1 -1
  302. package/lib/duet/{p-42cfad67.system.entry.js → p-1f6ad797.system.entry.js} +1 -1
  303. package/lib/duet/p-2054dad2.entry.js +4 -0
  304. package/lib/duet/{p-2db24634.entry.js → p-213dab77.entry.js} +1 -1
  305. package/lib/duet/{p-03380a61.system.entry.js → p-240c3f03.system.entry.js} +1 -1
  306. package/lib/duet/{p-daf4b399.entry.js → p-25e0cbc3.entry.js} +1 -1
  307. package/lib/duet/{p-c641c3b4.system.entry.js → p-27485e15.system.entry.js} +1 -1
  308. package/lib/duet/{p-78a7f821.system.entry.js → p-2888bff8.system.entry.js} +1 -1
  309. package/lib/duet/{p-cc4683e0.system.entry.js → p-294b9ccf.system.entry.js} +1 -1
  310. package/lib/duet/{p-efa9e31e.entry.js → p-2de5d10d.entry.js} +1 -1
  311. package/lib/duet/{p-1c9a6018.system.entry.js → p-2e3254e1.system.entry.js} +1 -1
  312. package/lib/duet/{p-ad200bf7.system.entry.js → p-2eb5153f.system.entry.js} +1 -1
  313. package/lib/duet/{p-db48c8ed.system.entry.js → p-2f22f4cc.system.entry.js} +1 -1
  314. package/lib/duet/{p-00c58945.system.entry.js → p-310fd85a.system.entry.js} +1 -1
  315. package/lib/duet/{p-0dd40c9c.entry.js → p-32f3d9e9.entry.js} +1 -1
  316. package/lib/duet/{p-4d9e4286.system.entry.js → p-33771b10.system.entry.js} +1 -1
  317. package/lib/duet/{p-fd153ee7.system.entry.js → p-34b96e8d.system.entry.js} +1 -1
  318. package/lib/duet/{p-8b9c411d.entry.js → p-38bab76d.entry.js} +1 -1
  319. package/lib/duet/{p-e4bd0d7b.entry.js → p-39730ce5.entry.js} +1 -1
  320. package/lib/duet/{p-36c95931.system.entry.js → p-3ac0c888.system.entry.js} +1 -1
  321. package/lib/duet/{p-65316fb3.entry.js → p-3ddc5b9d.entry.js} +1 -1
  322. package/lib/duet/p-3f9bb231.entry.js +4 -0
  323. package/lib/duet/p-43ee1368.entry.js +4 -0
  324. package/lib/duet/{p-eddc7880.entry.js → p-447943eb.entry.js} +1 -1
  325. package/lib/duet/{p-de652eff.entry.js → p-45464aa5.entry.js} +1 -1
  326. package/lib/duet/{p-534e202a.system.entry.js → p-45e26ba0.system.entry.js} +1 -1
  327. package/lib/duet/p-48f4acef.entry.js +4 -0
  328. package/lib/duet/{p-2395f607.system.entry.js → p-4a4317af.system.entry.js} +1 -1
  329. package/lib/duet/{p-295179c8.system.entry.js → p-4ca1be7a.system.entry.js} +1 -1
  330. package/lib/duet/{p-7fd43c03.system.entry.js → p-505375e1.system.entry.js} +1 -1
  331. package/lib/duet/{p-2c02c786.entry.js → p-52a756fe.entry.js} +1 -1
  332. package/lib/duet/p-53e192de.system.entry.js +4 -0
  333. package/lib/duet/{p-4a397383.entry.js → p-560f26a5.entry.js} +1 -1
  334. package/lib/duet/{p-280b2ecc.system.entry.js → p-56be87c9.system.entry.js} +1 -1
  335. package/lib/duet/{p-87565d7d.system.entry.js → p-573ce757.system.entry.js} +1 -1
  336. package/lib/duet/{p-9a352bf1.entry.js → p-578de372.entry.js} +1 -1
  337. package/lib/duet/p-58a8254d.entry.js +4 -0
  338. package/lib/duet/{p-61d46f06.entry.js → p-5add7da0.entry.js} +1 -1
  339. package/lib/duet/{p-c3be7176.entry.js → p-5bf6660a.entry.js} +1 -1
  340. package/lib/duet/p-5c42b7f0.system.entry.js +4 -0
  341. package/lib/duet/{p-75ceea2b.entry.js → p-5d74e505.entry.js} +1 -1
  342. package/lib/duet/{p-d1deec62.system.js → p-5eb9efcf.system.js} +1 -1
  343. package/lib/duet/p-5f87ea3d.js +4 -0
  344. package/lib/duet/{p-e7b955f6.system.entry.js → p-604aab16.system.entry.js} +1 -1
  345. package/lib/duet/{p-b83e0014.system.entry.js → p-618cc2c7.system.entry.js} +1 -1
  346. package/lib/duet/{p-e2347276.entry.js → p-65dcf9ed.entry.js} +1 -1
  347. package/lib/duet/{p-076b9333.entry.js → p-6626a173.entry.js} +1 -1
  348. package/lib/duet/p-690d8509.system.entry.js +4 -0
  349. package/lib/duet/p-6a9f8b30.entry.js +4 -0
  350. package/lib/duet/{p-c0397a25.entry.js → p-6ab9f8ce.entry.js} +1 -1
  351. package/lib/duet/{p-a5e3febc.system.entry.js → p-700eb8d9.system.entry.js} +1 -1
  352. package/lib/duet/{p-c3832cba.system.entry.js → p-7083fb38.system.entry.js} +1 -1
  353. package/lib/duet/{p-e00f28fc.entry.js → p-71568bfa.entry.js} +1 -1
  354. package/lib/duet/{p-a75e499e.system.entry.js → p-73f87dff.system.entry.js} +1 -1
  355. package/lib/duet/{p-1420bc81.system.entry.js → p-7479da8d.system.entry.js} +1 -1
  356. package/lib/duet/{p-9ab87585.system.entry.js → p-74fef701.system.entry.js} +1 -1
  357. package/lib/duet/{p-eed152d0.system.js → p-753d1ca4.system.js} +1 -1
  358. package/lib/duet/{p-133bd9d0.system.entry.js → p-755f5cf0.system.entry.js} +1 -1
  359. package/lib/duet/{p-52737afc.system.js → p-769b7d3c.system.js} +1 -1
  360. package/lib/duet/{p-c90bc08e.entry.js → p-777fbef3.entry.js} +1 -1
  361. package/lib/duet/{p-f8ddd215.system.entry.js → p-77b95466.system.entry.js} +1 -1
  362. package/lib/duet/{p-127dcd36.system.entry.js → p-7cdcc3f9.system.entry.js} +1 -1
  363. package/lib/duet/{p-10a2a9c1.system.entry.js → p-7fd03652.system.entry.js} +1 -1
  364. package/lib/duet/{p-9699d4f1.system.entry.js → p-82bef678.system.entry.js} +1 -1
  365. package/lib/duet/{p-11481bd0.entry.js → p-82cd0795.entry.js} +1 -1
  366. package/lib/duet/{p-7ef64069.entry.js → p-859754bb.entry.js} +1 -1
  367. package/lib/duet/p-85b08ff2.system.entry.js +4 -0
  368. package/lib/duet/{p-88d19807.entry.js → p-85c6a112.entry.js} +1 -1
  369. package/lib/duet/{p-956c677f.entry.js → p-85e98030.entry.js} +1 -1
  370. package/lib/duet/{p-bd9e5b2b.system.entry.js → p-87112f7c.system.entry.js} +1 -1
  371. package/lib/duet/{p-89db0472.system.entry.js → p-8726889d.system.entry.js} +1 -1
  372. package/lib/duet/{p-7b6abc82.entry.js → p-8a2f8d7d.entry.js} +1 -1
  373. package/lib/duet/{p-b17fc03d.system.entry.js → p-8a90810c.system.entry.js} +1 -1
  374. package/lib/duet/{p-111e21bb.system.entry.js → p-8b25f04b.system.entry.js} +1 -1
  375. package/lib/duet/{p-0906d9df.system.entry.js → p-8c08f362.system.entry.js} +1 -1
  376. package/lib/duet/{p-5d8d866f.system.entry.js → p-90847ed0.system.entry.js} +1 -1
  377. package/lib/duet/{p-35811c5b.entry.js → p-91e776e5.entry.js} +1 -1
  378. package/lib/duet/{p-579d7632.entry.js → p-93037a0a.entry.js} +1 -1
  379. package/lib/duet/{p-371692de.system.entry.js → p-9686aa88.system.entry.js} +1 -1
  380. package/lib/duet/{p-88378c4b.system.entry.js → p-97cf5b01.system.entry.js} +1 -1
  381. package/lib/duet/{p-a70e6c6f.entry.js → p-98a822e3.entry.js} +1 -1
  382. package/lib/duet/{p-9090cf21.entry.js → p-9ba3d633.entry.js} +1 -1
  383. package/lib/duet/{p-b57852d2.entry.js → p-9bba389f.entry.js} +1 -1
  384. package/lib/duet/{p-aa38094c.entry.js → p-9bfaaf32.entry.js} +1 -1
  385. package/lib/duet/{p-932d0abe.entry.js → p-9d841e0f.entry.js} +1 -1
  386. package/lib/duet/{p-86285221.entry.js → p-9e8772d1.entry.js} +1 -1
  387. package/lib/duet/{p-f65559ab.entry.js → p-a01d2fdb.entry.js} +1 -1
  388. package/lib/duet/{p-f237623c.entry.js → p-a3351207.entry.js} +1 -1
  389. package/lib/duet/{p-4921ff47.entry.js → p-a3b8bb87.entry.js} +1 -1
  390. package/lib/duet/{p-6720adb2.entry.js → p-a5ebbe3e.entry.js} +1 -1
  391. package/lib/duet/{p-831c1f80.system.entry.js → p-a9a0f040.system.entry.js} +1 -1
  392. package/lib/duet/p-abdbce02.system.js +4 -0
  393. package/lib/duet/{p-d69aa4c2.system.entry.js → p-abe6350b.system.entry.js} +1 -1
  394. package/lib/duet/{p-1bbf5af6.entry.js → p-afa0c531.entry.js} +1 -1
  395. package/lib/duet/{p-9f931d57.js → p-b263e985.js} +1 -1
  396. package/lib/duet/{p-aab87987.system.entry.js → p-b2ccffd1.system.entry.js} +1 -1
  397. package/lib/duet/{p-7e1fe8b7.entry.js → p-b3e26504.entry.js} +1 -1
  398. package/lib/duet/{p-3a63ecd6.system.entry.js → p-b507f27d.system.entry.js} +1 -1
  399. package/lib/duet/{p-c8a02bae.entry.js → p-b9140794.entry.js} +1 -1
  400. package/lib/duet/{p-b84be662.entry.js → p-b9c1d172.entry.js} +1 -1
  401. package/lib/duet/{p-3e03e275.entry.js → p-ba89aaf0.entry.js} +1 -1
  402. package/lib/duet/{p-78a54e54.system.entry.js → p-ba92e7b1.system.entry.js} +1 -1
  403. package/lib/duet/{p-2d9cdfdb.entry.js → p-c03920c0.entry.js} +1 -1
  404. package/lib/duet/{p-b3ee2fd3.entry.js → p-c16515e0.entry.js} +1 -1
  405. package/lib/duet/{p-5f71c6eb.entry.js → p-c28792a8.entry.js} +1 -1
  406. package/lib/duet/{p-b230e70f.system.entry.js → p-c8466623.system.entry.js} +1 -1
  407. package/lib/duet/{p-a2fb2ad9.system.entry.js → p-c9221359.system.entry.js} +1 -1
  408. package/lib/duet/{p-7bb37b2e.entry.js → p-c9c43026.entry.js} +1 -1
  409. package/lib/duet/{p-59eeaac0.system.entry.js → p-ca5cd66a.system.entry.js} +1 -1
  410. package/lib/duet/p-ccb58dd2.entry.js +4 -0
  411. package/lib/duet/{p-03043dae.entry.js → p-cea6ffda.entry.js} +1 -1
  412. package/lib/duet/{p-cd1d3fe8.system.entry.js → p-cfdea256.system.entry.js} +1 -1
  413. package/lib/duet/p-cff7873f.entry.js +4 -0
  414. package/lib/duet/{p-1bdd4caa.system.entry.js → p-d36935fa.system.entry.js} +1 -1
  415. package/lib/duet/{p-a014d5d9.system.entry.js → p-d3aed7d8.system.entry.js} +1 -1
  416. package/lib/duet/{p-efe336c5.entry.js → p-d7175aea.entry.js} +1 -1
  417. package/lib/duet/{p-0667f70f.system.entry.js → p-d7f9ea61.system.entry.js} +1 -1
  418. package/lib/duet/{p-ebc2f8fc.system.entry.js → p-d8144268.system.entry.js} +1 -1
  419. package/lib/duet/{p-37be8296.entry.js → p-d84be985.entry.js} +1 -1
  420. package/lib/duet/{p-6fdbd448.system.entry.js → p-d864a0e3.system.entry.js} +1 -1
  421. package/lib/duet/{p-ba9103db.entry.js → p-da0e04fa.entry.js} +1 -1
  422. package/lib/duet/{p-ea4fda73.entry.js → p-dcaed1b0.entry.js} +1 -1
  423. package/lib/duet/{p-ecef885c.system.entry.js → p-e0db152c.system.entry.js} +1 -1
  424. package/lib/duet/p-e19067f1.js +4 -0
  425. package/lib/duet/p-e276fee0.js +4 -0
  426. package/lib/duet/{p-52c59c2c.system.entry.js → p-e27a4bf4.system.entry.js} +1 -1
  427. package/lib/duet/{p-0fd839a0.system.entry.js → p-e3c31f72.system.entry.js} +1 -1
  428. package/lib/duet/{p-74553378.system.entry.js → p-e72a7aa6.system.entry.js} +1 -1
  429. package/lib/duet/{p-7023e868.system.entry.js → p-e79d2de2.system.entry.js} +1 -1
  430. package/lib/duet/{p-00b69a62.system.entry.js → p-e7b6657c.system.entry.js} +1 -1
  431. package/lib/duet/{p-c1175891.entry.js → p-e7ffb722.entry.js} +1 -1
  432. package/lib/duet/{p-551ecb84.system.entry.js → p-ed8efd4d.system.entry.js} +1 -1
  433. package/lib/duet/{p-ce96df8c.entry.js → p-f1843c31.entry.js} +1 -1
  434. package/lib/duet/{p-37d69db5.system.entry.js → p-f43327c2.system.entry.js} +1 -1
  435. package/lib/duet/{p-7308b57e.entry.js → p-f61c00e3.entry.js} +1 -1
  436. package/lib/duet/{p-ccd19d96.entry.js → p-f7e13990.entry.js} +1 -1
  437. package/lib/duet/{p-c75daf42.entry.js → p-f801f2a7.entry.js} +1 -1
  438. package/lib/duet/{p-8dbbed25.entry.js → p-fa6061c9.entry.js} +1 -1
  439. package/lib/duet/{p-0d7d648a.system.entry.js → p-fbbfcc2d.system.entry.js} +1 -1
  440. package/lib/duet/{p-660bc31f.entry.js → p-fcb84038.entry.js} +1 -1
  441. package/lib/duet/{p-550162dd.entry.js → p-fdeb4f7d.entry.js} +1 -1
  442. package/lib/duet/{p-f2f0f553.system.entry.js → p-fe79a10c.system.entry.js} +1 -1
  443. package/lib/duet/{p-a1093ef2.entry.js → p-fea9215a.entry.js} +1 -1
  444. package/lib/duet/{p-cee353f7.entry.js → p-fefcaeb4.entry.js} +1 -1
  445. package/lib/duet/{p-04dc3f5f.system.entry.js → p-ffdb9d3f.system.entry.js} +1 -1
  446. package/lib/esm/duet-action-button.entry.js +3 -3
  447. package/lib/esm/duet-alert.entry.js +2 -2
  448. package/lib/esm/duet-badge.entry.js +1 -1
  449. package/lib/esm/duet-banner.entry.js +2 -2
  450. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  451. package/lib/esm/duet-breadcrumbs.entry.js +2 -2
  452. package/lib/esm/duet-button_2.entry.js +2 -2
  453. package/lib/esm/duet-callout.entry.js +1 -1
  454. package/lib/esm/duet-caption_4.entry.js +2 -2
  455. package/lib/esm/duet-card.entry.js +3 -3
  456. package/lib/esm/duet-checkbox.entry.js +1 -1
  457. package/lib/esm/duet-checkmark.entry.js +1 -1
  458. package/lib/esm/duet-chip.entry.js +2 -2
  459. package/lib/esm/duet-choice_2.entry.js +3 -3
  460. package/lib/esm/duet-collapsible.entry.js +2 -2
  461. package/lib/esm/duet-combobox.entry.js +2 -2
  462. package/lib/esm/duet-contact-card.entry.js +1 -1
  463. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  464. package/lib/esm/duet-date-picker.entry.js +2 -2
  465. package/lib/esm/duet-divider_2.entry.js +2 -2
  466. package/lib/esm/duet-editable-table_3.entry.js +3 -3
  467. package/lib/esm/duet-empty-state.entry.js +1 -1
  468. package/lib/esm/duet-fieldset.entry.js +1 -1
  469. package/lib/esm/duet-file-chooser.entry.js +1 -1
  470. package/lib/esm/duet-footer.entry.js +2 -2
  471. package/lib/esm/duet-grid_2.entry.js +1 -1
  472. package/lib/esm/duet-header_2.entry.js +2 -2
  473. package/lib/esm/duet-hero.entry.js +2 -2
  474. package/lib/esm/duet-icon.entry.js +2 -2
  475. package/lib/esm/duet-input_2.entry.js +3 -3
  476. package/lib/esm/duet-layout.entry.js +1 -1
  477. package/lib/esm/duet-list_2.entry.js +1 -1
  478. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  479. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  480. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  481. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  482. package/lib/esm/duet-menu-bar.entry.js +1 -1
  483. package/lib/esm/duet-modal.entry.js +3 -3
  484. package/lib/esm/duet-multiselect.entry.js +2 -2
  485. package/lib/esm/duet-nav.entry.js +3 -3
  486. package/lib/esm/duet-notification_2.entry.js +2 -2
  487. package/lib/esm/duet-number-input.entry.js +2 -2
  488. package/lib/esm/duet-page-heading.entry.js +1 -1
  489. package/lib/esm/duet-pagination_2.entry.js +3 -3
  490. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  491. package/lib/esm/duet-popup-menu.entry.js +3 -3
  492. package/lib/esm/duet-progress.entry.js +1 -1
  493. package/lib/esm/duet-promo-card.entry.js +2 -2
  494. package/lib/esm/duet-radio_2.entry.js +1 -1
  495. package/lib/esm/duet-range-slider.entry.js +2 -2
  496. package/lib/esm/duet-scrollable_3.entry.js +89 -6
  497. package/lib/esm/duet-section-layout.entry.js +1 -1
  498. package/lib/esm/duet-select.entry.js +1 -1
  499. package/lib/esm/duet-shaped-image.entry.js +1 -1
  500. package/lib/esm/duet-show-more.entry.js +2 -2
  501. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  502. package/lib/esm/duet-slideout-link.entry.js +1 -1
  503. package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
  504. package/lib/esm/duet-slideout-panel.entry.js +10 -7
  505. package/lib/esm/duet-slideout.entry.js +14 -5
  506. package/lib/esm/duet-step_2.entry.js +2 -2
  507. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  508. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  509. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  510. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  511. package/lib/esm/duet-textarea.entry.js +1 -1
  512. package/lib/esm/duet-toggle.entry.js +2 -2
  513. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  514. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
  515. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  516. package/lib/esm/duet-toolbar.entry.js +1 -1
  517. package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
  518. package/lib/esm/duet-tooltip.entry.js +15 -18
  519. package/lib/esm/duet-tray.entry.js +2 -2
  520. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  521. package/lib/esm/duet-upload-item.entry.js +1 -1
  522. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  523. package/lib/esm/duet.js +3 -3
  524. package/lib/esm/{focus-utils-6bb7f477.js → focus-utils-a9110b59.js} +1 -1
  525. package/lib/esm/{index-eeb87403.js → index-ad0e5e61.js} +1 -1
  526. package/lib/esm/{keyboard-utils-eba88365.js → keyboard-utils-c472d19d.js} +2 -1
  527. package/lib/esm/loader.js +3 -3
  528. package/lib/esm/{token-utils-d09165bc.js → token-utils-0c77cb3c.js} +23 -2
  529. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  530. package/lib/esm-es5/duet-alert.entry.js +1 -1
  531. package/lib/esm-es5/duet-badge.entry.js +1 -1
  532. package/lib/esm-es5/duet-banner.entry.js +1 -1
  533. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  534. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  535. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  536. package/lib/esm-es5/duet-callout.entry.js +1 -1
  537. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  538. package/lib/esm-es5/duet-card.entry.js +1 -1
  539. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  540. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  541. package/lib/esm-es5/duet-chip.entry.js +1 -1
  542. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  543. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  544. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  545. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  546. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  547. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  548. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  549. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  550. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  551. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  552. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  553. package/lib/esm-es5/duet-footer.entry.js +1 -1
  554. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  555. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  556. package/lib/esm-es5/duet-hero.entry.js +1 -1
  557. package/lib/esm-es5/duet-icon.entry.js +1 -1
  558. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  559. package/lib/esm-es5/duet-layout.entry.js +1 -1
  560. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  561. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  562. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  563. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  564. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  565. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  566. package/lib/esm-es5/duet-modal.entry.js +1 -1
  567. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  568. package/lib/esm-es5/duet-nav.entry.js +1 -1
  569. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  570. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  571. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  572. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  573. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  574. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  575. package/lib/esm-es5/duet-progress.entry.js +1 -1
  576. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  577. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  578. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  579. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  580. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  581. package/lib/esm-es5/duet-select.entry.js +1 -1
  582. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  583. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  584. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  585. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  586. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  587. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  588. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  589. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  590. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  591. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  592. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  593. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  594. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  595. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  596. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  597. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  598. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  599. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  600. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  601. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  602. package/lib/esm-es5/duet-tray.entry.js +1 -1
  603. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  604. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  605. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  606. package/lib/esm-es5/duet.js +1 -1
  607. package/lib/esm-es5/{focus-utils-6bb7f477.js → focus-utils-a9110b59.js} +1 -1
  608. package/lib/esm-es5/{index-eeb87403.js → index-ad0e5e61.js} +1 -1
  609. package/lib/esm-es5/{keyboard-utils-eba88365.js → keyboard-utils-c472d19d.js} +1 -1
  610. package/lib/esm-es5/loader.js +1 -1
  611. package/lib/esm-es5/token-utils-0c77cb3c.js +4 -0
  612. package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -0
  613. package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +4 -0
  614. package/lib/types/components/duet-tab/duet-tab.d.ts +22 -2
  615. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +2 -1
  616. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -2
  617. package/lib/types/components.d.ts +22 -2
  618. package/lib/types/utils/keyboard-utils.d.ts +1 -0
  619. package/lib/types/utils/token-utils.d.ts +1 -0
  620. package/package.json +5 -5
  621. package/lib/duet/p-0b5a8f35.system.entry.js +0 -4
  622. package/lib/duet/p-0c61244e.entry.js +0 -4
  623. package/lib/duet/p-202208dc.entry.js +0 -4
  624. package/lib/duet/p-23354cf7.system.js +0 -4
  625. package/lib/duet/p-27bdda1e.js +0 -4
  626. package/lib/duet/p-2bb2b022.js +0 -4
  627. package/lib/duet/p-3ecd388c.system.entry.js +0 -4
  628. package/lib/duet/p-4dd4b992.entry.js +0 -4
  629. package/lib/duet/p-5795b0d9.system.js +0 -4
  630. package/lib/duet/p-74591e44.system.entry.js +0 -4
  631. package/lib/duet/p-94c3e67c.system.entry.js +0 -4
  632. package/lib/duet/p-9dff8650.js +0 -4
  633. package/lib/duet/p-bbd9ecae.entry.js +0 -4
  634. package/lib/duet/p-c3722531.system.entry.js +0 -4
  635. package/lib/duet/p-d840ef25.entry.js +0 -4
  636. package/lib/duet/p-e6949dbe.entry.js +0 -4
  637. package/lib/duet/p-f08d659e.entry.js +0 -4
  638. package/lib/duet/p-f64ba41c.entry.js +0 -4
  639. package/lib/duet/p-f7c03d05.entry.js +0 -4
  640. package/lib/esm-es5/token-utils-d09165bc.js +0 -4
@@ -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 i,g as o}from"./p-9f931d57.js";import{i as a}from"./p-a58bd561.js";import{h as s}from"./p-11230037.js";import{c as n}from"./p-5e59e970.js";const l=class{constructor(t){e(this,t),this.errorId=n("DuetError"),this.labelId=n("DuetLabel"),this.checkHasTooltip=()=>{this.hasTooltip=s(this.element,"tooltip")},this.hasTooltip=!1,this.theme="",this.margin="auto",this.caption=void 0,this.label=void 0,this.compactLabel=!1,this.error=void 0,this.accessibleLiveError="polite",this.labelHeadingLevel="h3",this.labelHidden=!1}componentWillLoad(){a(this),this.checkHasTooltip()}render(){return t(i,{class:{"duet-m-0":"none"===this.margin}},t("fieldset",{"aria-labelledby":this.labelId,"aria-describedby":this.error?this.errorId:null,class:{"duet-fieldset":!0,"duet-theme-turva":"turva"===this.theme}},t("legend",{id:this.labelId},t(this.labelHeadingLevel,null,this.label),this.caption&&t("span",null,this.caption)),t("div",{class:{"duet-legend-wrapper":!0,"duet-legend-has-caption":!!this.caption,"duet-legend-has-tooltip":this.hasTooltip,"duet-legend-hidden":this.labelHidden,"duet-legend-compact":this.compactLabel}},t("div",{class:"duet-fieldset-label"},t("span",{"aria-hidden":"true"},this.label),t("slot",{onSlotchange:this.checkHasTooltip,name:"tooltip"})),this.caption&&t("div",{class:"duet-fieldset-caption","aria-hidden":"true"},t("duet-caption",{theme:this.theme,margin:"none"},this.caption))),t("slot",null),t("span",{class:"duet-fieldset-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&t("span",null,this.error))))}get element(){return o(this)}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(222, 35, 98);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-theme-turva .duet-fieldset-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(224, 42, 13)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{l as duet_fieldset}
4
+ import{r as e,h as t,H as i,g as o}from"./p-b263e985.js";import{i as a}from"./p-a58bd561.js";import{h as s}from"./p-11230037.js";import{c as n}from"./p-5e59e970.js";const l=class{constructor(t){e(this,t),this.errorId=n("DuetError"),this.labelId=n("DuetLabel"),this.checkHasTooltip=()=>{this.hasTooltip=s(this.element,"tooltip")},this.hasTooltip=!1,this.theme="",this.margin="auto",this.caption=void 0,this.label=void 0,this.compactLabel=!1,this.error=void 0,this.accessibleLiveError="polite",this.labelHeadingLevel="h3",this.labelHidden=!1}componentWillLoad(){a(this),this.checkHasTooltip()}render(){return t(i,{class:{"duet-m-0":"none"===this.margin}},t("fieldset",{"aria-labelledby":this.labelId,"aria-describedby":this.error?this.errorId:null,class:{"duet-fieldset":!0,"duet-theme-turva":"turva"===this.theme}},t("legend",{id:this.labelId},t(this.labelHeadingLevel,null,this.label),this.caption&&t("span",null,this.caption)),t("div",{class:{"duet-legend-wrapper":!0,"duet-legend-has-caption":!!this.caption,"duet-legend-has-tooltip":this.hasTooltip,"duet-legend-hidden":this.labelHidden,"duet-legend-compact":this.compactLabel}},t("div",{class:"duet-fieldset-label"},t("span",{"aria-hidden":"true"},this.label),t("slot",{onSlotchange:this.checkHasTooltip,name:"tooltip"})),this.caption&&t("div",{class:"duet-fieldset-caption","aria-hidden":"true"},t("duet-caption",{theme:this.theme,margin:"none"},this.caption))),t("slot",null),t("span",{class:"duet-fieldset-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&t("span",null,this.error))))}get element(){return o(this)}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(222, 35, 98);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-theme-turva .duet-fieldset-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(224, 42, 13)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{l as duet_fieldset}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{h as t,r as e,H as a,g as i}from"./p-9f931d57.js";import{i as n}from"./p-a58bd561.js";import{s as o}from"./p-bb24a019.js";import{p as r}from"./p-0e052642.js";import{g as s}from"./p-9dff8650.js";import"./p-f2aa1623.js";const l=({img:e,sources:a})=>t("picture",null,a&&a.map((e=>t("source",{srcSet:e.srcset,media:e.media,type:e.type,sizes:e.sizes}))),t("img",Object.assign({},e))),u=class{constructor(t){e(this,t),this.theme="",this.margin="auto",this.backgroundColor="primary-lighter",this.iconColor="gray-lightest",this.iconBackgroundColor="primary",this.textColor="secondary",this.size="auto",this.image="",this.sources=void 0,this.icon="",this.headingLevel="h2"}componentWillLoad(){n(this),this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]'),this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]'),this.hasActionSlot=!!this.element.querySelector('[slot="action"]')}render(){const e=s("turva"===this.theme&&"primary-lighter"===this.backgroundColor?"gray-lighter":this.backgroundColor,this.theme),i=s(this.textColor,this.theme),n={backgroundColor:e},u={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:r(this.sources)};return t(a,{class:{"duet-m-0":"none"===this.margin}},t("aside",{class:{"duet-banner":!0,"duet-theme-turva":"turva"===this.theme,[this.size]:!0},style:n},t("div",{class:"visual"},t("div",{class:"image-container"},this.image&&t(l,Object.assign({},u))),this.icon&&t("duet-icon",{theme:this.theme,class:"icon",name:this.icon,shape:"brand",size:"xx-large",color:this.iconColor,background:this.iconBackgroundColor,"background-rotation":"7","background-opacity":"0.85",margin:"none"})),t("div",{class:"content"},this.hasHeadingSlot&&t("div",{class:"heading"},t("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h2",margin:"none",color:this.textColor},t("span",null,t("slot",{name:"heading",onSlotchange:t=>o(t,this,"span")})))),this.hasDescriptionSlot&&t("div",{class:"description",style:{color:i}},t("slot",{name:"description"})),this.hasActionSlot&&t("div",{class:"action"},t("slot",{name:"action"})))))}get element(){return i(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .content .description{hyphens:auto}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}';export{u as duet_banner}
4
+ import{h as t,r as e,H as a,g as i}from"./p-b263e985.js";import{i as n}from"./p-a58bd561.js";import{s as o}from"./p-bb24a019.js";import{p as r}from"./p-0e052642.js";import{g as s}from"./p-5f87ea3d.js";import"./p-f2aa1623.js";const l=({img:e,sources:a})=>t("picture",null,a&&a.map((e=>t("source",{srcSet:e.srcset,media:e.media,type:e.type,sizes:e.sizes}))),t("img",Object.assign({},e))),u=class{constructor(t){e(this,t),this.theme="",this.margin="auto",this.backgroundColor="primary-lighter",this.iconColor="gray-lightest",this.iconBackgroundColor="primary",this.textColor="secondary",this.size="auto",this.image="",this.sources=void 0,this.icon="",this.headingLevel="h2"}componentWillLoad(){n(this),this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]'),this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]'),this.hasActionSlot=!!this.element.querySelector('[slot="action"]')}render(){const e=s("turva"===this.theme&&"primary-lighter"===this.backgroundColor?"gray-lighter":this.backgroundColor,this.theme),i=s(this.textColor,this.theme),n={backgroundColor:e},u={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:r(this.sources)};return t(a,{class:{"duet-m-0":"none"===this.margin}},t("aside",{class:{"duet-banner":!0,"duet-theme-turva":"turva"===this.theme,[this.size]:!0},style:n},t("div",{class:"visual"},t("div",{class:"image-container"},this.image&&t(l,Object.assign({},u))),this.icon&&t("duet-icon",{theme:this.theme,class:"icon",name:this.icon,shape:"brand",size:"xx-large",color:this.iconColor,background:this.iconBackgroundColor,"background-rotation":"7","background-opacity":"0.85",margin:"none"})),t("div",{class:"content"},this.hasHeadingSlot&&t("div",{class:"heading"},t("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h2",margin:"none",color:this.textColor},t("span",null,t("slot",{name:"heading",onSlotchange:t=>o(t,this,"span")})))),this.hasDescriptionSlot&&t("div",{class:"description",style:{color:i}},t("slot",{name:"description"})),this.hasActionSlot&&t("div",{class:"action"},t("slot",{name:"action"})))))}get element(){return i(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .content .description{hyphens:auto}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}';export{u as duet_banner}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-52737afc.system.js","./p-15fde8cc.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,n,i,a,r,o;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g},function(e){r=e.a},function(e){o=e.i}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';var u=e("duet_menu_bar_link",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="x-small";this.theme="";this.active=false;this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){this.changeIconSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.render=function(){return n(i,null,n("a",{class:{"duet-menu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());u.style=s}}}));
4
+ System.register(["./p-769b7d3c.system.js","./p-15fde8cc.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,n,i,a,r,o;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g},function(e){r=e.a},function(e){o=e.i}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';var u=e("duet_menu_bar_link",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(r.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="x-small";this.theme="";this.active=false;this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){this.changeIconSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.render=function(){return n(i,null,n("a",{class:{"duet-menu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());u.style=s}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-e1868c94.system.js"],(function(r){"use strict";var n,t,e,u,i,a,f,o,c,v;return{setters:[function(r){n=r.m;t=r.a;e=r.b;u=r.c;i=r.d;a=r.e;f=r.f;o=r.g;c=r.t;v=r.h}],execute:function(){r({c:p,d:O,g:j,r:w,s:S});var s=["turva"];function d(r){var n=r.includes("-");var t=r.includes(" ")||r.includes("_");var e=r.charAt(0)==="-";return n&&!t&&!e}function l(r){if(r===void 0){r=""}return"".concat(r.charAt(0).toUpperCase()).concat(r.slice(1))}function x(r){if(r===void 0){r=""}return"".concat(r.charAt(0).toLowerCase()).concat(r.slice(1))}function m(r){if(r===void 0){r=""}var n=r.split("-");n.forEach((function(r,t){n[t]=l(r)}));return n.join("")}function g(r){if(r===void 0){r=""}if(s.includes(r.toLowerCase())){return r.toLowerCase()}return""}function p(r){return r.charAt(0).toUpperCase()+r.slice(1)}function I(r,n){if(n===void 0){n=""}return n.indexOf(p(r))===0||n.indexOf(r)===0}function b(r,n){if(n===void 0){n=""}if(n&&!d(n)&&!I(r,n)){return"".concat(r).concat(l(n))}return n}function h(r,n){var t=g(n).length;if(t&&r.indexOf(n)===-1){return"".concat(r).concat(l(n))}return r}function j(r,n){if(n===void 0){n=""}if(!r){return undefined}var t=y(r);var e=y(r,n);var u=c[e];if(!u){u=c[t]}return u}function y(r,n){if(r===void 0){r=""}if(n===void 0){n=""}var t=r;var e=d(r);if(e){t=m(t)}t=b("color",t);t=h(t,n);t=x(t);return t}function M(r,n){if(!n){return undefined}var t=n;var e=d(n);if(e){t=m(t)}t=b(r,t);t=x(t);try{return c[t]}catch(r){return undefined}}function O(r){return M("shadow",r)}function w(r,n){if(!r||n!==0&&!n){return undefined}var t=r.split(",");var e=parseInt(t[0].slice(4)),u=parseInt(t[1]),i=parseInt(t[2]);return"rgba(".concat(e,",").concat(u,",").concat(i,",").concat(n,")")}function S(r,n){var t=r.split(","),e=n<0?0:255,u=n<0?n*-1:n;var i=parseInt(t[0].slice(4)),a=parseInt(t[1]),f=parseInt(t[2]);i=Math.round((e-i)*u)+i;a=Math.round((e-a)*u)+a;f=Math.round((e-f)*u)+f;i=i<0?0:i;i=i>255?255:i;a=a<0?0:a;a=a>255?255:a;f=f<0?0:f;f=f>255?255:f;return"rgb(".concat(i,",").concat(a,",").concat(f,")")}var _=function(r){return r.substring(1,r.length-1)};var k=r("a",{"xxx-small":_(v),"xx-small":_(n),"x-small":_(t),small:_(e),medium:_(u),large:_(i),"x-large":_(a),"xx-large":_(f),"xxx-large":_(o)});var q=r("b",Object.keys(k).filter((function(r){return r.indexOf("x-small")!==-1})));Object.keys(k).filter((function(r){return!q.includes(r)}))}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-52737afc.system.js","./p-50f4bca2.system.js","./p-99269e38.system.js","./p-6ef75455.system.js","./p-23354cf7.system.js","./p-e1868c94.system.js"],(function(t){"use strict";var e,a,n,i,r,o,s,u;return{setters:[function(t){e=t.h;a=t.r;n=t.H;i=t.g},function(t){r=t.i},function(t){o=t.s},function(t){s=t.p},function(t){u=t.g},function(){}],execute:function(){var l=function(t){var a=t.img,n=t.sources;return e("picture",null,n&&n.map((function(t){return e("source",{srcSet:t.srcset,media:t.media,type:t.type,sizes:t.sizes})})),e("img",Object.assign({},a)))};var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .content .description{hyphens:auto}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}';var p=t("duet_banner",function(){function t(t){a(this,t);this.theme="";this.margin="auto";this.backgroundColor="primary-lighter";this.iconColor="gray-lightest";this.iconBackgroundColor="primary";this.textColor="secondary";this.size="auto";this.image="";this.sources=undefined;this.icon="";this.headingLevel="h2"}t.prototype.componentWillLoad=function(){r(this);this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]');this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]');this.hasActionSlot=!!this.element.querySelector('[slot="action"]')};t.prototype.render=function(){var t;var a=this;var i=this.theme==="turva"&&this.backgroundColor==="primary-lighter"?"gray-lighter":this.backgroundColor;var r=u(i,this.theme);var d=u(this.textColor,this.theme);var p={backgroundColor:r};var m={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:s(this.sources)};return e(n,{class:{"duet-m-0":this.margin==="none"}},e("aside",{class:(t={"duet-banner":true,"duet-theme-turva":this.theme==="turva"},t[this.size]=true,t),style:p},e("div",{class:"visual"},e("div",{class:"image-container"},this.image&&e(l,Object.assign({},m))),this.icon&&e("duet-icon",{theme:this.theme,class:"icon",name:this.icon,shape:"brand",size:"xx-large",color:this.iconColor,background:this.iconBackgroundColor,"background-rotation":"7","background-opacity":"0.85",margin:"none"})),e("div",{class:"content"},this.hasHeadingSlot&&e("div",{class:"heading"},e("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h2",margin:"none",color:this.textColor},e("span",null,e("slot",{name:"heading",onSlotchange:function(t){return o(t,a,"span")}})))),this.hasDescriptionSlot&&e("div",{class:"description",style:{color:d}},e("slot",{name:"description"})),this.hasActionSlot&&e("div",{class:"action"},e("slot",{name:"action"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());p.style=d}}}));
4
+ System.register(["./p-769b7d3c.system.js","./p-50f4bca2.system.js","./p-99269e38.system.js","./p-6ef75455.system.js","./p-abdbce02.system.js","./p-e1868c94.system.js"],(function(t){"use strict";var e,a,n,i,r,o,s,u;return{setters:[function(t){e=t.h;a=t.r;n=t.H;i=t.g},function(t){r=t.i},function(t){o=t.s},function(t){s=t.p},function(t){u=t.g},function(){}],execute:function(){var l=function(t){var a=t.img,n=t.sources;return e("picture",null,n&&n.map((function(t){return e("source",{srcSet:t.srcset,media:t.media,type:t.type,sizes:t.sizes})})),e("img",Object.assign({},a)))};var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .content .description{hyphens:auto}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}';var p=t("duet_banner",function(){function t(t){a(this,t);this.theme="";this.margin="auto";this.backgroundColor="primary-lighter";this.iconColor="gray-lightest";this.iconBackgroundColor="primary";this.textColor="secondary";this.size="auto";this.image="";this.sources=undefined;this.icon="";this.headingLevel="h2"}t.prototype.componentWillLoad=function(){r(this);this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]');this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]');this.hasActionSlot=!!this.element.querySelector('[slot="action"]')};t.prototype.render=function(){var t;var a=this;var i=this.theme==="turva"&&this.backgroundColor==="primary-lighter"?"gray-lighter":this.backgroundColor;var r=u(i,this.theme);var d=u(this.textColor,this.theme);var p={backgroundColor:r};var m={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:s(this.sources)};return e(n,{class:{"duet-m-0":this.margin==="none"}},e("aside",{class:(t={"duet-banner":true,"duet-theme-turva":this.theme==="turva"},t[this.size]=true,t),style:p},e("div",{class:"visual"},e("div",{class:"image-container"},this.image&&e(l,Object.assign({},m))),this.icon&&e("duet-icon",{theme:this.theme,class:"icon",name:this.icon,shape:"brand",size:"xx-large",color:this.iconColor,background:this.iconBackgroundColor,"background-rotation":"7","background-opacity":"0.85",margin:"none"})),e("div",{class:"content"},this.hasHeadingSlot&&e("div",{class:"heading"},e("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h2",margin:"none",color:this.textColor},e("span",null,e("slot",{name:"heading",onSlotchange:function(t){return o(t,a,"span")}})))),this.hasDescriptionSlot&&e("div",{class:"description",style:{color:d}},e("slot",{name:"description"})),this.hasActionSlot&&e("div",{class:"action"},e("slot",{name:"action"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());p.style=d}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as o,h as e,H as t,g as a}from"./p-9f931d57.js";import{i as r}from"./p-a58bd561.js";import{f as n}from"./p-2bb2b022.js";const i=class{constructor(e){o(this,e),this.accessibleLabel=void 0,this.theme="",this.targetLanguage=void 0,this.href="#",this.icon=void 0,this.active=!1}componentWillLoad(){r(this)}handleEscape(o){if(n(o)){const o=this.element.closest("duet-toolbar-dropdown");o.open=!1,o.setFocus()}}render(){return e(t,null,e("a",{class:{"duet-toolbar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:o=>this.handleEscape(o)},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none"}),e("span",{class:"label"},e("slot",null)),this.active&&e("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))}get element(){return a(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-toolbar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown-link .label{flex:1;text-align:left}.duet-toolbar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-dropdown-link.active{background:rgb(243, 249, 252)}.duet-toolbar-dropdown-link.active.duet-theme-turva{background:rgb(245, 245, 247)}.duet-toolbar-dropdown-link:hover{background:rgb(230, 242, 248)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(228, 228, 230)}';export{i as duet_toolbar_dropdown_link}
4
+ import{r as e,h as o,H as t,g as a}from"./p-b263e985.js";import{i as r}from"./p-a58bd561.js";import{f as n}from"./p-e276fee0.js";const i=class{constructor(o){e(this,o),this.accessibleLabel=void 0,this.theme="",this.targetLanguage=void 0,this.href="#",this.icon=void 0,this.active=!1}componentWillLoad(){r(this)}handleEscape(e){if(n(e)){const e=this.element.closest("duet-toolbar-dropdown");e.open=!1,e.setFocus()}}render(){return o(t,null,o("a",{class:{"duet-toolbar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:e=>this.handleEscape(e)},this.icon&&o("duet-icon",{name:this.icon,size:"x-small",margin:"none"}),o("span",{class:"label"},o("slot",null)),this.active&&o("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))}get element(){return a(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-toolbar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown-link .label{flex:1;text-align:left}.duet-toolbar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-dropdown-link.active{background:rgb(243, 249, 252)}.duet-toolbar-dropdown-link.active.duet-theme-turva{background:rgb(245, 245, 247)}.duet-toolbar-dropdown-link:hover{background:rgb(230, 242, 248)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(228, 228, 230)}';export{i as duet_toolbar_dropdown_link}
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.33"};let n,l,o,s=!1,i=!1,c=!1,r=!1,f=!1;const u={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},a="s-id",d="sty-id",$="c-id",v="slot-fb{display:contents}slot-fb[hidden]{display:none}",h="http://www.w3.org/1999/xlink",p={},m=e=>"object"==(e=typeof e)||"function"===e;function y(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,c=!1;const r=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!m(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,k);const u=w(e,null);return u.l=t,r.length>0&&(u.o=r),u.i=o,u.u=s,u},w=(e,t)=>({$:0,v:e,t,h:null,o:null,l:null,i:null,u:null}),g={},k={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(O)},j=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.v,vtext:e.t}),O=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},S=(e,t,n,l,o,s,i)=>{let c,r,f,u;if(1===s.nodeType){for(c=s.getAttribute($),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={$:0,p:r[0],m:r[1],k:r[2],j:r[3],v:s.tagName.toLowerCase(),h:s,l:null,o:null,i:null,u:null,t:null},t.push(f),s.removeAttribute($),e.o||(e.o=[]),e.o[f.j]=f,e=f,l&&"0"===f.k&&(l[f.j]=f.h))),u=s.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.childNodes[u],i);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.shadowRoot.childNodes[u],i)}else if(8===s.nodeType)r=s.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={$:0,p:r[1],m:r[2],k:r[3],j:r[4],h:s,l:null,o:null,i:null,u:null,v:null,t:null},"t"===c?(f.h=s.nextSibling,f.h&&3===f.h.nodeType&&(f.t=f.h.textContent,t.push(f),s.remove(),e.o||(e.o=[]),e.o[f.j]=f,l&&"0"===f.k&&(l[f.j]=f.h))):f.p===i&&("s"===c?(f.v="slot",s["s-sn"]=r[5]?f.u=r[5]:"",s["s-sr"]=!0,l&&(f.h=Te.createElement(f.v),f.u&&f.h.setAttribute("name",f.u),s.parentNode.insertBefore(f.h,s),s.remove(),"0"===f.k&&(l[f.j]=f.h)),n.push(f),e.o||(e.o=[]),e.o[f.j]=f):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.v){const t=w(null,s.textContent);t.h=s,t.j="0",e.o=[t]}},x=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)x(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)x(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},C=e=>Se(e).$hostElement$,R=(e,t,n)=>{const l=C(e);return{emit:e=>M(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},M=(e,t,n)=>{const l=Le.ce(t,n);return e.dispatchEvent(l),l},E=new WeakMap,I=(e,t,n)=>{let l=Ne.get(e);De&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Ne.set(e,l)},N=(e,t)=>{var n;const l=P(t),o=Ne.get(l);if(e=11===e.nodeType?e:Te,o)if("string"==typeof o){let s,i=E.get(e=e.head||e);if(i||E.set(e,i=new Set),!i.has(l)){if(e.host&&(s=e.querySelector(`[${d}="${l}"]`)))s.innerHTML=o;else{s=Te.createElement("style"),s.innerHTML=o;const t=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.$&&(s.innerHTML+=v),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},P=e=>"sc-"+e.S,T=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,o,s)=>{if(n!==l){let i=Re(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=A(n),s=A(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=m(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):Re(Pe,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(D);t=t.replace(F,""),n&&Le.rel(e,t,n,o),l&&Le.ael(e,t,l,o)}}},U=/\s/,A=e=>e?e.split(U):[],D="Capture",F=RegExp(D+"$"),W=(e,t,n,l)=>{const o=11===t.h.nodeType&&t.h.host?t.h.host:t.h,s=e&&e.l||p,i=t.l||p;for(l in s)l in i||L(o,l,s[l],void 0,n,t.$);for(l in i)L(o,l,s[l],i[l],n,t.$)},B=(e,t,i,f)=>{const u=t.o[i];let a,d,$,v=0;if(s||(c=!0,"slot"===u.v&&(n&&f.classList.add(n+"-s"),u.$|=u.o?2:1)),null!==u.t)a=u.h=Te.createTextNode(u.t);else if(1&u.$)a=u.h=Te.createTextNode("");else{if(r||(r="svg"===u.v),a=u.h=Te.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&u.$?"slot-fb":u.v),r&&"foreignObject"===u.v&&(r=!1),W(null,u,r),null!=n&&a["s-si"]!==n&&a.classList.add(a["s-si"]=n),u.o)for(v=0;v<u.o.length;++v)d=B(e,u,v,a),d&&a.appendChild(d);"svg"===u.v?r=!1:"foreignObject"===a.tagName&&(r=!0)}return a["s-hn"]=o,3&u.$&&(a["s-sr"]=!0,a["s-cr"]=l,a["s-sn"]=u.u||"",$=e&&e.o&&e.o[i],$&&$.v===u.v&&e.h&&H(e.h,!1)),a},H=(e,t)=>{Le.$|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==o&&l["s-ol"]&&(G(l).insertBefore(l,z(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,c=!0),t&&H(l,t)}Le.$&=-2},V=(e,t,n,l,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===o&&(r=r.shadowRoot);s<=i;++s)l[s]&&(c=B(null,n,s,e),c&&(l[s].h=c,r.insertBefore(c,z(t))))},q=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.h;Z(t),e&&(i=!0,e["s-ol"]?e["s-ol"].remove():H(e,!0),e.remove())}}},_=(e,t,n=!1)=>e.v===t.v&&("slot"===e.v?e.u===t.u:!!n||e.i===t.i),z=e=>e&&e["s-ol"]||e,G=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,J=(e,t,n=!1)=>{const l=t.h=e.h,o=e.o,s=t.o,i=t.v,c=t.t;let f;null===c?(r="svg"===i||"foreignObject"!==i&&r,"slot"===i||W(e,t,r),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,c=0,r=0,f=0,u=0,a=t.length-1,d=t[0],$=t[a],v=l.length-1,h=l[0],p=l[v];for(;c<=a&&r<=v;)if(null==d)d=t[++c];else if(null==$)$=t[--a];else if(null==h)h=l[++r];else if(null==p)p=l[--v];else if(_(d,h,o))J(d,h,o),d=t[++c],h=l[++r];else if(_($,p,o))J($,p,o),$=t[--a],p=l[--v];else if(_(d,p,o))"slot"!==d.v&&"slot"!==p.v||H(d.h.parentNode,!1),J(d,p,o),e.insertBefore(d.h,$.h.nextSibling),d=t[++c],p=l[--v];else if(_($,h,o))"slot"!==d.v&&"slot"!==p.v||H($.h.parentNode,!1),J($,h,o),e.insertBefore($.h,d.h),$=t[--a],h=l[++r];else{for(f=-1,u=c;u<=a;++u)if(t[u]&&null!==t[u].i&&t[u].i===h.i){f=u;break}f>=0?(i=t[f],i.v!==h.v?s=B(t&&t[r],n,f,e):(J(i,h,o),t[f]=void 0,s=i.h),h=l[++r]):(s=B(t&&t[r],n,r,e),h=l[++r]),s&&G(d.h).insertBefore(s,z(d.h))}c>a?V(e,null==l[v+1]?null:l[v+1].h,n,l,r,v):r>v&&q(t,c,a)})(l,o,t,s,n):null!==s?(null!==e.t&&(l.textContent=""),V(l,null,t,s,0,s.length-1)):null!==o&&q(o,0,o.length-1),r&&"svg"===i&&(r=!1)):(f=l["s-cr"])?f.parentNode.textContent=c:e.t!==c&&(l.data=c)},K=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}K(e)}},Q=[],X=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(Y(t,e)){let n=Q.find((e=>e.C===t));i=!0,t["s-sn"]=t["s-sn"]||e,n?(n.C["s-sh"]=o["s-hn"],n.R=o):(t["s-sh"]=o["s-hn"],Q.push({R:o,C:t})),t["s-sr"]&&Q.map((e=>{Y(e.C,t["s-sn"])&&(n=Q.find((e=>e.C===t)),n&&!e.R&&(e.R=n.R))}))}else Q.some((e=>e.C===t))||Q.push({C:t})}1===o.nodeType&&X(o)}},Y=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Z=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Z)},ee=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},te=(e,t)=>{if(e.$|=16,!(4&e.$))return ee(e,e.I),_e((()=>ne(e,t)));e.$|=512},ne=(e,t)=>{const n=e.N;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>fe(n,e,t))),e.P=void 0),l=fe(n,"componentWillLoad")),l=le(l,(()=>fe(n,"componentWillRender"))),le(l,(()=>se(e,n,t)))},le=(e,t)=>oe(e)?e.then(t):t(),oe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,se=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.T,n=e.$hostElement$,l=t.$,o=N(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);ie(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},ie=(e,t,r,f)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t,r=!1)=>{var f,u,a,d;const $=e.$hostElement$,v=e.T,h=e.L||w(null,null),p=(e=>e&&e.v===g)(t)?t:b(null,null,t);if(o=$.tagName,v.U&&(p.l=p.l||{},v.U.map((([e,t])=>p.l[t]=$[e]))),r&&p.l)for(const e of Object.keys(p.l))$.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(p.l[e]=$[e]);if(p.v=null,p.$|=4,e.L=p,p.h=h.h=$.shadowRoot||$,n=$["s-sc"],l=$["s-cr"],s=0!=(1&v.$),i=!1,J(h,p,r),Le.$|=1,c){X(p.h);for(const e of Q){const t=e.C;if(!t["s-ol"]){const e=Te.createTextNode("");e["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of Q){const t=e.C,n=e.R;if(n){const e=n.parentNode;let l=n.nextSibling;{let n=null===(f=t["s-ol"])||void 0===f?void 0:f.previousSibling;for(;n;){let o=null!==(u=n["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}n=n.previousSibling}}(!l&&e!==t.parentNode||t.nextSibling!==l)&&t!==l&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),e.insertBefore(t,l),1===t.nodeType&&(t.hidden=null!==(a=t["s-ih"])&&void 0!==a&&a))}else 1===t.nodeType&&(r&&(t["s-ih"]=null!==(d=t.hidden)&&void 0!==d&&d),t.hidden=!0)}}i&&K(p.h),Le.$&=-2,Q.length=0})(e,t,f)}catch(t){Me(t,e.$hostElement$)}return null},ce=e=>{const t=e.$hostElement$,n=e.N,l=e.I;fe(n,"componentDidRender"),64&e.$?fe(n,"componentDidUpdate"):(e.$|=64,ue(t),fe(n,"componentDidLoad"),e.A(t),l||re()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&qe((()=>te(e,!1))),e.$&=-517},re=()=>{ue(Te.documentElement),qe((()=>M(Pe,"appload",{detail:{namespace:e}})))},fe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Me(e)}},ue=e=>e.classList.add("hydrated"),ae=(e,t,n)=>{var l;const o=e.prototype;if(t.F){e.watchers&&(t.W=e.watchers);const s=Object.entries(t.F);if(s.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>Se(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=Se(e),s=o.$hostElement$,i=o.B.get(t),c=o.$,r=o.N;if(n=((e,t)=>null==e||m(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.B.set(t,n),r)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){Me(e,s)}}))}2==(18&c)&&te(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){var n;const l=Se(this);return null===(n=null==l?void 0:l.H)||void 0===n?void 0:n.then((()=>{var n;return null===(n=l.N)||void 0===n?void 0:n[e](...t)}))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,l,s){Le.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=Se(this),o=null==n?void 0:n.$;if(o&&!(8&o)&&128&o&&s!==l){const o=n.N,c=null===(i=t.W)||void 0===i?void 0:i[e];null==c||c.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.W)&&void 0!==l?l:{}),...s.filter((([e,t])=>15&t[0])).map((([e,l])=>{var o;const s=l[1]||e;return n.set(s,e),512&l[0]&&(null===(o=t.U)||void 0===o||o.push([e,s])),s}))]))}}return e},de=e=>{fe(e,"connectedCallback")},$e=e=>{if(0==(1&Le.$)){const t=Se(e),n=t.T,l=()=>{};if(1&t.$)be(e,t,n.V),(null==t?void 0:t.N)?de(t.N):(null==t?void 0:t.q)&&t.q.then((()=>de(t.N)));else{let l;if(t.$|=1,l=e.getAttribute(a),l){if(1&n.$){const t=N(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,c=l.L=w(t,null);Le._||x(Te.body,Le._=new Map),e[a]=n,e.removeAttribute(a),S(c,s,[],i,e,e,n),s.map((e=>{const n=e.p+"."+e.m,l=Le._.get(n),s=e.h;l&&Ue&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Le._.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&ve(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ee(t,t.I=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),qe((()=>(async(e,t,n)=>{let l;if(0==(32&t.$)){t.$|=32;{if(l=Ie(n),l.then){const e=()=>{};l=await l,e()}l.isProxied||(n.W=l.watchers,ae(l,n,2),l.isProxied=!0);const e=()=>{};t.$|=8;try{new l(t)}catch(e){Me(e)}t.$&=-9,t.$|=128,e(),de(t.N)}if(l.style){let e=l.style;const t=P(n);if(!Ne.has(t)){const l=()=>{};I(t,e,!!(1&n.$)),l()}}}const o=t.I,s=()=>te(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,n)))}l()}},ve=e=>{const t=e["s-cr"]=Te.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},he=e=>{fe(e,"disconnectedCallback")},pe=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&Le.$)&&2&Se(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},me=(e,t={})=>{var n;const l=t.exclude||[],o=Pe.customElements,s=Te.head,i=s.querySelector("meta[charset]"),c=Te.createElement("style"),r=[],f=Te.querySelectorAll(`[${d}]`);let u,a=!0,$=0;for(Object.assign(Le,t),Le.G=new URL(t.resourcesUrl||"./",Te.baseURI).href,Le.$|=2;$<f.length;$++)I(f[$].getAttribute(d),T(f[$].innerHTML),!0);let h=!1;if(e.map((e=>{e[1].map((t=>{var n;const s={$:t[0],S:t[1],F:t[2],V:t[3]};4&s.$&&(h=!0),s.F=t[2],s.V=t[3],s.U=[],s.W=null!==(n=t[4])&&void 0!==n?n:{};const i=s.S,c=class extends HTMLElement{constructor(e){super(e),Ce(e=this,s),1&s.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&s.$)})}connectedCallback(){u&&(clearTimeout(u),u=null),a?r.push(this):Le.jmp((()=>$e(this)))}disconnectedCallback(){Le.jmp((()=>(async()=>{if(0==(1&Le.$)){const e=Se(this);e.J&&(e.J.map((e=>e())),e.J=void 0),(null==e?void 0:e.N)?he(e.N):(null==e?void 0:e.q)&&e.q.then((()=>he(e.N)))}})()))}componentOnReady(){return Se(this).q}};pe(c.prototype,s),s.K=e[0],l.includes(i)||o.get(i)||o.define(i,ae(c,s,1))}))})),h&&(c.innerHTML+=v),c.innerHTML.length){c.setAttribute("data-styles","");const e=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=e&&c.setAttribute("nonce",e),s.insertBefore(c,i?i.nextSibling:s.firstChild)}a=!1,r.length?r.map((e=>e.connectedCallback())):Le.jmp((()=>u=setTimeout(re,30)))},ye=(e,t)=>t,be=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ge(e,n),i=we(t,o),c=ke(n);Le.ael(s,l,i,c),(t.J=t.J||[]).push((()=>Le.rel(s,l,i,c)))}))},we=(e,t)=>n=>{try{256&e.$?e.N[t](n):(e.P=e.P||[]).push([t,n])}catch(e){Me(e)}},ge=(e,t)=>4&t?Te:8&t?Pe:16&t?Te.body:e,ke=e=>0!=(2&e),je=e=>Le.O=e,Oe=new WeakMap,Se=e=>Oe.get(e),xe=(e,t)=>Oe.set(t.N=e,t),Ce=(e,t)=>{const n={$:0,$hostElement$:e,T:t,B:new Map};return n.H=new Promise((e=>n.D=e)),n.q=new Promise((e=>n.A=e)),e["s-p"]=[],e["s-rc"]=[],be(e,n,t.V),Oe.set(e,n)},Re=(e,t)=>t in e,Me=(e,t)=>(0,console.error)(e,t),Ee=new Map,Ie=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Ee.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Ee.set(n,e),e[t])),Me)
4
+ const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.34"};let n,l,o,s=!1,i=!1,c=!1,r=!1,f=!1;const u={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},a="s-id",d="sty-id",$="c-id",v="slot-fb{display:contents}slot-fb[hidden]{display:none}",h="http://www.w3.org/1999/xlink",p={},m=e=>"object"==(e=typeof e)||"function"===e;function y(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,c=!1;const r=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!m(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,k);const u=w(e,null);return u.l=t,r.length>0&&(u.o=r),u.i=o,u.u=s,u},w=(e,t)=>({$:0,v:e,t,h:null,o:null,l:null,i:null,u:null}),g={},k={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(O)},j=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.v,vtext:e.t}),O=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},S=(e,t,n,l,o,s,i)=>{let c,r,f,u;if(1===s.nodeType){for(c=s.getAttribute($),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={$:0,p:r[0],m:r[1],k:r[2],j:r[3],v:s.tagName.toLowerCase(),h:s,l:null,o:null,i:null,u:null,t:null},t.push(f),s.removeAttribute($),e.o||(e.o=[]),e.o[f.j]=f,e=f,l&&"0"===f.k&&(l[f.j]=f.h))),u=s.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.childNodes[u],i);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.shadowRoot.childNodes[u],i)}else if(8===s.nodeType)r=s.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={$:0,p:r[1],m:r[2],k:r[3],j:r[4],h:s,l:null,o:null,i:null,u:null,v:null,t:null},"t"===c?(f.h=s.nextSibling,f.h&&3===f.h.nodeType&&(f.t=f.h.textContent,t.push(f),s.remove(),e.o||(e.o=[]),e.o[f.j]=f,l&&"0"===f.k&&(l[f.j]=f.h))):f.p===i&&("s"===c?(f.v="slot",s["s-sn"]=r[5]?f.u=r[5]:"",s["s-sr"]=!0,l&&(f.h=Te.createElement(f.v),f.u&&f.h.setAttribute("name",f.u),s.parentNode.insertBefore(f.h,s),s.remove(),"0"===f.k&&(l[f.j]=f.h)),n.push(f),e.o||(e.o=[]),e.o[f.j]=f):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.v){const t=w(null,s.textContent);t.h=s,t.j="0",e.o=[t]}},x=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)x(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)x(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},C=e=>Se(e).$hostElement$,R=(e,t,n)=>{const l=C(e);return{emit:e=>M(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},M=(e,t,n)=>{const l=Le.ce(t,n);return e.dispatchEvent(l),l},E=new WeakMap,I=(e,t,n)=>{let l=Ne.get(e);De&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Ne.set(e,l)},N=(e,t)=>{var n;const l=P(t),o=Ne.get(l);if(e=11===e.nodeType?e:Te,o)if("string"==typeof o){let s,i=E.get(e=e.head||e);if(i||E.set(e,i=new Set),!i.has(l)){if(e.host&&(s=e.querySelector(`[${d}="${l}"]`)))s.innerHTML=o;else{s=Te.createElement("style"),s.innerHTML=o;const t=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.$&&(s.innerHTML+=v),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},P=e=>"sc-"+e.S,T=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,o,s)=>{if(n!==l){let i=Re(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=A(n),s=A(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=m(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):Re(Pe,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(D);t=t.replace(F,""),n&&Le.rel(e,t,n,o),l&&Le.ael(e,t,l,o)}}},U=/\s/,A=e=>e?e.split(U):[],D="Capture",F=RegExp(D+"$"),W=(e,t,n,l)=>{const o=11===t.h.nodeType&&t.h.host?t.h.host:t.h,s=e&&e.l||p,i=t.l||p;for(l in s)l in i||L(o,l,s[l],void 0,n,t.$);for(l in i)L(o,l,s[l],i[l],n,t.$)},B=(e,t,i,f)=>{const u=t.o[i];let a,d,$,v=0;if(s||(c=!0,"slot"===u.v&&(n&&f.classList.add(n+"-s"),u.$|=u.o?2:1)),null!==u.t)a=u.h=Te.createTextNode(u.t);else if(1&u.$)a=u.h=Te.createTextNode("");else{if(r||(r="svg"===u.v),a=u.h=Te.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&u.$?"slot-fb":u.v),r&&"foreignObject"===u.v&&(r=!1),W(null,u,r),null!=n&&a["s-si"]!==n&&a.classList.add(a["s-si"]=n),u.o)for(v=0;v<u.o.length;++v)d=B(e,u,v,a),d&&a.appendChild(d);"svg"===u.v?r=!1:"foreignObject"===a.tagName&&(r=!0)}return a["s-hn"]=o,3&u.$&&(a["s-sr"]=!0,a["s-cr"]=l,a["s-sn"]=u.u||"",$=e&&e.o&&e.o[i],$&&$.v===u.v&&e.h&&H(e.h,!1)),a},H=(e,t)=>{Le.$|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==o&&l["s-ol"]&&(G(l).insertBefore(l,z(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,c=!0),t&&H(l,t)}Le.$&=-2},V=(e,t,n,l,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===o&&(r=r.shadowRoot);s<=i;++s)l[s]&&(c=B(null,n,s,e),c&&(l[s].h=c,r.insertBefore(c,z(t))))},q=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.h;Z(t),e&&(i=!0,e["s-ol"]?e["s-ol"].remove():H(e,!0),e.remove())}}},_=(e,t,n=!1)=>e.v===t.v&&("slot"===e.v?e.u===t.u:!!n||e.i===t.i),z=e=>e&&e["s-ol"]||e,G=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,J=(e,t,n=!1)=>{const l=t.h=e.h,o=e.o,s=t.o,i=t.v,c=t.t;let f;null===c?(r="svg"===i||"foreignObject"!==i&&r,"slot"===i||W(e,t,r),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,c=0,r=0,f=0,u=0,a=t.length-1,d=t[0],$=t[a],v=l.length-1,h=l[0],p=l[v];for(;c<=a&&r<=v;)if(null==d)d=t[++c];else if(null==$)$=t[--a];else if(null==h)h=l[++r];else if(null==p)p=l[--v];else if(_(d,h,o))J(d,h,o),d=t[++c],h=l[++r];else if(_($,p,o))J($,p,o),$=t[--a],p=l[--v];else if(_(d,p,o))"slot"!==d.v&&"slot"!==p.v||H(d.h.parentNode,!1),J(d,p,o),e.insertBefore(d.h,$.h.nextSibling),d=t[++c],p=l[--v];else if(_($,h,o))"slot"!==d.v&&"slot"!==p.v||H($.h.parentNode,!1),J($,h,o),e.insertBefore($.h,d.h),$=t[--a],h=l[++r];else{for(f=-1,u=c;u<=a;++u)if(t[u]&&null!==t[u].i&&t[u].i===h.i){f=u;break}f>=0?(i=t[f],i.v!==h.v?s=B(t&&t[r],n,f,e):(J(i,h,o),t[f]=void 0,s=i.h),h=l[++r]):(s=B(t&&t[r],n,r,e),h=l[++r]),s&&G(d.h).insertBefore(s,z(d.h))}c>a?V(e,null==l[v+1]?null:l[v+1].h,n,l,r,v):r>v&&q(t,c,a)})(l,o,t,s,n):null!==s?(null!==e.t&&(l.textContent=""),V(l,null,t,s,0,s.length-1)):null!==o&&q(o,0,o.length-1),r&&"svg"===i&&(r=!1)):(f=l["s-cr"])?f.parentNode.textContent=c:e.t!==c&&(l.data=c)},K=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}K(e)}},Q=[],X=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(Y(t,e)){let n=Q.find((e=>e.C===t));i=!0,t["s-sn"]=t["s-sn"]||e,n?(n.C["s-sh"]=o["s-hn"],n.R=o):(t["s-sh"]=o["s-hn"],Q.push({R:o,C:t})),t["s-sr"]&&Q.map((e=>{Y(e.C,t["s-sn"])&&(n=Q.find((e=>e.C===t)),n&&!e.R&&(e.R=n.R))}))}else Q.some((e=>e.C===t))||Q.push({C:t})}1===o.nodeType&&X(o)}},Y=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Z=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Z)},ee=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},te=(e,t)=>{if(e.$|=16,!(4&e.$))return ee(e,e.I),_e((()=>ne(e,t)));e.$|=512},ne=(e,t)=>{const n=e.N;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>fe(n,e,t))),e.P=void 0),l=fe(n,"componentWillLoad")),l=le(l,(()=>fe(n,"componentWillRender"))),le(l,(()=>se(e,n,t)))},le=(e,t)=>oe(e)?e.then(t):t(),oe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,se=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.T,n=e.$hostElement$,l=t.$,o=N(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);ie(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},ie=(e,t,r,f)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t,r=!1)=>{var f,u,a,d;const $=e.$hostElement$,v=e.T,h=e.L||w(null,null),p=(e=>e&&e.v===g)(t)?t:b(null,null,t);if(o=$.tagName,v.U&&(p.l=p.l||{},v.U.map((([e,t])=>p.l[t]=$[e]))),r&&p.l)for(const e of Object.keys(p.l))$.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(p.l[e]=$[e]);if(p.v=null,p.$|=4,e.L=p,p.h=h.h=$.shadowRoot||$,n=$["s-sc"],l=$["s-cr"],s=0!=(1&v.$),i=!1,J(h,p,r),Le.$|=1,c){X(p.h);for(const e of Q){const t=e.C;if(!t["s-ol"]){const e=Te.createTextNode("");e["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of Q){const t=e.C,n=e.R;if(n){const e=n.parentNode;let l=n.nextSibling;{let n=null===(f=t["s-ol"])||void 0===f?void 0:f.previousSibling;for(;n;){let o=null!==(u=n["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}n=n.previousSibling}}(!l&&e!==t.parentNode||t.nextSibling!==l)&&t!==l&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),e.insertBefore(t,l),1===t.nodeType&&(t.hidden=null!==(a=t["s-ih"])&&void 0!==a&&a))}else 1===t.nodeType&&(r&&(t["s-ih"]=null!==(d=t.hidden)&&void 0!==d&&d),t.hidden=!0)}}i&&K(p.h),Le.$&=-2,Q.length=0})(e,t,f)}catch(t){Me(t,e.$hostElement$)}return null},ce=e=>{const t=e.$hostElement$,n=e.N,l=e.I;fe(n,"componentDidRender"),64&e.$?fe(n,"componentDidUpdate"):(e.$|=64,ue(t),fe(n,"componentDidLoad"),e.A(t),l||re()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&qe((()=>te(e,!1))),e.$&=-517},re=()=>{ue(Te.documentElement),qe((()=>M(Pe,"appload",{detail:{namespace:e}})))},fe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Me(e)}},ue=e=>e.classList.add("hydrated"),ae=(e,t,n)=>{var l;const o=e.prototype;if(t.F){e.watchers&&(t.W=e.watchers);const s=Object.entries(t.F);if(s.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>Se(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=Se(e),s=o.$hostElement$,i=o.B.get(t),c=o.$,r=o.N;if(n=((e,t)=>null==e||m(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.B.set(t,n),r)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){Me(e,s)}}))}2==(18&c)&&te(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){var n;const l=Se(this);return null===(n=null==l?void 0:l.H)||void 0===n?void 0:n.then((()=>{var n;return null===(n=l.N)||void 0===n?void 0:n[e](...t)}))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,l,s){Le.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=Se(this),o=null==n?void 0:n.$;if(o&&!(8&o)&&128&o&&s!==l){const o=n.N,c=null===(i=t.W)||void 0===i?void 0:i[e];null==c||c.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.W)&&void 0!==l?l:{}),...s.filter((([e,t])=>15&t[0])).map((([e,l])=>{var o;const s=l[1]||e;return n.set(s,e),512&l[0]&&(null===(o=t.U)||void 0===o||o.push([e,s])),s}))]))}}return e},de=e=>{fe(e,"connectedCallback")},$e=e=>{if(0==(1&Le.$)){const t=Se(e),n=t.T,l=()=>{};if(1&t.$)be(e,t,n.V),(null==t?void 0:t.N)?de(t.N):(null==t?void 0:t.q)&&t.q.then((()=>de(t.N)));else{let l;if(t.$|=1,l=e.getAttribute(a),l){if(1&n.$){const t=N(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,c=l.L=w(t,null);Le._||x(Te.body,Le._=new Map),e[a]=n,e.removeAttribute(a),S(c,s,[],i,e,e,n),s.map((e=>{const n=e.p+"."+e.m,l=Le._.get(n),s=e.h;l&&Ue&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Le._.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&ve(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ee(t,t.I=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),qe((()=>(async(e,t,n)=>{let l;if(0==(32&t.$)){t.$|=32;{if(l=Ie(n),l.then){const e=()=>{};l=await l,e()}l.isProxied||(n.W=l.watchers,ae(l,n,2),l.isProxied=!0);const e=()=>{};t.$|=8;try{new l(t)}catch(e){Me(e)}t.$&=-9,t.$|=128,e(),de(t.N)}if(l.style){let e=l.style;const t=P(n);if(!Ne.has(t)){const l=()=>{};I(t,e,!!(1&n.$)),l()}}}const o=t.I,s=()=>te(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,n)))}l()}},ve=e=>{const t=e["s-cr"]=Te.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},he=e=>{fe(e,"disconnectedCallback")},pe=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&Le.$)&&2&Se(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},me=(e,t={})=>{var n;const l=t.exclude||[],o=Pe.customElements,s=Te.head,i=s.querySelector("meta[charset]"),c=Te.createElement("style"),r=[],f=Te.querySelectorAll(`[${d}]`);let u,a=!0,$=0;for(Object.assign(Le,t),Le.G=new URL(t.resourcesUrl||"./",Te.baseURI).href,Le.$|=2;$<f.length;$++)I(f[$].getAttribute(d),T(f[$].innerHTML),!0);let h=!1;if(e.map((e=>{e[1].map((t=>{var n;const s={$:t[0],S:t[1],F:t[2],V:t[3]};4&s.$&&(h=!0),s.F=t[2],s.V=t[3],s.U=[],s.W=null!==(n=t[4])&&void 0!==n?n:{};const i=s.S,c=class extends HTMLElement{constructor(e){super(e),Ce(e=this,s),1&s.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&s.$)})}connectedCallback(){u&&(clearTimeout(u),u=null),a?r.push(this):Le.jmp((()=>$e(this)))}disconnectedCallback(){Le.jmp((()=>(async()=>{if(0==(1&Le.$)){const e=Se(this);e.J&&(e.J.map((e=>e())),e.J=void 0),(null==e?void 0:e.N)?he(e.N):(null==e?void 0:e.q)&&e.q.then((()=>he(e.N)))}})()))}componentOnReady(){return Se(this).q}};pe(c.prototype,s),s.K=e[0],l.includes(i)||o.get(i)||o.define(i,ae(c,s,1))}))})),h&&(c.innerHTML+=v),c.innerHTML.length){c.setAttribute("data-styles","");const e=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=e&&c.setAttribute("nonce",e),s.insertBefore(c,i?i.nextSibling:s.firstChild)}a=!1,r.length?r.map((e=>e.connectedCallback())):Le.jmp((()=>u=setTimeout(re,30)))},ye=(e,t)=>t,be=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ge(e,n),i=we(t,o),c=ke(n);Le.ael(s,l,i,c),(t.J=t.J||[]).push((()=>Le.rel(s,l,i,c)))}))},we=(e,t)=>n=>{try{256&e.$?e.N[t](n):(e.P=e.P||[]).push([t,n])}catch(e){Me(e)}},ge=(e,t)=>4&t?Te:8&t?Pe:16&t?Te.body:e,ke=e=>0!=(2&e),je=e=>Le.O=e,Oe=new WeakMap,Se=e=>Oe.get(e),xe=(e,t)=>Oe.set(t.N=e,t),Ce=(e,t)=>{const n={$:0,$hostElement$:e,T:t,B:new Map};return n.H=new Promise((e=>n.D=e)),n.q=new Promise((e=>n.A=e)),e["s-p"]=[],e["s-rc"]=[],be(e,n,t.V),Oe.set(e,n)},Re=(e,t)=>t in e,Me=(e,t)=>(0,console.error)(e,t),Ee=new Map,Ie=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Ee.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Ee.set(n,e),e[t])),Me)
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ne=new Map,Pe="undefined"!=typeof window?window:{},Te=Pe.document||{head:{}},Le={$:0,G:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},Ue=!0,Ae=e=>Promise.resolve(e),De=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Fe=[],We=[],Be=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&Le.$?qe(Ve):Le.raf(Ve))},He=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){Me(e)}e.length=0},Ve=()=>{He(Fe),He(We),(f=Fe.length>0)&&Le.raf(Ve)},qe=e=>Ae().then(e),_e=Be(We,!0);export{u as B,t as E,ye as F,g as H,e as N,me as b,R as c,Te as d,C as g,b as h,Ae as p,xe as r,je as s}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,n,o){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{s(o.next(t))}catch(t){i(t)}}function u(t){try{s(o["throw"](t))}catch(t){i(t)}}function s(t){t.done?n(t.value):r(t.value).then(a,u)}s((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return s([t,e])}}function s(u){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(n=0)),n)try{if(o=1,r&&(i=u[0]&2?r["return"]:u[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;if(r=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];r=0}finally{o=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-52737afc.system.js","./p-15fde8cc.system.js","./p-50f4bca2.system.js","./p-5795b0d9.system.js"],(function(t){"use strict";var e,n,o,r,i,a,u;return{setters:[function(t){e=t.r;n=t.h;o=t.H;r=t.g},function(t){i=t.a},function(t){a=t.i},function(t){u=t.f}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}@media (min-width: 62em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 16px}}@media (min-width: 76.25em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 28px}}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-theme-turva .duet-menu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}.duet-theme-turva .duet-menu-bar-dropdown button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown .items{position:absolute;top:70%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:8px;color:rgb(0, 41, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}';var d=t("duet_menu_bar_dropdown",function(){function t(t){var n=this;e(this,t);this.mql=[window.matchMedia(i.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.onClick=function(){n.open=!n.open};this.getVariant=function(){var t=n.element.parentElement.getAttribute("slot");switch(t){case"center":return"right";case"right":return"right";default:return"right"}};this.iconSize="x-small";this.accessibleLabel=undefined;this.theme="";this.open=false;this.icon=undefined}t.prototype.handleFocus=function(t){var e=this;var n=t.composedPath().every((function(t){return t!==e.element}));if(n){this.open=false}};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){this.changeIconSize();for(var t=0;t<this.mql.length;t++){if(this.mql[t].addEventListener){var e=this.changeIconSize.bind(this);this.mql[t].addEventListener("change",e);this.boundMqlFunctions[t]=e}}};t.prototype.disconnectedCallback=function(){for(var t=0;t<this.mql.length;t++){if(this.mql[t].removeEventListener){this.mql[t].removeEventListener("change",this.boundMqlFunctions[t])}}this.boundMqlFunctions=[]};t.prototype.handleEscape=function(t){if(u(t)){this.open=false;this.setFocus()}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.button.focus(t);return[2]}))}))};t.prototype.render=function(){var t;var e=this;return n(o,null,n("div",{class:(t={"duet-menu-bar-dropdown":true,"duet-theme-turva":this.theme==="turva",active:this.open},t["duet-menu-bar-dropdown--slot-".concat(this.getVariant())]=true,t)},n("button",{ref:function(t){return e.button=t},"aria-label":this.accessibleLabel,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&n("duet-icon",{theme:this.theme,name:this.icon,size:this.iconSize,margin:"none",color:"currentColor"}),n("div",{class:"label"},n("slot",{name:"label"}),n("duet-icon",{class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),n("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},n("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());d.style=s}}}));
4
+ */System.register(["./p-769b7d3c.system.js","./p-15fde8cc.system.js","./p-50f4bca2.system.js","./p-09c54c8e.system.js"],(function(t){"use strict";var e,n,o,r,i,a,u;return{setters:[function(t){e=t.r;n=t.h;o=t.H;r=t.g},function(t){i=t.a},function(t){a=t.i},function(t){u=t.f}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}@media (min-width: 62em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 16px}}@media (min-width: 76.25em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 28px}}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-theme-turva .duet-menu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}.duet-theme-turva .duet-menu-bar-dropdown button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown .items{position:absolute;top:70%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:8px;color:rgb(0, 41, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}';var d=t("duet_menu_bar_dropdown",function(){function t(t){var n=this;e(this,t);this.mql=[window.matchMedia(i.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.onClick=function(){n.open=!n.open};this.getVariant=function(){var t=n.element.parentElement.getAttribute("slot");switch(t){case"center":return"right";case"right":return"right";default:return"right"}};this.iconSize="x-small";this.accessibleLabel=undefined;this.theme="";this.open=false;this.icon=undefined}t.prototype.handleFocus=function(t){var e=this;var n=t.composedPath().every((function(t){return t!==e.element}));if(n){this.open=false}};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){this.changeIconSize();for(var t=0;t<this.mql.length;t++){if(this.mql[t].addEventListener){var e=this.changeIconSize.bind(this);this.mql[t].addEventListener("change",e);this.boundMqlFunctions[t]=e}}};t.prototype.disconnectedCallback=function(){for(var t=0;t<this.mql.length;t++){if(this.mql[t].removeEventListener){this.mql[t].removeEventListener("change",this.boundMqlFunctions[t])}}this.boundMqlFunctions=[]};t.prototype.handleEscape=function(t){if(u(t)){this.open=false;this.setFocus()}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.button.focus(t);return[2]}))}))};t.prototype.render=function(){var t;var e=this;return n(o,null,n("div",{class:(t={"duet-menu-bar-dropdown":true,"duet-theme-turva":this.theme==="turva",active:this.open},t["duet-menu-bar-dropdown--slot-".concat(this.getVariant())]=true,t)},n("button",{ref:function(t){return e.button=t},"aria-label":this.accessibleLabel,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&n("duet-icon",{theme:this.theme,name:this.icon,size:this.iconSize,margin:"none",color:"currentColor"}),n("div",{class:"label"},n("slot",{name:"label"}),n("duet-icon",{class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),n("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},n("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());d.style=s}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as o,H as e,g as a}from"./p-9f931d57.js";import{i}from"./p-a58bd561.js";import{s as r}from"./p-bb24a019.js";import{g as n}from"./p-9dff8650.js";import"./p-f2aa1623.js";const s=class{constructor(o){t(this,o),this.theme="",this.margin="auto",this.backgroundColor="",this.textColor="secondary",this.image="",this.headingLevel="h3",this.url=void 0}componentWillLoad(){i(this),this.hasPreHeadingSlot=!!this.element.querySelector('[slot="pre-heading"]'),this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]'),this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]'),this.hasActionSlot=!!this.element.querySelector('[slot="action"]')}async setFocus(t){this.url&&this.aOrDivElement&&this.aOrDivElement.focus(t)}render(){const t=n(this.backgroundColor,this.theme);return o(e,{class:{"duet-m-0":"none"===this.margin}},o("aside",{class:{"duet-promo-card":!0,"duet-theme-turva":"turva"===this.theme,"no-bg-color":!this.backgroundColor},style:{backgroundColor:t||"none"}},o(this.url?"a":"div",{href:this.url,class:"content-wrapper",ref:t=>this.aOrDivElement=t},o("img",{class:"image",src:this.image,alt:"",role:"presentation"}),o("div",{class:"content"},this.hasPreHeadingSlot&&o("div",{class:"pre-heading"},o("slot",{name:"pre-heading"})),this.hasHeadingSlot&&o("div",{class:"heading"},o("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},o("span",null,o("slot",{name:"heading",onSlotchange:t=>r(t,this,"span")})))),this.hasDescriptionSlot&&o("div",{class:"description"},o("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},o("span",null,o("slot",{name:"description",onSlotchange:t=>r(t,this,"span")})))),this.hasActionSlot&&o("div",{class:"action"},o("slot",{name:"action"}))))))}get element(){return a(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';export{s as duet_promo_card}
4
+ import{r as t,h as o,H as e,g as a}from"./p-b263e985.js";import{i}from"./p-a58bd561.js";import{s as r}from"./p-bb24a019.js";import{g as n}from"./p-5f87ea3d.js";import"./p-f2aa1623.js";const s=class{constructor(o){t(this,o),this.theme="",this.margin="auto",this.backgroundColor="",this.textColor="secondary",this.image="",this.headingLevel="h3",this.url=void 0}componentWillLoad(){i(this),this.hasPreHeadingSlot=!!this.element.querySelector('[slot="pre-heading"]'),this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]'),this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]'),this.hasActionSlot=!!this.element.querySelector('[slot="action"]')}async setFocus(t){this.url&&this.aOrDivElement&&this.aOrDivElement.focus(t)}render(){const t=n(this.backgroundColor,this.theme);return o(e,{class:{"duet-m-0":"none"===this.margin}},o("aside",{class:{"duet-promo-card":!0,"duet-theme-turva":"turva"===this.theme,"no-bg-color":!this.backgroundColor},style:{backgroundColor:t||"none"}},o(this.url?"a":"div",{href:this.url,class:"content-wrapper",ref:t=>this.aOrDivElement=t},o("img",{class:"image",src:this.image,alt:"",role:"presentation"}),o("div",{class:"content"},this.hasPreHeadingSlot&&o("div",{class:"pre-heading"},o("slot",{name:"pre-heading"})),this.hasHeadingSlot&&o("div",{class:"heading"},o("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},o("span",null,o("slot",{name:"heading",onSlotchange:t=>r(t,this,"span")})))),this.hasDescriptionSlot&&o("div",{class:"description"},o("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},o("span",null,o("slot",{name:"description",onSlotchange:t=>r(t,this,"span")})))),this.hasActionSlot&&o("div",{class:"action"},o("slot",{name:"action"}))))))}get element(){return a(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';export{s as duet_promo_card}
@@ -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-52737afc.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-5795b0d9.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js","./p-23354cf7.system.js","./p-e1868c94.system.js"],(function(t){"use strict";var i,e,n,a,s,r,o,u,h,l,c,d,p,f,g,m,b,v,y,_,w,k,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){l=t.k;c=t.l;d=t.d;p=t.b;f=t.a;g=t.c;m=t.m;b=t.n},function(t){v=t.g;y=t.c;_=t.d},function(t){w=t.p},function(t){k=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(0, 41, 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=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=k.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.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;_(this)};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedPageLinks=w(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.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){i=this.current;if(d(t)||p(t)){i--}if(f(t)||g(t)){i++}if(l(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(c(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",{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",{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,{onKeyDown:function(t){return i.onKeyboardDown(t)},class:{"duet-theme-turva":this.theme==="turva"}},n("nav",{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",{"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",{theme:this.theme},"jump to page : ",this.numbersStore)),n("ol",{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",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.internalSectionIndex===0&&this.current<=1,"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",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:!!(this.internalSectionIndex===0&&this.current<=1||this.current<=1&&this.processedPageLinks),"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,null,n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{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",{class:"duet-pagination-page-number"},"1"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{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",{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,null,(this.internalSectionIndex+1)*this.visibleItems!==this.totalPages-1&&n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{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",{class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{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",{class:"duet-pagination-page-number"},this.totalPages)))),n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks),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",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1,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}());M.style=j;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;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(0, 41, 77)}.duet-range-stepper ::part(button){border:0}";var N=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.theme="";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.leftBnRef.setAttribute("disabled","")}else{this.leftBnRef.removeAttribute("disabled")}if(t>=this.total/this.stepSize){if(this.element===document.activeElement){this.leftBnRef.setFocus()}this.rightBnRef.setAttribute("disabled","")}else{this.rightBnRef.removeAttribute("disabled")}}};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(){_(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){i=this.stepIndex;e=1;if(d(t)||p(t)||m(t)){i--;e=-1;this.leftBnRef.setFocus()}if(f(t)||g(t)||b(t)){i++;e=1}if(l(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",{class:{"duet-range-stepper":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:function(i){return t.onKeyboardDown(i)},"aria-controls":this.ariaControls},n("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),n("duet-action-button",{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"}),n("duet-action-button",{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"}))};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}());N.style=C}}}));
4
+ */System.register(["./p-769b7d3c.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-09c54c8e.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js","./p-abdbce02.system.js","./p-e1868c94.system.js"],(function(t){"use strict";var i,e,n,a,s,r,o,u,h,l,c,d,p,f,g,m,b,v,y,_,w,k,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){l=t.k;c=t.l;d=t.d;p=t.b;f=t.a;g=t.c;m=t.m;b=t.n},function(t){v=t.g;y=t.c;_=t.d},function(t){w=t.p},function(t){k=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(0, 41, 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=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=k.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.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;_(this)};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedPageLinks=w(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.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){i=this.current;if(d(t)||p(t)){i--}if(f(t)||g(t)){i++}if(l(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(c(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",{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",{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,{onKeyDown:function(t){return i.onKeyboardDown(t)},class:{"duet-theme-turva":this.theme==="turva"}},n("nav",{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",{"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",{theme:this.theme},"jump to page : ",this.numbersStore)),n("ol",{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",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.internalSectionIndex===0&&this.current<=1,"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",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:!!(this.internalSectionIndex===0&&this.current<=1||this.current<=1&&this.processedPageLinks),"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,null,n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{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",{class:"duet-pagination-page-number"},"1"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{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",{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,null,(this.internalSectionIndex+1)*this.visibleItems!==this.totalPages-1&&n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{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",{class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{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",{class:"duet-pagination-page-number"},this.totalPages)))),n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks),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",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1,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}());M.style=j;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;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(0, 41, 77)}.duet-range-stepper ::part(button){border:0}";var N=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.theme="";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.leftBnRef.setAttribute("disabled","")}else{this.leftBnRef.removeAttribute("disabled")}if(t>=this.total/this.stepSize){if(this.element===document.activeElement){this.leftBnRef.setFocus()}this.rightBnRef.setAttribute("disabled","")}else{this.rightBnRef.removeAttribute("disabled")}}};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(){_(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){i=this.stepIndex;e=1;if(d(t)||p(t)||m(t)){i--;e=-1;this.leftBnRef.setFocus()}if(f(t)||g(t)||b(t)){i++;e=1}if(l(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",{class:{"duet-range-stepper":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:function(i){return t.onKeyboardDown(i)},"aria-controls":this.ariaControls},n("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),n("duet-action-button",{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"}),n("duet-action-button",{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"}))};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}());N.style=C}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as n,H as r,g as e}from"./p-9f931d57.js";const a=class{constructor(n){t(this,n)}render(){return n(r,{class:"duet-visually-hidden"},n("slot",null))}get element(){return e(this)}};a.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";export{a as duet_visually_hidden}
4
+ import{r as t,h as n,H as r,g as e}from"./p-b263e985.js";const a=class{constructor(n){t(this,n)}render(){return n(r,{class:"duet-visually-hidden"},n("slot",null))}get element(){return e(this)}};a.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";export{a as duet_visually_hidden}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as s,g as i,H as r}from"./p-9f931d57.js";import{i as d}from"./p-a58bd561.js";import{c as o}from"./p-5e59e970.js";import{i as n,s as a,u as p}from"./p-2bb2b022.js";const u=class{constructor(s){t(this,s),this.duetStepClick=e(this,"duetStepClick",7),this.buttonId=o("DuetStepButton"),this.contentId=o("DuetStepContent"),this.handleKeyDown=t=>{this.isClickDisabled()||n(t)&&(t.preventDefault(),this.handleStepClick(t))},this.handleClick=t=>{this.isClickDisabled()||this.handleStepClick(t)},this.theme="",this.heading=void 0,this.headingLevel=void 0,this.stepIndex=void 0,this.state=void 0,this.roundedTop=!1,this.roundedBottom=!1}handleStepClick(t){this.duetStepClick.emit({originalEvent:t,component:"duet-step",stepIndex:this.stepIndex})}componentWillLoad(){d(this)}connectedCallback(){a(this)}disconnectedCallback(){p(this)}async setFocus(t={preventScroll:!0}){this.buttonElement.focus(t)}isClickDisabled(){return"complete"!==this.state}headingColor(){return"incomplete"!==this.state?"":"turva"!==this.theme?"gray-darker":"gray-dark-turva"}renderStepCounter(){return"complete"===this.state||"disabled"===this.state?s("div",{class:"duet-step-icon"},s("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'})):`${this.stepIndex+1} `}render(){return s("div",{class:{"duet-step":!0,[`is-${this.state}`]:!0,"rounded-top":this.roundedTop,"rounded-bottom":this.roundedBottom,"duet-theme-turva":"turva"===this.theme}},s("div",{class:"duet-step-heading",id:this.buttonId,role:"current"!==this.state?"button":"region","aria-current":"current"===this.state?"step":void 0,tabindex:"current"!==this.state?"0":void 0,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":("current"===this.state).toString(),"aria-controls":this.contentId,"aria-selected":("current"===this.state).toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:t=>this.buttonElement=t},s("div",{"aria-hidden":"true"},s("div",{class:"duet-step-counter"},this.renderStepCounter())),s("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),s("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),s("div",null,s("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),s("duet-spacer",{direction:"horizontal",size:"large"}),s("div",{class:"duet-step-heading-slot"},s("slot",{name:"heading-content"}))),s("div",{class:"duet-step-content-wrapper"},s("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},s("slot",null))))}get element(){return i(this)}};u.style='*.sc-duet-step,*.sc-duet-step::after,*.sc-duet-step::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-step-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-step.sc-duet-step{padding:20px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.duet-theme-turva.sc-duet-step{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top.sc-duet-step{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom.sc-duet-step{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom.sc-duet-step{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step.sc-duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading.sc-duet-step{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false].sc-duet-step{cursor:pointer}.duet-step-heading.sc-duet-step:focus{outline:0}.duet-step-heading.sc-duet-step:active{opacity:0.75}.user-is-tabbing.sc-duet-step-h .duet-step-heading.sc-duet-step:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-step-h .duet-theme-turva.sc-duet-step .duet-step-heading.sc-duet-step:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step,.is-disabled.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step{background-color:#005f8f}.duet-theme-turva.is-complete.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step,.duet-theme-turva.is-disabled.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step{background-color:#9e0a26}.is-current.sc-duet-step .duet-step-heading.sc-duet-step{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading.sc-duet-step{margin-top:8px;margin-bottom:8px !important}.sc-duet-step-h:first-of-type .duet-step-heading.sc-duet-step{margin-top:0}.sc-duet-step-h:last-of-type .duet-step-heading.sc-duet-step{margin-bottom:0 !important}}.duet-step-counter.sc-duet-step{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter.sc-duet-step{width:40px;height:40px;line-height:40px}}.is-complete.sc-duet-step .duet-step-counter.sc-duet-step,.is-current.sc-duet-step .duet-step-counter.sc-duet-step,.is-disabled.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete.sc-duet-step .duet-step-counter.sc-duet-step,.duet-theme-turva.is-current.sc-duet-step .duet-step-counter.sc-duet-step,.duet-theme-turva.is-disabled.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(198, 12, 48)}.is-incomplete.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(101, 119, 135)}.duet-theme-turva.is-incomplete.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(116, 116, 117)}.duet-step-icon.sc-duet-step{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon.sc-duet-step{width:20px;height:20px}}.duet-step-icon.sc-duet-step duet-icon.sc-duet-step{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon.sc-duet-step duet-icon.sc-duet-step{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper.sc-duet-step{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(225, 227, 230)}.duet-theme-turva.sc-duet-step .duet-step-content-wrapper.sc-duet-step{border-color:rgb(228, 228, 230)}.sc-duet-step-h:last-of-type .duet-step-content-wrapper.sc-duet-step{min-height:0;border:transparent}}.duet-step-content.sc-duet-step{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content.sc-duet-step{padding-bottom:28px}}.is-current.sc-duet-step .duet-step-content.sc-duet-step{display:block}.duet-step-heading-slot.sc-duet-step{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot.sc-duet-step{display:block}}';const c=class{constructor(s){t(this,s),this.duetStepChange=e(this,"duetStepChange",7),this.theme="",this.accessibleLive="Lista jossa {total} kohtaa. Olet kohdassa {current}.",this.margin="auto",this.backDisabled=!1,this.selected=0}currentStepChanged(t){if(isNaN(t))throw new Error(`step must be a number. got: ${t}`);if(t<0)throw new Error(`step must be not be less than zero. got: ${t}`);if(t>this.getSteps().length)throw new Error("step must not exceed total number of steps");this.updateStepState(),setTimeout((()=>this.setStepFocus()),50)}currentStepInvokedDisable(){this.updateStepState()}onDuetStepClick(t){this.duetStepChange.emit({fromStep:this.selected,toStep:t.detail.stepIndex,component:"duet-stepper"})}componentWillLoad(){d(this)}async connectedCallback(){this.updateStepState()}getSteps(){return Array.from(this.element.querySelectorAll("duet-step"))}setStepFocus(){this.getSteps()[this.selected].setFocus()}updateStepState(){const t=this.getSteps();t.forEach(((t,e)=>{let s;s=e<this.selected?this.backDisabled?"disabled":"complete":e>this.selected?"incomplete":"current",t.theme=this.theme,t.state=s,t.stepIndex=e}));const e=function(t,e){const s={};return e.forEach((t=>{const e=t.state;s[e]||(s[e]=[]),s[e].push(t)})),s}(0,t);Object.values(e).forEach((t=>{t.forEach(((e,s)=>{e.roundedTop=0===s,e.roundedBottom=s===t.length-1}))}))}formatAnnouncement(){const t=this.getSteps(),e=(this.selected+1).toString(10),s=t.length.toString(10);return this.accessibleLive.replace("{current}",e).replace("{total}",s)}render(){return s(r,{class:{"duet-m-0":"none"===this.margin}},s("div",{class:{"duet-stepper":!0,"duet-theme-turva":"turva"===this.theme}},s("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),s("slot",null)))}get element(){return i(this)}static get watchers(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}}};c.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";export{u as duet_step,c as duet_stepper}
4
+ import{r as t,c as e,h as s,g as i,H as r}from"./p-b263e985.js";import{i as d}from"./p-a58bd561.js";import{c as o}from"./p-5e59e970.js";import{i as n,s as a,u as p}from"./p-e276fee0.js";const u=class{constructor(s){t(this,s),this.duetStepClick=e(this,"duetStepClick",7),this.buttonId=o("DuetStepButton"),this.contentId=o("DuetStepContent"),this.handleKeyDown=t=>{this.isClickDisabled()||n(t)&&(t.preventDefault(),this.handleStepClick(t))},this.handleClick=t=>{this.isClickDisabled()||this.handleStepClick(t)},this.theme="",this.heading=void 0,this.headingLevel=void 0,this.stepIndex=void 0,this.state=void 0,this.roundedTop=!1,this.roundedBottom=!1}handleStepClick(t){this.duetStepClick.emit({originalEvent:t,component:"duet-step",stepIndex:this.stepIndex})}componentWillLoad(){d(this)}connectedCallback(){a(this)}disconnectedCallback(){p(this)}async setFocus(t={preventScroll:!0}){this.buttonElement.focus(t)}isClickDisabled(){return"complete"!==this.state}headingColor(){return"incomplete"!==this.state?"":"turva"!==this.theme?"gray-darker":"gray-dark-turva"}renderStepCounter(){return"complete"===this.state||"disabled"===this.state?s("div",{class:"duet-step-icon"},s("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'})):`${this.stepIndex+1} `}render(){return s("div",{class:{"duet-step":!0,[`is-${this.state}`]:!0,"rounded-top":this.roundedTop,"rounded-bottom":this.roundedBottom,"duet-theme-turva":"turva"===this.theme}},s("div",{class:"duet-step-heading",id:this.buttonId,role:"current"!==this.state?"button":"region","aria-current":"current"===this.state?"step":void 0,tabindex:"current"!==this.state?"0":void 0,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":("current"===this.state).toString(),"aria-controls":this.contentId,"aria-selected":("current"===this.state).toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:t=>this.buttonElement=t},s("div",{"aria-hidden":"true"},s("div",{class:"duet-step-counter"},this.renderStepCounter())),s("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),s("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),s("div",null,s("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),s("duet-spacer",{direction:"horizontal",size:"large"}),s("div",{class:"duet-step-heading-slot"},s("slot",{name:"heading-content"}))),s("div",{class:"duet-step-content-wrapper"},s("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},s("slot",null))))}get element(){return i(this)}};u.style='*.sc-duet-step,*.sc-duet-step::after,*.sc-duet-step::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-step-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-step.sc-duet-step{padding:20px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.duet-theme-turva.sc-duet-step{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top.sc-duet-step{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom.sc-duet-step{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom.sc-duet-step{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step.sc-duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading.sc-duet-step{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false].sc-duet-step{cursor:pointer}.duet-step-heading.sc-duet-step:focus{outline:0}.duet-step-heading.sc-duet-step:active{opacity:0.75}.user-is-tabbing.sc-duet-step-h .duet-step-heading.sc-duet-step:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-step-h .duet-theme-turva.sc-duet-step .duet-step-heading.sc-duet-step:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step,.is-disabled.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step{background-color:#005f8f}.duet-theme-turva.is-complete.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step,.duet-theme-turva.is-disabled.sc-duet-step .duet-step-heading.sc-duet-step:hover .duet-step-counter.sc-duet-step{background-color:#9e0a26}.is-current.sc-duet-step .duet-step-heading.sc-duet-step{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading.sc-duet-step{margin-top:8px;margin-bottom:8px !important}.sc-duet-step-h:first-of-type .duet-step-heading.sc-duet-step{margin-top:0}.sc-duet-step-h:last-of-type .duet-step-heading.sc-duet-step{margin-bottom:0 !important}}.duet-step-counter.sc-duet-step{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter.sc-duet-step{width:40px;height:40px;line-height:40px}}.is-complete.sc-duet-step .duet-step-counter.sc-duet-step,.is-current.sc-duet-step .duet-step-counter.sc-duet-step,.is-disabled.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete.sc-duet-step .duet-step-counter.sc-duet-step,.duet-theme-turva.is-current.sc-duet-step .duet-step-counter.sc-duet-step,.duet-theme-turva.is-disabled.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(198, 12, 48)}.is-incomplete.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(101, 119, 135)}.duet-theme-turva.is-incomplete.sc-duet-step .duet-step-counter.sc-duet-step{background-color:rgb(116, 116, 117)}.duet-step-icon.sc-duet-step{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon.sc-duet-step{width:20px;height:20px}}.duet-step-icon.sc-duet-step duet-icon.sc-duet-step{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon.sc-duet-step duet-icon.sc-duet-step{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper.sc-duet-step{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(225, 227, 230)}.duet-theme-turva.sc-duet-step .duet-step-content-wrapper.sc-duet-step{border-color:rgb(228, 228, 230)}.sc-duet-step-h:last-of-type .duet-step-content-wrapper.sc-duet-step{min-height:0;border:transparent}}.duet-step-content.sc-duet-step{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content.sc-duet-step{padding-bottom:28px}}.is-current.sc-duet-step .duet-step-content.sc-duet-step{display:block}.duet-step-heading-slot.sc-duet-step{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot.sc-duet-step{display:block}}';const c=class{constructor(s){t(this,s),this.duetStepChange=e(this,"duetStepChange",7),this.theme="",this.accessibleLive="Lista jossa {total} kohtaa. Olet kohdassa {current}.",this.margin="auto",this.backDisabled=!1,this.selected=0}currentStepChanged(t){if(isNaN(t))throw new Error(`step must be a number. got: ${t}`);if(t<0)throw new Error(`step must be not be less than zero. got: ${t}`);if(t>this.getSteps().length)throw new Error("step must not exceed total number of steps");this.updateStepState(),setTimeout((()=>this.setStepFocus()),50)}currentStepInvokedDisable(){this.updateStepState()}onDuetStepClick(t){this.duetStepChange.emit({fromStep:this.selected,toStep:t.detail.stepIndex,component:"duet-stepper"})}componentWillLoad(){d(this)}async connectedCallback(){this.updateStepState()}getSteps(){return Array.from(this.element.querySelectorAll("duet-step"))}setStepFocus(){this.getSteps()[this.selected].setFocus()}updateStepState(){const t=this.getSteps();t.forEach(((t,e)=>{let s;s=e<this.selected?this.backDisabled?"disabled":"complete":e>this.selected?"incomplete":"current",t.theme=this.theme,t.state=s,t.stepIndex=e}));const e=function(t,e){const s={};return e.forEach((t=>{const e=t.state;s[e]||(s[e]=[]),s[e].push(t)})),s}(0,t);Object.values(e).forEach((t=>{t.forEach(((e,s)=>{e.roundedTop=0===s,e.roundedBottom=s===t.length-1}))}))}formatAnnouncement(){const t=this.getSteps(),e=(this.selected+1).toString(10),s=t.length.toString(10);return this.accessibleLive.replace("{current}",e).replace("{total}",s)}render(){return s(r,{class:{"duet-m-0":"none"===this.margin}},s("div",{class:{"duet-stepper":!0,"duet-theme-turva":"turva"===this.theme}},s("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),s("slot",null)))}get element(){return i(this)}static get watchers(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}}};c.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";export{u as duet_step,c as duet_stepper}