@duetds/components 9.3.0 → 9.3.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 (593) hide show
  1. package/hydrate/index.js +9 -13
  2. package/lib/cjs/{a11y-utils-38cc728a.js → a11y-utils-b489bafd.js} +1 -1
  3. package/lib/cjs/{app-globals-f0563ef8.js → app-globals-3993d4ba.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
  10. package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
  11. package/lib/cjs/duet-callout.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +4 -4
  13. package/lib/cjs/duet-card.cjs.entry.js +2 -2
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-chip_3.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  19. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-footer.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  31. package/lib/cjs/duet-hero.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
  34. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  44. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  46. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-slideout.cjs.entry.js +21 -21
  64. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -4
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
  71. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +4 -4
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  79. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +3 -3
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  83. package/lib/cjs/duet.cjs.js +2 -2
  84. package/lib/cjs/{errorcodes.utils-54949f8e.js → errorcodes.utils-3e4d2f19.js} +1 -1
  85. package/lib/cjs/{focus-utils-c89eb692.js → focus-utils-5c18768b.js} +1 -1
  86. package/lib/cjs/{index-5f032552.js → index-308de19b.js} +1 -1
  87. package/lib/cjs/{language-utils-a8e10789.js → language-utils-9e680f03.js} +1 -1
  88. package/lib/cjs/loader.cjs.js +2 -2
  89. package/lib/cjs/{slot-utils-b995682a.js → slot-utils-5b1180b0.js} +1 -1
  90. package/lib/collection/components/duet-slideout/duet-slideout.js +17 -17
  91. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  92. package/lib/dist-custom-elements/duet-alert.js +1 -1
  93. package/lib/dist-custom-elements/duet-badge.js +1 -1
  94. package/lib/dist-custom-elements/duet-banner.js +3 -3
  95. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  96. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  97. package/lib/dist-custom-elements/duet-button.js +1 -1
  98. package/lib/dist-custom-elements/duet-callout.js +2 -2
  99. package/lib/dist-custom-elements/duet-caption.js +1 -1
  100. package/lib/dist-custom-elements/duet-card.js +3 -3
  101. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  102. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  103. package/lib/dist-custom-elements/duet-chip.js +1 -1
  104. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  105. package/lib/dist-custom-elements/duet-choice.js +4 -4
  106. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  107. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  108. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  109. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  110. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  111. package/lib/dist-custom-elements/duet-divider.js +1 -1
  112. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  113. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  114. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  115. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  116. package/lib/dist-custom-elements/duet-footer.js +7 -7
  117. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  118. package/lib/dist-custom-elements/duet-grid.js +1 -1
  119. package/lib/dist-custom-elements/duet-header.js +8 -8
  120. package/lib/dist-custom-elements/duet-heading.js +1 -1
  121. package/lib/dist-custom-elements/duet-hero.js +9 -9
  122. package/lib/dist-custom-elements/duet-icon.js +1 -1
  123. package/lib/dist-custom-elements/duet-input.js +1 -1
  124. package/lib/dist-custom-elements/duet-label.js +1 -1
  125. package/lib/dist-custom-elements/duet-layout.js +1 -1
  126. package/lib/dist-custom-elements/duet-link.js +1 -1
  127. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  128. package/lib/dist-custom-elements/duet-list.js +1 -1
  129. package/lib/dist-custom-elements/duet-logo.js +1 -1
  130. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  131. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  132. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  133. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  134. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  135. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  136. package/lib/dist-custom-elements/duet-modal.js +8 -8
  137. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  138. package/lib/dist-custom-elements/duet-nav.js +1 -1
  139. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  140. package/lib/dist-custom-elements/duet-notification.js +2 -2
  141. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  142. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  143. package/lib/dist-custom-elements/duet-page-heading.js +3 -3
  144. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  145. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  146. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  147. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  148. package/lib/dist-custom-elements/duet-progress.js +1 -1
  149. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  150. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  151. package/lib/dist-custom-elements/duet-radio.js +1 -1
  152. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  153. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  154. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  155. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  156. package/lib/dist-custom-elements/duet-select.js +1 -1
  157. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  158. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  159. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  160. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  161. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  162. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  163. package/lib/dist-custom-elements/duet-slideout.js +20 -20
  164. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  165. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  166. package/lib/dist-custom-elements/duet-step.js +4 -4
  167. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  168. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  169. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  170. package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
  171. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  172. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  173. package/lib/dist-custom-elements/duet-tab-group.js +7 -7
  174. package/lib/dist-custom-elements/duet-tab.js +1 -1
  175. package/lib/dist-custom-elements/duet-table.js +1 -1
  176. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  177. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  178. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  179. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  180. package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
  181. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  182. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  183. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  184. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  185. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  186. package/lib/dist-custom-elements/duet-tray.js +3 -3
  187. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  188. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  189. package/lib/dist-custom-elements/duet-upload.js +19 -19
  190. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  191. package/lib/dist-custom-elements/index.js +1 -1
  192. package/lib/dist-custom-elements/{p-e0d2a491.js → p-03144d67.js} +2 -2
  193. package/lib/dist-custom-elements/{p-d90fe5ac.js → p-031904df.js} +1 -1
  194. package/lib/dist-custom-elements/{p-0f7f0a83.js → p-10792647.js} +1 -1
  195. package/lib/dist-custom-elements/{p-6a6e776c.js → p-10e71cb5.js} +2 -2
  196. package/lib/dist-custom-elements/{p-3f0c498c.js → p-116723b5.js} +10 -10
  197. package/lib/dist-custom-elements/{p-8611f263.js → p-11ff6ee6.js} +1 -1
  198. package/lib/dist-custom-elements/{p-293decb6.js → p-1281e1e4.js} +1 -1
  199. package/lib/dist-custom-elements/{p-500bd959.js → p-146d2870.js} +2 -2
  200. package/lib/dist-custom-elements/{p-e26bca4a.js → p-1698c5c6.js} +10 -10
  201. package/lib/dist-custom-elements/{p-21dd7bb6.js → p-17527d09.js} +1 -1
  202. package/lib/dist-custom-elements/{p-15b2b51c.js → p-18a8c997.js} +6 -6
  203. package/lib/dist-custom-elements/{p-9f4351bc.js → p-18c1f644.js} +1 -1
  204. package/lib/dist-custom-elements/{p-26deaac9.js → p-232eed7a.js} +1 -1
  205. package/lib/dist-custom-elements/{p-a031995e.js → p-30b9325f.js} +2 -2
  206. package/lib/dist-custom-elements/{p-1c379414.js → p-32cc8d09.js} +2 -2
  207. package/lib/dist-custom-elements/{p-9881577b.js → p-4f9534fd.js} +1 -1
  208. package/lib/dist-custom-elements/{p-fa300b37.js → p-6296e23f.js} +5 -5
  209. package/lib/dist-custom-elements/{p-d2bcbefe.js → p-6c0aecd9.js} +3 -3
  210. package/lib/dist-custom-elements/{p-076fca2d.js → p-72037967.js} +1 -1
  211. package/lib/dist-custom-elements/{p-d0239f13.js → p-728ed30b.js} +1 -1
  212. package/lib/dist-custom-elements/{p-ca6bc272.js → p-73ffdef5.js} +5 -5
  213. package/lib/dist-custom-elements/{p-0bc2e3ae.js → p-740f2c93.js} +8 -8
  214. package/lib/dist-custom-elements/{p-1a5288a4.js → p-86cda54d.js} +1 -1
  215. package/lib/dist-custom-elements/{p-ae1777be.js → p-87c9ca7e.js} +1 -1
  216. package/lib/dist-custom-elements/{p-24b8aa06.js → p-8ccceae3.js} +4 -4
  217. package/lib/dist-custom-elements/{p-ca5d8fa3.js → p-919ca6dd.js} +1 -1
  218. package/lib/dist-custom-elements/{p-50aa1b2f.js → p-925a14eb.js} +1 -1
  219. package/lib/dist-custom-elements/{p-3e4b714a.js → p-a8691042.js} +1 -1
  220. package/lib/dist-custom-elements/{p-dd451078.js → p-aee23cfb.js} +1 -1
  221. package/lib/dist-custom-elements/{p-b056c1ad.js → p-b44cec63.js} +3 -3
  222. package/lib/dist-custom-elements/{p-6ae31cd8.js → p-b638e31c.js} +1 -1
  223. package/lib/dist-custom-elements/{p-eb6d9b73.js → p-b94d7fea.js} +1 -1
  224. package/lib/dist-custom-elements/{p-65e4b6d6.js → p-c0c88c27.js} +5 -5
  225. package/lib/dist-custom-elements/{p-103cc7c5.js → p-ca500368.js} +2 -2
  226. package/lib/dist-custom-elements/{p-26e23171.js → p-d1d9f6b0.js} +1 -1
  227. package/lib/dist-custom-elements/{p-645e6264.js → p-d4204bb3.js} +2 -2
  228. package/lib/dist-custom-elements/{p-59ebdad5.js → p-db1bb078.js} +1 -1
  229. package/lib/dist-custom-elements/{p-09a8f668.js → p-f7678084.js} +1 -1
  230. package/lib/dist-custom-elements/{p-0a4ff31b.js → p-fa93d549.js} +2 -2
  231. package/lib/duet/duet.esm.js +1 -1
  232. package/lib/duet/duet.js +1 -1
  233. package/lib/duet/{p-10fb8b25.entry.js → p-000c8091.entry.js} +1 -1
  234. package/lib/duet/{p-b42fd418.system.entry.js → p-00e5331e.system.entry.js} +1 -1
  235. package/lib/duet/{p-8623cfcd.system.js → p-037e9404.system.js} +1 -1
  236. package/lib/duet/{p-3559f6ef.entry.js → p-0613dcbe.entry.js} +1 -1
  237. package/lib/duet/{p-b568e84d.entry.js → p-06bcf0f6.entry.js} +1 -1
  238. package/lib/duet/{p-0017a15a.system.entry.js → p-08f7ea67.system.entry.js} +1 -1
  239. package/lib/duet/{p-fd442fd4.entry.js → p-0c9adf52.entry.js} +1 -1
  240. package/lib/duet/p-0d59c909.js +4 -0
  241. package/lib/duet/{p-c9cc7d75.system.entry.js → p-0dbe3c36.system.entry.js} +1 -1
  242. package/lib/duet/{p-254631c5.system.js → p-0f009884.system.js} +1 -1
  243. package/lib/duet/{p-c5566578.entry.js → p-0f78a880.entry.js} +1 -1
  244. package/lib/duet/{p-6f9f0c6e.entry.js → p-101017ca.entry.js} +1 -1
  245. package/lib/duet/{p-ec48bbea.system.entry.js → p-10a0daae.system.entry.js} +1 -1
  246. package/lib/duet/{p-b6495dbd.system.entry.js → p-15c699cd.system.entry.js} +1 -1
  247. package/lib/duet/p-15f176e9.entry.js +4 -0
  248. package/lib/duet/{p-af9ac93b.entry.js → p-1b3498d6.entry.js} +1 -1
  249. package/lib/duet/{p-36e9597f.entry.js → p-1c9a14c5.entry.js} +1 -1
  250. package/lib/duet/{p-0f764899.entry.js → p-1d206455.entry.js} +1 -1
  251. package/lib/duet/{p-cbe4a5ad.system.entry.js → p-1dfc4d3d.system.entry.js} +1 -1
  252. package/lib/duet/{p-31537378.entry.js → p-28ba70b1.entry.js} +1 -1
  253. package/lib/duet/{p-49e05ba7.entry.js → p-292a85f3.entry.js} +1 -1
  254. package/lib/duet/{p-ceee80d1.system.js → p-29b4ce3d.system.js} +1 -1
  255. package/lib/duet/{p-7f3eb980.system.js → p-2a6a064b.system.js} +1 -1
  256. package/lib/duet/{p-225414c1.entry.js → p-2ab5e379.entry.js} +1 -1
  257. package/lib/duet/{p-8855bfe0.system.entry.js → p-2af47fcd.system.entry.js} +1 -1
  258. package/lib/duet/{p-0acda711.entry.js → p-2c09278a.entry.js} +1 -1
  259. package/lib/duet/{p-f6fc3eb4.system.entry.js → p-2dda809f.system.entry.js} +1 -1
  260. package/lib/duet/{p-76bacd25.system.entry.js → p-2e7c2306.system.entry.js} +1 -1
  261. package/lib/duet/{p-9a415196.system.entry.js → p-2fec0954.system.entry.js} +1 -1
  262. package/lib/duet/{p-b12864a6.entry.js → p-3322fce0.entry.js} +1 -1
  263. package/lib/duet/{p-163ab70d.system.entry.js → p-344eb22a.system.entry.js} +1 -1
  264. package/lib/duet/{p-01de4654.system.entry.js → p-3475d53a.system.entry.js} +1 -1
  265. package/lib/duet/{p-87f5ae8d.system.entry.js → p-349e5b05.system.entry.js} +1 -1
  266. package/lib/duet/{p-21e73322.system.entry.js → p-34ef022a.system.entry.js} +1 -1
  267. package/lib/duet/{p-281b423a.entry.js → p-35749d88.entry.js} +1 -1
  268. package/lib/duet/{p-6d1ca645.entry.js → p-3621960b.entry.js} +1 -1
  269. package/lib/duet/{p-cc23fb9f.entry.js → p-375fd45d.entry.js} +1 -1
  270. package/lib/duet/{p-273dbbb5.system.entry.js → p-3a183ef9.system.entry.js} +1 -1
  271. package/lib/duet/{p-8948d34c.entry.js → p-3a916337.entry.js} +1 -1
  272. package/lib/duet/{p-35cdeac0.entry.js → p-3b6a3c28.entry.js} +1 -1
  273. package/lib/duet/{p-a66b420b.entry.js → p-3cdc41d0.entry.js} +1 -1
  274. package/lib/duet/{p-ed305ed8.system.entry.js → p-3e949daf.system.entry.js} +1 -1
  275. package/lib/duet/{p-29deabf7.system.entry.js → p-3f94c117.system.entry.js} +1 -1
  276. package/lib/duet/{p-e9026620.system.entry.js → p-40b8cc8d.system.entry.js} +1 -1
  277. package/lib/duet/{p-4d685c3b.entry.js → p-41aac653.entry.js} +1 -1
  278. package/lib/duet/{p-1cbcf5d9.system.entry.js → p-44e8ce81.system.entry.js} +1 -1
  279. package/lib/duet/{p-79237081.entry.js → p-4524ff9c.entry.js} +1 -1
  280. package/lib/duet/p-45adef32.system.js +4 -0
  281. package/lib/duet/{p-047159d2.entry.js → p-47197af7.entry.js} +1 -1
  282. package/lib/duet/{p-315faa77.entry.js → p-47c7c781.entry.js} +1 -1
  283. package/lib/duet/{p-c0a9340c.system.entry.js → p-48d70be1.system.entry.js} +1 -1
  284. package/lib/duet/{p-3bfd7c5f.entry.js → p-4ad78094.entry.js} +1 -1
  285. package/lib/duet/{p-48bcb3d6.entry.js → p-4ca08279.entry.js} +1 -1
  286. package/lib/duet/{p-31df3a7c.entry.js → p-4ea54546.entry.js} +1 -1
  287. package/lib/duet/{p-a21270e6.entry.js → p-50ad66d1.entry.js} +1 -1
  288. package/lib/duet/{p-ba080938.entry.js → p-52647e6d.entry.js} +1 -1
  289. package/lib/duet/{p-893e4173.system.entry.js → p-5285f6cb.system.entry.js} +1 -1
  290. package/lib/duet/{p-ac42fcb6.entry.js → p-559b8005.entry.js} +1 -1
  291. package/lib/duet/{p-983aadb5.system.entry.js → p-58571830.system.entry.js} +1 -1
  292. package/lib/duet/{p-d7001319.system.entry.js → p-5901c2b4.system.entry.js} +1 -1
  293. package/lib/duet/{p-25cff77e.system.entry.js → p-5bc6023c.system.entry.js} +1 -1
  294. package/lib/duet/{p-fe4f50d2.system.entry.js → p-5bf5d856.system.entry.js} +1 -1
  295. package/lib/duet/{p-77f74d88.entry.js → p-5d29704d.entry.js} +1 -1
  296. package/lib/duet/{p-fb17aa5d.system.entry.js → p-5d392e73.system.entry.js} +1 -1
  297. package/lib/duet/{p-5c03a84e.system.entry.js → p-5e797987.system.entry.js} +1 -1
  298. package/lib/duet/{p-5ad46180.entry.js → p-6002a245.entry.js} +1 -1
  299. package/lib/duet/{p-60f61794.entry.js → p-622af6ea.entry.js} +1 -1
  300. package/lib/duet/{p-12b94807.system.entry.js → p-635737ff.system.entry.js} +1 -1
  301. package/lib/duet/{p-38562cfa.system.entry.js → p-64c92e74.system.entry.js} +1 -1
  302. package/lib/duet/{p-e0022cfc.entry.js → p-676dccd2.entry.js} +1 -1
  303. package/lib/duet/{p-7996208d.entry.js → p-693a0309.entry.js} +1 -1
  304. package/lib/duet/{p-214685e0.system.entry.js → p-6953a6f7.system.entry.js} +1 -1
  305. package/lib/duet/{p-c09655fd.js → p-6aa58c2c.js} +1 -1
  306. package/lib/duet/{p-a24667c5.system.entry.js → p-6f16fc4f.system.entry.js} +1 -1
  307. package/lib/duet/{p-f452ef8f.entry.js → p-7002577a.entry.js} +1 -1
  308. package/lib/duet/{p-19ec7d46.entry.js → p-7598a3e2.entry.js} +1 -1
  309. package/lib/duet/{p-a34ee4ce.entry.js → p-76fe845d.entry.js} +1 -1
  310. package/lib/duet/{p-14baa983.system.entry.js → p-771cf850.system.entry.js} +1 -1
  311. package/lib/duet/{p-2d9731a6.system.entry.js → p-77a35713.system.entry.js} +1 -1
  312. package/lib/duet/{p-0c8b9fd2.system.entry.js → p-79766f1c.system.entry.js} +1 -1
  313. package/lib/duet/{p-1d29fe4b.system.entry.js → p-7b0299a8.system.entry.js} +1 -1
  314. package/lib/duet/{p-a97fb686.system.entry.js → p-7e6375aa.system.entry.js} +1 -1
  315. package/lib/duet/{p-bdaef893.system.js → p-7f554f9f.system.js} +1 -1
  316. package/lib/duet/{p-a5ff6e84.entry.js → p-7fb35f58.entry.js} +1 -1
  317. package/lib/duet/{p-9091ce0a.system.entry.js → p-8093f39c.system.entry.js} +1 -1
  318. package/lib/duet/{p-742c7b8d.entry.js → p-8194bb99.entry.js} +1 -1
  319. package/lib/duet/{p-c2144e1f.entry.js → p-823521aa.entry.js} +1 -1
  320. package/lib/duet/p-82a14ed2.entry.js +4 -0
  321. package/lib/duet/{p-3a43c761.system.entry.js → p-83479f79.system.entry.js} +1 -1
  322. package/lib/duet/{p-b7edb17c.entry.js → p-8367480b.entry.js} +1 -1
  323. package/lib/duet/{p-e2afb7f0.entry.js → p-8572f3a7.entry.js} +1 -1
  324. package/lib/duet/{p-d28a3a7e.system.entry.js → p-8993fa9f.system.entry.js} +1 -1
  325. package/lib/duet/{p-fcbc54db.entry.js → p-8a5a4459.entry.js} +1 -1
  326. package/lib/duet/{p-9d7d485a.system.entry.js → p-9373bf53.system.entry.js} +1 -1
  327. package/lib/duet/{p-8d94afc8.entry.js → p-93a028f8.entry.js} +1 -1
  328. package/lib/duet/{p-b0a55166.system.entry.js → p-94ac429e.system.entry.js} +1 -1
  329. package/lib/duet/{p-17bd04ab.entry.js → p-9548b5ad.entry.js} +1 -1
  330. package/lib/duet/p-96486337.js +4 -0
  331. package/lib/duet/{p-b632be58.entry.js → p-96a12ba9.entry.js} +1 -1
  332. package/lib/duet/{p-c4f5b4f7.entry.js → p-970edda4.entry.js} +1 -1
  333. package/lib/duet/{p-c2bc3d86.system.entry.js → p-9aff55d2.system.entry.js} +1 -1
  334. package/lib/duet/{p-a0a244ec.entry.js → p-9b7f2415.entry.js} +1 -1
  335. package/lib/duet/{p-465ebe1e.entry.js → p-9d3970f3.entry.js} +1 -1
  336. package/lib/duet/{p-ae6bfe73.system.entry.js → p-9f76aa43.system.entry.js} +1 -1
  337. package/lib/duet/{p-dd5e5db6.js → p-a1ab523a.js} +1 -1
  338. package/lib/duet/{p-3eb3cb80.system.entry.js → p-a1ba1ce3.system.entry.js} +1 -1
  339. package/lib/duet/p-a399d9d6.entry.js +4 -0
  340. package/lib/duet/p-a42586fb.entry.js +4 -0
  341. package/lib/duet/{p-6ba8bd37.system.entry.js → p-a47eff30.system.entry.js} +1 -1
  342. package/lib/duet/{p-aa61993f.entry.js → p-a4d75a65.entry.js} +1 -1
  343. package/lib/duet/{p-9f2b6edc.system.entry.js → p-aa2dec8a.system.entry.js} +1 -1
  344. package/lib/duet/{p-4367d56e.entry.js → p-ab2ecb6b.entry.js} +1 -1
  345. package/lib/duet/p-ab30e71c.system.js +4 -0
  346. package/lib/duet/{p-1465c813.system.entry.js → p-acfb271d.system.entry.js} +1 -1
  347. package/lib/duet/{p-0f5503a2.system.entry.js → p-af179120.system.entry.js} +1 -1
  348. package/lib/duet/{p-b2ad40f7.entry.js → p-b22a0621.entry.js} +1 -1
  349. package/lib/duet/{p-6f537912.system.entry.js → p-b286b3a4.system.entry.js} +1 -1
  350. package/lib/duet/{p-9a9cdcbc.system.entry.js → p-b2b6d11a.system.entry.js} +1 -1
  351. package/lib/duet/{p-720529cc.system.entry.js → p-b2fee964.system.entry.js} +1 -1
  352. package/lib/duet/{p-7510af57.system.entry.js → p-b3c2e814.system.entry.js} +1 -1
  353. package/lib/duet/{p-6c9477fc.system.entry.js → p-b8fecd5a.system.entry.js} +1 -1
  354. package/lib/duet/{p-22f68da5.entry.js → p-bb6c0288.entry.js} +1 -1
  355. package/lib/duet/{p-eeb44a07.system.entry.js → p-bbfa1306.system.entry.js} +1 -1
  356. package/lib/duet/{p-9b22831e.entry.js → p-bc182d55.entry.js} +1 -1
  357. package/lib/duet/{p-1888d7bd.system.entry.js → p-bc70d945.system.entry.js} +1 -1
  358. package/lib/duet/{p-c10a844d.system.entry.js → p-bc7bebb9.system.entry.js} +1 -1
  359. package/lib/duet/{p-392e3c46.entry.js → p-bda6b275.entry.js} +1 -1
  360. package/lib/duet/{p-da2d558a.entry.js → p-bdea7ea0.entry.js} +1 -1
  361. package/lib/duet/{p-a45443fc.system.entry.js → p-be498a29.system.entry.js} +1 -1
  362. package/lib/duet/{p-9edaccac.system.entry.js → p-c4927a81.system.entry.js} +1 -1
  363. package/lib/duet/{p-6417e4b6.entry.js → p-c50ad055.entry.js} +1 -1
  364. package/lib/duet/{p-37a1842f.js → p-c62f5d52.js} +1 -1
  365. package/lib/duet/{p-e73cd5a7.entry.js → p-c81de8ef.entry.js} +1 -1
  366. package/lib/duet/p-c8fb283f.entry.js +4 -0
  367. package/lib/duet/{p-5838b436.entry.js → p-ca57993e.entry.js} +1 -1
  368. package/lib/duet/{p-d9e1b3df.system.entry.js → p-cabd0c63.system.entry.js} +1 -1
  369. package/lib/duet/{p-a2a7292b.entry.js → p-cb105d1c.entry.js} +1 -1
  370. package/lib/duet/{p-4cf28f01.system.entry.js → p-cb77c1de.system.entry.js} +1 -1
  371. package/lib/duet/{p-ccde45f7.entry.js → p-cd414949.entry.js} +1 -1
  372. package/lib/duet/{p-23006691.entry.js → p-ce30e9b2.entry.js} +1 -1
  373. package/lib/duet/{p-492a4834.entry.js → p-ce8db2b5.entry.js} +1 -1
  374. package/lib/duet/{p-859afdaf.system.entry.js → p-d03e48cd.system.entry.js} +1 -1
  375. package/lib/duet/{p-7fa32b1f.system.entry.js → p-d2305166.system.entry.js} +1 -1
  376. package/lib/duet/{p-d6b7b986.entry.js → p-d293eadd.entry.js} +1 -1
  377. package/lib/duet/{p-65dbb3e1.system.entry.js → p-d39de46c.system.entry.js} +1 -1
  378. package/lib/duet/{p-1d8cf919.system.entry.js → p-d3f8f2ca.system.entry.js} +1 -1
  379. package/lib/duet/{p-13b1bb75.system.entry.js → p-d4f3806f.system.entry.js} +1 -1
  380. package/lib/duet/{p-b6d16859.system.entry.js → p-d676377f.system.entry.js} +1 -1
  381. package/lib/duet/{p-dc811f77.entry.js → p-d7c1c367.entry.js} +1 -1
  382. package/lib/duet/{p-be3fca92.system.entry.js → p-d882fce1.system.entry.js} +1 -1
  383. package/lib/duet/{p-939f51b7.entry.js → p-d8aa2d16.entry.js} +1 -1
  384. package/lib/duet/{p-a9b1590a.system.entry.js → p-d9f56096.system.entry.js} +1 -1
  385. package/lib/duet/{p-324b5653.entry.js → p-dcf5c2c2.entry.js} +1 -1
  386. package/lib/duet/{p-2ac13531.system.entry.js → p-dd683304.system.entry.js} +1 -1
  387. package/lib/duet/{p-ed206f51.system.entry.js → p-de1b9216.system.entry.js} +1 -1
  388. package/lib/duet/{p-efdf87ff.entry.js → p-df812be9.entry.js} +1 -1
  389. package/lib/duet/{p-3e89d4a2.entry.js → p-dfceca24.entry.js} +1 -1
  390. package/lib/duet/{p-71b1e594.system.entry.js → p-e2060a86.system.entry.js} +1 -1
  391. package/lib/duet/{p-19edf223.entry.js → p-e6294bbd.entry.js} +1 -1
  392. package/lib/duet/{p-dcb22be5.system.entry.js → p-e840989c.system.entry.js} +1 -1
  393. package/lib/duet/{p-10225f3d.system.entry.js → p-e8aa5603.system.entry.js} +1 -1
  394. package/lib/duet/{p-c513bc13.system.entry.js → p-e9979b39.system.entry.js} +1 -1
  395. package/lib/duet/p-ee5fe94f.system.js +4 -0
  396. package/lib/duet/{p-da3908cd.system.entry.js → p-f3347fc4.system.entry.js} +1 -1
  397. package/lib/duet/{p-48de990a.system.entry.js → p-f3c9648a.system.entry.js} +1 -1
  398. package/lib/duet/{p-b46d4e86.entry.js → p-f3d2fee1.entry.js} +1 -1
  399. package/lib/duet/{p-5489d30d.system.entry.js → p-f47a9dc3.system.entry.js} +2 -2
  400. package/lib/duet/p-f4cfdc49.js +4 -0
  401. package/lib/duet/{p-ed40ae71.system.entry.js → p-f5554879.system.entry.js} +1 -1
  402. package/lib/duet/{p-a8ce88be.entry.js → p-f83de21f.entry.js} +1 -1
  403. package/lib/duet/{p-514c62a2.system.entry.js → p-fb47f14d.system.entry.js} +1 -1
  404. package/lib/duet/{p-5a4b011d.js → p-fbc91093.js} +1 -1
  405. package/lib/duet/{p-2d416c79.entry.js → p-fbe2e4c7.entry.js} +1 -1
  406. package/lib/esm/{a11y-utils-1a10d7d6.js → a11y-utils-f2222b42.js} +1 -1
  407. package/lib/esm/{app-globals-9e106ae0.js → app-globals-ea4c814c.js} +1 -1
  408. package/lib/esm/duet-action-button.entry.js +2 -2
  409. package/lib/esm/duet-alert.entry.js +3 -3
  410. package/lib/esm/duet-badge.entry.js +1 -1
  411. package/lib/esm/duet-banner.entry.js +2 -2
  412. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  413. package/lib/esm/duet-breadcrumbs.entry.js +2 -2
  414. package/lib/esm/duet-button_2.entry.js +2 -2
  415. package/lib/esm/duet-callout.entry.js +2 -2
  416. package/lib/esm/duet-caption_4.entry.js +4 -4
  417. package/lib/esm/duet-card.entry.js +2 -2
  418. package/lib/esm/duet-checkbox.entry.js +1 -1
  419. package/lib/esm/duet-checkmark.entry.js +1 -1
  420. package/lib/esm/duet-chip_3.entry.js +3 -3
  421. package/lib/esm/duet-choice_2.entry.js +3 -3
  422. package/lib/esm/duet-collapsible.entry.js +2 -2
  423. package/lib/esm/duet-combobox.entry.js +3 -3
  424. package/lib/esm/duet-contact-card.entry.js +2 -2
  425. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  426. package/lib/esm/duet-date-picker.entry.js +4 -4
  427. package/lib/esm/duet-divider_2.entry.js +1 -1
  428. package/lib/esm/duet-editable-table_3.entry.js +3 -3
  429. package/lib/esm/duet-empty-state.entry.js +1 -1
  430. package/lib/esm/duet-fieldset.entry.js +2 -2
  431. package/lib/esm/duet-file-chooser.entry.js +1 -1
  432. package/lib/esm/duet-footer.entry.js +3 -3
  433. package/lib/esm/duet-grid_2.entry.js +1 -1
  434. package/lib/esm/duet-header_2.entry.js +2 -2
  435. package/lib/esm/duet-hero.entry.js +3 -3
  436. package/lib/esm/duet-icon.entry.js +1 -1
  437. package/lib/esm/duet-input_2.entry.js +3 -3
  438. package/lib/esm/duet-layout.entry.js +2 -2
  439. package/lib/esm/duet-list_2.entry.js +1 -1
  440. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  441. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  442. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  443. package/lib/esm/duet-menu-bar-item.entry.js +4 -4
  444. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  445. package/lib/esm/duet-menu-bar.entry.js +2 -2
  446. package/lib/esm/duet-modal.entry.js +4 -4
  447. package/lib/esm/duet-multiselect.entry.js +3 -3
  448. package/lib/esm/duet-nav.entry.js +1 -1
  449. package/lib/esm/duet-notification_2.entry.js +2 -2
  450. package/lib/esm/duet-number-input.entry.js +3 -3
  451. package/lib/esm/duet-overlay.entry.js +1 -1
  452. package/lib/esm/duet-page-heading.entry.js +1 -1
  453. package/lib/esm/duet-pagination_2.entry.js +2 -2
  454. package/lib/esm/duet-progress.entry.js +2 -2
  455. package/lib/esm/duet-promo-card.entry.js +2 -2
  456. package/lib/esm/duet-radio_2.entry.js +2 -2
  457. package/lib/esm/duet-range-slider.entry.js +1 -1
  458. package/lib/esm/duet-scrollable_3.entry.js +3 -3
  459. package/lib/esm/duet-section-layout.entry.js +1 -1
  460. package/lib/esm/duet-select.entry.js +2 -2
  461. package/lib/esm/duet-shaped-image.entry.js +1 -1
  462. package/lib/esm/duet-show-more.entry.js +2 -2
  463. package/lib/esm/duet-slideout-lang.entry.js +2 -2
  464. package/lib/esm/duet-slideout-link.entry.js +1 -1
  465. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  466. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  467. package/lib/esm/duet-slideout.entry.js +21 -21
  468. package/lib/esm/duet-step_2.entry.js +1 -1
  469. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  470. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  471. package/lib/esm/duet-submenu-bar-item.entry.js +4 -4
  472. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  473. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  474. package/lib/esm/duet-textarea.entry.js +3 -3
  475. package/lib/esm/duet-toggle.entry.js +1 -1
  476. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  477. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  478. package/lib/esm/duet-toolbar-item.entry.js +4 -4
  479. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  480. package/lib/esm/duet-toolbar.entry.js +1 -1
  481. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  482. package/lib/esm/duet-tooltip.entry.js +2 -2
  483. package/lib/esm/duet-tray.entry.js +2 -2
  484. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  485. package/lib/esm/duet-upload-item.entry.js +3 -3
  486. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  487. package/lib/esm/duet.js +3 -3
  488. package/lib/esm/{errorcodes.utils-832816c4.js → errorcodes.utils-1ac5fe3d.js} +1 -1
  489. package/lib/esm/{focus-utils-cc7c5bc4.js → focus-utils-4430bb1e.js} +1 -1
  490. package/lib/esm/{index-fe90c21e.js → index-eedb042d.js} +1 -1
  491. package/lib/esm/{language-utils-1bb1769b.js → language-utils-238c5ed0.js} +1 -1
  492. package/lib/esm/loader.js +3 -3
  493. package/lib/esm/{slot-utils-48c8377c.js → slot-utils-866b1fd5.js} +1 -1
  494. package/lib/esm-es5/{a11y-utils-1a10d7d6.js → a11y-utils-f2222b42.js} +1 -1
  495. package/lib/esm-es5/{app-globals-9e106ae0.js → app-globals-ea4c814c.js} +1 -1
  496. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  497. package/lib/esm-es5/duet-alert.entry.js +1 -1
  498. package/lib/esm-es5/duet-badge.entry.js +1 -1
  499. package/lib/esm-es5/duet-banner.entry.js +1 -1
  500. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  501. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  502. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  503. package/lib/esm-es5/duet-callout.entry.js +1 -1
  504. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  505. package/lib/esm-es5/duet-card.entry.js +1 -1
  506. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  507. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  508. package/lib/esm-es5/duet-chip_3.entry.js +1 -1
  509. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  510. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  511. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  512. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  513. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  514. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  515. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  516. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  517. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  518. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  519. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  520. package/lib/esm-es5/duet-footer.entry.js +1 -1
  521. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  522. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  523. package/lib/esm-es5/duet-hero.entry.js +1 -1
  524. package/lib/esm-es5/duet-icon.entry.js +1 -1
  525. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  526. package/lib/esm-es5/duet-layout.entry.js +1 -1
  527. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  528. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  529. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  530. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  531. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  532. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  533. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  534. package/lib/esm-es5/duet-modal.entry.js +1 -1
  535. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  536. package/lib/esm-es5/duet-nav.entry.js +1 -1
  537. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  538. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  539. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  540. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  541. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  542. package/lib/esm-es5/duet-progress.entry.js +1 -1
  543. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  544. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  545. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  546. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  547. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  548. package/lib/esm-es5/duet-select.entry.js +1 -1
  549. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  550. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  551. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  552. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  553. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  554. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  555. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  556. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  557. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  558. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  559. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  560. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  561. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  562. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  563. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  564. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  565. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  566. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  567. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  568. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  569. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  570. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  571. package/lib/esm-es5/duet-tray.entry.js +1 -1
  572. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  573. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  574. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  575. package/lib/esm-es5/duet.js +1 -1
  576. package/lib/esm-es5/{errorcodes.utils-832816c4.js → errorcodes.utils-1ac5fe3d.js} +1 -1
  577. package/lib/esm-es5/{focus-utils-cc7c5bc4.js → focus-utils-4430bb1e.js} +1 -1
  578. package/lib/esm-es5/{index-fe90c21e.js → index-eedb042d.js} +1 -1
  579. package/lib/esm-es5/{language-utils-1bb1769b.js → language-utils-238c5ed0.js} +1 -1
  580. package/lib/esm-es5/loader.js +1 -1
  581. package/lib/esm-es5/{slot-utils-48c8377c.js → slot-utils-866b1fd5.js} +1 -1
  582. package/package.json +4 -4
  583. package/lib/duet/p-0c6b088d.js +0 -4
  584. package/lib/duet/p-48689e64.entry.js +0 -4
  585. package/lib/duet/p-5a043b53.system.js +0 -4
  586. package/lib/duet/p-7a87c974.system.js +0 -4
  587. package/lib/duet/p-7fd0927e.js +0 -4
  588. package/lib/duet/p-85f7d22f.entry.js +0 -4
  589. package/lib/duet/p-8883e167.entry.js +0 -4
  590. package/lib/duet/p-90205019.js +0 -4
  591. package/lib/duet/p-b5e8f815.system.js +0 -4
  592. package/lib/duet/p-c11c0880.entry.js +0 -4
  593. package/lib/duet/p-de31a9f5.entry.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as i,H as o,g as n}from"./p-5a4b011d.js";import{i as a}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{s as c,u as r,f as h,c as d,b as p,o as u}from"./p-a1b7f2a0.js";import{g as l}from"./p-c09655fd.js";import{q as b}from"./p-1004af75.js";import{o as m,f as g,s as f,c as k,b as v}from"./p-81287261.js";import{f as x}from"./p-37a1842f.js";import{T as y}from"./p-ca3cb21e.js";import{a as w}from"./p-f11208c3.js";import"./p-9c3c64b9.js";const C=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetRemove=e(this,"duetRemove",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.chipId=s("DuetChip"),this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"},this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"},this.enforceNoDisabledSelected=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.radioInputListenersRemove=t=>{t.removeEventListener("change",this.onRadioChange),t.removeEventListener("click",this.onRadioClick),t.removeEventListener("focus",this.onFocus),t.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=t=>{t.addEventListener("change",this.onRadioChange),t.addEventListener("click",this.onRadioClick),t.addEventListener("focus",this.onFocus),t.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const t=this.element.querySelector("input[slot=input]"),e=t||document.createElement("input");e.slot="input",e.ariaDisabled=this.disabled?"true":void 0,e.id=this.identifier||this.chipId,e.type="radio",e.name=this.name,e.value=this.value,e.checked=this.checked,t?this.radioInputListenersRemove(e):this.element.appendChild(e),this.radioInputListenersAdd(e),this.focusableElement=e},this.popupSetUp=()=>{const t=document.querySelector(`duet-popup-menu#${this.popup}`);if(t){this.popupElement=t,t.controller=this.element;const e=this.element.textContent,i=this.value;t.id||(t.id="popup-menu"),t.addEventListener("duetToggle",(t=>{this.popupOpen=t.detail.open}));const o=()=>{t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.active=!1}))};t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.addEventListener("click",(n=>{var a;const s=null!==(a=t.value)&&void 0!==a?a:t.innerText;t.active?(o(),this.element.textContent=e,this.value=i,this.checked=!1):(o(),t.active=!0,this.element.textContent=t.innerText,this.value=s,this.checked=!0),this.emitChange(n),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=t=>{this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=t=>{this.checked=!this.checked,this.emitChange(t)},this.onRadioChange=t=>{this.checked=this.focusableElement.checked,this.emitChange(t)},this.onRadioClick=t=>{this.disabled&&t.preventDefault()},this.onFilterClick=t=>{if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.popupElement&&(t.stopPropagation(),t.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=t=>{null==t||t.stopPropagation(),null==t||t.preventDefault(),this.duetRemove.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"}),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.inputChipHover=!1,this.inputChipDeleteFocus=!1,this.accessibleLabel=void 0,this.variation="button",this.size="medium",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.selected=!1,this.checked=!1,this.disabled=!1,this.accessibleExpanded=void 0,this.accessiblePopup="false"}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((t=>{t!==this.element&&(t.checked=!1)}))}componentWillLoad(){a(this),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){c(this)}disconnectedCallback(){r(this)}componentDidRender(){"radio"===this.variation&&this.radioInputSetUp()}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}getAccessibleDeleteLabel(){return`${l(this.deleteLabels)} ${this.element.textContent}`}getAccessibleInputChipLabel(){return`${this.element.textContent}${this.selected?` (${l(this.selectedForDeletionLabels)}) `:""},`}async setFocus(t){setTimeout((()=>this.focusableElement.focus(t)),200)}async setDeleteFocus(){setTimeout((()=>this.deleteButtonElement.focus()),200)}async removeChip(){this.onRemoveClick()}render(){var t;const e=this.identifier||this.chipId,n={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-selected":this.selected,"duet-chip-hover":this.inputChipHover,"duet-chip-delete-focus":this.inputChipDeleteFocus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},a={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.focusableElement=t};return i(o,{key:"74eda64434d7ca861c30bb1468384b4d789bbd97",class:{[this.variation]:!0}},"button"===this.variation&&i("span",{key:"63101bab777b2c17bb952b362896a3e01849a520",class:n},i("button",Object.assign({key:"857f56d854ac01c9f0411c0a24d89f22e34e4354",id:e,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?t=>t.stopPropagation():void 0},a),i("span",{key:"5baa1e7b3ea38e0d3eb8ebe9f5cde001f4dad939",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"2cd983ee490a7810fb740009ef9a1ef1a591b378",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"f1cbed1211d6143c5b6727fb7f182b2567e27206"}))),"input"===this.variation&&i("span",{key:"744596fbf0b1bfbec1bdd33f26e70d5d9cacfeaa",class:n,"aria-label":this.getAccessibleInputChipLabel()},i("button",Object.assign({key:"e2c1bca091f5ec8e7ea9ff2c8e26519836056887",id:e,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:()=>this.inputChipHover=!0,onMouseOut:()=>this.inputChipHover=!1,onClick:()=>this.selected=!this.selected},a),i("span",{key:"a55760300073590c593ca320a5e65340be999b38",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"a7788de0d14342248a475f2ff5493c0923c45a9c",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"234fb07f9a8a248a8ed9cdad7006dc6477750c86"})),i("button",{key:"a4c5d32a365ce3994e1620a04c2d47de32ee6a79",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:()=>this.inputChipDeleteFocus=!0,onBlur:()=>this.inputChipDeleteFocus=!1,ref:t=>this.deleteButtonElement=t},i("duet-icon",{key:"61db68dbdbb9c89ad567be49369baceccfc70303",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&i("span",{key:"3df7ed43734210e5c84768121be780c2e7fa47ca",class:n},i("input",Object.assign({key:"fd46eb7f531a7cce5b329dc46973ebce71477ef0","aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(t=this.popupElement)||void 0===t?void 0:t.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:e,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},a)),i("label",{key:"2e3e7f153db3e7798fd35a41b3bd5731b7893799",htmlFor:e},this.icon&&i("span",{key:"4daec9ebcae39a9fac552ef5ca6170e991ed2ede",class:"duet-chip-icon-container"},i("duet-icon",{key:"f8c53ccc22dc8955b4ca0946014654a53f643bdf",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"72a8486a18b78b8522ccf958a762d9200ba44f39",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"4282153a03e2293726a33285e0258dafff9f08a0"}),this.popupElement&&i("span",{key:"b0ace996f4be6c9a56f4842fca5370a987a53623",class:"duet-chip-popup-disclosure"},i("duet-icon",{key:"e7ff6e81d48dd6373a5b301661b5b88bd63b18ac",name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&i("span",{key:"b35d00719155d5312923ec5e91e8b9978550553b",class:n},i("slot",{key:"e4b3e781039b2d788de0dadd67b42fca773ec902",name:"input"}),i("label",{key:"23a2a955b70d7e01982a01c25f6e634385d4b699",htmlFor:e},this.icon&&i("span",{key:"a5dd1cfb84d59288385b241df6cf09c2dd9ab717",class:"duet-chip-icon-container"},i("duet-icon",{key:"2a15bfd278418d32b2d5dc39973eebc7eabfbbae",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"50e58300bb05edd5545be74e621feca7ececb52e",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"a67a5350140057e665af6c7882d6985b430d066a"}))))}get element(){return n(this)}static get watchers(){return{checked:["clearOtherRadioButtons"]}}};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:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}';const z=class{constructor(i){t(this,i),this.duetToggle=e(this,"duetToggle",7),this.setOpenButton=t=>{if(t)try{const e=t;e.accessiblePopup="true",e.accessibleExpanded=!1,this.controllerIcon&&e.setAttribute("trailing-icon","action-arrow-down-small"),this.openButton=e}catch(t){}},this.openButtonEventListener=()=>{this.toggle()},this.updatePlacement=async()=>{if(!this.openButton)return;const t=[m({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&g(),f({padding:5})].filter(Boolean),e=await k(this.openButton,this.menuElement,{middleware:t,placement:this.placement,strategy:this.position});this.menuY=e.y,this.menuX=e.x},this.open=!1,this.menuY=void 0,this.menuX=void 0,this.accessibleLabel=void 0,this.accessibleRole="menu",this.theme="",this.skipTeleport=void 0,this.placement="bottom-start",this.forcePlacement=!1,this.allowVerticalFlip=!0,this.position="absolute",this.mainAxisOffset=0,this.crossAxisOffset=0,this.controllerIcon="action-arrow-down-small",this.scrollLimit=void 0}get controller(){return this._controller}set controller(t){this._controller!==t&&(this._controller=t,"string"==typeof t?(this.setOpenButton(document.getElementById(t)),this.openButton&&this.openButton.addEventListener("click",this.openButtonEventListener)):this.setOpenButton(t))}get opener(){return this._controller}set opener(t){this.controller=t}componentWillLoad(){a(this)}componentDidLoad(){this.updatePlacement()}connectedCallback(){this.teleport||(this.teleport=new y(this.element)),this.teleport&&this.teleport.activate()}disconnectedCallback(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.openButton&&(this.openButton.removeEventListener("click",this.openButtonEventListener),this.controllerIcon&&this.openButton.removeAttribute("trailing-icon"))}handleKeyUp(t){this.open&&h(t)&&this.hide()}async handleKeyDown(t){if(this.open){if(d(t)){t.preventDefault();const e=await this.getFocusedItemIndex();-1!==e&&(e<this.itemElements.length-1?this.itemElements[e+1].setFocus():this.itemElements[0].setFocus())}if(p(t)){t.preventDefault();const e=await this.getFocusedItemIndex();-1!==e&&(0===e?this.itemElements[this.itemElements.length-1].setFocus():this.itemElements[e-1].setFocus())}u(t)&&"menu"===this.accessibleRole&&(t.preventDefault(),this.hide())}}handleClick(t){const e=t.composedPath().every((t=>t!==this.element&&t!==this.openButton));this.open&&e&&this.hide()}async isOpen(){return this.open}async show(){this.open=!0}async hide(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.open=!1}async toggle(){this.open?this.hide():this.show()}handleOpenChange(t,e){!!t!=!!e&&(this.open&&!e?(this.openButton&&(this.openButton.accessibleExpanded=!0),"listbox"!==this.accessibleRole&&this.teleport.makeSiblingsInert(),this.updatePlacement(),this.menuElement&&this.openButton&&(this.autoUpdateCleanup=v(this.openButton,this.menuElement,this.updatePlacement)),setTimeout((()=>{"menu"===this.accessibleRole&&this.itemElements[0].setFocus(),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"})}),200)):!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),this.autoUpdateCleanup&&this.autoUpdateCleanup(),setTimeout((()=>{"menu"===this.accessibleRole&&x(this.openButton),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"}),"listbox"!==this.accessibleRole&&this.teleport.removeInertFromSiblings()}),200)))}get itemElements(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))}get popupMenuStyleHeight(){if(this.itemElements.length>0&&this.scrollLimit){const t=2*Number(b.replace("px",""));return`${this.itemElements[0].offsetHeight*this.scrollLimit+t}px`}return"auto"}async getFocusedItemIndex(){const t=this.itemElements;for(let e=0;e<t.length;e++)if(await t[e].isFocused())return e;return-1}render(){return i(o,{key:"af39c297a7f2c03182e3671d23fc67162e7854e3"},i("div",{key:"7c8fd36f7f0bbe630e5c47f942327700dd3ad3eb",ref:t=>{this.menuElement=t},style:{top:`${this.menuY}px`,left:`${this.menuX}px`,position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight},class:{open:this.open,"duet-popup-menu-list":!0,"duet-theme-turva":"turva"===this.theme,"scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},i("slot",{key:"60c5bb890286cbbc5a9a33e8bc3d0fc1888dd193"})))}get element(){return n(this)}static get watchers(){return{open:["handleOpenChange"]}}};z.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}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";const j=class{constructor(i){t(this,i),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.focus=!1,this.accessibleLabel=void 0,this.accessibleRole="menuitem",this.theme="",this.url=void 0,this.external=!1,this.targetLanguage=void 0,this.value=void 0,this.leadingIcon=void 0,this.leadingIconColor=void 0,this.trailingIcon=void 0,this.trailingText=void 0,this.active=!1,this.activeDescendant=!1}componentWillLoad(){a(this)}async setFocus(t){setTimeout((()=>this.itemElement.focus(t)),200)}async isFocused(){return this.focus}render(){const t=this.url?"a":"button";return i(o,{key:"02e7a087e9f8df28e015c45b2182ab19167c39a2",role:this.accessibleRole},i(t,{key:"ac6c8e523bb7dbd6ce78dfb8e5ba1a34c765f538",ref:t=>this.itemElement=t,tabIndex:"listitem"===this.accessibleRole?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"a"===t?"link":"button","aria-label":this.accessibleLabel,class:{"duet-popup-menu-item":!0,active:this.active,"duet-theme-turva":"turva"===this.theme,"active-descendant":this.activeDescendant},value:this.value,href:this.url,target:this.external?"_blank":void 0,rel:this.external?"noopener":void 0,lang:"button"===t?void 0:this.targetLanguage,hreflang:"button"===t?void 0:this.targetLanguage},this.leadingIcon&&i("duet-icon",{key:"003f72c807601366ce44ba41c92d01cc3867a995",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),i("span",{key:"5936e48916d5c665070e490074e5310b52ad0cd9",class:"duet-popup-menu-item-label"},i("slot",{key:"4f365167fa1ae20a9a26f91352791b8b94007088"})),(this.trailingIcon||this.active||this.url&&this.external)&&i("duet-icon",{key:"52e54059ac3b56ad022ed42085029a58b7010806",name:this.url&&this.external?w.title:this.active?"messaging-checked-small":this.trailingIcon,size:this.url&&this.external||this.active?"xx-small":"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&i("span",{key:"16fb5260a8d79c5b20bc7dcbb0d6fb078d41f0d5",class:"duet-popup-menu-item-trailing"},this.trailingText)))}get element(){return n(this)}};j.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.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-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';export{C as duet_chip,z as duet_popup_menu,j as duet_popup_menu_item}
4
+ import{r as t,c as e,h as i,H as o,g as n}from"./p-fbc91093.js";import{i as a}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{s as c,u as r,f as h,c as d,b as p,o as u}from"./p-a1b7f2a0.js";import{g as l}from"./p-6aa58c2c.js";import{q as b}from"./p-1004af75.js";import{o as m,f as g,s as f,c as k,b as v}from"./p-81287261.js";import{f as x}from"./p-c62f5d52.js";import{T as y}from"./p-ca3cb21e.js";import{a as w}from"./p-f11208c3.js";import"./p-9c3c64b9.js";const C=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetRemove=e(this,"duetRemove",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.chipId=s("DuetChip"),this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"},this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"},this.enforceNoDisabledSelected=()=>{this.disabled&&this.checked&&(console.error("Duet error: pre-selected chip may not be disabled"),this.disabled=!1)},this.radioInputListenersRemove=t=>{t.removeEventListener("change",this.onRadioChange),t.removeEventListener("click",this.onRadioClick),t.removeEventListener("focus",this.onFocus),t.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=t=>{t.addEventListener("change",this.onRadioChange),t.addEventListener("click",this.onRadioClick),t.addEventListener("focus",this.onFocus),t.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const t=this.element.querySelector("input[slot=input]"),e=t||document.createElement("input");e.slot="input",e.ariaDisabled=this.disabled?"true":void 0,e.id=this.identifier||this.chipId,e.type="radio",e.name=this.name,e.value=this.value,e.checked=this.checked,t?this.radioInputListenersRemove(e):this.element.appendChild(e),this.radioInputListenersAdd(e),this.focusableElement=e},this.popupSetUp=()=>{const t=document.querySelector(`duet-popup-menu#${this.popup}`);if(t){this.popupElement=t,t.controller=this.element;const e=this.element.textContent,i=this.value;t.id||(t.id="popup-menu"),t.addEventListener("duetToggle",(t=>{this.popupOpen=t.detail.open}));const o=()=>{t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.active=!1}))};t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.addEventListener("click",(n=>{var a;const s=null!==(a=t.value)&&void 0!==a?a:t.innerText;t.active?(o(),this.element.textContent=e,this.value=i,this.checked=!1):(o(),t.active=!0,this.element.textContent=t.innerText,this.value=s,this.checked=!0),this.emitChange(n),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=t=>{this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=t=>{this.checked=!this.checked,this.emitChange(t)},this.onRadioChange=t=>{this.checked=this.focusableElement.checked,this.emitChange(t)},this.onRadioClick=t=>{this.disabled&&t.preventDefault()},this.onFilterClick=t=>{if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.popupElement&&(t.stopPropagation(),t.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=t=>{null==t||t.stopPropagation(),null==t||t.preventDefault(),this.duetRemove.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"}),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.inputChipHover=!1,this.inputChipDeleteFocus=!1,this.accessibleLabel=void 0,this.variation="button",this.size="medium",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.selected=!1,this.checked=!1,this.disabled=!1,this.accessibleExpanded=void 0,this.accessiblePopup="false"}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((t=>{t!==this.element&&(t.checked=!1)}))}componentWillLoad(){a(this),this.popupSetUp(),this.enforceNoDisabledSelected()}connectedCallback(){c(this)}disconnectedCallback(){r(this)}componentDidRender(){"radio"===this.variation&&this.radioInputSetUp()}getAccessibleExpanded(){return null!=this.accessibleExpanded?(!!this.accessibleExpanded).toString():this.popupElement?this.popupOpen?"true":"false":void 0}getAccessiblePopup(){return this.popupElement?"true":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0}getAccessibleDeleteLabel(){return`${l(this.deleteLabels)} ${this.element.textContent}`}getAccessibleInputChipLabel(){return`${this.element.textContent}${this.selected?` (${l(this.selectedForDeletionLabels)}) `:""},`}async setFocus(t){setTimeout((()=>this.focusableElement.focus(t)),200)}async setDeleteFocus(){setTimeout((()=>this.deleteButtonElement.focus()),200)}async removeChip(){this.onRemoveClick()}render(){var t;const e=this.identifier||this.chipId,n={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-selected":this.selected,"duet-chip-hover":this.inputChipHover,"duet-chip-delete-focus":this.inputChipDeleteFocus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled,[this.size]:!0},a={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.focusableElement=t};return i(o,{key:"74eda64434d7ca861c30bb1468384b4d789bbd97",class:{[this.variation]:!0}},"button"===this.variation&&i("span",{key:"63101bab777b2c17bb952b362896a3e01849a520",class:n},i("button",Object.assign({key:"857f56d854ac01c9f0411c0a24d89f22e34e4354",id:e,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?t=>t.stopPropagation():void 0},a),i("span",{key:"5baa1e7b3ea38e0d3eb8ebe9f5cde001f4dad939",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"2cd983ee490a7810fb740009ef9a1ef1a591b378",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"f1cbed1211d6143c5b6727fb7f182b2567e27206"}))),"input"===this.variation&&i("span",{key:"744596fbf0b1bfbec1bdd33f26e70d5d9cacfeaa",class:n,"aria-label":this.getAccessibleInputChipLabel()},i("button",Object.assign({key:"e2c1bca091f5ec8e7ea9ff2c8e26519836056887",id:e,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:()=>this.inputChipHover=!0,onMouseOut:()=>this.inputChipHover=!1,onClick:()=>this.selected=!this.selected},a),i("span",{key:"a55760300073590c593ca320a5e65340be999b38",class:"duet-chip-icon-container"},this.icon&&i("duet-icon",{key:"a7788de0d14342248a475f2ff5493c0923c45a9c",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),i("slot",{key:"234fb07f9a8a248a8ed9cdad7006dc6477750c86"})),i("button",{key:"a4c5d32a365ce3994e1620a04c2d47de32ee6a79",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:()=>this.inputChipDeleteFocus=!0,onBlur:()=>this.inputChipDeleteFocus=!1,ref:t=>this.deleteButtonElement=t},i("duet-icon",{key:"61db68dbdbb9c89ad567be49369baceccfc70303",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&i("span",{key:"3df7ed43734210e5c84768121be780c2e7fa47ca",class:n},i("input",Object.assign({key:"fd46eb7f531a7cce5b329dc46973ebce71477ef0","aria-haspopup":this.getAccessiblePopup(),"aria-controls":null===(t=this.popupElement)||void 0===t?void 0:t.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":void 0,id:e,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},a)),i("label",{key:"2e3e7f153db3e7798fd35a41b3bd5731b7893799",htmlFor:e},this.icon&&i("span",{key:"4daec9ebcae39a9fac552ef5ca6170e991ed2ede",class:"duet-chip-icon-container"},i("duet-icon",{key:"f8c53ccc22dc8955b4ca0946014654a53f643bdf",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"72a8486a18b78b8522ccf958a762d9200ba44f39",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"4282153a03e2293726a33285e0258dafff9f08a0"}),this.popupElement&&i("span",{key:"b0ace996f4be6c9a56f4842fca5370a987a53623",class:"duet-chip-popup-disclosure"},i("duet-icon",{key:"e7ff6e81d48dd6373a5b301661b5b88bd63b18ac",name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&i("span",{key:"b35d00719155d5312923ec5e91e8b9978550553b",class:n},i("slot",{key:"e4b3e781039b2d788de0dadd67b42fca773ec902",name:"input"}),i("label",{key:"23a2a955b70d7e01982a01c25f6e634385d4b699",htmlFor:e},this.icon&&i("span",{key:"a5dd1cfb84d59288385b241df6cf09c2dd9ab717",class:"duet-chip-icon-container"},i("duet-icon",{key:"2a15bfd278418d32b2d5dc39973eebc7eabfbbae",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),i("duet-icon",{key:"50e58300bb05edd5545be74e621feca7ececb52e",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),i("slot",{key:"a67a5350140057e665af6c7882d6985b430d066a"}))))}get element(){return n(this)}static get watchers(){return{checked:["clearOtherRadioButtons"]}}};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:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}';const z=class{constructor(i){t(this,i),this.duetToggle=e(this,"duetToggle",7),this.setOpenButton=t=>{if(t)try{const e=t;e.accessiblePopup="true",e.accessibleExpanded=!1,this.controllerIcon&&e.setAttribute("trailing-icon","action-arrow-down-small"),this.openButton=e}catch(t){}},this.openButtonEventListener=()=>{this.toggle()},this.updatePlacement=async()=>{if(!this.openButton)return;const t=[m({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&g(),f({padding:5})].filter(Boolean),e=await k(this.openButton,this.menuElement,{middleware:t,placement:this.placement,strategy:this.position});this.menuY=e.y,this.menuX=e.x},this.open=!1,this.menuY=void 0,this.menuX=void 0,this.accessibleLabel=void 0,this.accessibleRole="menu",this.theme="",this.skipTeleport=void 0,this.placement="bottom-start",this.forcePlacement=!1,this.allowVerticalFlip=!0,this.position="absolute",this.mainAxisOffset=0,this.crossAxisOffset=0,this.controllerIcon="action-arrow-down-small",this.scrollLimit=void 0}get controller(){return this._controller}set controller(t){this._controller!==t&&(this._controller=t,"string"==typeof t?(this.setOpenButton(document.getElementById(t)),this.openButton&&this.openButton.addEventListener("click",this.openButtonEventListener)):this.setOpenButton(t))}get opener(){return this._controller}set opener(t){this.controller=t}componentWillLoad(){a(this)}componentDidLoad(){this.updatePlacement()}connectedCallback(){this.teleport||(this.teleport=new y(this.element)),this.teleport&&this.teleport.activate()}disconnectedCallback(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.openButton&&(this.openButton.removeEventListener("click",this.openButtonEventListener),this.controllerIcon&&this.openButton.removeAttribute("trailing-icon"))}handleKeyUp(t){this.open&&h(t)&&this.hide()}async handleKeyDown(t){if(this.open){if(d(t)){t.preventDefault();const e=await this.getFocusedItemIndex();-1!==e&&(e<this.itemElements.length-1?this.itemElements[e+1].setFocus():this.itemElements[0].setFocus())}if(p(t)){t.preventDefault();const e=await this.getFocusedItemIndex();-1!==e&&(0===e?this.itemElements[this.itemElements.length-1].setFocus():this.itemElements[e-1].setFocus())}u(t)&&"menu"===this.accessibleRole&&(t.preventDefault(),this.hide())}}handleClick(t){const e=t.composedPath().every((t=>t!==this.element&&t!==this.openButton));this.open&&e&&this.hide()}async isOpen(){return this.open}async show(){this.open=!0}async hide(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.open=!1}async toggle(){this.open?this.hide():this.show()}handleOpenChange(t,e){!!t!=!!e&&(this.open&&!e?(this.openButton&&(this.openButton.accessibleExpanded=!0),"listbox"!==this.accessibleRole&&this.teleport.makeSiblingsInert(),this.updatePlacement(),this.menuElement&&this.openButton&&(this.autoUpdateCleanup=v(this.openButton,this.menuElement,this.updatePlacement)),setTimeout((()=>{"menu"===this.accessibleRole&&this.itemElements[0].setFocus(),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"})}),200)):!this.open&&e&&(this.openButton&&(this.openButton.accessibleExpanded=!1),this.autoUpdateCleanup&&this.autoUpdateCleanup(),setTimeout((()=>{"menu"===this.accessibleRole&&x(this.openButton),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"}),"listbox"!==this.accessibleRole&&this.teleport.removeInertFromSiblings()}),200)))}get itemElements(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))}get popupMenuStyleHeight(){if(this.itemElements.length>0&&this.scrollLimit){const t=2*Number(b.replace("px",""));return`${this.itemElements[0].offsetHeight*this.scrollLimit+t}px`}return"auto"}async getFocusedItemIndex(){const t=this.itemElements;for(let e=0;e<t.length;e++)if(await t[e].isFocused())return e;return-1}render(){return i(o,{key:"af39c297a7f2c03182e3671d23fc67162e7854e3"},i("div",{key:"7c8fd36f7f0bbe630e5c47f942327700dd3ad3eb",ref:t=>{this.menuElement=t},style:{top:`${this.menuY}px`,left:`${this.menuX}px`,position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight},class:{open:this.open,"duet-popup-menu-list":!0,"duet-theme-turva":"turva"===this.theme,"scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},i("slot",{key:"60c5bb890286cbbc5a9a33e8bc3d0fc1888dd193"})))}get element(){return n(this)}static get watchers(){return{open:["handleOpenChange"]}}};z.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}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";const j=class{constructor(i){t(this,i),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-popup-menu-item"})},this.focus=!1,this.accessibleLabel=void 0,this.accessibleRole="menuitem",this.theme="",this.url=void 0,this.external=!1,this.targetLanguage=void 0,this.value=void 0,this.leadingIcon=void 0,this.leadingIconColor=void 0,this.trailingIcon=void 0,this.trailingText=void 0,this.active=!1,this.activeDescendant=!1}componentWillLoad(){a(this)}async setFocus(t){setTimeout((()=>this.itemElement.focus(t)),200)}async isFocused(){return this.focus}render(){const t=this.url?"a":"button";return i(o,{key:"02e7a087e9f8df28e015c45b2182ab19167c39a2",role:this.accessibleRole},i(t,{key:"ac6c8e523bb7dbd6ce78dfb8e5ba1a34c765f538",ref:t=>this.itemElement=t,tabIndex:"listitem"===this.accessibleRole?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"a"===t?"link":"button","aria-label":this.accessibleLabel,class:{"duet-popup-menu-item":!0,active:this.active,"duet-theme-turva":"turva"===this.theme,"active-descendant":this.activeDescendant},value:this.value,href:this.url,target:this.external?"_blank":void 0,rel:this.external?"noopener":void 0,lang:"button"===t?void 0:this.targetLanguage,hreflang:"button"===t?void 0:this.targetLanguage},this.leadingIcon&&i("duet-icon",{key:"003f72c807601366ce44ba41c92d01cc3867a995",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),i("span",{key:"5936e48916d5c665070e490074e5310b52ad0cd9",class:"duet-popup-menu-item-label"},i("slot",{key:"4f365167fa1ae20a9a26f91352791b8b94007088"})),(this.trailingIcon||this.active||this.url&&this.external)&&i("duet-icon",{key:"52e54059ac3b56ad022ed42085029a58b7010806",name:this.url&&this.external?w.title:this.active?"messaging-checked-small":this.trailingIcon,size:this.url&&this.external||this.active?"xx-small":"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&i("span",{key:"16fb5260a8d79c5b20bc7dcbb0d6fb078d41f0d5",class:"duet-popup-menu-item-trailing"},this.trailingText)))}get element(){return n(this)}};j.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.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-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';export{C as duet_chip,z as duet_popup_menu,j as duet_popup_menu_item}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function a(t){try{u(i.next(t))}catch(t){o(t)}}function s(t){try{u(i["throw"](t))}catch(t){o(t)}}function u(t){t.done?n(t.value):r(t.value).then(a,s)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return u([t,e])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(i=1,r&&(o=s[0]&2?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;if(r=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];r=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-bdaef893.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-34d7dd10.system.js"],(function(t){"use strict";var e,n,i,r,o,a,s,u,d,p;return{setters:[function(t){e=t.r;n=t.c;i=t.h;r=t.g;o=t.H},function(t){a=t.i},function(t){s=t.c},function(t){u=t.i;d=t.s;p=t.u}],execute:function(){var c={title:"action-edit-2",tags:"action edit 2 pen pencil",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'};var 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;display:block}.duet-step{padding:20px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false]{cursor:pointer}.duet-step-heading:focus{outline:0}.duet-step-heading:active{opacity:0.75}:host(.user-is-tabbing) .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete .duet-step-heading:hover .duet-step-counter,.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#005f8f}.duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e0a26}.is-current .duet-step-heading{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading{margin-top:8px;margin-bottom:8px !important}:host(:first-of-type) .duet-step-heading{margin-top:0}:host(:last-of-type) .duet-step-heading{margin-bottom:0 !important}}.duet-step-counter{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter{width:40px;height:40px;line-height:40px}}.is-complete .duet-step-counter,.is-current .duet-step-counter,.is-disabled .duet-step-counter{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete .duet-step-counter,.duet-theme-turva.is-current .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(198, 12, 48)}.is-incomplete .duet-step-counter{background-color:rgb(98, 121, 138)}.duet-theme-turva.is-incomplete .duet-step-counter{background-color:rgb(143, 147, 158)}.duet-step-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon{width:20px;height:20px}}.duet-step-icon duet-icon{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon duet-icon{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(212, 223, 229)}.duet-theme-turva .duet-step-content-wrapper{border-color:rgb(222, 224, 228)}:host(:last-of-type) .duet-step-content-wrapper{min-height:0;border:transparent}}.duet-step-content{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content{padding-bottom:28px}}.is-current .duet-step-content{display:block}.duet-step-heading-slot{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot{display:block}}';var l=h;var b=t("duet_step",function(){function t(t){var i=this;e(this,t);this.duetStepClick=n(this,"duetStepClick",7);this.buttonId=s("DuetStepButton");this.contentId=s("DuetStepContent");this.handleKeyDown=function(t){if(i.isClickDisabled()){return}if(u(t)){t.preventDefault();i.handleStepClick(t)}};this.handleClick=function(t){if(i.isClickDisabled()){return}i.handleStepClick(t)};this.theme="";this.heading=undefined;this.headingLevel=undefined;this.stepIndex=undefined;this.state=undefined;this.roundedTop=false;this.roundedBottom=false}t.prototype.handleStepClick=function(t){this.duetStepClick.emit({originalEvent:t,component:"duet-step",stepIndex:this.stepIndex})};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){d(this)};t.prototype.disconnectedCallback=function(){p(this)};t.prototype.setFocus=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t={preventScroll:true}}return __generator(this,(function(e){this.buttonElement.focus(t);return[2]}))}))};t.prototype.isClickDisabled=function(){return this.state!=="complete"};t.prototype.headingColor=function(){if(this.state!=="incomplete"){return""}if(this.theme!=="turva"){return"gray-darker"}else{return"gray-dark-turva"}};t.prototype.renderStepCounter=function(){if(this.state==="complete"||this.state==="disabled"){return i("div",{class:"duet-step-icon"},i("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:c.svg}))}return"".concat(this.stepIndex+1," ")};t.prototype.render=function(){var t;var e=this;return i("div",{class:(t={"duet-step":true},t["is-".concat(this.state)]=true,t["rounded-top"]=this.roundedTop,t["rounded-bottom"]=this.roundedBottom,t["duet-theme-turva"]=this.theme==="turva",t)},i("div",{class:"duet-step-heading",id:this.buttonId,role:this.state!=="current"?"button":"region","aria-current":this.state==="current"?"step":undefined,tabindex:this.state!=="current"?"0":undefined,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":(this.state==="current").toString(),"aria-controls":this.contentId,"aria-selected":(this.state==="current").toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){return e.buttonElement=t}},i("div",{"aria-hidden":"true"},i("div",{class:"duet-step-counter"},this.renderStepCounter())),i("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),i("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),i("div",null,i("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),i("duet-spacer",{direction:"horizontal",size:"large"}),i("div",{class:"duet-step-heading-slot"},i("slot",{name:"heading-content"}))),i("div",{class:"duet-step-content-wrapper"},i("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},i("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());b.style=l;function f(t,e){var n={};e.forEach((function(e){var i=e[t];if(!n[i]){n[i]=[]}n[i].push(e)}));return n}var m=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";var g=m;var x=t("duet_stepper",function(){function t(t){e(this,t);this.duetStepChange=n(this,"duetStepChange",7);this.theme="";this.accessibleLive="Lista jossa {total} kohtaa. Olet kohdassa {current}.";this.margin="auto";this.backDisabled=false;this.selected=0}t.prototype.currentStepChanged=function(t){var e=this;if(isNaN(t)){throw new Error("step must be a number. got: ".concat(t))}if(t<0){throw new Error("step must be not be less than zero. got: ".concat(t))}if(t>this.getSteps().length){throw new Error("step must not exceed total number of steps")}this.updateStepState();setTimeout((function(){return e.setStepFocus()}),50)};t.prototype.currentStepInvokedDisable=function(){this.updateStepState()};t.prototype.onDuetStepClick=function(t){this.duetStepChange.emit({fromStep:this.selected,toStep:t.detail.stepIndex,component:"duet-stepper"})};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.updateStepState();return[2]}))}))};t.prototype.getSteps=function(){return Array.from(this.element.querySelectorAll("duet-step"))};t.prototype.setStepFocus=function(){var t=this.getSteps();var e=t[this.selected];e.setFocus()};t.prototype.updateStepState=function(){var t=this;var e=this.getSteps();e.forEach((function(e,n){var i;if(n<t.selected){i=t.backDisabled?"disabled":"complete"}else if(n>t.selected){i="incomplete"}else{i="current"}e.theme=t.theme;e.state=i;e.stepIndex=n}));var n=f("state",e);Object.values(n).forEach((function(t){t.forEach((function(e,n){e.roundedTop=n===0;e.roundedBottom=n===t.length-1}))}))};t.prototype.formatAnnouncement=function(){var t=this.getSteps();var e=(this.selected+1).toString(10);var n=t.length.toString(10);return this.accessibleLive.replace("{current}",e).replace("{total}",n)};t.prototype.render=function(){return i(o,{key:"9cd2e878ee57bb71fe5fbd410f88af372dc31cde",class:{"duet-m-0":this.margin==="none"}},i("div",{key:"f97a9e7f94f0968bb70ed9def756541279783bc7",class:{"duet-stepper":true,"duet-theme-turva":this.theme==="turva"}},i("duet-visually-hidden",{key:"c6bc42ab6164ea260b6860c4c8350f8fecc83a2f","aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),i("slot",{key:"fa2a987f757693d3f287fc0707466d751d7fb8ba"})))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}},enumerable:false,configurable:true});return t}());x.style=g}}}));
4
+ */System.register(["./p-7f554f9f.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-34d7dd10.system.js"],(function(t){"use strict";var e,n,i,r,o,a,s,u,d,p;return{setters:[function(t){e=t.r;n=t.c;i=t.h;r=t.g;o=t.H},function(t){a=t.i},function(t){s=t.c},function(t){u=t.i;d=t.s;p=t.u}],execute:function(){var c={title:"action-edit-2",tags:"action edit 2 pen pencil",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'};var 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;display:block}.duet-step{padding:20px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false]{cursor:pointer}.duet-step-heading:focus{outline:0}.duet-step-heading:active{opacity:0.75}:host(.user-is-tabbing) .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete .duet-step-heading:hover .duet-step-counter,.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#005f8f}.duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e0a26}.is-current .duet-step-heading{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading{margin-top:8px;margin-bottom:8px !important}:host(:first-of-type) .duet-step-heading{margin-top:0}:host(:last-of-type) .duet-step-heading{margin-bottom:0 !important}}.duet-step-counter{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter{width:40px;height:40px;line-height:40px}}.is-complete .duet-step-counter,.is-current .duet-step-counter,.is-disabled .duet-step-counter{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete .duet-step-counter,.duet-theme-turva.is-current .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(198, 12, 48)}.is-incomplete .duet-step-counter{background-color:rgb(98, 121, 138)}.duet-theme-turva.is-incomplete .duet-step-counter{background-color:rgb(143, 147, 158)}.duet-step-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon{width:20px;height:20px}}.duet-step-icon duet-icon{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon duet-icon{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(212, 223, 229)}.duet-theme-turva .duet-step-content-wrapper{border-color:rgb(222, 224, 228)}:host(:last-of-type) .duet-step-content-wrapper{min-height:0;border:transparent}}.duet-step-content{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content{padding-bottom:28px}}.is-current .duet-step-content{display:block}.duet-step-heading-slot{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot{display:block}}';var l=h;var f=t("duet_step",function(){function t(t){var i=this;e(this,t);this.duetStepClick=n(this,"duetStepClick",7);this.buttonId=s("DuetStepButton");this.contentId=s("DuetStepContent");this.handleKeyDown=function(t){if(i.isClickDisabled()){return}if(u(t)){t.preventDefault();i.handleStepClick(t)}};this.handleClick=function(t){if(i.isClickDisabled()){return}i.handleStepClick(t)};this.theme="";this.heading=undefined;this.headingLevel=undefined;this.stepIndex=undefined;this.state=undefined;this.roundedTop=false;this.roundedBottom=false}t.prototype.handleStepClick=function(t){this.duetStepClick.emit({originalEvent:t,component:"duet-step",stepIndex:this.stepIndex})};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){d(this)};t.prototype.disconnectedCallback=function(){p(this)};t.prototype.setFocus=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t={preventScroll:true}}return __generator(this,(function(e){this.buttonElement.focus(t);return[2]}))}))};t.prototype.isClickDisabled=function(){return this.state!=="complete"};t.prototype.headingColor=function(){if(this.state!=="incomplete"){return""}if(this.theme!=="turva"){return"gray-darker"}else{return"gray-dark-turva"}};t.prototype.renderStepCounter=function(){if(this.state==="complete"||this.state==="disabled"){return i("div",{class:"duet-step-icon"},i("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:c.svg}))}return"".concat(this.stepIndex+1," ")};t.prototype.render=function(){var t;var e=this;return i("div",{class:(t={"duet-step":true},t["is-".concat(this.state)]=true,t["rounded-top"]=this.roundedTop,t["rounded-bottom"]=this.roundedBottom,t["duet-theme-turva"]=this.theme==="turva",t)},i("div",{class:"duet-step-heading",id:this.buttonId,role:this.state!=="current"?"button":"region","aria-current":this.state==="current"?"step":undefined,tabindex:this.state!=="current"?"0":undefined,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":(this.state==="current").toString(),"aria-controls":this.contentId,"aria-selected":(this.state==="current").toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){return e.buttonElement=t}},i("div",{"aria-hidden":"true"},i("div",{class:"duet-step-counter"},this.renderStepCounter())),i("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),i("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),i("div",null,i("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),i("duet-spacer",{direction:"horizontal",size:"large"}),i("div",{class:"duet-step-heading-slot"},i("slot",{name:"heading-content"}))),i("div",{class:"duet-step-content-wrapper"},i("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},i("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());f.style=l;function b(t,e){var n={};e.forEach((function(e){var i=e[t];if(!n[i]){n[i]=[]}n[i].push(e)}));return n}var m=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";var g=m;var x=t("duet_stepper",function(){function t(t){e(this,t);this.duetStepChange=n(this,"duetStepChange",7);this.theme="";this.accessibleLive="Lista jossa {total} kohtaa. Olet kohdassa {current}.";this.margin="auto";this.backDisabled=false;this.selected=0}t.prototype.currentStepChanged=function(t){var e=this;if(isNaN(t)){throw new Error("step must be a number. got: ".concat(t))}if(t<0){throw new Error("step must be not be less than zero. got: ".concat(t))}if(t>this.getSteps().length){throw new Error("step must not exceed total number of steps")}this.updateStepState();setTimeout((function(){return e.setStepFocus()}),50)};t.prototype.currentStepInvokedDisable=function(){this.updateStepState()};t.prototype.onDuetStepClick=function(t){this.duetStepChange.emit({fromStep:this.selected,toStep:t.detail.stepIndex,component:"duet-stepper"})};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.updateStepState();return[2]}))}))};t.prototype.getSteps=function(){return Array.from(this.element.querySelectorAll("duet-step"))};t.prototype.setStepFocus=function(){var t=this.getSteps();var e=t[this.selected];e.setFocus()};t.prototype.updateStepState=function(){var t=this;var e=this.getSteps();e.forEach((function(e,n){var i;if(n<t.selected){i=t.backDisabled?"disabled":"complete"}else if(n>t.selected){i="incomplete"}else{i="current"}e.theme=t.theme;e.state=i;e.stepIndex=n}));var n=b("state",e);Object.values(n).forEach((function(t){t.forEach((function(e,n){e.roundedTop=n===0;e.roundedBottom=n===t.length-1}))}))};t.prototype.formatAnnouncement=function(){var t=this.getSteps();var e=(this.selected+1).toString(10);var n=t.length.toString(10);return this.accessibleLive.replace("{current}",e).replace("{total}",n)};t.prototype.render=function(){return i(o,{key:"9cd2e878ee57bb71fe5fbd410f88af372dc31cde",class:{"duet-m-0":this.margin==="none"}},i("div",{key:"f97a9e7f94f0968bb70ed9def756541279783bc7",class:{"duet-stepper":true,"duet-theme-turva":this.theme==="turva"}},i("duet-visually-hidden",{key:"c6bc42ab6164ea260b6860c4c8350f8fecc83a2f","aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),i("slot",{key:"fa2a987f757693d3f287fc0707466d751d7fb8ba"})))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}},enumerable:false,configurable:true});return t}());x.style=g}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as i,H as s,g as e}from"./p-5a4b011d.js";import{m as o,a}from"./p-f6000a03.js";import{c as h,f as n,s as l,a as p,b as r}from"./p-81287261.js";import{i as d}from"./p-aaa7a7bd.js";import{c}from"./p-5e59e970.js";import{f as m}from"./p-a1b7f2a0.js";import{a as u,g as b,c as f,d as v}from"./p-c09655fd.js";import"./p-9c3c64b9.js";const g=class{constructor(i){t(this,i),this.mql=[window.matchMedia(o.replace(/'/g,"")),window.matchMedia(a.replace(/'/g,""))],this.tooltipId=c("DuetTooltip"),this.aboutString={fi:"aiheesta",en:"about",sv:"om"},this.openTooltip=()=>{this.active=!0,setTimeout((()=>{this.contentEl.focus({preventScroll:!0}),this.buttonActive=!0}),200)},this.closeTooltip=(t=!1)=>{this.active=!1,t&&setTimeout((()=>{this.buttonEl.setFocus({preventScroll:!0})}),200),setTimeout((()=>{this.buttonActive=!1})),setTimeout((()=>{this.updatePlacement()}),200)},this.toggleOpen=()=>{this.active?this.closeTooltip():this.openTooltip()},this.updatePlacement=async()=>{var t,i;let s=!0;("large"!==this.breakpoint||this.mql[1].matches)&&("medium"!==this.breakpoint||this.mql[0].matches)||(s=!1);let e=s?"top-start":"top-end";"left"===this.direction?e="top-end":"right"===this.direction&&(e="top-start");const o=await h(this.buttonEl,this.popupElement,{placement:e,middleware:[n(),l({padding:5}),p({element:this.arrowEl})]});this.tooltipY=o.y,this.tooltipX=o.x,this.placement=o.placement,this.arrowY=null===(t=o.middlewareData.arrow)||void 0===t?void 0:t.y,this.arrowX=null===(i=o.middlewareData.arrow)||void 0===i?void 0:i.x},this.placement="bottom",this.tooltipY=void 0,this.tooltipX=void 0,this.arrowX=void 0,this.arrowY=void 0,this.buttonActive=void 0,this.theme="",this.language=u(),this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"},this.accessibleLabel=b(this.accessibleLabelDefault,this.language),this.accessibleAboutLabel=void 0,this.accessibleInputLabel=void 0,this.accessibleCloseLabelDefault={fi:"Sulje lisätiedot",en:"Close details",sv:"Stäng tilläggsuppgifter"},this.accessibleCloseLabel=b(this.accessibleCloseLabelDefault,this.language),this.label="",this.breakpoint="medium",this.direction="auto",this.positionVertical="0",this.positionHorizontal="0",this.active=!1,this.negative=!1}componentWillLoad(){d(this),this.buttonActive=this.active}async componentDidLoad(){this.arrowEl=await this.popupElement.getArrowElement(),this.contentEl=await this.popupElement.getContentElement(),this.updatePlacement(),this.active&&(this.openTooltip(),await this.handleActiveChange(this.active)),this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body}),this.intersectionObserver.observe(this.element)}connectedCallback(){f(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])}disconnectedCallback(){v(this)}handleDocumentClick(t){this.active&&t.composedPath().every((t=>t!==this.element&&t!==this.contentEl))&&this.closeTooltip()}handleKeyDown(t){this.active&&m(t)&&this.closeTooltip(!0)}handlePopupClose(){this.active&&this.closeTooltip(!0)}async handleActiveChange(t){t?this.autoUpdateCleanup=r(this.buttonEl,this.popupElement,this.updatePlacement):this.autoUpdateCleanup()}render(){const t={position:"relative",overflow:this.active?"visible":"hidden"},e={top:`${this.tooltipY}px`,left:`${this.tooltipX}px`,display:"block","pointer-events":this.active?"auto":"none"},o={top:this.arrowY?`${this.arrowY}px`:void 0,left:this.arrowX?`${this.arrowX}px`:void 0};return i(s,{style:{transform:`translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,zIndex:this.active?"201":""}},i("duet-tooltip-button",{ref:t=>this.buttonEl=t,active:this.buttonActive,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel&&`${this.accessibleInputLabel}, ${this.accessibleLabel}`||this.accessibleAboutLabel&&`${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`||this.accessibleLabel,onClick:this.toggleOpen,theme:this.theme,negative:this.negative}),i("div",{style:t},i("duet-tooltip-popup",{ref:t=>this.popupElement=t,active:this.active,tooltipId:this.tooltipId,arrowStyles:o,style:e,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel,theme:this.theme},i("slot",null))))}get element(){return e(this)}static get watchers(){return{active:["handleActiveChange"]}}};g.style="*.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}";export{g as duet_tooltip}
4
+ import{r as t,h as i,H as s,g as e}from"./p-fbc91093.js";import{m as o,a}from"./p-f6000a03.js";import{c as h,f as n,s as l,a as p,b as r}from"./p-81287261.js";import{i as d}from"./p-aaa7a7bd.js";import{c}from"./p-5e59e970.js";import{f as m}from"./p-a1b7f2a0.js";import{a as u,g as b,c as f,d as v}from"./p-6aa58c2c.js";import"./p-9c3c64b9.js";const g=class{constructor(i){t(this,i),this.mql=[window.matchMedia(o.replace(/'/g,"")),window.matchMedia(a.replace(/'/g,""))],this.tooltipId=c("DuetTooltip"),this.aboutString={fi:"aiheesta",en:"about",sv:"om"},this.openTooltip=()=>{this.active=!0,setTimeout((()=>{this.contentEl.focus({preventScroll:!0}),this.buttonActive=!0}),200)},this.closeTooltip=(t=!1)=>{this.active=!1,t&&setTimeout((()=>{this.buttonEl.setFocus({preventScroll:!0})}),200),setTimeout((()=>{this.buttonActive=!1})),setTimeout((()=>{this.updatePlacement()}),200)},this.toggleOpen=()=>{this.active?this.closeTooltip():this.openTooltip()},this.updatePlacement=async()=>{var t,i;let s=!0;("large"!==this.breakpoint||this.mql[1].matches)&&("medium"!==this.breakpoint||this.mql[0].matches)||(s=!1);let e=s?"top-start":"top-end";"left"===this.direction?e="top-end":"right"===this.direction&&(e="top-start");const o=await h(this.buttonEl,this.popupElement,{placement:e,middleware:[n(),l({padding:5}),p({element:this.arrowEl})]});this.tooltipY=o.y,this.tooltipX=o.x,this.placement=o.placement,this.arrowY=null===(t=o.middlewareData.arrow)||void 0===t?void 0:t.y,this.arrowX=null===(i=o.middlewareData.arrow)||void 0===i?void 0:i.x},this.placement="bottom",this.tooltipY=void 0,this.tooltipX=void 0,this.arrowX=void 0,this.arrowY=void 0,this.buttonActive=void 0,this.theme="",this.language=u(),this.accessibleLabelDefault={fi:"Näytä lisätietoja",en:"Show more information",sv:"Visa mer tilläggsuppgifter"},this.accessibleLabel=b(this.accessibleLabelDefault,this.language),this.accessibleAboutLabel=void 0,this.accessibleInputLabel=void 0,this.accessibleCloseLabelDefault={fi:"Sulje lisätiedot",en:"Close details",sv:"Stäng tilläggsuppgifter"},this.accessibleCloseLabel=b(this.accessibleCloseLabelDefault,this.language),this.label="",this.breakpoint="medium",this.direction="auto",this.positionVertical="0",this.positionHorizontal="0",this.active=!1,this.negative=!1}componentWillLoad(){d(this),this.buttonActive=this.active}async componentDidLoad(){this.arrowEl=await this.popupElement.getArrowElement(),this.contentEl=await this.popupElement.getContentElement(),this.updatePlacement(),this.active&&(this.openTooltip(),await this.handleActiveChange(this.active)),this.intersectionObserver=new IntersectionObserver(this.updatePlacement,{root:document.body}),this.intersectionObserver.observe(this.element)}connectedCallback(){f(this,[{prop:"accessibleLabel",defaults:"accessibleLabelDefault"},{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefault"}])}disconnectedCallback(){v(this)}handleDocumentClick(t){this.active&&t.composedPath().every((t=>t!==this.element&&t!==this.contentEl))&&this.closeTooltip()}handleKeyDown(t){this.active&&m(t)&&this.closeTooltip(!0)}handlePopupClose(){this.active&&this.closeTooltip(!0)}async handleActiveChange(t){t?this.autoUpdateCleanup=r(this.buttonEl,this.popupElement,this.updatePlacement):this.autoUpdateCleanup()}render(){const t={position:"relative",overflow:this.active?"visible":"hidden"},e={top:`${this.tooltipY}px`,left:`${this.tooltipX}px`,display:"block","pointer-events":this.active?"auto":"none"},o={top:this.arrowY?`${this.arrowY}px`:void 0,left:this.arrowX?`${this.arrowX}px`:void 0};return i(s,{style:{transform:`translateY(${this.positionVertical}) translateX(${this.positionHorizontal})`,zIndex:this.active?"201":""}},i("duet-tooltip-button",{ref:t=>this.buttonEl=t,active:this.buttonActive,tooltipId:this.tooltipId,label:this.label,accessibleLabel:this.accessibleInputLabel&&`${this.accessibleInputLabel}, ${this.accessibleLabel}`||this.accessibleAboutLabel&&`${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`||this.accessibleLabel,onClick:this.toggleOpen,theme:this.theme,negative:this.negative}),i("div",{style:t},i("duet-tooltip-popup",{ref:t=>this.popupElement=t,active:this.active,tooltipId:this.tooltipId,arrowStyles:o,style:e,placement:this.placement,accessibleCloseLabel:this.accessibleCloseLabel,theme:this.theme},i("slot",null))))}get element(){return e(this)}static get watchers(){return{active:["handleActiveChange"]}}};g.style="*.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}";export{g as duet_tooltip}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-bdaef893.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js"],(function(e){"use strict";var n,a,t,o,r,i;return{setters:[function(e){n=e.r;a=e.h;t=e.H;o=e.g},function(e){r=e.i},function(e){i=e.f}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;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);text-align:left;text-decoration:none}.duet-submenu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown-link .label-container{display:flex;flex:1;gap:12px;align-items:center;justify-content:flex-start}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.5rem 8px;font-size:1rem;line-height:1.5}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}.duet-submenu-bar-dropdown-link.active .active-check{display:none}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-submenu-bar-dropdown-link.active .label::after{display:none}.duet-submenu-bar-dropdown-link.active .active-check{display:block}.duet-submenu-bar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-submenu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(126, 2, 35)}';var u=d;var s=e("duet_submenu_bar_dropdown_link",function(){function e(e){n(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined;this.caret=false;this.highlight=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.handleEscape=function(e){if(i(e)){var n=this.element.closest("duet-submenu-bar-dropdown");n.open=false;n.setFocus()}};e.prototype.render=function(){var e=this;return a(t,{key:"60141679d4da6a7724aa40a2445f9453b89493f1"},a("a",{key:"7bcc708536db8a5bae64318ea75be58e8814a9ee",class:{"duet-submenu-bar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:function(n){return e.handleEscape(n)}},this.icon&&a("duet-icon",{key:"3154b1713b8ee0ecb9dde907cc87b59193051c67",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),a("span",{key:"b7e0771fb6af597db0aeab77c26b6f10ad5fd37f",class:"label-container"},a("span",{key:"a2356f448e5634bc9a3e0151cb71adf812cc4135",class:"label"},a("slot",{key:"01ede3bc095dbb8c37a7d0d7506b59b844f005d2"})),this.caret&&a("duet-icon",{key:"57d6d0dee133a2a16ea63ee8dfe6707beb4a5231",name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&a("duet-icon",{key:"1601244392f22c8232aba7daa7a473b711b695d4",class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=u}}}));
4
+ System.register(["./p-7f554f9f.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js"],(function(e){"use strict";var n,a,t,o,r,i;return{setters:[function(e){n=e.r;a=e.h;t=e.H;o=e.g},function(e){r=e.i},function(e){i=e.f}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;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);text-align:left;text-decoration:none}.duet-submenu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-dropdown-link .label-container{display:flex;flex:1;gap:12px;align-items:center;justify-content:flex-start}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.5rem 8px;font-size:1rem;line-height:1.5}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}.duet-submenu-bar-dropdown-link.active .active-check{display:none}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-submenu-bar-dropdown-link.active .label::after{display:none}.duet-submenu-bar-dropdown-link.active .active-check{display:block}.duet-submenu-bar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-submenu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(126, 2, 35)}';var u=d;var s=e("duet_submenu_bar_dropdown_link",function(){function e(e){n(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined;this.caret=false;this.highlight=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.handleEscape=function(e){if(i(e)){var n=this.element.closest("duet-submenu-bar-dropdown");n.open=false;n.setFocus()}};e.prototype.render=function(){var e=this;return a(t,{key:"60141679d4da6a7724aa40a2445f9453b89493f1"},a("a",{key:"7bcc708536db8a5bae64318ea75be58e8814a9ee",class:{"duet-submenu-bar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:function(n){return e.handleEscape(n)}},this.icon&&a("duet-icon",{key:"3154b1713b8ee0ecb9dde907cc87b59193051c67",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),a("span",{key:"b7e0771fb6af597db0aeab77c26b6f10ad5fd37f",class:"label-container"},a("span",{key:"a2356f448e5634bc9a3e0151cb71adf812cc4135",class:"label"},a("slot",{key:"01ede3bc095dbb8c37a7d0d7506b59b844f005d2"})),this.caret&&a("duet-icon",{key:"57d6d0dee133a2a16ea63ee8dfe6707beb4a5231",name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&a("duet-icon",{key:"1601244392f22c8232aba7daa7a473b711b695d4",class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=u}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,g as a}from"./p-5a4b011d.js";import{i}from"./p-aaa7a7bd.js";import{g as s}from"./p-c09655fd.js";import{a as o}from"./p-7fd0927e.js";import"./p-9c3c64b9.js";const n=class{constructor(t){e(this,t),this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"},this.onLinkClick=e=>{const{url:t,meta:a}=this.data;this.linkClickEvent&&(e.preventDefault(),this.linkClickEvent.emit({component:"duet-upload",data:{name:this.data.item.name,url:t,meta:a}}))},this.theme="",this.data=void 0,this.type=void 0,this.showLinks=void 0,this.actions=void 0,this.buttonTitles=void 0,this.label=void 0,this.categoryLabel=void 0,this.errorCodes=void 0,this.showCategory=void 0,this.linkClickEvent=void 0}componentWillLoad(){i(this)}async focusActionButton(){this.actionButton&&(await this.actionButton.setFocus({preventScroll:!0}),this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))}getFileNameLine(){const{item:e,size:a,uploaded:i,url:n,progress:r,error:l}=this.data,{name:d}=e,c=t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),h=t("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",((e,t=2)=>{if(0===e)return"0 Bytes";const a=t<0?0:t,i=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,i)).toFixed(a))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]})(a),")");switch(this.type){case"inprogress":return t("span",{class:"duet-upload-item-name",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-visually-hidden",null,t("duet-paragraph",null,s(this.fileUploadingInfo))),t("duet-progress",{theme:this.theme,progress:Math.ceil(r),"aria-hidden":!0}));case"pending":return t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);case"failure":return t("span",{class:"duet-upload-item-error",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},o(l.type,this.errorCodes)));default:return t("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},i&&n&&this.showLinks?t("duet-link",{class:"file-link",onClick:this.onLinkClick,url:n},c):c,t("duet-spacer",{size:"xx-small",direction:"horizontal"}),h)}}getActionButtonTitle(e){return!0===this.buttonTitles[e.name]||!1===this.buttonTitles[e.name]?e:s(this.buttonTitles[e.name])}render(){const{uid:e,meta:a,item:i}=this.data,o=a&&a.badges?t("span",null,a.badges.map((e=>t("duet-badge",{color:"primary"},e)))):void 0,n=`${a&&a.badges?a.badges.join(","):""} ${i.name}`;return t("div",{key:"179fe6956ec8b8b935e73a289c0191de154768b4",class:{"upload-item-row":!0}},this.showCategory&&t("div",{key:"b98fbb8879abe956b787710bd8988a535aece789",class:"item-categories"},t("duet-heading",{key:"39b4c46eda25dc1f5017f7b3ae4770437b91edc1",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},s(this.categoryLabel)),o),t("div",{key:"05f123dc1a55f5938d0a008337f16b262412f431",class:{"item-name":!0,"no-category":!this.showCategory}},!!this.label&&t("duet-heading",{key:"0825080f168d051916cd4f278dd0f7be3e713a17",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},s(this.label)),this.getFileNameLine()),t("div",{key:"991a499e99a6df39b0f7895bdd3019acaa751c3a",class:"item-actions"},this.actions.map((i=>t("duet-action-button",{actionMeta:Object.assign({},a||{}),actionId:e||null,actionName:i.name,theme:this.theme,iconName:i.icon,iconColor:i.color,iconSize:i.size,background:i.background,"accessible-label":`${n} ${s(i.label)} `,accessibleTitle:this.getActionButtonTitle(i),ref:e=>this.actionButton=e})))))}get element(){return a(this)}};n.style=".file-link::part(duet-link){text-decoration:none}";export{n as duet_upload_item}
4
+ import{r as e,h as t,g as a}from"./p-fbc91093.js";import{i}from"./p-aaa7a7bd.js";import{g as s}from"./p-6aa58c2c.js";import{a as o}from"./p-0d59c909.js";import"./p-9c3c64b9.js";const n=class{constructor(t){e(this,t),this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"},this.onLinkClick=e=>{const{url:t,meta:a}=this.data;this.linkClickEvent&&(e.preventDefault(),this.linkClickEvent.emit({component:"duet-upload",data:{name:this.data.item.name,url:t,meta:a}}))},this.theme="",this.data=void 0,this.type=void 0,this.showLinks=void 0,this.actions=void 0,this.buttonTitles=void 0,this.label=void 0,this.categoryLabel=void 0,this.errorCodes=void 0,this.showCategory=void 0,this.linkClickEvent=void 0}componentWillLoad(){i(this)}async focusActionButton(){this.actionButton&&(await this.actionButton.setFocus({preventScroll:!0}),this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))}getFileNameLine(){const{item:e,size:a,uploaded:i,url:n,progress:r,error:l}=this.data,{name:d}=e,c=t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),h=t("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",((e,t=2)=>{if(0===e)return"0 Bytes";const a=t<0?0:t,i=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,i)).toFixed(a))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]})(a),")");switch(this.type){case"inprogress":return t("span",{class:"duet-upload-item-name",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-visually-hidden",null,t("duet-paragraph",null,s(this.fileUploadingInfo))),t("duet-progress",{theme:this.theme,progress:Math.ceil(r),"aria-hidden":!0}));case"pending":return t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);case"failure":return t("span",{class:"duet-upload-item-error",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},o(l.type,this.errorCodes)));default:return t("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},i&&n&&this.showLinks?t("duet-link",{class:"file-link",onClick:this.onLinkClick,url:n},c):c,t("duet-spacer",{size:"xx-small",direction:"horizontal"}),h)}}getActionButtonTitle(e){return!0===this.buttonTitles[e.name]||!1===this.buttonTitles[e.name]?e:s(this.buttonTitles[e.name])}render(){const{uid:e,meta:a,item:i}=this.data,o=a&&a.badges?t("span",null,a.badges.map((e=>t("duet-badge",{color:"primary"},e)))):void 0,n=`${a&&a.badges?a.badges.join(","):""} ${i.name}`;return t("div",{key:"179fe6956ec8b8b935e73a289c0191de154768b4",class:{"upload-item-row":!0}},this.showCategory&&t("div",{key:"b98fbb8879abe956b787710bd8988a535aece789",class:"item-categories"},t("duet-heading",{key:"39b4c46eda25dc1f5017f7b3ae4770437b91edc1",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},s(this.categoryLabel)),o),t("div",{key:"05f123dc1a55f5938d0a008337f16b262412f431",class:{"item-name":!0,"no-category":!this.showCategory}},!!this.label&&t("duet-heading",{key:"0825080f168d051916cd4f278dd0f7be3e713a17",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},s(this.label)),this.getFileNameLine()),t("div",{key:"991a499e99a6df39b0f7895bdd3019acaa751c3a",class:"item-actions"},this.actions.map((i=>t("duet-action-button",{actionMeta:Object.assign({},a||{}),actionId:e||null,actionName:i.name,theme:this.theme,iconName:i.icon,iconColor:i.color,iconSize:i.size,background:i.background,"accessible-label":`${n} ${s(i.label)} `,accessibleTitle:this.getActionButtonTitle(i),ref:e=>this.actionButton=e})))))}get element(){return a(this)}};n.style=".file-link::part(duet-link){text-decoration:none}";export{n as duet_upload_item}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-bdaef893.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,i,a,n,o;return{setters:[function(e){t=e.r;i=e.h;a=e.H;n=e.g},function(e){o=e.i}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active span::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:"";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1.25rem;font-weight:600}.duet-slideout-link.large{font-size:1.5rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(98, 121, 138)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(113, 118, 132)}';var r=s;var l=e("duet_slideout_link",function(){function e(e){t(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.active=false;this.href="#";this.icon=undefined;this.size="inherit";this.caret=false;this.menuItem=false}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){var e;return i(a,{key:"aa07296629d813134f481a3e1ebfb6d31951bc48"},i("a",{key:"56ae85701570dfa3ae4cae8f15fb395f9199776a",class:(e={"duet-slideout-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},e[this.size]=true,e),href:this.href,"aria-current":this.active?"true":"false",lang:this.targetLanguage,hreflang:this.targetLanguage,"aria-label":this.accessibleLabel},this.icon&&i("duet-icon",{key:"4872989601ff5a2c3ff458b53345292f358956a9",name:this.icon,color:"secondary",size:this.menuItem?"x-small":"medium",margin:"none"}),i("div",{key:"71fe6a89063381d1ec5d4a8d6960954660374bc0",class:"label"},i("span",{key:"b9e2aca6c05cc945917f87d74b3f4c611814e8cb"},i("slot",{key:"b917c1d51c62a2ab229c396f7afb3468c0b240e6"}),i("slot",{key:"775dbc1e31d128b448b72e876f0f53609358c709",name:"description"})),this.caret&&i("duet-icon",{key:"47c65d4e0cc5745e120730849beb97dcee30cb74",name:"action-arrow-right",color:"secondary",size:"x-small",margin:"none"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());l.style=r}}}));
4
+ System.register(["./p-7f554f9f.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,i,a,n,o;return{setters:[function(e){t=e.r;i=e.h;a=e.H;n=e.g},function(e){o=e.i}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active span::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:"";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1.25rem;font-weight:600}.duet-slideout-link.large{font-size:1.5rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(98, 121, 138)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(113, 118, 132)}';var r=s;var l=e("duet_slideout_link",function(){function e(e){t(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.active=false;this.href="#";this.icon=undefined;this.size="inherit";this.caret=false;this.menuItem=false}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){var e;return i(a,{key:"aa07296629d813134f481a3e1ebfb6d31951bc48"},i("a",{key:"56ae85701570dfa3ae4cae8f15fb395f9199776a",class:(e={"duet-slideout-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},e[this.size]=true,e),href:this.href,"aria-current":this.active?"true":"false",lang:this.targetLanguage,hreflang:this.targetLanguage,"aria-label":this.accessibleLabel},this.icon&&i("duet-icon",{key:"4872989601ff5a2c3ff458b53345292f358956a9",name:this.icon,color:"secondary",size:this.menuItem?"x-small":"medium",margin:"none"}),i("div",{key:"71fe6a89063381d1ec5d4a8d6960954660374bc0",class:"label"},i("span",{key:"b9e2aca6c05cc945917f87d74b3f4c611814e8cb"},i("slot",{key:"b917c1d51c62a2ab229c396f7afb3468c0b240e6"}),i("slot",{key:"775dbc1e31d128b448b72e876f0f53609358c709",name:"description"})),this.caret&&i("duet-icon",{key:"47c65d4e0cc5745e120730849beb97dcee30cb74",name:"action-arrow-right",color:"secondary",size:"x-small",margin:"none"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());l.style=r}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,c,i){function o(e){return e instanceof c?e:new c((function(t){t(e)}))}return new(c||(c=Promise))((function(c,d){function r(e){try{s(i.next(e))}catch(e){d(e)}}function h(e){try{s(i["throw"](e))}catch(e){d(e)}}function s(e){e.done?c(e.value):o(e.value).then(r,h)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var c={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},i,o,d,r;return r={next:h(0),throw:h(1),return:h(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function h(e){return function(t){return s([e,t])}}function s(h){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,h[0]&&(c=0)),c)try{if(i=1,o&&(d=h[0]&2?o["return"]:h[0]?o["throw"]||((d=o["return"])&&d.call(o),0):o.next)&&!(d=d.call(o,h[1])).done)return d;if(o=0,d)h=[h[0]&2,d.value];switch(h[0]){case 0:case 1:d=h;break;case 4:c.label++;return{value:h[1],done:false};case 5:c.label++;o=h[1];h=[0];continue;case 7:h=c.ops.pop();c.trys.pop();continue;default:if(!(d=c.trys,d=d.length>0&&d[d.length-1])&&(h[0]===6||h[0]===2)){c=0;continue}if(h[0]===3&&(!d||h[1]>d[0]&&h[1]<d[3])){c.label=h[1];break}if(h[0]===6&&c.label<d[1]){c.label=d[1];d=h;break}if(d&&c.label<d[2]){c.label=d[2];c.ops.push(h);break}if(d[2])c.ops.pop();c.trys.pop();continue}h=t.call(e,c)}catch(e){h=[6,e];o=0}finally{i=d=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-bdaef893.system.js","./p-e216bea4.system.js","./p-cc5e6288.system.js","./p-e6b5a1c7.system.js","./p-34d7dd10.system.js","./p-8623cfcd.system.js","./p-5a043b53.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,c,i,o,d,r,h,s,n,a,u,l,b,p,g,f,m,k,v;return{setters:[function(e){t=e.r;c=e.c;i=e.h;o=e.H;d=e.g},function(e){r=e.i},function(e){h=e.D},function(e){s=e.c},function(e){n=e.i;a=e.h;u=e.s;l=e.u;b=e.f},function(e){p=e.g;g=e.a;f=e.c;m=e.d},function(e){k=e.h;v=e.c},function(){}],execute:function(){var x={title:"messaging-info",tags:"messaging info information circle",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>'};var w='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(143, 147, 158)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(98, 121, 138) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(127, 150, 165) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(199, 202, 207) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(164, 4, 40)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.sc-duet-choice{border-color:rgb(127, 150, 165)}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(143, 147, 158)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}';var y=w;var z=e("duet_choice",function(){function e(e){var i=this;t(this,e);this.duetChoiceReady=c(this,"duetChoiceReady",7);this.duetChoiceRemove=c(this,"duetChoiceRemove",7);this.duetChange=c(this,"duetChange",7);this.duetFocus=c(this,"duetFocus",7);this.duetBlur=c(this,"duetBlur",7);this.hasHeader=false;this.choiceId=s("DuetChoice");this.expandId=s("DuetChoiceExpand");this.headerId=s("DuetChoiceHeader");this.infoButtonId=s("DuetChoiceInfoButton");this.onMouseEnter=function(){i.isHovering=true};this.onMouseLeave=function(){i.isHovering=false};this.onClick=function(e){i.toggleChecked(e)};this.handleKeyDown=function(e){if(n(e)){i.toggleChecked(e)}if(a(e)&&i.hasInfo){i.toggleInfo()}};this.onChange=function(){i.checked=i.nativeInput.checked||false;i.duetChange.emit({checked:i.checked,value:i.value,component:"duet-choice"})};this.onBlur=function(e){i.duetBlur.emit({originalEvent:e,checked:i.checked,value:i.value,component:"duet-choice"})};this.onFocus=function(e){i.duetFocus.emit({originalEvent:e,checked:i.checked,value:i.value,component:"duet-choice"})};this.toggleChecked=function(e){e.preventDefault();e.stopPropagation();if(i.getDisabled()){return}if(i.type==="radio"&&i.checked){return}i.checked=!i.checked;i.duetChange.emit({originalEvent:e,checked:i.checked,value:i.value,component:"duet-choice"})};this.toggleInfo=function(){i.isInfoOpen=!i.isInfoOpen;if(i.isInfoOpen){setTimeout((function(){var e;(e=i.infoContainer)===null||e===void 0?void 0:e.focus()}),150)}};this.isHovering=false;this.isInfoOpen=false;this.theme="";this.label="label";this.accessibleLabelInfoButtonDefaults=h;this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults);this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.caption="";this.value=undefined;this.type="checkbox";this.name=undefined;this.checked=false;this.collapsible=false;this.collapsibleForceExpanded=false;this.margin="auto";this.icon="";this.expand=false;this.padding="auto";this.identifier=undefined;this.groupDirection=undefined;this.groupDisabled=undefined;this.groupResponsive=undefined;this.disabled=false;this.required=false;this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"};this.infoLabel=p(this.infoLabelDefaults,g());this.collapsibleNotificationDefaults={fi:"Tämä valinta sisältää lisätietoja, jotka avautuivat alle",en:"This choice has additional information opened below",sv:"Det här val har mer information som öppnades nedan"};this.collapsibleNotification=p(this.collapsibleNotificationDefaults,g())}e.prototype.componentWillLoad=function(){r(this);this.hasInfo=k(this.element,"info");this.hasHeader=k(this.element,"header");this.hasAdditional=k(this.element,"additional");this.hasLabel=k(this.element,"label");this.hasBeforeText=k(this.element,"before-text");this.duetChoiceReady.emit()};e.prototype.connectedCallback=function(){f(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]);u(this);this.duetChoiceReady.emit()};e.prototype.disconnectedCallback=function(){m(this);l(this);this.duetChoiceRemove.emit()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.toggleInfoMethod=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.isInfoOpen=!this.isInfoOpen;return[2]}))}))};e.prototype.handleEscape=function(e){if(b(e)){if(this.isInfoOpen){this.isInfoOpen=false;if(this.infoButtonEl){this.infoButtonEl.focus()}}}};e.prototype.isCollapsibleAnnounceable=function(){if(!this.collapsible||!this.getExpanded()){return false}var e=Array.from(this.element.querySelectorAll("#".concat(this.choiceId,"-collapsible-content > *"))||[]);var t=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((function(e){return t.includes(e.tagName.toLowerCase())}))};e.prototype.getAriaDescribedby=function(){if(this.accessibleDescribedBy){return this.accessibleDescribedBy}if(this.collapsible||this.hasInfo){if(this.hasHeader){return this.headerId}else if(this.isCollapsibleAnnounceable()){return this.expandId}else{return"".concat(this.choiceId,"-collapsible-notification")}}return null};e.prototype.getDisabled=function(){return this.disabled||this.groupDisabled};e.prototype.getExpanded=function(){return this.checked||this.collapsibleForceExpanded};e.prototype.getClassNames=function(){if(this.hasInfo&&!this.collapsible){return{checked:this.checked,"duet-choice-card-info":true,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":this.theme==="turva"}}if(!this.hasInfo&&this.collapsible){return{checked:this.checked,"duet-choice-card-collapsible":true,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":this.theme==="turva"}}return{checked:this.checked,"duet-choice-default-slot":true}};e.prototype.render=function(){var e=this;var t=this.identifier||this.choiceId;return i(o,{class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none","duet-expand":this.expand,"duet-theme-turva":this.theme==="turva","no-hover":this.isHovering,disabled:this.getDisabled()}},i("div",{class:{"duet-choice-card-flextainer":true,"duet-theme-turva":this.theme==="turva"}},i("div",{class:{"duet-choice-card":true,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":this.padding==="none"}},i("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:t,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:function(t){return e.nativeInput=t}}),i("label",{htmlFor:t,class:{"duet-choice-label":true,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&i("slot",{name:"before-text"}),this.icon&&i("div",{class:"duet-choice-card-icon"},i("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),i("div",{class:"duet-choice-card-text"},i("div",null,this.hasLabel?i("slot",{name:"label"}):this.label),this.caption&&i("div",null,i("duet-spacer",{size:"xx-small"}),i("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&i("div",null,i("duet-spacer",{size:"xx-small"}),i("slot",{name:"additional"}))),i("div",null,i("div",{class:{"duet-checkmark-container":true,"duet-checkmark-radio":this.type==="radio"}},this.checked&&i("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&i("button",{ref:function(t){return e.infoButtonEl=t},id:this.infoButtonId,class:{"duet-choice-info-toggle":true,"duet-theme-turva":this.theme==="turva"},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":"".concat(this.infoLabel," ").concat(this.label),"aria-controls":this.expandId,tabindex:this.type==="radio"&&!this.checked?"-1":"0",type:"button",onKeyUp:function(t){return e.handleEscape(t)}},i("div",{class:"duet-choice-info-icon"},i("duet-icon",{icon:x.svg,margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&i("span",{id:"".concat(this.choiceId,"-collapsible-notification"),hidden:true},this.collapsibleNotification),this.collapsible||this.hasInfo?i("div",{class:this.getClassNames(),id:this.expandId},i("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},i("span",{id:this.headerId},i("slot",{name:"header"})),this.hasInfo?i("span",{ref:function(t){return e.infoContainer=t},tabindex:"0",class:"duet-choice-info-container",onKeyUp:function(t){return e.handleEscape(t)}},i("span",null,i("slot",{name:"info"})),i("slot",null)):i("span",{id:"".concat(this.choiceId,"-collapsible-content")},i("slot",null)))):null)};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});return e}());z.style=y;var _="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";var C=_;var j=e("duet_choice_group",function(){function e(e){var c=this;t(this,e);this.choiceGroupName="duet-choice-group";this.choices=new Set;this.onSelect=function(e){if(e.detail.component!=="duet-choice"){return}var t=e.target;if(t&&c.choices.has(t)){c.value=t.value}};this.onChoiceReady=function(e){var t=e.target;if(t.closest("duet-choice-group")===c.element&&!c.choices.has(t)){c.choices.add(t);c.updateChoices()}};this.onChoiceRemove=function(e){var t=e.target;c.choices.delete(t);c.updateChoices()};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption=undefined;this.tooltip=undefined;this.tooltipDirection="auto";this.responsive=false;this.breakpoint="small";this.value=undefined;this.disabled=undefined;this.required=false;this.accessibleLiveError="polite"}e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.setInitialValue();this.updateChoices();return[2]}))}))};e.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};e.prototype.componentWillLoad=function(){r(this);v(this.element,"tooltip","duet-tooltip",1,true)};e.prototype.setInitialValue=function(){if(typeof this.initialValue==="undefined"){this.initialValue=this.value}};e.prototype.getInitialValue=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.initialValue]}))}))};e.prototype.updateChoices=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,c,i,o,d;return __generator(this,(function(r){t=(e=this.value)!==null&&e!==void 0?e:this.initialValue;c=false;for(i=0,o=Array.from(this.choices);i<o.length;i++){d=o[i];d.name=this.name;d.required=this.required;d.groupDisabled=this.disabled;d.groupDirection=this.direction;d.groupResponsive=this.responsive;if(!c&&d.value===t){c=true;d.checked=true;if(typeof this.value==="undefined"){this.value=t}}else{d.checked=false}}if(!c){this.value=undefined}return[2]}))}))};e.prototype.render=function(){var e;return i(o,{onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,onDuetChoiceRemove:this.onChoiceRemove,class:{horizontal:this.direction==="horizontal","duet-choice-group-breakpoint-x-small":this.responsive&&this.breakpoint==="x-small","duet-choice-group-breakpoint-small":this.responsive&&this.breakpoint==="small","duet-choice-group-breakpoint-medium":this.responsive&&this.breakpoint==="medium","duet-choice-group-breakpoint-large":this.responsive&&this.breakpoint==="large","duet-choice-group-breakpoint-x-large":this.responsive&&this.breakpoint==="x-large"}},i("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:true,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&i("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),i("slot",{name:"tooltip"}),i("div",{class:(e={},e[this.choiceGroupName]=true,e["duet-no-stacking"]=!this.responsive,e)},i("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["setInitialValue","updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}},enumerable:false,configurable:true});return e}());j.style=C}}}));
4
+ */System.register(["./p-7f554f9f.system.js","./p-e216bea4.system.js","./p-cc5e6288.system.js","./p-e6b5a1c7.system.js","./p-34d7dd10.system.js","./p-037e9404.system.js","./p-45adef32.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,c,i,o,d,r,h,s,n,a,u,l,b,p,g,f,m,k,v;return{setters:[function(e){t=e.r;c=e.c;i=e.h;o=e.H;d=e.g},function(e){r=e.i},function(e){h=e.D},function(e){s=e.c},function(e){n=e.i;a=e.h;u=e.s;l=e.u;b=e.f},function(e){p=e.g;g=e.a;f=e.c;m=e.d},function(e){k=e.h;v=e.c},function(){}],execute:function(){var x={title:"messaging-info",tags:"messaging info information circle",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>'};var w='*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(143, 147, 158)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(98, 121, 138) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(127, 150, 165) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(199, 202, 207) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(164, 4, 40)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.sc-duet-choice{border-color:rgb(127, 150, 165)}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(143, 147, 158)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}';var y=w;var z=e("duet_choice",function(){function e(e){var i=this;t(this,e);this.duetChoiceReady=c(this,"duetChoiceReady",7);this.duetChoiceRemove=c(this,"duetChoiceRemove",7);this.duetChange=c(this,"duetChange",7);this.duetFocus=c(this,"duetFocus",7);this.duetBlur=c(this,"duetBlur",7);this.hasHeader=false;this.choiceId=s("DuetChoice");this.expandId=s("DuetChoiceExpand");this.headerId=s("DuetChoiceHeader");this.infoButtonId=s("DuetChoiceInfoButton");this.onMouseEnter=function(){i.isHovering=true};this.onMouseLeave=function(){i.isHovering=false};this.onClick=function(e){i.toggleChecked(e)};this.handleKeyDown=function(e){if(n(e)){i.toggleChecked(e)}if(a(e)&&i.hasInfo){i.toggleInfo()}};this.onChange=function(){i.checked=i.nativeInput.checked||false;i.duetChange.emit({checked:i.checked,value:i.value,component:"duet-choice"})};this.onBlur=function(e){i.duetBlur.emit({originalEvent:e,checked:i.checked,value:i.value,component:"duet-choice"})};this.onFocus=function(e){i.duetFocus.emit({originalEvent:e,checked:i.checked,value:i.value,component:"duet-choice"})};this.toggleChecked=function(e){e.preventDefault();e.stopPropagation();if(i.getDisabled()){return}if(i.type==="radio"&&i.checked){return}i.checked=!i.checked;i.duetChange.emit({originalEvent:e,checked:i.checked,value:i.value,component:"duet-choice"})};this.toggleInfo=function(){i.isInfoOpen=!i.isInfoOpen;if(i.isInfoOpen){setTimeout((function(){var e;(e=i.infoContainer)===null||e===void 0?void 0:e.focus()}),150)}};this.isHovering=false;this.isInfoOpen=false;this.theme="";this.label="label";this.accessibleLabelInfoButtonDefaults=h;this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults);this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.caption="";this.value=undefined;this.type="checkbox";this.name=undefined;this.checked=false;this.collapsible=false;this.collapsibleForceExpanded=false;this.margin="auto";this.icon="";this.expand=false;this.padding="auto";this.identifier=undefined;this.groupDirection=undefined;this.groupDisabled=undefined;this.groupResponsive=undefined;this.disabled=false;this.required=false;this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"};this.infoLabel=p(this.infoLabelDefaults,g());this.collapsibleNotificationDefaults={fi:"Tämä valinta sisältää lisätietoja, jotka avautuivat alle",en:"This choice has additional information opened below",sv:"Det här val har mer information som öppnades nedan"};this.collapsibleNotification=p(this.collapsibleNotificationDefaults,g())}e.prototype.componentWillLoad=function(){r(this);this.hasInfo=k(this.element,"info");this.hasHeader=k(this.element,"header");this.hasAdditional=k(this.element,"additional");this.hasLabel=k(this.element,"label");this.hasBeforeText=k(this.element,"before-text");this.duetChoiceReady.emit()};e.prototype.connectedCallback=function(){f(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]);u(this);this.duetChoiceReady.emit()};e.prototype.disconnectedCallback=function(){m(this);l(this);this.duetChoiceRemove.emit()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.toggleInfoMethod=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.isInfoOpen=!this.isInfoOpen;return[2]}))}))};e.prototype.handleEscape=function(e){if(b(e)){if(this.isInfoOpen){this.isInfoOpen=false;if(this.infoButtonEl){this.infoButtonEl.focus()}}}};e.prototype.isCollapsibleAnnounceable=function(){if(!this.collapsible||!this.getExpanded()){return false}var e=Array.from(this.element.querySelectorAll("#".concat(this.choiceId,"-collapsible-content > *"))||[]);var t=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((function(e){return t.includes(e.tagName.toLowerCase())}))};e.prototype.getAriaDescribedby=function(){if(this.accessibleDescribedBy){return this.accessibleDescribedBy}if(this.collapsible||this.hasInfo){if(this.hasHeader){return this.headerId}else if(this.isCollapsibleAnnounceable()){return this.expandId}else{return"".concat(this.choiceId,"-collapsible-notification")}}return null};e.prototype.getDisabled=function(){return this.disabled||this.groupDisabled};e.prototype.getExpanded=function(){return this.checked||this.collapsibleForceExpanded};e.prototype.getClassNames=function(){if(this.hasInfo&&!this.collapsible){return{checked:this.checked,"duet-choice-card-info":true,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":this.theme==="turva"}}if(!this.hasInfo&&this.collapsible){return{checked:this.checked,"duet-choice-card-collapsible":true,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":this.theme==="turva"}}return{checked:this.checked,"duet-choice-default-slot":true}};e.prototype.render=function(){var e=this;var t=this.identifier||this.choiceId;return i(o,{class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none","duet-expand":this.expand,"duet-theme-turva":this.theme==="turva","no-hover":this.isHovering,disabled:this.getDisabled()}},i("div",{class:{"duet-choice-card-flextainer":true,"duet-theme-turva":this.theme==="turva"}},i("div",{class:{"duet-choice-card":true,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":this.padding==="none"}},i("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:t,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:function(t){return e.nativeInput=t}}),i("label",{htmlFor:t,class:{"duet-choice-label":true,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&i("slot",{name:"before-text"}),this.icon&&i("div",{class:"duet-choice-card-icon"},i("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),i("div",{class:"duet-choice-card-text"},i("div",null,this.hasLabel?i("slot",{name:"label"}):this.label),this.caption&&i("div",null,i("duet-spacer",{size:"xx-small"}),i("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&i("div",null,i("duet-spacer",{size:"xx-small"}),i("slot",{name:"additional"}))),i("div",null,i("div",{class:{"duet-checkmark-container":true,"duet-checkmark-radio":this.type==="radio"}},this.checked&&i("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&i("button",{ref:function(t){return e.infoButtonEl=t},id:this.infoButtonId,class:{"duet-choice-info-toggle":true,"duet-theme-turva":this.theme==="turva"},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":"".concat(this.infoLabel," ").concat(this.label),"aria-controls":this.expandId,tabindex:this.type==="radio"&&!this.checked?"-1":"0",type:"button",onKeyUp:function(t){return e.handleEscape(t)}},i("div",{class:"duet-choice-info-icon"},i("duet-icon",{icon:x.svg,margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&i("span",{id:"".concat(this.choiceId,"-collapsible-notification"),hidden:true},this.collapsibleNotification),this.collapsible||this.hasInfo?i("div",{class:this.getClassNames(),id:this.expandId},i("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},i("span",{id:this.headerId},i("slot",{name:"header"})),this.hasInfo?i("span",{ref:function(t){return e.infoContainer=t},tabindex:"0",class:"duet-choice-info-container",onKeyUp:function(t){return e.handleEscape(t)}},i("span",null,i("slot",{name:"info"})),i("slot",null)):i("span",{id:"".concat(this.choiceId,"-collapsible-content")},i("slot",null)))):null)};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});return e}());z.style=y;var _="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";var C=_;var j=e("duet_choice_group",function(){function e(e){var c=this;t(this,e);this.choiceGroupName="duet-choice-group";this.choices=new Set;this.onSelect=function(e){if(e.detail.component!=="duet-choice"){return}var t=e.target;if(t&&c.choices.has(t)){c.value=t.value}};this.onChoiceReady=function(e){var t=e.target;if(t.closest("duet-choice-group")===c.element&&!c.choices.has(t)){c.choices.add(t);c.updateChoices()}};this.onChoiceRemove=function(e){var t=e.target;c.choices.delete(t);c.updateChoices()};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption=undefined;this.tooltip=undefined;this.tooltipDirection="auto";this.responsive=false;this.breakpoint="small";this.value=undefined;this.disabled=undefined;this.required=false;this.accessibleLiveError="polite"}e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.setInitialValue();this.updateChoices();return[2]}))}))};e.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};e.prototype.componentWillLoad=function(){r(this);v(this.element,"tooltip","duet-tooltip",1,true)};e.prototype.setInitialValue=function(){if(typeof this.initialValue==="undefined"){this.initialValue=this.value}};e.prototype.getInitialValue=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.initialValue]}))}))};e.prototype.updateChoices=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,c,i,o,d;return __generator(this,(function(r){t=(e=this.value)!==null&&e!==void 0?e:this.initialValue;c=false;for(i=0,o=Array.from(this.choices);i<o.length;i++){d=o[i];d.name=this.name;d.required=this.required;d.groupDisabled=this.disabled;d.groupDirection=this.direction;d.groupResponsive=this.responsive;if(!c&&d.value===t){c=true;d.checked=true;if(typeof this.value==="undefined"){this.value=t}}else{d.checked=false}}if(!c){this.value=undefined}return[2]}))}))};e.prototype.render=function(){var e;return i(o,{onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,onDuetChoiceRemove:this.onChoiceRemove,class:{horizontal:this.direction==="horizontal","duet-choice-group-breakpoint-x-small":this.responsive&&this.breakpoint==="x-small","duet-choice-group-breakpoint-small":this.responsive&&this.breakpoint==="small","duet-choice-group-breakpoint-medium":this.responsive&&this.breakpoint==="medium","duet-choice-group-breakpoint-large":this.responsive&&this.breakpoint==="large","duet-choice-group-breakpoint-x-large":this.responsive&&this.breakpoint==="x-large"}},i("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:true,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&i("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),i("slot",{name:"tooltip"}),i("div",{class:(e={},e[this.choiceGroupName]=true,e["duet-no-stacking"]=!this.responsive,e)},i("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["setInitialValue","updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}},enumerable:false,configurable:true});return e}());j.style=C}}}));
@@ -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 t,g as r}from"./p-5a4b011d.js";const n=class{constructor(a){e(this,a)}render(){return a(t,{key:"a26d430acd67a8e002cbb5d4e10fc83664ea2fc9",class:"duet-visually-hidden"},a("slot",{key:"2a9832f540a371230bc15e334e7351ef06539a6c"}))}get element(){return r(this)}};n.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";export{n as duet_visually_hidden}
4
+ import{r as e,h as a,H as t,g as r}from"./p-fbc91093.js";const n=class{constructor(a){e(this,a)}render(){return a(t,{key:"a26d430acd67a8e002cbb5d4e10fc83664ea2fc9",class:"duet-visually-hidden"},a("slot",{key:"2a9832f540a371230bc15e334e7351ef06539a6c"}))}get element(){return r(this)}};n.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";export{n as duet_visually_hidden}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as o,H as e,g as r}from"./p-5a4b011d.js";import{i as a}from"./p-aaa7a7bd.js";import{f as n}from"./p-a1b7f2a0.js";const d=class{constructor(o){t(this,o),this.onClick=()=>{this.open=!this.open},this.theme="",this.variation="default",this.accessibleLabel=void 0,this.active=!1,this.open=!1,this.icon=void 0}handleFocus(t){t.composedPath().every((t=>t!==this.element))&&(this.open=!1)}componentWillLoad(){a(this)}handleEscape(t){n(t)&&(this.open=!1,this.setFocus())}async setFocus(t){this.button.focus(t)}render(){let t="right";this.element&&this.element.parentElement&&(t="left"===this.element.parentElement.getAttribute("slot")?"right":"left");const r="negative"===this.variation?"negative":"white";return o(e,{key:"dae4918c82360d9da61fa1d20762123860af33d3",role:"listitem"},o("div",{key:"8f3edc8779f3fee050c5c725510a8536c8a255d0",class:{"duet-toolbar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,[t]:!0,[r]:!0}},o("button",{key:"cd6b86c7556c3763f0b892e9dea91147727a7277",ref:t=>this.button=t,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,id:"button",type:"button",class:{active:this.active,open:this.open},onClick:this.onClick,onKeyUp:t=>this.handleEscape(t)},this.icon&&o("duet-icon",{key:"b4764264253075f8605b024099dc7c3a3dadb834",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("span",{key:"af3de973879ed184c4260dc2e73796a055b68793",class:"label"},o("slot",{key:"04d1eddf51a06bbf1577e26c247d7f4cf8a7f186",name:"label"}),o("duet-icon",{key:"1a71a8f3df871d0b776f0c8774388ff9361c60fe",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),o("div",{key:"0efef11353d0f91d685e5515e4c1f29ec5ad6173",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},o("slot",{key:"ce8f9025a95a337ba2035d68060a644bc621bb8a"}))))}get element(){return r(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-dropdown{position:relative;height:100%}.duet-toolbar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;cursor:pointer}.duet-toolbar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-toolbar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-dropdown button.open .caret{transform:rotate(180deg)}.duet-toolbar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-toolbar-dropdown button.active,.duet-toolbar-dropdown button.open{color:rgb(8, 42, 77)}.duet-toolbar-dropdown button.active::after,.duet-toolbar-dropdown button.open::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-dropdown .items{position:absolute;top:93%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:175px;padding:8px;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.duet-toolbar-dropdown .items.hidden{display:none}.duet-toolbar-dropdown.right .items{right:auto;left:0%}.duet-toolbar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button:hover{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown.duet-theme-turva button.active,.duet-toolbar-dropdown.duet-theme-turva button.open{color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button.active::after,.duet-toolbar-dropdown.duet-theme-turva button.open::after{background:rgb(198, 12, 48)}.duet-toolbar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button:hover{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button.open{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-dropdown.duet-theme-turva.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button:hover{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.open{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button duet-icon{color:rgb(255, 185, 190)}';export{d as duet_toolbar_dropdown}
4
+ import{r as t,h as o,H as e,g as r}from"./p-fbc91093.js";import{i as a}from"./p-aaa7a7bd.js";import{f as n}from"./p-a1b7f2a0.js";const d=class{constructor(o){t(this,o),this.onClick=()=>{this.open=!this.open},this.theme="",this.variation="default",this.accessibleLabel=void 0,this.active=!1,this.open=!1,this.icon=void 0}handleFocus(t){t.composedPath().every((t=>t!==this.element))&&(this.open=!1)}componentWillLoad(){a(this)}handleEscape(t){n(t)&&(this.open=!1,this.setFocus())}async setFocus(t){this.button.focus(t)}render(){let t="right";this.element&&this.element.parentElement&&(t="left"===this.element.parentElement.getAttribute("slot")?"right":"left");const r="negative"===this.variation?"negative":"white";return o(e,{key:"dae4918c82360d9da61fa1d20762123860af33d3",role:"listitem"},o("div",{key:"8f3edc8779f3fee050c5c725510a8536c8a255d0",class:{"duet-toolbar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,[t]:!0,[r]:!0}},o("button",{key:"cd6b86c7556c3763f0b892e9dea91147727a7277",ref:t=>this.button=t,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,id:"button",type:"button",class:{active:this.active,open:this.open},onClick:this.onClick,onKeyUp:t=>this.handleEscape(t)},this.icon&&o("duet-icon",{key:"b4764264253075f8605b024099dc7c3a3dadb834",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("span",{key:"af3de973879ed184c4260dc2e73796a055b68793",class:"label"},o("slot",{key:"04d1eddf51a06bbf1577e26c247d7f4cf8a7f186",name:"label"}),o("duet-icon",{key:"1a71a8f3df871d0b776f0c8774388ff9361c60fe",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),o("div",{key:"0efef11353d0f91d685e5515e4c1f29ec5ad6173",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},o("slot",{key:"ce8f9025a95a337ba2035d68060a644bc621bb8a"}))))}get element(){return r(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-dropdown{position:relative;height:100%}.duet-toolbar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;cursor:pointer}.duet-toolbar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-toolbar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-dropdown button.open .caret{transform:rotate(180deg)}.duet-toolbar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-toolbar-dropdown button.active,.duet-toolbar-dropdown button.open{color:rgb(8, 42, 77)}.duet-toolbar-dropdown button.active::after,.duet-toolbar-dropdown button.open::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-dropdown .items{position:absolute;top:93%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:175px;padding:8px;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.duet-toolbar-dropdown .items.hidden{display:none}.duet-toolbar-dropdown.right .items{right:auto;left:0%}.duet-toolbar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button:hover{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown.duet-theme-turva button.active,.duet-toolbar-dropdown.duet-theme-turva button.open{color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button.active::after,.duet-toolbar-dropdown.duet-theme-turva button.open::after{background:rgb(198, 12, 48)}.duet-toolbar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button:hover{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button.open{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-dropdown.duet-theme-turva.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button:hover{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.open{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button duet-icon{color:rgb(255, 185, 190)}';export{d as duet_toolbar_dropdown}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-bdaef893.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,r,a,o,n;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);background:none;outline:1px solid rgb(212, 223, 229);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);background:none;outline-color:rgb(222, 224, 228)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{border-color:rgb(181, 198, 208);outline-color:rgb(8, 42, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(199, 202, 207);outline-color:rgb(23, 28, 58)}';var g=d;var b=e("duet_badge",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.background="normal";this.margin="auto"}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e;var t="background-".concat(this.background);return r(a,{key:"f936e15399ba35544b5a4c6cd0bb4f4d90550fbb",class:{"duet-m-0":this.margin==="none"}},r("span",{key:"16300926ee1cd86e4cc9d77e0121adb7d5b6d560",class:(e={"duet-badge":true},e[this.variation]=true,e[t]=true,e["duet-theme-turva"]=this.theme==="turva",e)},r("slot",{key:"eeca9f8ce7df4c184c9d63bad0fc6e7253713f0b"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());b.style=g}}}));
4
+ System.register(["./p-7f554f9f.system.js","./p-e216bea4.system.js"],(function(e){"use strict";var t,r,a,o,n;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);background:none;outline:1px solid rgb(212, 223, 229);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);background:none;outline-color:rgb(222, 224, 228)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{border-color:rgb(181, 198, 208);outline-color:rgb(8, 42, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(199, 202, 207);outline-color:rgb(23, 28, 58)}';var g=d;var u=e("duet_badge",function(){function e(e){t(this,e);this.theme="";this.variation="default";this.background="normal";this.margin="auto"}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e;var t="background-".concat(this.background);return r(a,{key:"f936e15399ba35544b5a4c6cd0bb4f4d90550fbb",class:{"duet-m-0":this.margin==="none"}},r("span",{key:"16300926ee1cd86e4cc9d77e0121adb7d5b6d560",class:(e={"duet-badge":true},e[this.variation]=true,e[t]=true,e["duet-theme-turva"]=this.theme==="turva",e)},r("slot",{key:"eeca9f8ce7df4c184c9d63bad0fc6e7253713f0b"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());u.style=g}}}));