@duetds/components 9.16.0 → 9.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (673) hide show
  1. package/hydrate/index.js +44 -39
  2. package/lib/cjs/{a11y-utils-5a9c531a.js → a11y-utils-113bdcf1.js} +1 -1
  3. package/lib/cjs/{app-globals-1cf9bebc.js → app-globals-2ad7d0da.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +10 -19
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  10. package/lib/cjs/duet-button_2.cjs.entry.js +5 -5
  11. package/lib/cjs/duet-callout.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +6 -6
  13. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +17 -8
  19. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -5
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-hero.cjs.entry.js +15 -11
  32. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  33. package/lib/cjs/duet-indicator.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -5
  41. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-modal.cjs.entry.js +6 -6
  44. package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
  45. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
  48. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
  51. package/lib/cjs/duet-panel.cjs.entry.js +3 -3
  52. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  56. package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-scrollable_3.cjs.entry.js +5 -5
  59. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-select.cjs.entry.js +3 -3
  61. package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-share-chart.cjs.entry.js +5 -5
  64. package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-slideout-panel.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
  70. package/lib/cjs/duet-status-icon.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  73. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  75. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  76. package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
  78. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  79. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  83. package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
  84. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
  85. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  86. package/lib/cjs/duet-tray.cjs.entry.js +3 -3
  87. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  88. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  89. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  90. package/lib/cjs/duet.cjs.js +3 -3
  91. package/lib/cjs/{errorcodes.utils-cd519cbd.js → errorcodes.utils-b3a3ed44.js} +1 -1
  92. package/lib/cjs/{focus-utils-241733db.js → focus-utils-5c4526cd.js} +1 -1
  93. package/lib/cjs/{index-f3dac623.js → index-caee10a4.js} +1 -1
  94. package/lib/cjs/{language-utils-cf6db76f.js → language-utils-9e3aebfc.js} +1 -1
  95. package/lib/cjs/loader.cjs.js +3 -3
  96. package/lib/cjs/{slot-utils-872ee5f7.js → slot-utils-d034ca5f.js} +1 -1
  97. package/lib/cjs/{themeable-component-002fbe60.js → themeable-component-98732ad8.js} +1 -1
  98. package/lib/cjs/{token-utils-658c4c54.js → token-utils-c73ca50c.js} +3 -3
  99. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
  100. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +8 -21
  101. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +3 -3
  102. package/lib/collection/components/duet-button/duet-button.css +3 -0
  103. package/lib/collection/components/duet-collapsible/duet-collapsible.js +15 -6
  104. package/lib/collection/components/duet-hero/duet-hero.css +4 -0
  105. package/lib/collection/components/duet-hero/duet-hero.js +10 -6
  106. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +4 -0
  107. package/lib/collection/components/duet-nav/duet-nav.css +4 -0
  108. package/lib/collection/components/duet-page-heading/duet-page-heading.js +1 -1
  109. package/lib/collection/components/duet-panel/duet-panel.css +5 -4
  110. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +4 -0
  111. package/lib/collection/utils/token-utils.js +3 -3
  112. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  113. package/lib/dist-custom-elements/duet-alert.js +1 -1
  114. package/lib/dist-custom-elements/duet-badge.js +1 -1
  115. package/lib/dist-custom-elements/duet-banner.js +4 -4
  116. package/lib/dist-custom-elements/duet-breadcrumb.js +12 -21
  117. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  118. package/lib/dist-custom-elements/duet-button.js +1 -1
  119. package/lib/dist-custom-elements/duet-callout.js +2 -2
  120. package/lib/dist-custom-elements/duet-caption.js +1 -1
  121. package/lib/dist-custom-elements/duet-card.js +4 -4
  122. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  123. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  124. package/lib/dist-custom-elements/duet-chip.js +1 -1
  125. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  126. package/lib/dist-custom-elements/duet-choice.js +4 -4
  127. package/lib/dist-custom-elements/duet-collapsible.js +18 -9
  128. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  129. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  130. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  131. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  132. package/lib/dist-custom-elements/duet-divider.js +1 -1
  133. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  134. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  135. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  136. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  137. package/lib/dist-custom-elements/duet-footer.js +7 -7
  138. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  139. package/lib/dist-custom-elements/duet-grid.js +1 -1
  140. package/lib/dist-custom-elements/duet-header.js +9 -9
  141. package/lib/dist-custom-elements/duet-heading.js +1 -1
  142. package/lib/dist-custom-elements/duet-hero.js +20 -16
  143. package/lib/dist-custom-elements/duet-icon.js +1 -1
  144. package/lib/dist-custom-elements/duet-indicator.js +1 -1
  145. package/lib/dist-custom-elements/duet-input.js +1 -1
  146. package/lib/dist-custom-elements/duet-label.js +1 -1
  147. package/lib/dist-custom-elements/duet-layout.js +1 -1
  148. package/lib/dist-custom-elements/duet-link.js +1 -1
  149. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  150. package/lib/dist-custom-elements/duet-list.js +1 -1
  151. package/lib/dist-custom-elements/duet-logo.js +1 -1
  152. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  153. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  154. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  155. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  156. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  157. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  158. package/lib/dist-custom-elements/duet-modal.js +9 -9
  159. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  160. package/lib/dist-custom-elements/duet-nav.js +2 -2
  161. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  162. package/lib/dist-custom-elements/duet-notification.js +3 -3
  163. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  164. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  165. package/lib/dist-custom-elements/duet-page-heading.js +4 -4
  166. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  167. package/lib/dist-custom-elements/duet-panel.js +2 -2
  168. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  169. package/lib/dist-custom-elements/duet-phone-input.js +16 -16
  170. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  171. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  172. package/lib/dist-custom-elements/duet-progress.js +1 -1
  173. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  174. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  175. package/lib/dist-custom-elements/duet-radio.js +1 -1
  176. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  177. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  178. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  179. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  180. package/lib/dist-custom-elements/duet-select.js +1 -1
  181. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  182. package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
  183. package/lib/dist-custom-elements/duet-share-chart.js +3 -3
  184. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  185. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  186. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  187. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  188. package/lib/dist-custom-elements/duet-slideout-panel.js +5 -5
  189. package/lib/dist-custom-elements/duet-slideout.js +4 -4
  190. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  191. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  192. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  193. package/lib/dist-custom-elements/duet-step.js +4 -4
  194. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  195. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  196. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  197. package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
  198. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  199. package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
  200. package/lib/dist-custom-elements/duet-tab-group.js +8 -8
  201. package/lib/dist-custom-elements/duet-tab.js +2 -2
  202. package/lib/dist-custom-elements/duet-table.js +1 -1
  203. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  204. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  205. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  206. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  207. package/lib/dist-custom-elements/duet-toolbar-item.js +4 -4
  208. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  209. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  210. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  211. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  212. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  213. package/lib/dist-custom-elements/duet-tray.js +3 -3
  214. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  215. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  216. package/lib/dist-custom-elements/duet-upload.js +20 -20
  217. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  218. package/lib/dist-custom-elements/index.js +1 -1
  219. package/lib/dist-custom-elements/{p-6bcaf414.js → p-01808ae4.js} +2 -2
  220. package/lib/dist-custom-elements/{p-7e7dcf59.js → p-051e8432.js} +1 -1
  221. package/lib/dist-custom-elements/{p-292fa964.js → p-07aea296.js} +6 -6
  222. package/lib/dist-custom-elements/{p-21f19284.js → p-07d58c18.js} +7 -7
  223. package/lib/dist-custom-elements/{p-b74c6798.js → p-09eeb0d8.js} +5 -5
  224. package/lib/dist-custom-elements/{p-3663183a.js → p-1428bca8.js} +2 -2
  225. package/lib/dist-custom-elements/{p-8653283d.js → p-186bf66e.js} +2 -2
  226. package/lib/dist-custom-elements/{p-60ffc3cf.js → p-1be25f37.js} +1 -1
  227. package/lib/dist-custom-elements/{p-f75df296.js → p-1c3b7df5.js} +10 -10
  228. package/lib/dist-custom-elements/{p-c0f48cc4.js → p-211bbab4.js} +1 -1
  229. package/lib/dist-custom-elements/{p-7d6b4a88.js → p-21425713.js} +1 -1
  230. package/lib/dist-custom-elements/{p-8959f96f.js → p-2c6c022f.js} +2 -2
  231. package/lib/dist-custom-elements/{p-ab6148ae.js → p-2c95a055.js} +2 -2
  232. package/lib/dist-custom-elements/{p-4f923779.js → p-2dc31d71.js} +2 -2
  233. package/lib/dist-custom-elements/{p-bb928027.js → p-4228d649.js} +2 -2
  234. package/lib/dist-custom-elements/{p-139e1daa.js → p-45a25e1c.js} +1 -1
  235. package/lib/dist-custom-elements/{p-3972dc75.js → p-4c39b06e.js} +3 -3
  236. package/lib/dist-custom-elements/{p-bb3c4ead.js → p-4f0b365b.js} +1 -1
  237. package/lib/dist-custom-elements/{p-38dd3c2b.js → p-57091005.js} +12 -12
  238. package/lib/dist-custom-elements/{p-7a60242d.js → p-5a556f9a.js} +2 -2
  239. package/lib/dist-custom-elements/{p-1c66f5a0.js → p-5bf73913.js} +2 -2
  240. package/lib/dist-custom-elements/{p-41ce0759.js → p-5fac1036.js} +2 -2
  241. package/lib/dist-custom-elements/{p-1172497f.js → p-60827675.js} +2 -2
  242. package/lib/dist-custom-elements/{p-6c16fc37.js → p-63bad120.js} +2 -2
  243. package/lib/dist-custom-elements/{p-a019caf4.js → p-68221361.js} +8 -8
  244. package/lib/dist-custom-elements/{p-52a4d93a.js → p-747f6fa4.js} +1 -1
  245. package/lib/dist-custom-elements/{p-499da71e.js → p-78b6337a.js} +3 -3
  246. package/lib/dist-custom-elements/{p-21d23d6c.js → p-8284b970.js} +4 -4
  247. package/lib/dist-custom-elements/{p-6402ad5d.js → p-84c12085.js} +2 -2
  248. package/lib/dist-custom-elements/{p-d1f886eb.js → p-897cd468.js} +2 -2
  249. package/lib/dist-custom-elements/{p-886f39eb.js → p-8aa9471e.js} +10 -10
  250. package/lib/dist-custom-elements/{p-81d2c117.js → p-8e5437bd.js} +2 -2
  251. package/lib/dist-custom-elements/{p-42a5e1de.js → p-90ef4cdf.js} +1 -1
  252. package/lib/dist-custom-elements/{p-867790e2.js → p-979b130b.js} +5 -5
  253. package/lib/dist-custom-elements/{p-dc0c957e.js → p-afa85350.js} +5 -5
  254. package/lib/dist-custom-elements/{p-9aa4a7b3.js → p-c5dcc0ea.js} +1 -1
  255. package/lib/dist-custom-elements/{p-271a8315.js → p-cbb101aa.js} +2 -2
  256. package/lib/dist-custom-elements/{p-d40a8125.js → p-d723c019.js} +2 -2
  257. package/lib/dist-custom-elements/{p-24404a59.js → p-e167506b.js} +1 -1
  258. package/lib/dist-custom-elements/{p-a1827b91.js → p-e3b560d3.js} +3 -3
  259. package/lib/dist-custom-elements/{p-03c9ec22.js → p-f8c458d0.js} +1 -1
  260. package/lib/dist-custom-elements/{p-f5c2e1f7.js → p-fa3ebc1e.js} +1 -1
  261. package/lib/duet/duet.esm.js +1 -1
  262. package/lib/duet/duet.js +1 -1
  263. package/lib/duet/{p-151e589f.entry.js → p-00b27ded.entry.js} +1 -1
  264. package/lib/duet/{p-5df26556.system.entry.js → p-01f6825e.system.entry.js} +1 -1
  265. package/lib/duet/{p-fc154425.system.entry.js → p-021c152c.system.entry.js} +1 -1
  266. package/lib/duet/{p-9e2eef25.entry.js → p-032230dd.entry.js} +1 -1
  267. package/lib/duet/{p-adef3dfe.entry.js → p-03b5f65a.entry.js} +1 -1
  268. package/lib/duet/{p-66fbd83d.system.entry.js → p-03b9211c.system.entry.js} +1 -1
  269. package/lib/duet/{p-6d52ee47.entry.js → p-08b08728.entry.js} +1 -1
  270. package/lib/duet/{p-3f59cd08.js → p-08f35dcb.js} +1 -1
  271. package/lib/duet/{p-449238fa.entry.js → p-0b275971.entry.js} +1 -1
  272. package/lib/duet/{p-f922b327.entry.js → p-0c012ed1.entry.js} +1 -1
  273. package/lib/duet/{p-9bb58dc0.system.entry.js → p-0fec0e03.system.entry.js} +1 -1
  274. package/lib/duet/{p-85b614eb.entry.js → p-1060aa25.entry.js} +1 -1
  275. package/lib/duet/{p-29a57223.entry.js → p-1066dc94.entry.js} +1 -1
  276. package/lib/duet/{p-688647ad.js → p-106cd6ab.js} +1 -1
  277. package/lib/duet/{p-0db191ad.entry.js → p-118dae54.entry.js} +1 -1
  278. package/lib/duet/{p-59777da7.system.js → p-13eec75c.system.js} +1 -1
  279. package/lib/duet/{p-29287b24.entry.js → p-147a0d89.entry.js} +1 -1
  280. package/lib/duet/{p-bbb5ceff.system.entry.js → p-17db9cab.system.entry.js} +1 -1
  281. package/lib/duet/{p-a1166aa4.entry.js → p-17e9f5f2.entry.js} +1 -1
  282. package/lib/duet/p-1971f9b0.system.entry.js +4 -0
  283. package/lib/duet/{p-20ad3525.entry.js → p-1b7c7390.entry.js} +1 -1
  284. package/lib/duet/{p-770aa3e8.entry.js → p-1bb0af1a.entry.js} +1 -1
  285. package/lib/duet/{p-a07cef22.entry.js → p-1d2cadcc.entry.js} +1 -1
  286. package/lib/duet/{p-efd3c1ca.system.entry.js → p-1e5c76d7.system.entry.js} +1 -1
  287. package/lib/duet/{p-a0512a05.system.entry.js → p-1e6bf17e.system.entry.js} +1 -1
  288. package/lib/duet/{p-2a01ec55.system.entry.js → p-1f082e57.system.entry.js} +1 -1
  289. package/lib/duet/{p-31740db1.system.entry.js → p-2063c660.system.entry.js} +1 -1
  290. package/lib/duet/{p-b3e8a986.entry.js → p-2144ed7e.entry.js} +1 -1
  291. package/lib/duet/{p-ab8f38c1.entry.js → p-219cd158.entry.js} +1 -1
  292. package/lib/duet/{p-05e0ef86.system.entry.js → p-23486542.system.entry.js} +1 -1
  293. package/lib/duet/{p-f1f892da.system.entry.js → p-23601b3e.system.entry.js} +1 -1
  294. package/lib/duet/{p-d33eef1f.entry.js → p-236aec93.entry.js} +1 -1
  295. package/lib/duet/{p-1db742d9.system.entry.js → p-24c27df5.system.entry.js} +1 -1
  296. package/lib/duet/p-2747b44c.system.entry.js +4 -0
  297. package/lib/duet/{p-49e49df2.entry.js → p-27fecfaa.entry.js} +1 -1
  298. package/lib/duet/{p-8d82f49d.entry.js → p-28ac2fa8.entry.js} +1 -1
  299. package/lib/duet/{p-1e543545.entry.js → p-29f97ffb.entry.js} +1 -1
  300. package/lib/duet/{p-0e1edb8d.system.entry.js → p-2bbc034f.system.entry.js} +1 -1
  301. package/lib/duet/{p-817e80e5.entry.js → p-2c164336.entry.js} +1 -1
  302. package/lib/duet/{p-c73fad00.system.entry.js → p-2cf70fac.system.entry.js} +1 -1
  303. package/lib/duet/{p-d66c0235.entry.js → p-3390de84.entry.js} +1 -1
  304. package/lib/duet/{p-617a3a36.system.entry.js → p-33b6ad8b.system.entry.js} +1 -1
  305. package/lib/duet/{p-1ea05c4e.entry.js → p-3420a2e4.entry.js} +1 -1
  306. package/lib/duet/{p-8dad8fce.system.entry.js → p-34b57104.system.entry.js} +1 -1
  307. package/lib/duet/{p-489f6566.entry.js → p-354763bd.entry.js} +1 -1
  308. package/lib/duet/{p-249ece01.system.entry.js → p-364526bf.system.entry.js} +1 -1
  309. package/lib/duet/p-36a29933.js +4 -0
  310. package/lib/duet/{p-53f7c29f.entry.js → p-36b45ca1.entry.js} +1 -1
  311. package/lib/duet/{p-de4d3f16.entry.js → p-37687656.entry.js} +1 -1
  312. package/lib/duet/{p-17375bc6.system.entry.js → p-393f3d40.system.entry.js} +1 -1
  313. package/lib/duet/{p-79565bed.system.entry.js → p-39cd22a6.system.entry.js} +1 -1
  314. package/lib/duet/{p-bf53d017.entry.js → p-3ba94b3e.entry.js} +1 -1
  315. package/lib/duet/{p-185be698.system.entry.js → p-3c3bc9fb.system.entry.js} +1 -1
  316. package/lib/duet/p-3c7cc108.entry.js +4 -0
  317. package/lib/duet/{p-928c05ef.system.entry.js → p-430c421b.system.entry.js} +1 -1
  318. package/lib/duet/{p-0e414d45.system.entry.js → p-43e7ee1b.system.entry.js} +1 -1
  319. package/lib/duet/{p-c4eff1d7.system.entry.js → p-440018ce.system.entry.js} +1 -1
  320. package/lib/duet/{p-b137766b.entry.js → p-4452e6e8.entry.js} +1 -1
  321. package/lib/duet/{p-b50db31a.entry.js → p-4594e530.entry.js} +1 -1
  322. package/lib/duet/{p-75e98d7d.entry.js → p-46ac8eb2.entry.js} +1 -1
  323. package/lib/duet/{p-181b00e5.system.entry.js → p-48049d11.system.entry.js} +1 -1
  324. package/lib/duet/{p-891b2193.entry.js → p-480ed6f7.entry.js} +1 -1
  325. package/lib/duet/{p-757f068a.system.entry.js → p-49d3f1f8.system.entry.js} +1 -1
  326. package/lib/duet/{p-c861f3d9.entry.js → p-55ed83fd.entry.js} +1 -1
  327. package/lib/duet/{p-28439eeb.system.entry.js → p-56d797a7.system.entry.js} +1 -1
  328. package/lib/duet/p-578b1556.entry.js +4 -0
  329. package/lib/duet/{p-f50d1845.system.js → p-57941503.system.js} +1 -1
  330. package/lib/duet/{p-11158849.entry.js → p-58b1748d.entry.js} +1 -1
  331. package/lib/duet/{p-bb6d4e02.system.entry.js → p-5a623866.system.entry.js} +1 -1
  332. package/lib/duet/{p-68e43f24.entry.js → p-5af19c0d.entry.js} +1 -1
  333. package/lib/duet/{p-b737793a.system.entry.js → p-5be1c8ca.system.entry.js} +1 -1
  334. package/lib/duet/p-5cbbad67.entry.js +4 -0
  335. package/lib/duet/{p-a90271b5.system.entry.js → p-5db55c55.system.entry.js} +1 -1
  336. package/lib/duet/{p-69186487.entry.js → p-60672e19.entry.js} +1 -1
  337. package/lib/duet/{p-682a0ad1.js → p-63045d0e.js} +1 -1
  338. package/lib/duet/{p-709df441.entry.js → p-632bb443.entry.js} +1 -1
  339. package/lib/duet/{p-c398295a.entry.js → p-63b3eff1.entry.js} +1 -1
  340. package/lib/duet/{p-2ca74bdf.system.js → p-6592e02c.system.js} +1 -1
  341. package/lib/duet/{p-1c21d6bb.entry.js → p-65dac1a2.entry.js} +1 -1
  342. package/lib/duet/{p-d02c0a0b.entry.js → p-66663bdd.entry.js} +1 -1
  343. package/lib/duet/{p-34b4e0d4.system.entry.js → p-666775c7.system.entry.js} +1 -1
  344. package/lib/duet/{p-15745be0.system.entry.js → p-684278ce.system.entry.js} +1 -1
  345. package/lib/duet/{p-700d96c2.system.entry.js → p-6950f757.system.entry.js} +1 -1
  346. package/lib/duet/{p-b07a5883.system.entry.js → p-69a8abac.system.entry.js} +1 -1
  347. package/lib/duet/{p-143df6ab.entry.js → p-6b02af30.entry.js} +1 -1
  348. package/lib/duet/{p-5f1e33f1.system.entry.js → p-6b371ce8.system.entry.js} +1 -1
  349. package/lib/duet/{p-21352a03.system.entry.js → p-6bb80546.system.entry.js} +1 -1
  350. package/lib/duet/{p-1ea2eed2.entry.js → p-6bc99ba8.entry.js} +1 -1
  351. package/lib/duet/{p-335f3ad7.system.entry.js → p-6e575dd4.system.entry.js} +1 -1
  352. package/lib/duet/{p-1eac8308.entry.js → p-6f05d7e7.entry.js} +1 -1
  353. package/lib/duet/{p-e7f98811.entry.js → p-6f2c6bff.entry.js} +1 -1
  354. package/lib/duet/{p-ed9f7d82.system.entry.js → p-6fb94ef4.system.entry.js} +1 -1
  355. package/lib/duet/{p-f2c7e3ee.system.entry.js → p-7089e938.system.entry.js} +1 -1
  356. package/lib/duet/{p-adc02ebb.system.js → p-7132e6b1.system.js} +1 -1
  357. package/lib/duet/{p-296d890c.entry.js → p-73508ab7.entry.js} +1 -1
  358. package/lib/duet/p-7397dd4f.system.entry.js +4 -0
  359. package/lib/duet/{p-eecbc77f.system.entry.js → p-745b87a1.system.entry.js} +1 -1
  360. package/lib/duet/{p-38838777.system.entry.js → p-746cc1a2.system.entry.js} +1 -1
  361. package/lib/duet/{p-c1186d0d.entry.js → p-750e4ab4.entry.js} +1 -1
  362. package/lib/duet/{p-fcdf0b4f.entry.js → p-7732213d.entry.js} +1 -1
  363. package/lib/duet/{p-85ed8d2a.entry.js → p-7b28d664.entry.js} +1 -1
  364. package/lib/duet/{p-0b1f9ab1.entry.js → p-7b845013.entry.js} +1 -1
  365. package/lib/duet/{p-abbe0bdb.entry.js → p-7f2855e9.entry.js} +1 -1
  366. package/lib/duet/{p-ff81c192.system.entry.js → p-808c5e03.system.entry.js} +1 -1
  367. package/lib/duet/p-80bf7a6d.js +4 -0
  368. package/lib/duet/{p-7582d712.system.entry.js → p-8283b6dc.system.entry.js} +1 -1
  369. package/lib/duet/p-85023f68.entry.js +4 -0
  370. package/lib/duet/{p-e05bbc0f.entry.js → p-880bccc7.entry.js} +1 -1
  371. package/lib/duet/{p-a47b5cf0.system.entry.js → p-8810586f.system.entry.js} +2 -2
  372. package/lib/duet/{p-5c636299.system.entry.js → p-89363c87.system.entry.js} +1 -1
  373. package/lib/duet/{p-e89c1ca6.entry.js → p-89636372.entry.js} +1 -1
  374. package/lib/duet/{p-84c3c6a9.entry.js → p-8d42cd8e.entry.js} +1 -1
  375. package/lib/duet/{p-0ab42908.system.entry.js → p-8fa26acd.system.entry.js} +1 -1
  376. package/lib/duet/{p-a3ea8aa0.system.js → p-8fb46b02.system.js} +1 -1
  377. package/lib/duet/{p-12398ce3.entry.js → p-8fbb5ff5.entry.js} +1 -1
  378. package/lib/duet/p-9012c4d7.system.entry.js +4 -0
  379. package/lib/duet/{p-bcadf02c.system.entry.js → p-90448156.system.entry.js} +1 -1
  380. package/lib/duet/{p-6e9997df.system.entry.js → p-907af7da.system.entry.js} +1 -1
  381. package/lib/duet/p-9171868a.system.js +4 -0
  382. package/lib/duet/{p-58f230b9.entry.js → p-91ab1514.entry.js} +1 -1
  383. package/lib/duet/{p-8f0bdfa8.system.entry.js → p-935bb380.system.entry.js} +1 -1
  384. package/lib/duet/p-98c47715.entry.js +4 -0
  385. package/lib/duet/{p-6796f3c3.system.entry.js → p-990cd307.system.entry.js} +1 -1
  386. package/lib/duet/{p-ef3038cf.entry.js → p-9a099e32.entry.js} +1 -1
  387. package/lib/duet/p-9a68836b.entry.js +4 -0
  388. package/lib/duet/{p-9ddf4f25.entry.js → p-9a6959da.entry.js} +1 -1
  389. package/lib/duet/{p-777d0fdd.system.entry.js → p-9ac8d40d.system.entry.js} +1 -1
  390. package/lib/duet/{p-a652025e.system.entry.js → p-9ecf83ca.system.entry.js} +1 -1
  391. package/lib/duet/{p-53601652.entry.js → p-a19e945f.entry.js} +1 -1
  392. package/lib/duet/{p-9f6eba5f.system.entry.js → p-a28a52b8.system.entry.js} +1 -1
  393. package/lib/duet/{p-5a5d2bd5.system.entry.js → p-a331720c.system.entry.js} +2 -2
  394. package/lib/duet/{p-be76413c.system.entry.js → p-a607febe.system.entry.js} +1 -1
  395. package/lib/duet/{p-103e565a.system.entry.js → p-a7442f4e.system.entry.js} +1 -1
  396. package/lib/duet/p-a966bbcf.system.js +4 -0
  397. package/lib/duet/{p-9cf1f9b9.entry.js → p-aa75307b.entry.js} +1 -1
  398. package/lib/duet/{p-b31576e2.entry.js → p-abe3827d.entry.js} +1 -1
  399. package/lib/duet/{p-c7d0fd92.entry.js → p-accae6ec.entry.js} +1 -1
  400. package/lib/duet/p-ace83b4d.system.js +4 -0
  401. package/lib/duet/{p-32d67711.entry.js → p-ad14a7bb.entry.js} +1 -1
  402. package/lib/duet/{p-c0de9913.entry.js → p-ad570b3d.entry.js} +1 -1
  403. package/lib/duet/p-ad6ccb39.js +4 -0
  404. package/lib/duet/{p-839650fa.system.entry.js → p-aeb3d682.system.entry.js} +1 -1
  405. package/lib/duet/{p-9dc73fc9.system.entry.js → p-b09cf28d.system.entry.js} +2 -2
  406. package/lib/duet/{p-5610daf3.system.entry.js → p-b23fd2cf.system.entry.js} +1 -1
  407. package/lib/duet/{p-7da818b1.js → p-b25490a8.js} +1 -1
  408. package/lib/duet/{p-f7f9a565.system.entry.js → p-b58e595a.system.entry.js} +1 -1
  409. package/lib/duet/p-baaac8e6.system.entry.js +4 -0
  410. package/lib/duet/{p-c0ad7828.system.entry.js → p-bfaf639a.system.entry.js} +1 -1
  411. package/lib/duet/{p-96d506b1.entry.js → p-c1a87168.entry.js} +1 -1
  412. package/lib/duet/{p-9cbabc0b.system.entry.js → p-c27dc664.system.entry.js} +1 -1
  413. package/lib/duet/{p-578c23a4.system.entry.js → p-c51a586e.system.entry.js} +1 -1
  414. package/lib/duet/{p-f32df45c.entry.js → p-c797a3e6.entry.js} +1 -1
  415. package/lib/duet/{p-a195d9c1.entry.js → p-c97d9b65.entry.js} +1 -1
  416. package/lib/duet/{p-c282ebfd.entry.js → p-ccdecd17.entry.js} +1 -1
  417. package/lib/duet/p-d0b307cc.js +4 -0
  418. package/lib/duet/{p-39c9a066.system.entry.js → p-d2d74167.system.entry.js} +1 -1
  419. package/lib/duet/{p-b7706f3e.system.entry.js → p-d433e813.system.entry.js} +1 -1
  420. package/lib/duet/{p-144aab10.system.entry.js → p-d7d5874f.system.entry.js} +1 -1
  421. package/lib/duet/{p-c7fc62e7.system.entry.js → p-d8739243.system.entry.js} +1 -1
  422. package/lib/duet/{p-e30f0acf.entry.js → p-d93881ea.entry.js} +1 -1
  423. package/lib/duet/{p-b4f2405c.entry.js → p-da7ff7a2.entry.js} +1 -1
  424. package/lib/duet/{p-a142a88f.system.js → p-db398834.system.js} +1 -1
  425. package/lib/duet/{p-b5defe7d.entry.js → p-dbe48d3c.entry.js} +1 -1
  426. package/lib/duet/{p-00c65f9d.entry.js → p-dc172d1c.entry.js} +1 -1
  427. package/lib/duet/{p-73db1b4e.entry.js → p-dc332043.entry.js} +1 -1
  428. package/lib/duet/{p-0e638ebd.system.entry.js → p-ddc0706b.system.entry.js} +2 -2
  429. package/lib/duet/p-dde34236.entry.js +4 -0
  430. package/lib/duet/{p-8808de6e.system.entry.js → p-de531c22.system.entry.js} +1 -1
  431. package/lib/duet/{p-a15d9a7f.system.entry.js → p-dfb4edcc.system.entry.js} +1 -1
  432. package/lib/duet/{p-f743f28c.system.entry.js → p-e19b45d6.system.entry.js} +1 -1
  433. package/lib/duet/{p-67ce5fe7.system.entry.js → p-e2373985.system.entry.js} +2 -2
  434. package/lib/duet/{p-9c0eb1e6.entry.js → p-e2f6279e.entry.js} +1 -1
  435. package/lib/duet/{p-ec3ce240.entry.js → p-e39afbb1.entry.js} +1 -1
  436. package/lib/duet/{p-7677fb67.system.entry.js → p-e73a7c54.system.entry.js} +1 -1
  437. package/lib/duet/{p-fc168be9.system.entry.js → p-eaf7a202.system.entry.js} +1 -1
  438. package/lib/duet/{p-e4e4e4d7.system.entry.js → p-eb01f00b.system.entry.js} +1 -1
  439. package/lib/duet/{p-9aa64cd1.system.entry.js → p-eb19b715.system.entry.js} +2 -2
  440. package/lib/duet/{p-a1b74038.entry.js → p-eb817c52.entry.js} +1 -1
  441. package/lib/duet/{p-ce5b779c.system.entry.js → p-ed4b8ef4.system.entry.js} +1 -1
  442. package/lib/duet/{p-a388ed17.system.entry.js → p-f00388be.system.entry.js} +1 -1
  443. package/lib/duet/p-f033bc52.system.js +4 -0
  444. package/lib/duet/{p-e0308e1f.entry.js → p-f208d55c.entry.js} +1 -1
  445. package/lib/duet/{p-b9ea2688.system.entry.js → p-f3d5cc54.system.entry.js} +1 -1
  446. package/lib/duet/p-f57a788d.system.entry.js +4 -0
  447. package/lib/duet/{p-c327a6b9.entry.js → p-f7f0b74f.entry.js} +1 -1
  448. package/lib/duet/{p-1dcaf506.js → p-f92ce1f9.js} +1 -1
  449. package/lib/duet/p-fa69c713.system.entry.js +4 -0
  450. package/lib/duet/{p-297be33a.entry.js → p-fac03927.entry.js} +1 -1
  451. package/lib/duet/{p-0ee0acc5.entry.js → p-fe6123a8.entry.js} +1 -1
  452. package/lib/duet/{p-09f85d39.entry.js → p-feaa9ad0.entry.js} +1 -1
  453. package/lib/duet/{p-c70b69a7.system.entry.js → p-ff6049c7.system.entry.js} +1 -1
  454. package/lib/esm/{a11y-utils-056fbc86.js → a11y-utils-fcabbbe4.js} +1 -1
  455. package/lib/esm/{app-globals-2e3fbb8b.js → app-globals-df3febf1.js} +1 -1
  456. package/lib/esm/duet-action-button.entry.js +4 -4
  457. package/lib/esm/duet-alert.entry.js +4 -4
  458. package/lib/esm/duet-badge.entry.js +3 -3
  459. package/lib/esm/duet-banner.entry.js +4 -4
  460. package/lib/esm/duet-breadcrumb.entry.js +10 -19
  461. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  462. package/lib/esm/duet-button_2.entry.js +5 -5
  463. package/lib/esm/duet-callout.entry.js +3 -3
  464. package/lib/esm/duet-caption_4.entry.js +6 -6
  465. package/lib/esm/duet-card.entry.js +4 -4
  466. package/lib/esm/duet-checkbox.entry.js +2 -2
  467. package/lib/esm/duet-checkmark.entry.js +2 -2
  468. package/lib/esm/duet-chip.entry.js +3 -3
  469. package/lib/esm/duet-choice_2.entry.js +4 -4
  470. package/lib/esm/duet-collapsible.entry.js +17 -8
  471. package/lib/esm/duet-combobox.entry.js +4 -4
  472. package/lib/esm/duet-contact-card.entry.js +3 -3
  473. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  474. package/lib/esm/duet-date-picker.entry.js +5 -5
  475. package/lib/esm/duet-divider_2.entry.js +3 -3
  476. package/lib/esm/duet-editable-table_3.entry.js +5 -5
  477. package/lib/esm/duet-empty-state.entry.js +2 -2
  478. package/lib/esm/duet-fieldset.entry.js +3 -3
  479. package/lib/esm/duet-file-chooser.entry.js +2 -2
  480. package/lib/esm/duet-footer.entry.js +4 -4
  481. package/lib/esm/duet-grid_2.entry.js +2 -2
  482. package/lib/esm/duet-header_2.entry.js +4 -4
  483. package/lib/esm/duet-hero.entry.js +15 -11
  484. package/lib/esm/duet-icon.entry.js +3 -3
  485. package/lib/esm/duet-indicator.entry.js +2 -2
  486. package/lib/esm/duet-input_2.entry.js +5 -5
  487. package/lib/esm/duet-layout.entry.js +2 -2
  488. package/lib/esm/duet-list_2.entry.js +2 -2
  489. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  490. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  491. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  492. package/lib/esm/duet-menu-bar-item.entry.js +5 -5
  493. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  494. package/lib/esm/duet-menu-bar.entry.js +4 -4
  495. package/lib/esm/duet-modal.entry.js +6 -6
  496. package/lib/esm/duet-multiselect.entry.js +4 -4
  497. package/lib/esm/duet-nav.entry.js +3 -3
  498. package/lib/esm/duet-notification_2.entry.js +3 -3
  499. package/lib/esm/duet-number-input.entry.js +4 -4
  500. package/lib/esm/duet-overlay.entry.js +2 -2
  501. package/lib/esm/duet-page-heading.entry.js +3 -3
  502. package/lib/esm/duet-pagination_2.entry.js +4 -4
  503. package/lib/esm/duet-panel.entry.js +3 -3
  504. package/lib/esm/duet-phone-input.entry.js +4 -4
  505. package/lib/esm/duet-popup-menu_2.entry.js +4 -4
  506. package/lib/esm/duet-progress.entry.js +3 -3
  507. package/lib/esm/duet-promo-card.entry.js +4 -4
  508. package/lib/esm/duet-radio_2.entry.js +3 -3
  509. package/lib/esm/duet-range-slider.entry.js +2 -2
  510. package/lib/esm/duet-scrollable_3.entry.js +5 -5
  511. package/lib/esm/duet-section-layout.entry.js +1 -1
  512. package/lib/esm/duet-select.entry.js +3 -3
  513. package/lib/esm/duet-shaped-image.entry.js +2 -2
  514. package/lib/esm/duet-share-chart-item.entry.js +1 -1
  515. package/lib/esm/duet-share-chart.entry.js +5 -5
  516. package/lib/esm/duet-show-more.entry.js +3 -3
  517. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  518. package/lib/esm/duet-slideout-link.entry.js +5 -5
  519. package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
  520. package/lib/esm/duet-slideout-panel.entry.js +6 -6
  521. package/lib/esm/duet-slideout.entry.js +6 -6
  522. package/lib/esm/duet-status-icon.entry.js +1 -1
  523. package/lib/esm/duet-step_2.entry.js +3 -3
  524. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  525. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  526. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  527. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  528. package/lib/esm/duet-submenu-bar.entry.js +3 -3
  529. package/lib/esm/duet-textarea.entry.js +4 -4
  530. package/lib/esm/duet-toggle.entry.js +2 -2
  531. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  532. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  533. package/lib/esm/duet-toolbar-item.entry.js +5 -5
  534. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  535. package/lib/esm/duet-toolbar.entry.js +2 -2
  536. package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
  537. package/lib/esm/duet-tooltip.entry.js +3 -3
  538. package/lib/esm/duet-tray.entry.js +3 -3
  539. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  540. package/lib/esm/duet-upload-item.entry.js +4 -4
  541. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  542. package/lib/esm/duet.js +4 -4
  543. package/lib/esm/{errorcodes.utils-1673d536.js → errorcodes.utils-2bbac3d7.js} +1 -1
  544. package/lib/esm/{focus-utils-ef5827e9.js → focus-utils-86d0936a.js} +1 -1
  545. package/lib/esm/{index-917bdca5.js → index-c99b5a3a.js} +1 -1
  546. package/lib/esm/{language-utils-fc71dceb.js → language-utils-0881a2a9.js} +1 -1
  547. package/lib/esm/loader.js +4 -4
  548. package/lib/esm/{slot-utils-e20aeb67.js → slot-utils-a65ef46f.js} +1 -1
  549. package/lib/esm/{themeable-component-5aa6dce7.js → themeable-component-e3661133.js} +1 -1
  550. package/lib/esm/{token-utils-06ae5c10.js → token-utils-cf052bc0.js} +3 -3
  551. package/lib/esm-es5/{a11y-utils-056fbc86.js → a11y-utils-fcabbbe4.js} +1 -1
  552. package/lib/esm-es5/{app-globals-2e3fbb8b.js → app-globals-df3febf1.js} +1 -1
  553. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  554. package/lib/esm-es5/duet-alert.entry.js +1 -1
  555. package/lib/esm-es5/duet-badge.entry.js +1 -1
  556. package/lib/esm-es5/duet-banner.entry.js +1 -1
  557. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  558. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  559. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  560. package/lib/esm-es5/duet-callout.entry.js +1 -1
  561. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  562. package/lib/esm-es5/duet-card.entry.js +1 -1
  563. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  564. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  565. package/lib/esm-es5/duet-chip.entry.js +1 -1
  566. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  567. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  568. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  569. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  570. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  571. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  572. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  573. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  574. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  575. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  576. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  577. package/lib/esm-es5/duet-footer.entry.js +1 -1
  578. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  579. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  580. package/lib/esm-es5/duet-hero.entry.js +1 -1
  581. package/lib/esm-es5/duet-icon.entry.js +1 -1
  582. package/lib/esm-es5/duet-indicator.entry.js +1 -1
  583. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  584. package/lib/esm-es5/duet-layout.entry.js +1 -1
  585. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  586. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  587. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  588. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  589. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  590. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  591. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  592. package/lib/esm-es5/duet-modal.entry.js +1 -1
  593. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  594. package/lib/esm-es5/duet-nav.entry.js +1 -1
  595. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  596. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  597. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  598. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  599. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  600. package/lib/esm-es5/duet-panel.entry.js +1 -1
  601. package/lib/esm-es5/duet-phone-input.entry.js +2 -2
  602. package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
  603. package/lib/esm-es5/duet-progress.entry.js +1 -1
  604. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  605. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  606. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  607. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  608. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  609. package/lib/esm-es5/duet-select.entry.js +1 -1
  610. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  611. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  612. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  613. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  614. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  615. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  616. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  617. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  618. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  619. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  620. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  621. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  622. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  623. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  624. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  625. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  626. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  627. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  628. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  629. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  630. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  631. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  632. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  633. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  634. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  635. package/lib/esm-es5/duet-tray.entry.js +1 -1
  636. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  637. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  638. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  639. package/lib/esm-es5/duet.js +1 -1
  640. package/lib/esm-es5/{errorcodes.utils-1673d536.js → errorcodes.utils-2bbac3d7.js} +1 -1
  641. package/lib/esm-es5/{focus-utils-ef5827e9.js → focus-utils-86d0936a.js} +1 -1
  642. package/lib/esm-es5/{index-917bdca5.js → index-c99b5a3a.js} +1 -1
  643. package/lib/esm-es5/{language-utils-fc71dceb.js → language-utils-0881a2a9.js} +1 -1
  644. package/lib/esm-es5/loader.js +1 -1
  645. package/lib/esm-es5/{slot-utils-e20aeb67.js → slot-utils-a65ef46f.js} +1 -1
  646. package/lib/esm-es5/{themeable-component-5aa6dce7.js → themeable-component-e3661133.js} +1 -1
  647. package/lib/esm-es5/{token-utils-06ae5c10.js → token-utils-cf052bc0.js} +1 -1
  648. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  649. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
  650. package/lib/types/components.d.ts +2 -2
  651. package/package.json +4 -4
  652. package/lib/duet/p-07eaae93.js +0 -4
  653. package/lib/duet/p-0faea567.js +0 -4
  654. package/lib/duet/p-1099e3c1.entry.js +0 -4
  655. package/lib/duet/p-202295c7.system.entry.js +0 -4
  656. package/lib/duet/p-2a327afb.system.js +0 -4
  657. package/lib/duet/p-314579ab.system.entry.js +0 -4
  658. package/lib/duet/p-3ad777ed.system.js +0 -4
  659. package/lib/duet/p-3b48325f.entry.js +0 -4
  660. package/lib/duet/p-51680ed4.system.js +0 -4
  661. package/lib/duet/p-7c726fa5.entry.js +0 -4
  662. package/lib/duet/p-88433a46.system.entry.js +0 -4
  663. package/lib/duet/p-90f215e3.system.entry.js +0 -4
  664. package/lib/duet/p-931c3e0e.system.entry.js +0 -4
  665. package/lib/duet/p-9ecf394a.system.js +0 -4
  666. package/lib/duet/p-a2a4a889.entry.js +0 -4
  667. package/lib/duet/p-d329f24b.system.entry.js +0 -4
  668. package/lib/duet/p-dc68a5b4.entry.js +0 -4
  669. package/lib/duet/p-deec5fa6.entry.js +0 -4
  670. package/lib/duet/p-e63f5ff5.js +0 -4
  671. package/lib/duet/p-e78a7199.entry.js +0 -4
  672. package/lib/duet/p-f33021ec.system.entry.js +0 -4
  673. package/lib/duet/p-f587ebfc.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c as t,h as a,H as i,g as s}from"./p-682a0ad1.js";import{D as r}from"./p-24954951.js";import{i as o}from"./p-3f59cd08.js";import{c as d}from"./p-5e59e970.js";import{s as n,u as l}from"./p-a45e3f8b.js";import{g as c,c as p,d as u}from"./p-7da818b1.js";import{h}from"./p-f587ebfc.js";import"./p-9c3c64b9.js";const b=class{constructor(a){e(this,a),this.duetDismiss=t(this,"duetDismiss",7),this.duetCloseComplete=t(this,"duetCloseComplete",7),this.descriptiveId=d("DuetAlert"),this.hasShowMoreSlot=!1,this.handleDismiss=e=>{this.handleHide(),this.duetDismiss.emit({component:"duet-alert",originalEvent:e})},this.handleShow=()=>{this.isDismissed=!1},this.handleHide=()=>{this.isDismissed=!0,this.element.addEventListener("transitionend",(()=>this.duetCloseComplete.emit()),{once:!0})},this.handleExpandToggle=()=>{this.isExpanded=!this.isExpanded},this.getRole=()=>{if(this.announcements)return["warning","danger"].includes(this.variation)?"alert":"status"},this.theme="",this.isDismissed=!1,this.isExpanded=!1,this.timeoutID=void 0,this.accessibleLabelDefaults={fi:"Painike viestin sulkemiseen",sv:"Knapp för att stänga meddelandet",en:"Button to close the message"},this.accessibleLabel=c(this.accessibleLabelDefaults),this.announcements=!0,this.icon="",this.autoDismiss=void 0,this.margin="auto",this.padding="auto",this.variation="default",this.position="content",this.dismissible=!1,this.focusable=!1,this.expandingTitle=""}componentWillLoad(){o(this),this.hasShowMoreSlot=h(this.element,"show-more")}componentDidLoad(){this.autoDismiss&&(this.timeoutID=setTimeout((()=>this.handleDismiss()),this.autoDismiss))}connectedCallback(){p(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"}),n(this)}disconnectedCallback(){this.timeoutID&&clearTimeout(this.timeoutID),u(this),l(this)}async show(){this.handleShow()}async hide(){this.handleHide()}async setFocus(e){this.alertContainer.focus(e)}render(){const e=["default","success","danger","warning"].includes(this.variation)?this.variation:"default",t=c(r[e]);return a(i,{key:"b204a657de629955d04058f3c43813aa00980c1e",class:{"duet-theme-turva":"turva"===this.theme,"duet-alert-is-dismissed":this.isDismissed},role:this.getRole()},a("div",{key:"0d573c37ae4013f7fdef0d89a7d2cfff38157b44",class:{"duet-alert-wrapper":!0,"duet-p-0":"none"===this.padding,"duet-m-0":"none"===this.margin,[e]:!0,[this.position]:!0,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"ecb946bd29811c5ee207804498810a6cd3c83889",class:{"duet-alert":!0,"duet-alert-expandable":!!this.expandingTitle,"duet-alert-expanded":this.isExpanded,"duet-alert-has-icon":!!this.icon||"below-nav"===this.position,"duet-alert-has-show-more":this.hasShowMoreSlot,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":"none"===this.padding,"duet-m-0":"none"===this.margin,[e]:!0,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"88e63f17d9d316a933266a2d98be63f1cf6fa939",class:"duet-alert-container",ref:e=>{this.alertContainer=e},tabindex:this.focusable?"0":void 0},"below-nav"!==this.position&&a("div",{key:"d0e266b3c576ec9c2532053c292c3bfbbc9d92b0",class:"duet-alert-icon"},this.icon&&a("duet-icon",{key:"efa5d1133ba832aa3e88fb419b8f2b454b5536c1",size:"auto",name:this.icon,color:"currentColor"})||a("duet-status-icon",{key:"7e00c8f29fb7a33a041acfbd82d1c359eadaf605",strong:!0,variation:e,margin:"none",size:"auto"})),"below-nav"===this.position&&a("div",{key:"0314c3a000a06a357a7850f6c72002df3d32a541",class:"duet-alert-icon below-nav"},a("duet-status-icon",{key:"aec093d7be9e0c0d8940a5e0813495f707daefc0",strong:!0,variation:e,margin:"none",size:"auto"})),a("div",{key:"97522cbf67c23477ae71603418f85f3d1a13d3c2",class:"duet-alert-content",id:this.descriptiveId},this.expandingTitle&&a("button",{key:"08d8a6d3b089bad3c54727907f6ba1df213a9103","aria-expanded":this.isExpanded.toString(),"aria-controls":`${this.descriptiveId}-content`,class:"duet-alert-expander",onClick:this.handleExpandToggle},a("span",{key:"4efe686cc2dff3077ea3efed7a52c79c3b8c090a",class:"expanding-title"},this.expandingTitle),a("duet-icon",{key:"2da0cd85883d2e850d65e0682c391079bcce2001",name:"action-arrow-down",color:"default"===e?"lt-blue-800":`${e}-800`,margin:"none",size:"x-small"})),(!this.expandingTitle||this.isExpanded)&&a("div",{key:"dd67482dc47bb4b23d8ff7fdbc7f50a09fd7f355",id:`${this.descriptiveId}-content`},a("duet-visually-hidden",{key:"0f892f87996b79076b9c04e9d66fadbe681cf913"},t),a("slot",{key:"fac36116e1b9128ad398c4cf997d8c0fd3bca795"})))),this.hasShowMoreSlot&&a("duet-show-more",{key:"10530ff533c94cb9c85eb23cae9ed3475f3567f2",margin:"none",class:"duet-alert-show-more"},a("slot",{key:"06e77a909ef86b0ae2e83e818e88c75b8caa9969",name:"show-more"})),this.dismissible&&!this.expandingTitle&&a("div",{key:"65f541e6bf54abcfa91757571cffb18013188c39",class:"duet-alert-dismiss"},a("duet-button",{key:"a2e00a7f2d07d04bf388544893ddb56d332c8929",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,iconSize:"medium",icon:"navigation-close",iconOnly:!0,margin:"none",color:"default"===e?"lt-blue-800":`${e}-800`,theme:this.theme,onClick:this.handleDismiss,fixed:!0})))))}get element(){return s(this)}};b.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:rgb(228, 241, 247);border:1px solid rgb(172, 210, 229);border-radius:12px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-alert-wrapper.warning{color:rgb(38, 26, 4);background:rgb(255, 247, 221);border:1px solid rgb(255, 217, 120)}.duet-alert-wrapper.danger{color:rgb(89, 0, 45);background:rgb(255, 225, 231);border:1px solid rgb(252, 136, 162)}.duet-alert-wrapper.success{color:rgb(4, 38, 33);background:rgb(231, 248, 239);border:1px solid rgb(163, 229, 202)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 72px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-wrapper .duet-alert.duet-alert-expandable{padding-right:20px}.duet-alert-dismiss{position:absolute;top:3px;right:3px}.duet-alert-dismiss duet-button:hover{background-color:rgb(198, 225, 238);border-radius:8px}.warning .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 232, 160)}.danger .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 173, 190)}.success .duet-alert-dismiss duet-button:hover{background-color:rgb(191, 239, 218)}.duet-alert-container{display:inline-flex;align-items:flex-start;width:100%;margin:0 auto !important}.duet-alert-container .duet-alert-content{flex-grow:1;line-height:1.5}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{position:relative;top:2px;display:inline-block;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-expander{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;width:calc(100% + 32px + 40px);padding:16px;padding-right:20px;padding-left:52px;margin:-16px;margin-left:-52px;font-family:inherit;color:inherit;cursor:pointer;background-color:inherit}.duet-alert-expanded .duet-alert-expander{margin-bottom:-4px}.duet-alert-expander .expanding-title{flex-grow:1;font-size:1rem;line-height:1.5;text-align:left}.duet-alert-expander duet-icon{position:relative;top:4px;transition:rotate 300ms ease}.duet-alert-expanded .duet-alert-expander duet-icon{rotate:180deg}.duet-alert-expander:hover{filter:brightness(85%)}';export{b as duet_alert}
4
+ import{r as e,c as t,h as a,H as i,g as s}from"./p-63045d0e.js";import{D as r}from"./p-24954951.js";import{i as o}from"./p-08f35dcb.js";import{c as d}from"./p-5e59e970.js";import{s as n,u as l}from"./p-a45e3f8b.js";import{g as c,c as p,d as u}from"./p-b25490a8.js";import{h}from"./p-36a29933.js";import"./p-9c3c64b9.js";const b=class{constructor(a){e(this,a),this.duetDismiss=t(this,"duetDismiss",7),this.duetCloseComplete=t(this,"duetCloseComplete",7),this.descriptiveId=d("DuetAlert"),this.hasShowMoreSlot=!1,this.handleDismiss=e=>{this.handleHide(),this.duetDismiss.emit({component:"duet-alert",originalEvent:e})},this.handleShow=()=>{this.isDismissed=!1},this.handleHide=()=>{this.isDismissed=!0,this.element.addEventListener("transitionend",(()=>this.duetCloseComplete.emit()),{once:!0})},this.handleExpandToggle=()=>{this.isExpanded=!this.isExpanded},this.getRole=()=>{if(this.announcements)return["warning","danger"].includes(this.variation)?"alert":"status"},this.theme="",this.isDismissed=!1,this.isExpanded=!1,this.timeoutID=void 0,this.accessibleLabelDefaults={fi:"Painike viestin sulkemiseen",sv:"Knapp för att stänga meddelandet",en:"Button to close the message"},this.accessibleLabel=c(this.accessibleLabelDefaults),this.announcements=!0,this.icon="",this.autoDismiss=void 0,this.margin="auto",this.padding="auto",this.variation="default",this.position="content",this.dismissible=!1,this.focusable=!1,this.expandingTitle=""}componentWillLoad(){o(this),this.hasShowMoreSlot=h(this.element,"show-more")}componentDidLoad(){this.autoDismiss&&(this.timeoutID=setTimeout((()=>this.handleDismiss()),this.autoDismiss))}connectedCallback(){p(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"}),n(this)}disconnectedCallback(){this.timeoutID&&clearTimeout(this.timeoutID),u(this),l(this)}async show(){this.handleShow()}async hide(){this.handleHide()}async setFocus(e){this.alertContainer.focus(e)}render(){const e=["default","success","danger","warning"].includes(this.variation)?this.variation:"default",t=c(r[e]);return a(i,{key:"b204a657de629955d04058f3c43813aa00980c1e",class:{"duet-theme-turva":"turva"===this.theme,"duet-alert-is-dismissed":this.isDismissed},role:this.getRole()},a("div",{key:"0d573c37ae4013f7fdef0d89a7d2cfff38157b44",class:{"duet-alert-wrapper":!0,"duet-p-0":"none"===this.padding,"duet-m-0":"none"===this.margin,[e]:!0,[this.position]:!0,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"ecb946bd29811c5ee207804498810a6cd3c83889",class:{"duet-alert":!0,"duet-alert-expandable":!!this.expandingTitle,"duet-alert-expanded":this.isExpanded,"duet-alert-has-icon":!!this.icon||"below-nav"===this.position,"duet-alert-has-show-more":this.hasShowMoreSlot,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":"none"===this.padding,"duet-m-0":"none"===this.margin,[e]:!0,"duet-theme-turva":"turva"===this.theme}},a("div",{key:"88e63f17d9d316a933266a2d98be63f1cf6fa939",class:"duet-alert-container",ref:e=>{this.alertContainer=e},tabindex:this.focusable?"0":void 0},"below-nav"!==this.position&&a("div",{key:"d0e266b3c576ec9c2532053c292c3bfbbc9d92b0",class:"duet-alert-icon"},this.icon&&a("duet-icon",{key:"efa5d1133ba832aa3e88fb419b8f2b454b5536c1",size:"auto",name:this.icon,color:"currentColor"})||a("duet-status-icon",{key:"7e00c8f29fb7a33a041acfbd82d1c359eadaf605",strong:!0,variation:e,margin:"none",size:"auto"})),"below-nav"===this.position&&a("div",{key:"0314c3a000a06a357a7850f6c72002df3d32a541",class:"duet-alert-icon below-nav"},a("duet-status-icon",{key:"aec093d7be9e0c0d8940a5e0813495f707daefc0",strong:!0,variation:e,margin:"none",size:"auto"})),a("div",{key:"97522cbf67c23477ae71603418f85f3d1a13d3c2",class:"duet-alert-content",id:this.descriptiveId},this.expandingTitle&&a("button",{key:"08d8a6d3b089bad3c54727907f6ba1df213a9103","aria-expanded":this.isExpanded.toString(),"aria-controls":`${this.descriptiveId}-content`,class:"duet-alert-expander",onClick:this.handleExpandToggle},a("span",{key:"4efe686cc2dff3077ea3efed7a52c79c3b8c090a",class:"expanding-title"},this.expandingTitle),a("duet-icon",{key:"2da0cd85883d2e850d65e0682c391079bcce2001",name:"action-arrow-down",color:"default"===e?"lt-blue-800":`${e}-800`,margin:"none",size:"x-small"})),(!this.expandingTitle||this.isExpanded)&&a("div",{key:"dd67482dc47bb4b23d8ff7fdbc7f50a09fd7f355",id:`${this.descriptiveId}-content`},a("duet-visually-hidden",{key:"0f892f87996b79076b9c04e9d66fadbe681cf913"},t),a("slot",{key:"fac36116e1b9128ad398c4cf997d8c0fd3bca795"})))),this.hasShowMoreSlot&&a("duet-show-more",{key:"10530ff533c94cb9c85eb23cae9ed3475f3567f2",margin:"none",class:"duet-alert-show-more"},a("slot",{key:"06e77a909ef86b0ae2e83e818e88c75b8caa9969",name:"show-more"})),this.dismissible&&!this.expandingTitle&&a("div",{key:"65f541e6bf54abcfa91757571cffb18013188c39",class:"duet-alert-dismiss"},a("duet-button",{key:"a2e00a7f2d07d04bf388544893ddb56d332c8929",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,iconSize:"medium",icon:"navigation-close",iconOnly:!0,margin:"none",color:"default"===e?"lt-blue-800":`${e}-800`,theme:this.theme,onClick:this.handleDismiss,fixed:!0})))))}get element(){return s(this)}};b.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:rgb(228, 241, 247);border:1px solid rgb(172, 210, 229);border-radius:12px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-alert-wrapper.warning{color:rgb(38, 26, 4);background:rgb(255, 247, 221);border:1px solid rgb(255, 217, 120)}.duet-alert-wrapper.danger{color:rgb(89, 0, 45);background:rgb(255, 225, 231);border:1px solid rgb(252, 136, 162)}.duet-alert-wrapper.success{color:rgb(4, 38, 33);background:rgb(231, 248, 239);border:1px solid rgb(163, 229, 202)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 72px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-wrapper .duet-alert.duet-alert-expandable{padding-right:20px}.duet-alert-dismiss{position:absolute;top:3px;right:3px}.duet-alert-dismiss duet-button:hover{background-color:rgb(198, 225, 238);border-radius:8px}.warning .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 232, 160)}.danger .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 173, 190)}.success .duet-alert-dismiss duet-button:hover{background-color:rgb(191, 239, 218)}.duet-alert-container{display:inline-flex;align-items:flex-start;width:100%;margin:0 auto !important}.duet-alert-container .duet-alert-content{flex-grow:1;line-height:1.5}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{position:relative;top:2px;display:inline-block;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-expander{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;width:calc(100% + 32px + 40px);padding:16px;padding-right:20px;padding-left:52px;margin:-16px;margin-left:-52px;font-family:inherit;color:inherit;cursor:pointer;background-color:inherit}.duet-alert-expanded .duet-alert-expander{margin-bottom:-4px}.duet-alert-expander .expanding-title{flex-grow:1;font-size:1rem;line-height:1.5;text-align:left}.duet-alert-expander duet-icon{position:relative;top:4px;transition:rotate 300ms ease}.duet-alert-expanded .duet-alert-expander duet-icon{rotate:180deg}.duet-alert-expander:hover{filter:brightness(85%)}';export{b as duet_alert}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,i,o){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function l(t){try{n(o.next(t))}catch(t){s(t)}}function a(t){try{n(o["throw"](t))}catch(t){s(t)}}function n(t){t.done?i(t.value):r(t.value).then(l,a)}n((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},o,r,s,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(t){return function(e){return n([t,e])}}function n(a){if(o)throw new TypeError("Generator is already executing.");while(l&&(l=0,a[0]&&(i=0)),i)try{if(o=1,r&&(s=a[0]&2?r["return"]:a[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;if(r=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(a[0]===6&&i.label<s[1]){i.label=s[1];s=a;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(a);break}if(s[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];r=0}finally{o=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var o=0,r=e.length,s;o<r;o++){if(s||!(o in e)){if(!s)s=Array.prototype.slice.call(e,0,o);s[o]=e[o]}}return t.concat(s||Array.prototype.slice.call(e))};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-a3ea8aa0.system.js","./p-f50d1845.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-a142a88f.system.js","./p-3ad777ed.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,i,o,r,s,l,a,n,u,c,d,h,m,b,f,p,g,v,x;return{setters:[function(t){e=t.r;i=t.c;o=t.h;r=t.H;s=t.g},function(t){l=t.i},function(t){a=t.c},function(t){n=t.f;u=t.o;c=t.j;d=t.d;h=t.b;m=t.a;b=t.c},function(t){f=t.a;p=t.c;g=t.d},function(t){v=t.c},function(t){x=t.p}],execute:function(){var y='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{border-color:rgb(127, 150, 165);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(143, 147, 158);box-shadow:0 0 0 1px #747475}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(8, 42, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);background:#d9ebf4;border-radius:20rem}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{border-color:rgb(214, 28, 82) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-multiselect{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.duet-multiselect svg{width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(212, 223, 229)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(8, 42, 77)}.duet-multiselect-checkboxes fieldset{margin-top:8px;margin-bottom:12px}.duet-multiselect-checkboxes fieldset+fieldset{margin-top:28px}.duet-multiselect-checkboxes legend{margin-bottom:12px;font-size:1rem;font-weight:600}.duet-multiselect-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect:focus,:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect[disabled]{color:#172a3b !important;background:#f5f6f7 !important;border-color:#f5f6f7 !important;-webkit-text-fill-color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect svg{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect .duet-multiselect-badge{color:#172a3b;background:#e8eaeb}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes{border-color:#d4dde2}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:#172a3b}';var k=y;function w(t,e){return t.includes(e)?t.filter((function(t){return t!==e})):__spreadArray(__spreadArray([],t,true),[e],false)}var S=t("duet_multiselect",function(){function t(t){var o=this;e(this,t);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.errorId=a("DuetError");this.labelId=a("DuetLabel");this.topCaptionId=a("DuetCaptionTop");this.selectedLangObject={en:"selected",fi:"valittu",sv:"vald"};this.selectAllLabel={en:"Select all",fi:"Valitse kaikki",sv:"Välj alla"};this.clearAllLabel={en:"Clear all",fi:"Tyhjennä kaikki",sv:"Rensa alla"};this.placeholderLabel={en:"Hint",fi:"Vihje",sv:"Tips"};this.onChange=function(t){o.duetChange.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onBlur=function(t){o.duetBlur.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onFocus=function(t){o.duetFocus.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onMultiselectKeyDown=function(t){if(n(t)||u(t)){if(o.checkboxesVisible){o.checkboxesVisible=false;o.multiselectElement.focus();t.preventDefault()}}};this.onMultiselectInputKeyDown=function(t){if(c(t)){t.preventDefault();o.toggleCheckboxes();setTimeout((function(){if(o.checkboxesVisible){var t=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(o.allControls?-2:0)));if(t){t.focus()}}}),200)}};this.onCheckboxKeyDown=function(t,e){var i;if(d(t)||h(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e-1)))}else if(m(t)||b(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e+1)))}if(i){i.focus();t.preventDefault();o.activeDescendant=i.id}};this.toggleCheckboxes=function(){o.checkboxesVisible=!o.checkboxesVisible};this.toggleCheckbox=function(t,e){o.value=w(o.value,e);o.onChange(t)};this.handleSelectAllClick=function(t){o.value=o.processedItems;o.onChange(t)};this.handleClearAllClick=function(t){o.value=[];o.onChange(t)};this.getOptionIdentifier=function(t){return"".concat(o.identifier,"-option-").concat(t)};this.getDescribedBy=function(){var t=[];if(o.isCaptionVisible&&o.topCaptionId){t.push(o.topCaptionId)}if(o.accessibleDescribedBy){t.push(o.accessibleDescribedBy)}if(o.error){t.push(o.errorId)}return t.length>0?t.join(" "):null};this.processedItems=[];this.processedGroups=[];this.checkboxesVisible=false;this.activeDescendant="";this.language=f();this.margin="auto";this.error="";this.accessibleLiveError="polite";this.expand=false;this.value=[];this.theme="";this.labelHidden=false;this.identifier=a("DuetMultiselect");this.allControls=false;this.placeholder="";this.caption=undefined;this.items=undefined;this.disabled=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.accessibleDescribedBy=undefined;this.tooltip="";this.tooltipDirection="auto"}t.prototype.handleFocus=function(t){var e=this;var i=t.composedPath().every((function(t){return t!==e.element}));if(i){this.checkboxesVisible=false}};t.prototype.componentWillLoad=function(){l(this);this.isCaptionVisible=!!this.caption;v(this.element,"tooltip","duet-tooltip",1,true);this.refresh()};t.prototype.connectedCallback=function(){p(this)};t.prototype.disconnectedCallback=function(){g(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.multiselectElement){this.multiselectElement.focus(t)}return[2]}))}))};t.prototype.selectWithValues=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.processedItems.filter((function(e){return t.includes(e.value)}));this.value=Array.from(new Set(__spreadArray(__spreadArray([],this.value,true),e,true)));return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=x(this.items);this.processedItems=[];this.processedGroups=[];if(!t||t.length===0){return[2]}if(t[0].items!==undefined){this.processedGroups=t}else{this.processedGroups=[{label:"",items:t}]}this.processedGroups.forEach((function(t){return t.items.forEach((function(t){return e.processedItems.push(t)}))}));return[2]}))}))};t.prototype.render=function(){var t=this;var e;return o(r,{key:"b8cb97bc0d21e85be3db01ef83438fcf7b4b5923",class:{"duet-m-0":this.margin==="none","duet-expand":this.expand}},o("div",{key:"d93b323c2643eac8e8c20914bbf67fe08d7bb117",class:{"duet-multiselect-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva","duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:function(e){return t.onMultiselectKeyDown(e)}},o("duet-label",{key:"943b19c37d249d61065e1a61efb7641a2abf3f38",theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:this.identifier},this.label),this.tooltip&&o("duet-tooltip",{key:"c6cd56b231fdbe547f7ca92aea632eefa550f748",class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{key:"1141d203347bf35375928fa88e20cf47ba9c7140",name:"tooltip"}),this.caption&&o("duet-caption",{key:"e1634b690e6ac67235b4720571d0ea596ba7e414",id:this.topCaptionId,size:"medium"},this.caption),o("div",{key:"b2d231bd277ea192e338aa42274665642bef854e",class:"duet-multiselect-wrapper"},o("button",{key:"807718e802825096cbc1cef4597d8cd2f44ffd71",id:this.identifier,ref:function(e){return t.multiselectElement=e},class:{"duet-multiselect":true,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:function(){return t.toggleCheckboxes()},onFocus:function(e){return t.onFocus(e)},onBlur:function(e){return t.onBlur(e)},role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":"".concat(this.identifier,"-checkboxes"),onKeyDown:function(e){return t.onMultiselectInputKeyDown(e)},disabled:this.disabled},o("span",{key:"b33e295a375ecae8c1a0f59af9fa1ac0e3a3a829",role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":"".concat(this.identifier,"-checkboxes"),"aria-label":this.placeholderLabel[this.language],class:"duet-multiselect-label"},this.placeholder),this.value&&this.value.length>0&&o("span",{key:"1f835b434209839e7f47d9c87815987f96a6e30a",class:"duet-multiselect-badge"},this.value.length,o("duet-visually-hidden",{key:"45b265df57cdc72a40695cd01fcf78c47dd5ddb1"},this.selectedLangObject[this.language],", ",this.value.map((function(t){return t.label})).join(", "))),o("svg",{key:"dd061d5dda63d16eb39f113f78cd0c5b6b3e0158",class:{"duet-multiselect-icon":true,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"759232c06c78ac2c73bddc2afad5f4fce57f6667",d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))),o("div",{key:"7a4d4b2de7f4baac9066570471fdae9fa2bead13",id:"".concat(this.identifier,"-checkboxes"),role:"listbox",class:{"duet-multiselect-checkboxes":true,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},((e=this.processedItems)===null||e===void 0?void 0:e.length)&&this.allControls&&o("div",{key:"69a2110105193b7a9b82c75ed856e6d8a9e8913e",class:"duet-multiselect-all-control-buttons"},o("button",{key:"ce760b620c954a99a9fe0fa65957d8601ad066c5",class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:function(e){return t.onCheckboxKeyDown(e,-2)}},this.selectAllLabel[this.language]),o("button",{key:"3901f1df01f58804fd5d76a83198b514fd0afdf9",class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:function(e){return t.onCheckboxKeyDown(e,-1)}},this.clearAllLabel[this.language])),this.processedItems&&this.processedGroups.map((function(e){return o("fieldset",null,e.label&&o("legend",null,e.label),e.items.map((function(e,i){var r,s;return o("duet-checkbox",{identifier:t.getOptionIdentifier(i),role:"option",label:e.label,value:e.value,key:e.value,checked:(r=t.value)===null||r===void 0?void 0:r.includes(e),"accessible-selected":((s=t.value)===null||s===void 0?void 0:s.includes(e))?"true":undefined,disabled:!t.checkboxesVisible||e.disabled,onDuetChange:function(i){return t.toggleCheckbox(i,e)},onKeyDown:function(e){return t.onCheckboxKeyDown(e,i)},theme:t.theme})})))})))),o("span",{key:"cb7b91a522d2bf121f1f140298aea0c00920c24d",class:"duet-multiselect-help duet-multiselect-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&o("span",{key:"6070367e449abc5319b659fb95abb83fa0ee06e9"},this.error))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{items:["refresh"]}},enumerable:false,configurable:true});return t}());S.style=k}}}));
4
+ */System.register(["./p-8fb46b02.system.js","./p-57941503.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-db398834.system.js","./p-f033bc52.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,i,o,r,s,l,a,n,u,c,d,h,m,b,f,p,g,v,x;return{setters:[function(t){e=t.r;i=t.c;o=t.h;r=t.H;s=t.g},function(t){l=t.i},function(t){a=t.c},function(t){n=t.f;u=t.o;c=t.j;d=t.d;h=t.b;m=t.a;b=t.c},function(t){f=t.a;p=t.c;g=t.d},function(t){v=t.c},function(t){x=t.p}],execute:function(){var y='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{border-color:rgb(127, 150, 165);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(143, 147, 158);box-shadow:0 0 0 1px #747475}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(8, 42, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);background:#d9ebf4;border-radius:20rem}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{border-color:rgb(214, 28, 82) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-multiselect{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.duet-multiselect svg{width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(212, 223, 229)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(8, 42, 77)}.duet-multiselect-checkboxes fieldset{margin-top:8px;margin-bottom:12px}.duet-multiselect-checkboxes fieldset+fieldset{margin-top:28px}.duet-multiselect-checkboxes legend{margin-bottom:12px;font-size:1rem;font-weight:600}.duet-multiselect-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect:focus,:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect[disabled]{color:#172a3b !important;background:#f5f6f7 !important;border-color:#f5f6f7 !important;-webkit-text-fill-color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect svg{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect .duet-multiselect-badge{color:#172a3b;background:#e8eaeb}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes{border-color:#d4dde2}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:#172a3b}';var k=y;function w(t,e){return t.includes(e)?t.filter((function(t){return t!==e})):__spreadArray(__spreadArray([],t,true),[e],false)}var S=t("duet_multiselect",function(){function t(t){var o=this;e(this,t);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.errorId=a("DuetError");this.labelId=a("DuetLabel");this.topCaptionId=a("DuetCaptionTop");this.selectedLangObject={en:"selected",fi:"valittu",sv:"vald"};this.selectAllLabel={en:"Select all",fi:"Valitse kaikki",sv:"Välj alla"};this.clearAllLabel={en:"Clear all",fi:"Tyhjennä kaikki",sv:"Rensa alla"};this.placeholderLabel={en:"Hint",fi:"Vihje",sv:"Tips"};this.onChange=function(t){o.duetChange.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onBlur=function(t){o.duetBlur.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onFocus=function(t){o.duetFocus.emit({originalEvent:t,value:o.value,component:"duet-multiselect"})};this.onMultiselectKeyDown=function(t){if(n(t)||u(t)){if(o.checkboxesVisible){o.checkboxesVisible=false;o.multiselectElement.focus();t.preventDefault()}}};this.onMultiselectInputKeyDown=function(t){if(c(t)){t.preventDefault();o.toggleCheckboxes();setTimeout((function(){if(o.checkboxesVisible){var t=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(o.allControls?-2:0)));if(t){t.focus()}}}),200)}};this.onCheckboxKeyDown=function(t,e){var i;if(d(t)||h(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e-1)))}else if(m(t)||b(t)){i=o.element.shadowRoot.querySelector("#".concat(o.getOptionIdentifier(e+1)))}if(i){i.focus();t.preventDefault();o.activeDescendant=i.id}};this.toggleCheckboxes=function(){o.checkboxesVisible=!o.checkboxesVisible};this.toggleCheckbox=function(t,e){o.value=w(o.value,e);o.onChange(t)};this.handleSelectAllClick=function(t){o.value=o.processedItems;o.onChange(t)};this.handleClearAllClick=function(t){o.value=[];o.onChange(t)};this.getOptionIdentifier=function(t){return"".concat(o.identifier,"-option-").concat(t)};this.getDescribedBy=function(){var t=[];if(o.isCaptionVisible&&o.topCaptionId){t.push(o.topCaptionId)}if(o.accessibleDescribedBy){t.push(o.accessibleDescribedBy)}if(o.error){t.push(o.errorId)}return t.length>0?t.join(" "):null};this.processedItems=[];this.processedGroups=[];this.checkboxesVisible=false;this.activeDescendant="";this.language=f();this.margin="auto";this.error="";this.accessibleLiveError="polite";this.expand=false;this.value=[];this.theme="";this.labelHidden=false;this.identifier=a("DuetMultiselect");this.allControls=false;this.placeholder="";this.caption=undefined;this.items=undefined;this.disabled=false;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.accessibleDescribedBy=undefined;this.tooltip="";this.tooltipDirection="auto"}t.prototype.handleFocus=function(t){var e=this;var i=t.composedPath().every((function(t){return t!==e.element}));if(i){this.checkboxesVisible=false}};t.prototype.componentWillLoad=function(){l(this);this.isCaptionVisible=!!this.caption;v(this.element,"tooltip","duet-tooltip",1,true);this.refresh()};t.prototype.connectedCallback=function(){p(this)};t.prototype.disconnectedCallback=function(){g(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.multiselectElement){this.multiselectElement.focus(t)}return[2]}))}))};t.prototype.selectWithValues=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){e=this.processedItems.filter((function(e){return t.includes(e.value)}));this.value=Array.from(new Set(__spreadArray(__spreadArray([],this.value,true),e,true)));return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=x(this.items);this.processedItems=[];this.processedGroups=[];if(!t||t.length===0){return[2]}if(t[0].items!==undefined){this.processedGroups=t}else{this.processedGroups=[{label:"",items:t}]}this.processedGroups.forEach((function(t){return t.items.forEach((function(t){return e.processedItems.push(t)}))}));return[2]}))}))};t.prototype.render=function(){var t=this;var e;return o(r,{key:"b8cb97bc0d21e85be3db01ef83438fcf7b4b5923",class:{"duet-m-0":this.margin==="none","duet-expand":this.expand}},o("div",{key:"d93b323c2643eac8e8c20914bbf67fe08d7bb117",class:{"duet-multiselect-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva","duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:function(e){return t.onMultiselectKeyDown(e)}},o("duet-label",{key:"943b19c37d249d61065e1a61efb7641a2abf3f38",theme:this.theme==="turva"?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:this.identifier},this.label),this.tooltip&&o("duet-tooltip",{key:"c6cd56b231fdbe547f7ca92aea632eefa550f748",class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("slot",{key:"1141d203347bf35375928fa88e20cf47ba9c7140",name:"tooltip"}),this.caption&&o("duet-caption",{key:"e1634b690e6ac67235b4720571d0ea596ba7e414",id:this.topCaptionId,size:"medium"},this.caption),o("div",{key:"b2d231bd277ea192e338aa42274665642bef854e",class:"duet-multiselect-wrapper"},o("button",{key:"807718e802825096cbc1cef4597d8cd2f44ffd71",id:this.identifier,ref:function(e){return t.multiselectElement=e},class:{"duet-multiselect":true,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:function(){return t.toggleCheckboxes()},onFocus:function(e){return t.onFocus(e)},onBlur:function(e){return t.onBlur(e)},role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":"".concat(this.identifier,"-checkboxes"),onKeyDown:function(e){return t.onMultiselectInputKeyDown(e)},disabled:this.disabled},o("span",{key:"b33e295a375ecae8c1a0f59af9fa1ac0e3a3a829",role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":"".concat(this.identifier,"-checkboxes"),"aria-label":this.placeholderLabel[this.language],class:"duet-multiselect-label"},this.placeholder),this.value&&this.value.length>0&&o("span",{key:"1f835b434209839e7f47d9c87815987f96a6e30a",class:"duet-multiselect-badge"},this.value.length,o("duet-visually-hidden",{key:"45b265df57cdc72a40695cd01fcf78c47dd5ddb1"},this.selectedLangObject[this.language],", ",this.value.map((function(t){return t.label})).join(", "))),o("svg",{key:"dd061d5dda63d16eb39f113f78cd0c5b6b3e0158",class:{"duet-multiselect-icon":true,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"759232c06c78ac2c73bddc2afad5f4fce57f6667",d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))),o("div",{key:"7a4d4b2de7f4baac9066570471fdae9fa2bead13",id:"".concat(this.identifier,"-checkboxes"),role:"listbox",class:{"duet-multiselect-checkboxes":true,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},((e=this.processedItems)===null||e===void 0?void 0:e.length)&&this.allControls&&o("div",{key:"69a2110105193b7a9b82c75ed856e6d8a9e8913e",class:"duet-multiselect-all-control-buttons"},o("button",{key:"ce760b620c954a99a9fe0fa65957d8601ad066c5",class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:function(e){return t.onCheckboxKeyDown(e,-2)}},this.selectAllLabel[this.language]),o("button",{key:"3901f1df01f58804fd5d76a83198b514fd0afdf9",class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:function(e){return t.onCheckboxKeyDown(e,-1)}},this.clearAllLabel[this.language])),this.processedItems&&this.processedGroups.map((function(e){return o("fieldset",null,e.label&&o("legend",null,e.label),e.items.map((function(e,i){var r,s;return o("duet-checkbox",{identifier:t.getOptionIdentifier(i),role:"option",label:e.label,value:e.value,key:e.value,checked:(r=t.value)===null||r===void 0?void 0:r.includes(e),"accessible-selected":((s=t.value)===null||s===void 0?void 0:s.includes(e))?"true":undefined,disabled:!t.checkboxesVisible||e.disabled,onDuetChange:function(i){return t.toggleCheckbox(i,e)},onKeyDown:function(e){return t.onCheckboxKeyDown(e,i)},theme:t.theme})})))})))),o("span",{key:"cb7b91a522d2bf121f1f140298aea0c00920c24d",class:"duet-multiselect-help duet-multiselect-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&o("span",{key:"6070367e449abc5319b659fb95abb83fa0ee06e9"},this.error))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{items:["refresh"]}},enumerable:false,configurable:true});return t}());S.style=k}}}));
@@ -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 a,g as s}from"./p-682a0ad1.js";const r=class{constructor(t){e(this,t),this.value=0,this.color=void 0}render(){return t(a,{key:"a534a2301783cbc13c21ddb49139b2d3a8e11624"},t("div",{key:"0ebe764e832f7c717d589971936e666873f49651",hidden:!0},t("slot",{key:"8ac2ae8ae9da5d60cb860192e34906cbec2185ff"})))}get element(){return s(this)}};export{r as duet_share_chart_item}
4
+ import{r as e,h as t,H as s,g as a}from"./p-63045d0e.js";const r=class{constructor(t){e(this,t),this.value=0,this.color=void 0}render(){return t(s,{key:"a534a2301783cbc13c21ddb49139b2d3a8e11624"},t("div",{key:"0ebe764e832f7c717d589971936e666873f49651",hidden:!0},t("slot",{key:"8ac2ae8ae9da5d60cb860192e34906cbec2185ff"})))}get element(){return a(this)}};export{r as duet_share_chart_item}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-a3ea8aa0.system.js","./p-a142a88f.system.js","./p-98636086.system.js"],(function(e){"use strict";var n,t,r,a,i;return{setters:[function(e){n=e.r;t=e.h;r=e.H;a=e.g},function(e){i=e.g},function(){}],execute:function(){var o="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative}.duet-indicator{position:absolute;top:0;right:0;display:inline-block;width:8px;height:8px;border-radius:50%}.duet-indicator-new{background:rgb(0, 119, 179)}.duet-indicator-change{background:rgb(247, 178, 40)}.duet-indicator-error{background:rgb(185, 16, 74)}.duet-indicator-success{background:rgb(29, 106, 88)}";var s=o;var c=e("duet_indicator",function(){function e(e){var t=this;n(this,e);this.defaultLabels={new:{fi:"Uutta sisältöä",en:"New content",sv:"Nyt innehålle"},change:{fi:"Muuttunutta sisältöä",en:"Changed content",sv:"Ändrat innehålle"},error:{fi:"Sisältää virheen",en:"Contains error",sv:"Innehåller ett fel"},success:{fi:"Onnistunut toiminto",en:"Completed successfully",sv:"Lyckad åtgärd"}};this.getAccessibleLabel=function(){return t.accessibleLabel||i(t.defaultLabels[t.variation])};this.variation="change";this.accessibleLabel=undefined}e.prototype.render=function(){var e;return t(r,{key:"068dfb1142e610afba3d6a0bb44cc50d5af2e0be"},t("span",{key:"95dda3401969956579bb40c3de9a33be2390f7b8",class:(e={"duet-indicator":true},e["duet-indicator-".concat(this.variation)]=true,e)}),t("duet-visually-hidden",{key:"1e6483d4032eb771fc01507692a92bcc962f346a"},this.getAccessibleLabel()))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());c.style=s}}}));
4
+ System.register(["./p-8fb46b02.system.js","./p-db398834.system.js","./p-98636086.system.js"],(function(e){"use strict";var n,t,r,i,a;return{setters:[function(e){n=e.r;t=e.h;r=e.H;i=e.g},function(e){a=e.g},function(){}],execute:function(){var o="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative}.duet-indicator{position:absolute;top:0;right:0;display:inline-block;width:8px;height:8px;border-radius:50%}.duet-indicator-new{background:rgb(0, 119, 179)}.duet-indicator-change{background:rgb(247, 178, 40)}.duet-indicator-error{background:rgb(185, 16, 74)}.duet-indicator-success{background:rgb(29, 106, 88)}";var s=o;var c=e("duet_indicator",function(){function e(e){var t=this;n(this,e);this.defaultLabels={new:{fi:"Uutta sisältöä",en:"New content",sv:"Nyt innehålle"},change:{fi:"Muuttunutta sisältöä",en:"Changed content",sv:"Ändrat innehålle"},error:{fi:"Sisältää virheen",en:"Contains error",sv:"Innehåller ett fel"},success:{fi:"Onnistunut toiminto",en:"Completed successfully",sv:"Lyckad åtgärd"}};this.getAccessibleLabel=function(){return t.accessibleLabel||a(t.defaultLabels[t.variation])};this.variation="change";this.accessibleLabel=undefined}e.prototype.render=function(){var e;return t(r,{key:"068dfb1142e610afba3d6a0bb44cc50d5af2e0be"},t("span",{key:"95dda3401969956579bb40c3de9a33be2390f7b8",class:(e={"duet-indicator":true},e["duet-indicator-".concat(this.variation)]=true,e)}),t("duet-visually-hidden",{key:"1e6483d4032eb771fc01507692a92bcc962f346a"},this.getAccessibleLabel()))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());c.style=s}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import"./p-63045d0e.js";const e=(e,s)=>Array.from(e.querySelectorAll(":scope > *")).filter((e=>e.matches(`[slot='${s}']`))),s=e=>Array.from(e.querySelectorAll(":scope > *")).filter((e=>!e.getAttribute("slot"))),n=(n,o)=>o?e(n,o).length>0:s(n).length>0,o=(s,n,o,t=0,$=!1)=>{const r=$?"error":"warn",a=[],l=e(s,n),c=l.filter((e=>!!e.matches(o)||(a.push(`Only elements matcing selector "${o}" may be used in slot ${n}, found:\n${e.outerHTML}`),!$||(e.remove(),!1))));t&&c.length>t&&(a.push(`Only ${t} element${t>1?"s":""} may be used in slot ${n}, found ${l.length}.`),$&&c.slice(t).forEach((e=>e.remove()))),a.length>0&&console[r](`Duet ${r} in ${s.tagName.toLowerCase()}:\n${a.join("\n")}${$?`\nElement${a.length>1?"s":""} removed.`:""}`)};export{s as a,o as c,e as g,n as h}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as o,g as t}from"./p-682a0ad1.js";import{i as r}from"./p-3f59cd08.js";import{h as d,c as i}from"./p-f587ebfc.js";import{g as s,p as n}from"./p-e63f5ff5.js";import"./p-17efced0.js";const c=class{constructor(a){e(this,a),this.theme="",this.margin="auto",this.backgroundColor="",this.textColor="secondary",this.image="",this.headingLevel="h3",this.url=void 0}componentWillLoad(){r(this),this.hasPreHeadingSlot=d(this.element,"pre-heading"),this.hasHeadingSlot=d(this.element,"heading"),this.hasDescriptionSlot=d(this.element,"description"),this.hasActionSlot=d(this.element,"action"),i(this.element,"heading","span"),i(this.element,"description","span")}async setFocus(e){this.url&&this.aOrDivElement&&this.aOrDivElement.focus(e)}render(){const e=s(this.backgroundColor,this.theme);return a(o,{key:"8f689b5d1894c5e0662f73aea0aed2b93d693d72",class:{"duet-m-0":"none"===this.margin}},a("aside",{key:"0eddae7614061bf37233ab26b7c5ce7960961cc6",class:{"duet-promo-card":!0,"duet-theme-turva":"turva"===this.theme,"no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:{backgroundColor:e||"none"}},a(this.url?"a":"div",{key:"6c2f3bc4656a8fdace5aa5c9d871dafe76f36484",href:this.url,class:"content-wrapper",ref:e=>this.aOrDivElement=e},a("img",{key:"5b937c96ac8b623cbeb5e6c280dba1e19744d67c",class:"image",src:this.image,alt:"",role:"presentation"}),a("div",{key:"7dddf830e713a82cfed044e9846cfbaaed422d76",class:"content"},this.hasPreHeadingSlot&&a("div",{key:"8aa7b7e2c6781e15d2a4a6bdbba72fbd1135384f",class:"pre-heading"},a("slot",{key:"cb0fa806c7517362d4da2ab9870de84dfcbc8c16",name:"pre-heading"})),this.hasHeadingSlot&&a("div",{key:"a6a86cd4c7d75b2c0649d416bf286c04e4e28dbf",class:"heading"},a("duet-heading",{key:"eac343c0aa5b97e8d708be8f60893caa961cda4d",theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:n(this.textColor,this.theme)},a("span",{key:"0b25be163809e467df3efe5c4803ba29cb548297"},a("slot",{key:"7a054f1b24cd8d813da34c62911c6b22bfd52613",name:"heading"})))),this.hasDescriptionSlot&&a("div",{key:"ae147d63613bfb30bcd55188741a88817a6268b9",class:"description"},a("duet-paragraph",{key:"fcdd8b0f8c9863ee1fde670de8689464b093aa48",theme:this.theme,margin:"none",color:n(this.textColor,this.theme)},a("span",{key:"cae433f1bc9c9483bec0e92076e2b137ed489001"},a("slot",{key:"8b26833d0c320e0df13b6f47170914c604e6a0a1",name:"description"})))),this.hasActionSlot&&a("div",{key:"718dbe99fd6852116a62a6fdda6b23059fe2911d",class:"action"},a("slot",{key:"2524edf69cde6300e52045a9069637465658623f",name:"action"}))))))}get element(){return t(this)}};c.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(8, 42, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}';export{c as duet_promo_card}
4
+ import{r as e,h as a,H as o,g as t}from"./p-63045d0e.js";import{i as r}from"./p-08f35dcb.js";import{h as d,c as i}from"./p-36a29933.js";import{g as s,p as n}from"./p-80bf7a6d.js";import"./p-17efced0.js";const c=class{constructor(a){e(this,a),this.theme="",this.margin="auto",this.backgroundColor="",this.textColor="secondary",this.image="",this.headingLevel="h3",this.url=void 0}componentWillLoad(){r(this),this.hasPreHeadingSlot=d(this.element,"pre-heading"),this.hasHeadingSlot=d(this.element,"heading"),this.hasDescriptionSlot=d(this.element,"description"),this.hasActionSlot=d(this.element,"action"),i(this.element,"heading","span"),i(this.element,"description","span")}async setFocus(e){this.url&&this.aOrDivElement&&this.aOrDivElement.focus(e)}render(){const e=s(this.backgroundColor,this.theme);return a(o,{key:"8f689b5d1894c5e0662f73aea0aed2b93d693d72",class:{"duet-m-0":"none"===this.margin}},a("aside",{key:"0eddae7614061bf37233ab26b7c5ce7960961cc6",class:{"duet-promo-card":!0,"duet-theme-turva":"turva"===this.theme,"no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:{backgroundColor:e||"none"}},a(this.url?"a":"div",{key:"6c2f3bc4656a8fdace5aa5c9d871dafe76f36484",href:this.url,class:"content-wrapper",ref:e=>this.aOrDivElement=e},a("img",{key:"5b937c96ac8b623cbeb5e6c280dba1e19744d67c",class:"image",src:this.image,alt:"",role:"presentation"}),a("div",{key:"7dddf830e713a82cfed044e9846cfbaaed422d76",class:"content"},this.hasPreHeadingSlot&&a("div",{key:"8aa7b7e2c6781e15d2a4a6bdbba72fbd1135384f",class:"pre-heading"},a("slot",{key:"cb0fa806c7517362d4da2ab9870de84dfcbc8c16",name:"pre-heading"})),this.hasHeadingSlot&&a("div",{key:"a6a86cd4c7d75b2c0649d416bf286c04e4e28dbf",class:"heading"},a("duet-heading",{key:"eac343c0aa5b97e8d708be8f60893caa961cda4d",theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:n(this.textColor,this.theme)},a("span",{key:"0b25be163809e467df3efe5c4803ba29cb548297"},a("slot",{key:"7a054f1b24cd8d813da34c62911c6b22bfd52613",name:"heading"})))),this.hasDescriptionSlot&&a("div",{key:"ae147d63613bfb30bcd55188741a88817a6268b9",class:"description"},a("duet-paragraph",{key:"fcdd8b0f8c9863ee1fde670de8689464b093aa48",theme:this.theme,margin:"none",color:n(this.textColor,this.theme)},a("span",{key:"cae433f1bc9c9483bec0e92076e2b137ed489001"},a("slot",{key:"8b26833d0c320e0df13b6f47170914c604e6a0a1",name:"description"})))),this.hasActionSlot&&a("div",{key:"718dbe99fd6852116a62a6fdda6b23059fe2911d",class:"action"},a("slot",{key:"2524edf69cde6300e52045a9069637465658623f",name:"action"}))))))}get element(){return t(this)}};c.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(8, 42, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}';export{c as duet_promo_card}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as a,c as e,h as d,F as t,H as i,g as r}from"./p-682a0ad1.js";import{i as n}from"./p-3f59cd08.js";import{c as o}from"./p-5e59e970.js";import{i as p,s as m,u as s}from"./p-a45e3f8b.js";import{g as x}from"./p-f587ebfc.js";import{s as c}from"./p-9c3c64b9.js";import{g as h}from"./p-e63f5ff5.js";import"./p-17efced0.js";const g=["h1","h2","h3","h4","h5","h6"],l="div";const u=class{constructor(d){a(this,d),this.duetToggle=e(this,"duetToggle",7),this.cardId=o("DuetCard"),this.togglePanel=a=>{a.preventDefault(),this.open=!this.open,this.duetToggle.emit({component:"duet-card",originalEvent:a})},this.handleKeyDown=a=>{p(a)&&this.togglePanel(a)},this.accessibleLabel=void 0,this.heading="",this.secondaryHeading="",this.variation="default",this.collapsible=!1,this.open=!0,this.headingLevel="h2",this.headingBackground=void 0,this.icon=void 0,this.iconColor="currentColor",this.image=void 0,this.background="gray-lightest",this.padding="small",this.margin="auto",this.theme="",this.url=void 0,this.shadowBreakpoint=void 0}componentWillLoad(){n(this),this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']"),this.hasFooter=!!this.element.querySelector("[slot='footer']")}connectedCallback(){m(this)}disconnectedCallback(){s(this)}renderHeading(){var a;const e=c(this.headingLevel),i=[...g,l].some((a=>a===e))?e:"h2",r={backgroundColor:h(this.headingBackground)},n=d(t,null,d("div",{class:"duet-card-heading-grid"},this.icon&&d(t,null,d("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:this.iconColor}),d("duet-spacer",{direction:"horizontal",size:"small"})),d("div",{class:"duet-card-heading-text"},this.heading?this.heading:d("slot",{name:"heading"})),this.secondaryHeading&&d(t,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&d(t,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("duet-icon",{class:"duet-card-caret",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>',size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),d("slot",{name:"below-heading"}));if(this.collapsible){const e=null===(a=x(this.element,"heading"))||void 0===a?void 0:a.map((a=>a.textContent)).join(" ");return d(i,{style:r,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},d("button",{type:"button","aria-controls":this.cardId,"aria-expanded":this.open?"true":"false","aria-label":e},n))}return d(i,{style:r,class:"duet-card-heading"},n)}async setFocus(a){this.nativeCard&&this.nativeCard.focus(a)}render(){const a=this.url?"a":"div",e={backgroundColor:h(this.background)};return d(i,{key:"b229fd28e5e5058ba357db373f25c9de68dc2694",class:{"duet-m-0":"none"===this.margin,"duet-card-info":"info"===this.variation}},d(a,{key:"b80082cae6d0e4d564bc1eca68f57749b6975e0e",href:this.url,style:e,ref:a=>this.nativeCard=a,"aria-label":this.accessibleLabel,class:{"duet-card":!0,[this.padding]:!0,[this.variation]:!0,[`shadow-${this.shadowBreakpoint}`]:!!this.shadowBreakpoint,"duet-p-0":"none"===this.padding,"duet-theme-turva":"turva"===this.theme,"duet-card-has-bg":"gray-lightest"!==this.background,"duet-card-has-icon":!!this.icon,"duet-card-collapsed":this.collapsible&&!this.open}},this.image&&d("div",{key:"c4c9c8772d432e52fb78f2bf0a457d4a026d6b3a",class:"duet-card-image-mask"},d("img",{key:"828ed65b312a0e50257adfa39f25307b13e7d51a",src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),d("div",{key:"081d59770bc88f9b7bd2a9b25d0bf905ea0d141b",class:"duet-card-content",id:this.cardId},d("slot",{key:"ad92895c2eea7a7697bd4924165656e72ee9b1da"}),this.hasFooter&&d("div",{key:"9a920473b4242e87a36032511f982b3e890df463",class:"duet-card-footer"},d("slot",{key:"41350a63089d579579bca4454a1fcbc27a60b445",name:"footer"})))))}get element(){return r(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-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}:host{--duet-card-border-radius:12px}@media (min-width: 36em){:host{--duet-card-border-radius:16px}}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:var(--duet-card-border-radius);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-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-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";color:rgb(23, 28, 58);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)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:var(--duet-card-border-radius);box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(222, 224, 228)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva.info{background:#fdf7f2 !important}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-heading{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer{background:#fbe1d1}';export{u as duet_card}
4
+ import{r as a,c as e,h as d,F as t,H as i,g as r}from"./p-63045d0e.js";import{i as n}from"./p-08f35dcb.js";import{c as o}from"./p-5e59e970.js";import{i as p,s as m,u as s}from"./p-a45e3f8b.js";import{g as x}from"./p-36a29933.js";import{s as c}from"./p-9c3c64b9.js";import{g as h}from"./p-80bf7a6d.js";import"./p-17efced0.js";const g=["h1","h2","h3","h4","h5","h6"],l="div";const u=class{constructor(d){a(this,d),this.duetToggle=e(this,"duetToggle",7),this.cardId=o("DuetCard"),this.togglePanel=a=>{a.preventDefault(),this.open=!this.open,this.duetToggle.emit({component:"duet-card",originalEvent:a})},this.handleKeyDown=a=>{p(a)&&this.togglePanel(a)},this.accessibleLabel=void 0,this.heading="",this.secondaryHeading="",this.variation="default",this.collapsible=!1,this.open=!0,this.headingLevel="h2",this.headingBackground=void 0,this.icon=void 0,this.iconColor="currentColor",this.image=void 0,this.background="gray-lightest",this.padding="small",this.margin="auto",this.theme="",this.url=void 0,this.shadowBreakpoint=void 0}componentWillLoad(){n(this),this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']"),this.hasFooter=!!this.element.querySelector("[slot='footer']")}connectedCallback(){m(this)}disconnectedCallback(){s(this)}renderHeading(){var a;const e=c(this.headingLevel),i=[...g,l].some((a=>a===e))?e:"h2",r={backgroundColor:h(this.headingBackground)},n=d(t,null,d("div",{class:"duet-card-heading-grid"},this.icon&&d(t,null,d("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:this.iconColor}),d("duet-spacer",{direction:"horizontal",size:"small"})),d("div",{class:"duet-card-heading-text"},this.heading?this.heading:d("slot",{name:"heading"})),this.secondaryHeading&&d(t,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&d(t,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("duet-icon",{class:"duet-card-caret",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>',size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),d("slot",{name:"below-heading"}));if(this.collapsible){const e=null===(a=x(this.element,"heading"))||void 0===a?void 0:a.map((a=>a.textContent)).join(" ");return d(i,{style:r,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},d("button",{type:"button","aria-controls":this.cardId,"aria-expanded":this.open?"true":"false","aria-label":e},n))}return d(i,{style:r,class:"duet-card-heading"},n)}async setFocus(a){this.nativeCard&&this.nativeCard.focus(a)}render(){const a=this.url?"a":"div",e={backgroundColor:h(this.background)};return d(i,{key:"b229fd28e5e5058ba357db373f25c9de68dc2694",class:{"duet-m-0":"none"===this.margin,"duet-card-info":"info"===this.variation}},d(a,{key:"b80082cae6d0e4d564bc1eca68f57749b6975e0e",href:this.url,style:e,ref:a=>this.nativeCard=a,"aria-label":this.accessibleLabel,class:{"duet-card":!0,[this.padding]:!0,[this.variation]:!0,[`shadow-${this.shadowBreakpoint}`]:!!this.shadowBreakpoint,"duet-p-0":"none"===this.padding,"duet-theme-turva":"turva"===this.theme,"duet-card-has-bg":"gray-lightest"!==this.background,"duet-card-has-icon":!!this.icon,"duet-card-collapsed":this.collapsible&&!this.open}},this.image&&d("div",{key:"c4c9c8772d432e52fb78f2bf0a457d4a026d6b3a",class:"duet-card-image-mask"},d("img",{key:"828ed65b312a0e50257adfa39f25307b13e7d51a",src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),d("div",{key:"081d59770bc88f9b7bd2a9b25d0bf905ea0d141b",class:"duet-card-content",id:this.cardId},d("slot",{key:"ad92895c2eea7a7697bd4924165656e72ee9b1da"}),this.hasFooter&&d("div",{key:"9a920473b4242e87a36032511f982b3e890df463",class:"duet-card-footer"},d("slot",{key:"41350a63089d579579bca4454a1fcbc27a60b445",name:"footer"})))))}get element(){return r(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-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}:host{--duet-card-border-radius:12px}@media (min-width: 36em){:host{--duet-card-border-radius:16px}}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:var(--duet-card-border-radius);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-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-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";color:rgb(23, 28, 58);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)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:var(--duet-card-border-radius);box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(222, 224, 228)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva.info{background:#fdf7f2 !important}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-heading{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer{background:#fbe1d1}';export{u as duet_card}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-a3ea8aa0.system.js","./p-f50d1845.system.js","./p-a142a88f.system.js","./p-3ad777ed.system.js","./p-59777da7.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(e){"use strict";var t,a,r,s,i,n,o,c;return{setters:[function(e){t=e.r;a=e.h;r=e.H;s=e.g},function(e){i=e.i},function(e){n=e.f},function(e){o=e.a},function(e){c=e.g},function(){},function(){}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.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-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:#172a3b}';var u=h;var d=e("duet_share_chart",function(){function e(e){t(this,e);this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"];this.items=undefined;this.theme="";this.unit="%"}e.prototype.componentWillLoad=function(){i(this)};e.prototype.connectedCallback=function(){{this.childObserver=new MutationObserver(this.updateChartItems.bind(this));this.childObserver.observe(this.element,{childList:true,subtree:true,attributes:true,characterData:true})}this.updateChartItems()};e.prototype.disconnectedCallback=function(){if(this.childObserver){this.childObserver.disconnect();this.childObserver=undefined}};e.prototype.updateChartItems=function(){var e=this;var t=o(this.element).filter((function(e){return e.tagName.toLocaleLowerCase()==="duet-share-chart-item"}));this.items=t.map((function(t,a){return{text:t.textContent,value:t.value,color:t.color||e.defaultColors[a%e.defaultColors.length]}}));this.itemsTotalValue=this.items.reduce((function(e,t){var a=t.value;return e+a}),0)};e.prototype.render=function(){var e=this;return a(r,{key:"70e0558ae1aa0042d3488c4610edf2ae7f0ce700"},a("div",{key:"5bd7c4afeb50bc140af45a753caab394d6e0e296",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.filter((function(e){return!!e.value})).map((function(t){return a("span",{class:"duet-share-chart-share",style:{width:"".concat(t.value/e.itemsTotalValue*100,"%"),backgroundColor:c(t.color,e.theme)}})}))),a("ul",{key:"c5aa993b912a4ed0d6ab461c9c7cc9759ed4e61c",class:"duet-share-chart-item-list"},this.items.map((function(t){return a("li",{class:{"duet-theme-turva":e.theme==="turva"}},a("span",{class:"duet-share-chart-item-color",style:{background:c(t.color,e.theme)}}),a("span",{class:"duet-share-chart-item-text"},t.text,":"),a("span",{class:"duet-share-chart-item-value"}," ",n(t.value)," ",e.unit),e.unit!=="%"&&a("duet-visually-hidden",null,"".concat(n(t.value/e.itemsTotalValue*100,0)," %")))}))),a("slot",{key:"61ede20c0cd58db96135ac036084888a09e2d4ad"}))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());d.style=u}}}));
4
+ System.register(["./p-8fb46b02.system.js","./p-57941503.system.js","./p-db398834.system.js","./p-f033bc52.system.js","./p-13eec75c.system.js","./p-98636086.system.js","./p-64959c1d.system.js"],(function(e){"use strict";var t,r,a,s,i,n,o,c;return{setters:[function(e){t=e.r;r=e.h;a=e.H;s=e.g},function(e){i=e.i},function(e){n=e.f},function(e){o=e.a},function(e){c=e.g},function(){},function(){}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.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-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:#172a3b}';var u=h;var l=e("duet_share_chart",function(){function e(e){t(this,e);this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"];this.items=undefined;this.theme="";this.unit="%"}e.prototype.componentWillLoad=function(){i(this)};e.prototype.connectedCallback=function(){{this.childObserver=new MutationObserver(this.updateChartItems.bind(this));this.childObserver.observe(this.element,{childList:true,subtree:true,attributes:true,characterData:true})}this.updateChartItems()};e.prototype.disconnectedCallback=function(){if(this.childObserver){this.childObserver.disconnect();this.childObserver=undefined}};e.prototype.updateChartItems=function(){var e=this;var t=o(this.element).filter((function(e){return e.tagName.toLocaleLowerCase()==="duet-share-chart-item"}));this.items=t.map((function(t,r){return{text:t.textContent,value:t.value,color:t.color||e.defaultColors[r%e.defaultColors.length]}}));this.itemsTotalValue=this.items.reduce((function(e,t){var r=t.value;return e+r}),0)};e.prototype.render=function(){var e=this;return r(a,{key:"70e0558ae1aa0042d3488c4610edf2ae7f0ce700"},r("div",{key:"5bd7c4afeb50bc140af45a753caab394d6e0e296",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.filter((function(e){return!!e.value})).map((function(t){return r("span",{class:"duet-share-chart-share",style:{width:"".concat(t.value/e.itemsTotalValue*100,"%"),backgroundColor:c(t.color,e.theme)}})}))),r("ul",{key:"c5aa993b912a4ed0d6ab461c9c7cc9759ed4e61c",class:"duet-share-chart-item-list"},this.items.map((function(t){return r("li",{class:{"duet-theme-turva":e.theme==="turva"}},r("span",{class:"duet-share-chart-item-color",style:{background:c(t.color,e.theme)}}),r("span",{class:"duet-share-chart-item-text"},t.text,":"),r("span",{class:"duet-share-chart-item-value"}," ",n(t.value)," ",e.unit),e.unit!=="%"&&r("duet-visually-hidden",null,"".concat(n(t.value/e.itemsTotalValue*100,0)," %")))}))),r("slot",{key:"61ede20c0cd58db96135ac036084888a09e2d4ad"}))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());l.style=u}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,i,e,n){function s(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,o){function r(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n["throw"](t))}catch(t){o(t)}}function u(t){t.done?e(t.value):s(t.value).then(r,a)}u((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,s,o,r;return r={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(t){return function(i){return u([t,i])}}function u(a){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,a[0]&&(e=0)),e)try{if(n=1,s&&(o=a[0]&2?s["return"]:a[0]?s["throw"]||((o=s["return"])&&o.call(s),0):s.next)&&!(o=o.call(s,a[1])).done)return o;if(s=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;s=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){e.label=a[1];break}if(a[0]===6&&e.label<o[1]){e.label=o[1];o=a;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(a);break}if(o[2])e.ops.pop();e.trys.pop();continue}a=i.call(t,e)}catch(t){a=[6,t];s=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-a3ea8aa0.system.js","./p-75fdf144.system.js","./p-0dc9089b.system.js","./p-f50d1845.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-a142a88f.system.js","./p-98636086.system.js"],(function(t){"use strict";var i,e,n,s,o,r,a,u,h,c,f,l,d,p,b,v,m,g;return{setters:[function(t){i=t.r;e=t.h;n=t.H;s=t.g},function(t){o=t.m;r=t.a},function(t){a=t.c;u=t.f;h=t.s;c=t.a;f=t.b},function(t){l=t.i},function(t){d=t.c},function(t){p=t.f},function(t){b=t.a;v=t.g;m=t.c;g=t.d},function(){}],execute:function(){var w="*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";var y=w;var _=t("duet_tooltip",function(){function t(t){var e=this;i(this,t);this.mql=[window.matchMedia(o.replace(/'/g,"")),window.matchMedia(r.replace(/'/g,""))];this.tooltipId=d("DuetTooltip");this.aboutString={fi:"aiheesta",en:"about",sv:"om"};this.openTooltip=function(){e.active=true;setTimeout((function(){e.contentEl.focus({preventScroll:true});e.buttonActive=true}),200)};this.closeTooltip=function(t){if(t===void 0){t=false}e.active=false;if(t){setTimeout((function(){e.buttonEl.setFocus({preventScroll:true})}),200)}setTimeout((function(){e.buttonActive=false}));setTimeout((function(){e.updatePlacement()}),200)};this.toggleOpen=function(){e.active?e.closeTooltip():e.openTooltip()};this.updatePlacement=function(){return __awaiter(e,void 0,void 0,(function(){var t,i,e,n,s;return __generator(this,(function(o){switch(o.label){case 0:e=true;if(this.breakpoint==="large"&&!this.mql[1].matches){e=false}else if(this.breakpoint==="medium"&&!this.mql[0].matches){e=false}n=e?"top-start":"top-end";if(this.direction==="left"){n="top-end"}else if(this.direction==="right"){n="top-start"}if(this.active&&!this.buttonEl.offsetParent){this.active=false}return[4,a(this.buttonEl,this.popupElement,{placement:n,middleware:[u(),h({padding:5}),c({element:this.arrowEl})]})];case 1:s=o.sent();this.tooltipY=s.y;this.tooltipX=s.x;this.placement=s.placement;this.arrowY=(t=s.middlewareData.arrow)===null||t===void 0?void 0:t.y;this.arrowX=(i=s.middlewareData.arrow)===null||i===void 0?void 0:i.x;return[2]}}))}))};this.placement="bottom";this.tooltipY=undefined;this.tooltipX=undefined;this.arrowX=undefined;this.arrowY=undefined;this.buttonActive=undefined;this.theme="";this.language=b();this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"};this.accessibleLabel=v(this.accessibleLabelDefault,this.language);this.accessibleAboutLabel=undefined;this.accessibleInputLabel=undefined;this.accessibleCloseLabelDefault={fi:"Sulje lisätiedot",en:"Close details",sv:"Stäng tilläggsuppgifter"};this.accessibleCloseLabel=v(this.accessibleCloseLabelDefault,this.language);this.label="";this.breakpoint="medium";this.direction="auto";this.positionVertical="0";this.positionHorizontal="0";this.active=false;this.negative=false}t.prototype.componentWillLoad=function(){l(this);this.buttonActive=this.active};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(e){switch(e.label){case 0:t=this;return[4,this.popupElement.getArrowElement()];case 1:t.arrowEl=e.sent();i=this;return[4,this.popupElement.getContentElement()];case 2:i.contentEl=e.sent();this.updatePlacement();if(!this.active)return[3,4];this.openTooltip();return[4,this.handleActiveChange(this.active)];case 3:e.sent();e.label=4;case 4:this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body});this.intersectionObserver.observe(this.element);return[2]}}))}))};t.prototype.connectedCallback=function(){m(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])};t.prototype.disconnectedCallback=function(){g(this)};t.prototype.handleDocumentClick=function(t){var i=this;if(!this.active){return}var e=t.composedPath();var n=e.every((function(t){return t!==i.element&&t!==i.contentEl}));if(n){this.closeTooltip()}};t.prototype.handleKeyDown=function(t){if(this.active&&p(t)){this.closeTooltip(true)}};t.prototype.handlePopupClose=function(){if(this.active){this.closeTooltip(true)}};t.prototype.handleActiveChange=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(t){this.autoUpdateCleanup=f(this.buttonEl,this.popupElement,this.updatePlacement)}else{this.autoUpdateCleanup()}return[2]}))}))};t.prototype.render=function(){var t=this;var i={transform:"translateY(".concat(this.positionVertical,") translateX(").concat(this.positionHorizontal,")"),zIndex:this.active?"201":""};var s={position:"relative",overflow:this.active?"visible":"hidden"};var o={top:"".concat(this.tooltipY,"px"),left:"".concat(this.tooltipX,"px"),display:"block","pointer-events":this.active?"auto":"none"};var r={top:this.arrowY?"".concat(this.arrowY,"px"):undefined,left:this.arrowX?"".concat(this.arrowX,"px"):undefined};return e(n,{style:i},e("duet-tooltip-button",{ref:function(i){return t.buttonEl=i},active:this.buttonActive,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel&&"".concat(this.accessibleInputLabel,", ").concat(this.accessibleLabel)||this.accessibleAboutLabel&&"".concat(this.accessibleLabel," ").concat(this.aboutString[this.language]," ").concat(this.accessibleAboutLabel)||this.accessibleLabel,onClick:this.toggleOpen,theme:this.theme,negative:this.negative}),e("div",{style:s},e("duet-tooltip-popup",{ref:function(i){return t.popupElement=i},active:this.active,tooltipId:this.tooltipId,arrowStyles:r,style:o,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel,theme:this.theme},e("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["handleActiveChange"]}},enumerable:false,configurable:true});return t}());_.style=y}}}));
4
+ */System.register(["./p-8fb46b02.system.js","./p-75fdf144.system.js","./p-0dc9089b.system.js","./p-57941503.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-db398834.system.js","./p-98636086.system.js"],(function(t){"use strict";var i,e,n,s,o,r,a,u,h,c,f,l,d,p,b,v,m,g;return{setters:[function(t){i=t.r;e=t.h;n=t.H;s=t.g},function(t){o=t.m;r=t.a},function(t){a=t.c;u=t.f;h=t.s;c=t.a;f=t.b},function(t){l=t.i},function(t){d=t.c},function(t){p=t.f},function(t){b=t.a;v=t.g;m=t.c;g=t.d},function(){}],execute:function(){var w="*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";var y=w;var _=t("duet_tooltip",function(){function t(t){var e=this;i(this,t);this.mql=[window.matchMedia(o.replace(/'/g,"")),window.matchMedia(r.replace(/'/g,""))];this.tooltipId=d("DuetTooltip");this.aboutString={fi:"aiheesta",en:"about",sv:"om"};this.openTooltip=function(){e.active=true;setTimeout((function(){e.contentEl.focus({preventScroll:true});e.buttonActive=true}),200)};this.closeTooltip=function(t){if(t===void 0){t=false}e.active=false;if(t){setTimeout((function(){e.buttonEl.setFocus({preventScroll:true})}),200)}setTimeout((function(){e.buttonActive=false}));setTimeout((function(){e.updatePlacement()}),200)};this.toggleOpen=function(){e.active?e.closeTooltip():e.openTooltip()};this.updatePlacement=function(){return __awaiter(e,void 0,void 0,(function(){var t,i,e,n,s;return __generator(this,(function(o){switch(o.label){case 0:e=true;if(this.breakpoint==="large"&&!this.mql[1].matches){e=false}else if(this.breakpoint==="medium"&&!this.mql[0].matches){e=false}n=e?"top-start":"top-end";if(this.direction==="left"){n="top-end"}else if(this.direction==="right"){n="top-start"}if(this.active&&!this.buttonEl.offsetParent){this.active=false}return[4,a(this.buttonEl,this.popupElement,{placement:n,middleware:[u(),h({padding:5}),c({element:this.arrowEl})]})];case 1:s=o.sent();this.tooltipY=s.y;this.tooltipX=s.x;this.placement=s.placement;this.arrowY=(t=s.middlewareData.arrow)===null||t===void 0?void 0:t.y;this.arrowX=(i=s.middlewareData.arrow)===null||i===void 0?void 0:i.x;return[2]}}))}))};this.placement="bottom";this.tooltipY=undefined;this.tooltipX=undefined;this.arrowX=undefined;this.arrowY=undefined;this.buttonActive=undefined;this.theme="";this.language=b();this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"};this.accessibleLabel=v(this.accessibleLabelDefault,this.language);this.accessibleAboutLabel=undefined;this.accessibleInputLabel=undefined;this.accessibleCloseLabelDefault={fi:"Sulje lisätiedot",en:"Close details",sv:"Stäng tilläggsuppgifter"};this.accessibleCloseLabel=v(this.accessibleCloseLabelDefault,this.language);this.label="";this.breakpoint="medium";this.direction="auto";this.positionVertical="0";this.positionHorizontal="0";this.active=false;this.negative=false}t.prototype.componentWillLoad=function(){l(this);this.buttonActive=this.active};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(e){switch(e.label){case 0:t=this;return[4,this.popupElement.getArrowElement()];case 1:t.arrowEl=e.sent();i=this;return[4,this.popupElement.getContentElement()];case 2:i.contentEl=e.sent();this.updatePlacement();if(!this.active)return[3,4];this.openTooltip();return[4,this.handleActiveChange(this.active)];case 3:e.sent();e.label=4;case 4:this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body});this.intersectionObserver.observe(this.element);return[2]}}))}))};t.prototype.connectedCallback=function(){m(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])};t.prototype.disconnectedCallback=function(){g(this)};t.prototype.handleDocumentClick=function(t){var i=this;if(!this.active){return}var e=t.composedPath();var n=e.every((function(t){return t!==i.element&&t!==i.contentEl}));if(n){this.closeTooltip()}};t.prototype.handleKeyDown=function(t){if(this.active&&p(t)){this.closeTooltip(true)}};t.prototype.handlePopupClose=function(){if(this.active){this.closeTooltip(true)}};t.prototype.handleActiveChange=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(t){this.autoUpdateCleanup=f(this.buttonEl,this.popupElement,this.updatePlacement)}else{this.autoUpdateCleanup()}return[2]}))}))};t.prototype.render=function(){var t=this;var i={transform:"translateY(".concat(this.positionVertical,") translateX(").concat(this.positionHorizontal,")"),zIndex:this.active?"201":""};var s={position:"relative",overflow:this.active?"visible":"hidden"};var o={top:"".concat(this.tooltipY,"px"),left:"".concat(this.tooltipX,"px"),display:"block","pointer-events":this.active?"auto":"none"};var r={top:this.arrowY?"".concat(this.arrowY,"px"):undefined,left:this.arrowX?"".concat(this.arrowX,"px"):undefined};return e(n,{style:i},e("duet-tooltip-button",{ref:function(i){return t.buttonEl=i},active:this.buttonActive,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel&&"".concat(this.accessibleInputLabel,", ").concat(this.accessibleLabel)||this.accessibleAboutLabel&&"".concat(this.accessibleLabel," ").concat(this.aboutString[this.language]," ").concat(this.accessibleAboutLabel)||this.accessibleLabel,onClick:this.toggleOpen,theme:this.theme,negative:this.negative}),e("div",{style:s},e("duet-tooltip-popup",{ref:function(i){return t.popupElement=i},active:this.active,tooltipId:this.tooltipId,arrowStyles:r,style:o,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel,theme:this.theme},e("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["handleActiveChange"]}},enumerable:false,configurable:true});return t}());_.style=y}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as e,H as d,g as a}from"./p-682a0ad1.js";import{i}from"./p-43b89e38.js";import{c as n}from"./p-f587ebfc.js";const p=class{constructor(e){t(this,e),this.hasSidebar=!1,this.hasTop=!1,this.hasPageHeading=!1,this.sticky=!1,this.margin="auto",this.stickyDistance="with-links",this.center=!1,this.tabs=!1,this.middle=!1,this.paddingBreakpoint=void 0}componentWillLoad(){this.hasSidebar=!!this.element.querySelector("[slot='sidebar']"),this.hasTop=!!this.element.querySelector("[slot='top']"),this.hasPageHeading=!!this.element.querySelector("[slot='page-heading']"),n(this.element,"page-heading","duet-page-heading",1,!0),this.element.querySelector("[slot='main']")||console.warn("[DUET WARNING]: Nothing passed to <duet-layout> named slots. Please use one of 'main', 'sidebar' or 'top' to display contents.")}render(){return e(d,{key:"87e9a0ec222dde241b22ad453c4ad5c32634396b",class:{center:this.center,"duet-middle":this.middle,"duet-ie":i()}},e("div",{key:"7c2ed9191f4798b3dc85cf376981c6aab0156cf9",class:{"duet-layout-wrapper":!0,"duet-m-0":"none"===this.margin}},this.hasTop&&e("div",{key:"0cabad8796c6b6f8d6f9be773432bf8dafdd9e8c",class:{"duet-layout-top":!0,"duet-center":this.center}},e("div",{key:"0005e877722cc066af4afc437d27b800853e6a2e",class:"duet-layout-top-wrapper"},e("slot",{key:"f28942644fd863ec25dee20ff7c8e08aa4435de5",name:"top"}))),e("div",{key:"0dfab5135c2abf87bf34ad30ae694032fb15e1c5",class:{"duet-layout":!0,"has-sidebar":this.hasSidebar,"duet-center":this.center,[`padding-${this.paddingBreakpoint}`]:!!this.paddingBreakpoint}},e("main",{key:"52f379352c3c1bff9858834461fcbb349387867d",class:"duet-main"},this.hasPageHeading&&e("slot",{key:"4d471586d15b6d703968a1cefa19179015e53287",name:"page-heading"}),e("slot",{key:"861e391f79cafcd371bc7a8a4e534949f5395ff4",name:"main"})),this.hasSidebar&&e("aside",{key:"ea094960d960bea590d79e8ca676fa985bae192c",class:"duet-sidebar"},e("div",{key:"6991b9d89cad949aab416c29ea2ace9819bf9980",class:{"duet-sidebar-container":!0,"has-tabs":this.tabs,sticky:this.sticky,[this.stickyDistance]:this.sticky}},e("slot",{key:"7d400650d3a268f363d9ca9ec8d358e1e717051e",name:"sidebar"}))))))}get element(){return a(this)}};p.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";export{p as duet_layout}
4
+ import{r as t,h as e,H as d,g as a}from"./p-63045d0e.js";import{i}from"./p-43b89e38.js";import{c as n}from"./p-36a29933.js";const p=class{constructor(e){t(this,e),this.hasSidebar=!1,this.hasTop=!1,this.hasPageHeading=!1,this.sticky=!1,this.margin="auto",this.stickyDistance="with-links",this.center=!1,this.tabs=!1,this.middle=!1,this.paddingBreakpoint=void 0}componentWillLoad(){this.hasSidebar=!!this.element.querySelector("[slot='sidebar']"),this.hasTop=!!this.element.querySelector("[slot='top']"),this.hasPageHeading=!!this.element.querySelector("[slot='page-heading']"),n(this.element,"page-heading","duet-page-heading",1,!0),this.element.querySelector("[slot='main']")||console.warn("[DUET WARNING]: Nothing passed to <duet-layout> named slots. Please use one of 'main', 'sidebar' or 'top' to display contents.")}render(){return e(d,{key:"87e9a0ec222dde241b22ad453c4ad5c32634396b",class:{center:this.center,"duet-middle":this.middle,"duet-ie":i()}},e("div",{key:"7c2ed9191f4798b3dc85cf376981c6aab0156cf9",class:{"duet-layout-wrapper":!0,"duet-m-0":"none"===this.margin}},this.hasTop&&e("div",{key:"0cabad8796c6b6f8d6f9be773432bf8dafdd9e8c",class:{"duet-layout-top":!0,"duet-center":this.center}},e("div",{key:"0005e877722cc066af4afc437d27b800853e6a2e",class:"duet-layout-top-wrapper"},e("slot",{key:"f28942644fd863ec25dee20ff7c8e08aa4435de5",name:"top"}))),e("div",{key:"0dfab5135c2abf87bf34ad30ae694032fb15e1c5",class:{"duet-layout":!0,"has-sidebar":this.hasSidebar,"duet-center":this.center,[`padding-${this.paddingBreakpoint}`]:!!this.paddingBreakpoint}},e("main",{key:"52f379352c3c1bff9858834461fcbb349387867d",class:"duet-main"},this.hasPageHeading&&e("slot",{key:"4d471586d15b6d703968a1cefa19179015e53287",name:"page-heading"}),e("slot",{key:"861e391f79cafcd371bc7a8a4e534949f5395ff4",name:"main"})),this.hasSidebar&&e("aside",{key:"ea094960d960bea590d79e8ca676fa985bae192c",class:"duet-sidebar"},e("div",{key:"6991b9d89cad949aab416c29ea2ace9819bf9980",class:{"duet-sidebar-container":!0,"has-tabs":this.tabs,sticky:this.sticky,[this.stickyDistance]:this.sticky}},e("slot",{key:"7d400650d3a268f363d9ca9ec8d358e1e717051e",name:"sidebar"}))))))}get element(){return a(this)}};p.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";export{p as duet_layout}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(a,e,t,d){function i(a){return a instanceof t?a:new t((function(e){e(a)}))}return new(t||(t=Promise))((function(t,r){function n(a){try{p(d.next(a))}catch(a){r(a)}}function o(a){try{p(d["throw"](a))}catch(a){r(a)}}function p(a){a.done?t(a.value):i(a.value).then(n,o)}p((d=d.apply(a,e||[])).next())}))};var __generator=this&&this.__generator||function(a,e){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},d,i,r,n;return n={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function o(a){return function(e){return p([a,e])}}function p(o){if(d)throw new TypeError("Generator is already executing.");while(n&&(n=0,o[0]&&(t=0)),t)try{if(d=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;i=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){t.label=o[1];break}if(o[0]===6&&t.label<r[1]){t.label=r[1];r=o;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(o);break}if(r[2])t.ops.pop();t.trys.pop();continue}o=e.call(a,t)}catch(a){o=[6,a];i=0}finally{d=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(a,e,t){if(t||arguments.length===2)for(var d=0,i=e.length,r;d<i;d++){if(r||!(d in e)){if(!r)r=Array.prototype.slice.call(e,0,d);r[d]=e[d]}}return a.concat(r||Array.prototype.slice.call(e))};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-a3ea8aa0.system.js","./p-f50d1845.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-3ad777ed.system.js","./p-98636086.system.js","./p-59777da7.system.js","./p-64959c1d.system.js"],(function(a){"use strict";var e,t,d,i,r,n,o,p,m,s,c,u,x,h;return{setters:[function(a){e=a.r;t=a.c;d=a.h;i=a.F;r=a.H;n=a.g},function(a){o=a.i},function(a){p=a.c},function(a){m=a.i;s=a.s;c=a.u},function(a){u=a.g},function(a){x=a.s},function(a){h=a.g},function(){}],execute:function(){var l=["h1","h2","h3","h4","h5","h6"];var g="div";var b={title:"action-arrow-up",tags:"action arrow up caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>'};var f='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}:host{--duet-card-border-radius:12px}@media (min-width: 36em){:host{--duet-card-border-radius:16px}}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:var(--duet-card-border-radius);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-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-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";color:rgb(23, 28, 58);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)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:var(--duet-card-border-radius);box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(222, 224, 228)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva.info{background:#fdf7f2 !important}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-heading{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer{background:#fbe1d1}';var w=f;var v=a("duet_card",function(){function a(a){var d=this;e(this,a);this.duetToggle=t(this,"duetToggle",7);this.cardId=p("DuetCard");this.togglePanel=function(a){a.preventDefault();d.open=!d.open;d.duetToggle.emit({component:"duet-card",originalEvent:a})};this.handleKeyDown=function(a){if(m(a)){d.togglePanel(a)}};this.accessibleLabel=undefined;this.heading="";this.secondaryHeading="";this.variation="default";this.collapsible=false;this.open=true;this.headingLevel="h2";this.headingBackground=undefined;this.icon=undefined;this.iconColor="currentColor";this.image=undefined;this.background="gray-lightest";this.padding="small";this.margin="auto";this.theme="";this.url=undefined;this.shadowBreakpoint=undefined}a.prototype.componentWillLoad=function(){o(this);this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']");this.hasFooter=!!this.element.querySelector("[slot='footer']")};a.prototype.connectedCallback=function(){s(this)};a.prototype.disconnectedCallback=function(){c(this)};a.prototype.renderHeading=function(){var a;var e=x(this.headingLevel);var t=__spreadArray(__spreadArray([],l,true),[g],false).some((function(a){return a===e}))?e:"h2";var r={backgroundColor:h(this.headingBackground)};var n=d(i,null,d("div",{class:"duet-card-heading-grid"},this.icon&&d(i,null,d("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:this.iconColor}),d("duet-spacer",{direction:"horizontal",size:"small"})),d("div",{class:"duet-card-heading-text"},this.heading?this.heading:d("slot",{name:"heading"})),this.secondaryHeading&&d(i,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&d(i,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("duet-icon",{class:"duet-card-caret",icon:b.svg,size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),d("slot",{name:"below-heading"}));if(this.collapsible){var o=(a=u(this.element,"heading"))===null||a===void 0?void 0:a.map((function(a){return a.textContent})).join(" ");return d(t,{style:r,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},d("button",{type:"button","aria-controls":this.cardId,"aria-expanded":this.open?"true":"false","aria-label":o},n))}else{return d(t,{style:r,class:"duet-card-heading"},n)}};a.prototype.setFocus=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeCard){this.nativeCard.focus(a)}return[2]}))}))};a.prototype.render=function(){var a;var e=this;var t=this.url?"a":"div";var i={backgroundColor:h(this.background)};return d(r,{key:"b229fd28e5e5058ba357db373f25c9de68dc2694",class:{"duet-m-0":this.margin==="none","duet-card-info":this.variation==="info"}},d(t,{key:"b80082cae6d0e4d564bc1eca68f57749b6975e0e",href:this.url,style:i,ref:function(a){return e.nativeCard=a},"aria-label":this.accessibleLabel,class:(a={"duet-card":true},a[this.padding]=true,a[this.variation]=true,a["shadow-".concat(this.shadowBreakpoint)]=!!this.shadowBreakpoint,a["duet-p-0"]=this.padding==="none",a["duet-theme-turva"]=this.theme==="turva",a["duet-card-has-bg"]=this.background!=="gray-lightest",a["duet-card-has-icon"]=!!this.icon,a["duet-card-collapsed"]=this.collapsible&&!this.open,a)},this.image&&d("div",{key:"c4c9c8772d432e52fb78f2bf0a457d4a026d6b3a",class:"duet-card-image-mask"},d("img",{key:"828ed65b312a0e50257adfa39f25307b13e7d51a",src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),d("div",{key:"081d59770bc88f9b7bd2a9b25d0bf905ea0d141b",class:"duet-card-content",id:this.cardId},d("slot",{key:"ad92895c2eea7a7697bd4924165656e72ee9b1da"}),this.hasFooter&&d("div",{key:"9a920473b4242e87a36032511f982b3e890df463",class:"duet-card-footer"},d("slot",{key:"41350a63089d579579bca4454a1fcbc27a60b445",name:"footer"})))))};Object.defineProperty(a.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return a}());v.style=w}}}));
4
+ */System.register(["./p-8fb46b02.system.js","./p-57941503.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-f033bc52.system.js","./p-98636086.system.js","./p-13eec75c.system.js","./p-64959c1d.system.js"],(function(a){"use strict";var e,t,d,i,r,n,o,p,m,s,c,u,x,h;return{setters:[function(a){e=a.r;t=a.c;d=a.h;i=a.F;r=a.H;n=a.g},function(a){o=a.i},function(a){p=a.c},function(a){m=a.i;s=a.s;c=a.u},function(a){u=a.g},function(a){x=a.s},function(a){h=a.g},function(){}],execute:function(){var l=["h1","h2","h3","h4","h5","h6"];var g="div";var b={title:"action-arrow-up",tags:"action arrow up caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>'};var f='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}:host{--duet-card-border-radius:12px}@media (min-width: 36em){:host{--duet-card-border-radius:16px}}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:var(--duet-card-border-radius);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-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-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";color:rgb(23, 28, 58);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)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:var(--duet-card-border-radius);box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(222, 224, 228)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva.info{background:#fdf7f2 !important}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-heading{color:#172a3b}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer{background:#fbe1d1}';var w=f;var v=a("duet_card",function(){function a(a){var d=this;e(this,a);this.duetToggle=t(this,"duetToggle",7);this.cardId=p("DuetCard");this.togglePanel=function(a){a.preventDefault();d.open=!d.open;d.duetToggle.emit({component:"duet-card",originalEvent:a})};this.handleKeyDown=function(a){if(m(a)){d.togglePanel(a)}};this.accessibleLabel=undefined;this.heading="";this.secondaryHeading="";this.variation="default";this.collapsible=false;this.open=true;this.headingLevel="h2";this.headingBackground=undefined;this.icon=undefined;this.iconColor="currentColor";this.image=undefined;this.background="gray-lightest";this.padding="small";this.margin="auto";this.theme="";this.url=undefined;this.shadowBreakpoint=undefined}a.prototype.componentWillLoad=function(){o(this);this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']");this.hasFooter=!!this.element.querySelector("[slot='footer']")};a.prototype.connectedCallback=function(){s(this)};a.prototype.disconnectedCallback=function(){c(this)};a.prototype.renderHeading=function(){var a;var e=x(this.headingLevel);var t=__spreadArray(__spreadArray([],l,true),[g],false).some((function(a){return a===e}))?e:"h2";var r={backgroundColor:h(this.headingBackground)};var n=d(i,null,d("div",{class:"duet-card-heading-grid"},this.icon&&d(i,null,d("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:this.iconColor}),d("duet-spacer",{direction:"horizontal",size:"small"})),d("div",{class:"duet-card-heading-text"},this.heading?this.heading:d("slot",{name:"heading"})),this.secondaryHeading&&d(i,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&d(i,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("duet-icon",{class:"duet-card-caret",icon:b.svg,size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),d("slot",{name:"below-heading"}));if(this.collapsible){var o=(a=u(this.element,"heading"))===null||a===void 0?void 0:a.map((function(a){return a.textContent})).join(" ");return d(t,{style:r,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},d("button",{type:"button","aria-controls":this.cardId,"aria-expanded":this.open?"true":"false","aria-label":o},n))}else{return d(t,{style:r,class:"duet-card-heading"},n)}};a.prototype.setFocus=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeCard){this.nativeCard.focus(a)}return[2]}))}))};a.prototype.render=function(){var a;var e=this;var t=this.url?"a":"div";var i={backgroundColor:h(this.background)};return d(r,{key:"b229fd28e5e5058ba357db373f25c9de68dc2694",class:{"duet-m-0":this.margin==="none","duet-card-info":this.variation==="info"}},d(t,{key:"b80082cae6d0e4d564bc1eca68f57749b6975e0e",href:this.url,style:i,ref:function(a){return e.nativeCard=a},"aria-label":this.accessibleLabel,class:(a={"duet-card":true},a[this.padding]=true,a[this.variation]=true,a["shadow-".concat(this.shadowBreakpoint)]=!!this.shadowBreakpoint,a["duet-p-0"]=this.padding==="none",a["duet-theme-turva"]=this.theme==="turva",a["duet-card-has-bg"]=this.background!=="gray-lightest",a["duet-card-has-icon"]=!!this.icon,a["duet-card-collapsed"]=this.collapsible&&!this.open,a)},this.image&&d("div",{key:"c4c9c8772d432e52fb78f2bf0a457d4a026d6b3a",class:"duet-card-image-mask"},d("img",{key:"828ed65b312a0e50257adfa39f25307b13e7d51a",src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),d("div",{key:"081d59770bc88f9b7bd2a9b25d0bf905ea0d141b",class:"duet-card-content",id:this.cardId},d("slot",{key:"ad92895c2eea7a7697bd4924165656e72ee9b1da"}),this.hasFooter&&d("div",{key:"9a920473b4242e87a36032511f982b3e890df463",class:"duet-card-footer"},d("slot",{key:"41350a63089d579579bca4454a1fcbc27a60b445",name:"footer"})))))};Object.defineProperty(a.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return a}());v.style=w}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c as t,h as i,H as o,g as n}from"./p-63045d0e.js";import{i as a}from"./p-08f35dcb.js";import{a as r}from"./p-b25490a8.js";import"./p-9c3c64b9.js";const s=class{constructor(i){e(this,i),this.duetEvent=t(this,"duetEvent",7),this.previousYScroll=0,this.scrollbarCheck=()=>{this.leftMoreVisible=this.container.scrollLeft>0,this.rightMoreVisible=this.container.scrollLeft!==this.container.scrollWidth-this.container.clientWidth},this.scrollToActive=()=>{let e;this.element.querySelectorAll("[active]").forEach((t=>{t.active&&(e=t)})),e&&e.offsetLeft&&e.offsetLeft>50&&(this.container.scrollLeft=e.offsetLeft-this.element.getBoundingClientRect().width/2+e.offsetWidth/2)},this.checkCenterSlot=()=>{const e=this.element.querySelector('[slot="center"]');this.centerSlotUsed=!!e},this.handleLogoClick=e=>{this.duetEvent.emit({name:"logoClick",component:"duet-menu-bar",data:{logoHref:this.logoHref},originalEvent:e})},this.hidden=!1,this.onBottom=!1,this.logoSize="large",this.leftMoreVisible=!1,this.rightMoreVisible=!1,this.centerSlotUsed=!1,this.mediaQueryMediumMatches=!1,this.theme="",this.language=r(),this.logo=!0,this.logoHref=void 0,this.logoLinkAccessibleLabel=void 0,this.logoInfoText=void 0,this.accessibleLabel=void 0,this.hideOnScroll=!1}checkScroll(){this.hideOnScroll&&(window.scrollY>this.previousYScroll?window.scrollY>100&&(this.hideOnScroll&&(clearTimeout(this.zindexTimer),this.onBottom=!0),this.hidden=!0):window.scrollY<150&&(this.hideOnScroll&&(this.zindexTimer=setTimeout((()=>{this.onBottom=!1}),300)),this.hidden=!1),this.previousYScroll=window.scrollY)}componentWillLoad(){a(this)}connectedCallback(){this.checkCenterSlot()}componentDidLoad(){setTimeout((()=>{this.scrollbarCheck(),this.scrollToActive(),this.checkCenterSlot()}),0)}onWindowResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout((()=>{this.scrollToActive()}),100)}render(){const e=document.querySelectorAll("duet-slideout").length>0;return i(o,{key:"255814311f574f7d85b3bc80bb175cc1f1d18a64"},i("nav",{key:"83e7544a5404b5af2c3719a2489e4b36a540c1e8",class:{"duet-menu-bar":!0,"duet-theme-turva":"turva"===this.theme,"horizontal-nav":e&&!this.logo,"duet-menu-bar-slim":!this.centerSlotUsed,hidden:this.hidden&&this.hideOnScroll,bottom:this.onBottom},"aria-label":this.accessibleLabel},i("div",{key:"f32cf559d838dc433b85c7cb4df85fcf1915f7ef",class:"top"}),i("div",{key:"19a48ff07d04fe3ce07ef084ebcc51306a434bde",class:{container:!0,"with-info-text":!!this.logoInfoText&&!this.centerSlotUsed},ref:e=>this.container=e,onScroll:()=>this.scrollbarCheck()},this.logo&&i("div",{key:"c93a4319705c231ff4caafb5351040743648da31"},i("duet-logo",{key:"39c4a607c937dea11129d57acdd5165280235fdf",class:"medium",size:"medium",margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language}),i("duet-logo",{key:"a79acdf7414befb7341990872ce965b08d59d675",class:"large",size:"large",margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language}),i("duet-logo",{key:"7e553d40b2309b1bb8108c426b54ab5b6a406d78",class:"only-symbol",onlySymbol:!0,margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language}),this.logoInfoText&&!this.centerSlotUsed&&i("div",{key:"b587afd17006e768a5468fbfb999d749b0257d6d",class:{"duet-logo-info-text":!0,"duet-theme-turva":"turva"===this.theme}},this.logoInfoText)),i("div",{key:"f7c134952e7e4e4939a76643338af9aa8184cfa9",class:"list center",role:"list"},i("div",{key:"2abb544bcd51d678b040268faba758c361f419ad",class:"more-left",hidden:!this.leftMoreVisible,role:"presentation"}),i("slot",{key:"5cb2a6679aab357ec3ea58484fa678da7c9a054c",name:"center"}),i("div",{key:"84768be6f01769a9af9376eda0c7ab392afb76a5",class:"more-right",hidden:!this.rightMoreVisible,role:"presentation"})),i("div",{key:"ed2f72a70440b9257c7e00ab25cd2d1a93f64fbf",class:"list right",role:"list"},i("slot",{key:"348067a2565d3594907c03abe52dd8f100dbe675",name:"right"}))),i("div",{key:"3f5710688ff1e20bfd146d11e07379106cba9c54",class:"bottom"})))}get element(){return n(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;position:relative;width:100%;pointer-events:none}:host *{pointer-events:auto}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}.duet-menu-bar .container duet-logo.large,.duet-menu-bar .container duet-logo.only-symbol{display:none}.duet-menu-bar .container.with-info-text duet-logo.medium{display:none}.duet-menu-bar .container.with-info-text duet-logo.only-symbol{display:block}@media (min-width: 48em){.duet-menu-bar .container.with-info-text duet-logo.medium{display:block}.duet-menu-bar .container.with-info-text duet-logo.only-symbol{display:none}}@media (min-width: 76.25em){.duet-menu-bar .container duet-logo.medium{display:none}.duet-menu-bar .container duet-logo.large{display:block}}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start;width:auto;height:40px}@media (min-width: 76.25em){.duet-menu-bar .container>:first-child{height:48px}}.duet-menu-bar .container>:first-child:has(.duet-logo-info-text){flex-grow:8}.duet-menu-bar .container>:first-child:has(.duet-logo-info-text) duet-paragraph{max-height:100%}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container .duet-logo-info-text{max-height:2.8875rem;padding-left:16px;margin-left:16px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(62, 84, 102);text-overflow:ellipsis;border-left:1px solid rgb(212, 223, 229)}.duet-menu-bar .container .duet-logo-info-text.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(71, 78, 101);border-left-color:rgb(222, 224, 228)}@media (min-width: 48em){.duet-menu-bar .container .duet-logo-info-text{max-height:3.3rem;font-size:1rem}}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}.duet-menu-bar.duet-menu-bar-slim .container duet-logo.medium{display:block}.duet-menu-bar.duet-menu-bar-slim .container duet-logo.large{display:none}.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.medium{display:none}.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.only-symbol{display:block}@media (min-width: 48em){.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.medium{display:block}.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.only-symbol{display:none}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{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)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{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)}:host(.duet-theme-turva2) .duet-theme-turva .center{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .right{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-logo-info-text{color:#354f65;border-left-color:#d4dde2}';export{s as duet_menu_bar}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-a3ea8aa0.system.js","./p-75fdf144.system.js"],(function(t){"use strict";var s,e,i,n;return{setters:[function(t){s=t.r;e=t.h;i=t.H},function(t){n=t.t}],execute:function(){var r=t("duet_status_icon",function(){function t(t){s(this,t);this.bg={default:{default:"color_lt_blue_200",success:"color_success_200",warning:"color_warning_200",danger:"color_danger_200"},strong:{default:"color_lt_blue_700",success:"color_success_700",warning:"color_warning_500",danger:"color_danger_600"}};this.color={default:{default:"color_lt_blue_800",success:"color_success_800",warning:"color_warning_800",danger:"color_danger_800"},strong:{default:"color_lt_blue_100",success:"color_gray_lightest",warning:"color_warning_900",danger:"color_gray_lightest"}};this.variation="default";this.size="medium";this.margin="auto";this.strong=false}t.prototype.getVariation=function(){return["default","success","danger","warning"].includes(this.variation)?this.variation:"default"};t.prototype.getBg=function(){return n[this.bg[this.strong?"strong":"default"][this.getVariation()]]};t.prototype.getColor=function(){return n[this.color[this.strong?"strong":"default"][this.getVariation()]]};t.prototype.getIcon=function(){switch(this.getVariation()){case"default":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="'.concat(this.getBg(),'"/>\n <path fill="').concat(this.getColor(),'" d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/>\n <circle fill="').concat(this.getColor(),'" cx="11.625" cy="7.125" r="1.125"/>\n </svg>');case"success":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="'.concat(this.getBg(),'"/>\n <path fill="').concat(this.getColor(),'" d="M9.325 17.916a1.79 1.79 0 0 1-1.498-.799l-2.44-3.462a.75.75 0 0 1 1.227-.864l2.45 3.477a.306.306 0 0 0 .261.148.294.294 0 0 0 .236-.119l7.852-9.935a.75.75 0 1 1 1.175.93l-7.843 9.923a1.781 1.781 0 0 1-.423.396 1.78 1.78 0 0 1-.997.305z"/>\n </svg>');case"warning":case"danger":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <path fill="'.concat(this.getBg(),'" d="M1.27,23.767C1.58,23.919 1.926,24 2.273,24L21.73,24C22.336,24 22.906,23.764 23.334,23.336C23.764,22.908 24.001,22.337 24.001,21.73C24.001,21.383 23.92,21.037 23.768,20.727L14.295,1.429C13.862,0.547 12.981,0 11.997,0C11.605,0 11.227,0.088 10.873,0.262C10.369,0.51 9.954,0.924 9.706,1.429L0.234,20.728C-0.034,21.271 -0.073,21.888 0.123,22.462C0.319,23.036 0.727,23.5 1.27,23.767Z"/>\n <rect fill="').concat(this.getColor(),'" x="11.1" y="7.2" width="1.8" height="8.4" rx="0.9"/>\n <rect fill="').concat(this.getColor(),'" x="10.8" y="18" width="2.4" height="2.4" rx="1.2"/>\n </svg>')}};t.prototype.render=function(){var t;return e(i,{key:"284be2e2073b0593a3f301e93f02524ed9473460",class:(t={},t["duet-status-icon-".concat(this.getVariation())]=true,t["duet-strong-bg"]=this.strong,t)},e("duet-icon",{key:"fbffdc5785eec0a97fc236b056f01c1cde0140b8",icon:this.getIcon(),size:this.size,margin:this.margin}))};return t}())}}}));
4
+ System.register(["./p-8fb46b02.system.js","./p-75fdf144.system.js"],(function(t){"use strict";var s,e,i,n;return{setters:[function(t){s=t.r;e=t.h;i=t.H},function(t){n=t.t}],execute:function(){var r=t("duet_status_icon",function(){function t(t){s(this,t);this.bg={default:{default:"color_lt_blue_200",success:"color_success_200",warning:"color_warning_200",danger:"color_danger_200"},strong:{default:"color_lt_blue_700",success:"color_success_700",warning:"color_warning_500",danger:"color_danger_600"}};this.color={default:{default:"color_lt_blue_800",success:"color_success_800",warning:"color_warning_800",danger:"color_danger_800"},strong:{default:"color_lt_blue_100",success:"color_gray_lightest",warning:"color_warning_900",danger:"color_gray_lightest"}};this.variation="default";this.size="medium";this.margin="auto";this.strong=false}t.prototype.getVariation=function(){return["default","success","danger","warning"].includes(this.variation)?this.variation:"default"};t.prototype.getBg=function(){return n[this.bg[this.strong?"strong":"default"][this.getVariation()]]};t.prototype.getColor=function(){return n[this.color[this.strong?"strong":"default"][this.getVariation()]]};t.prototype.getIcon=function(){switch(this.getVariation()){case"default":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="'.concat(this.getBg(),'"/>\n <path fill="').concat(this.getColor(),'" d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/>\n <circle fill="').concat(this.getColor(),'" cx="11.625" cy="7.125" r="1.125"/>\n </svg>');case"success":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="'.concat(this.getBg(),'"/>\n <path fill="').concat(this.getColor(),'" d="M9.325 17.916a1.79 1.79 0 0 1-1.498-.799l-2.44-3.462a.75.75 0 0 1 1.227-.864l2.45 3.477a.306.306 0 0 0 .261.148.294.294 0 0 0 .236-.119l7.852-9.935a.75.75 0 1 1 1.175.93l-7.843 9.923a1.781 1.781 0 0 1-.423.396 1.78 1.78 0 0 1-.997.305z"/>\n </svg>');case"warning":case"danger":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <path fill="'.concat(this.getBg(),'" d="M1.27,23.767C1.58,23.919 1.926,24 2.273,24L21.73,24C22.336,24 22.906,23.764 23.334,23.336C23.764,22.908 24.001,22.337 24.001,21.73C24.001,21.383 23.92,21.037 23.768,20.727L14.295,1.429C13.862,0.547 12.981,0 11.997,0C11.605,0 11.227,0.088 10.873,0.262C10.369,0.51 9.954,0.924 9.706,1.429L0.234,20.728C-0.034,21.271 -0.073,21.888 0.123,22.462C0.319,23.036 0.727,23.5 1.27,23.767Z"/>\n <rect fill="').concat(this.getColor(),'" x="11.1" y="7.2" width="1.8" height="8.4" rx="0.9"/>\n <rect fill="').concat(this.getColor(),'" x="10.8" y="18" width="2.4" height="2.4" rx="1.2"/>\n </svg>')}};t.prototype.render=function(){var t;return e(i,{key:"284be2e2073b0593a3f301e93f02524ed9473460",class:(t={},t["duet-status-icon-".concat(this.getVariation())]=true,t["duet-strong-bg"]=this.strong,t)},e("duet-icon",{key:"fbffdc5785eec0a97fc236b056f01c1cde0140b8",icon:this.getIcon(),size:this.size,margin:this.margin}))};return t}())}}}));