@duetds/components 9.2.1 → 9.2.3

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 (734) hide show
  1. package/hydrate/index.js +872 -546
  2. package/lib/cjs/{app-globals-940f10af.js → app-globals-76b570cd.js} +1 -1
  3. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  5. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  9. package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
  10. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-chip_3.cjs.entry.js +60 -26
  16. package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-date-picker.cjs.entry.js +48 -31
  22. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
  24. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
  26. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-footer.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-hero.cjs.entry.js +3 -3
  31. package/lib/cjs/duet-icon.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
  33. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
  35. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  36. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
  38. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  40. package/lib/cjs/duet-menu-bar.cjs.entry.js +16 -6
  41. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  43. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  44. package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
  45. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  51. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-scrollable_3.cjs.entry.js +8 -13
  54. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  56. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
  58. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  59. package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
  61. package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -11
  62. package/lib/cjs/duet-slideout.cjs.entry.js +38 -15
  63. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-textarea.cjs.entry.js +7 -7
  70. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
  73. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -7
  74. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  75. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
  77. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  78. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  79. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  81. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  82. package/lib/cjs/duet.cjs.js +4 -4
  83. package/lib/cjs/{errorcodes.utils-a9512b40.js → errorcodes.utils-ba7fae1c.js} +1 -1
  84. package/lib/cjs/{focus-utils-c9b32897.js → focus-utils-ce2b65c9.js} +1 -1
  85. package/lib/cjs/{index-ce05ed4b.js → index-340b85bb.js} +856 -609
  86. package/lib/cjs/{language-utils-04d69d6b.js → language-utils-07b9f155.js} +1 -1
  87. package/lib/cjs/loader.cjs.js +3 -3
  88. package/lib/cjs/{slot-utils-83d6d31e.js → slot-utils-ac35c5be.js} +1 -1
  89. package/lib/collection/collection-manifest.json +1 -1
  90. package/lib/collection/components/duet-action-button/duet-action-button.js +38 -0
  91. package/lib/collection/components/duet-alert/duet-alert.css +3 -0
  92. package/lib/collection/components/duet-alert/duet-alert.js +24 -0
  93. package/lib/collection/components/duet-badge/duet-badge.js +10 -2
  94. package/lib/collection/components/duet-banner/duet-banner.js +22 -0
  95. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +14 -4
  96. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +8 -2
  97. package/lib/collection/components/duet-button/duet-button.js +78 -0
  98. package/lib/collection/components/duet-callout/duet-callout.js +6 -2
  99. package/lib/collection/components/duet-caption/duet-caption.js +8 -0
  100. package/lib/collection/components/duet-card/duet-card.js +32 -0
  101. package/lib/collection/components/duet-checkbox/duet-checkbox.js +44 -0
  102. package/lib/collection/components/duet-chip/duet-chip.js +28 -0
  103. package/lib/collection/components/duet-choice/duet-checkmark.js +12 -2
  104. package/lib/collection/components/duet-choice/duet-choice.css +8 -0
  105. package/lib/collection/components/duet-choice/duet-choice.js +64 -0
  106. package/lib/collection/components/duet-choice-group/duet-choice-group.js +32 -0
  107. package/lib/collection/components/duet-collapsible/duet-collapsible.js +20 -0
  108. package/lib/collection/components/duet-combobox/duet-combobox.js +27 -1
  109. package/lib/collection/components/duet-contact-card/duet-contact-card.js +22 -2
  110. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +4 -0
  111. package/lib/collection/components/duet-date-picker/date-i18n.js +1 -1
  112. package/lib/collection/components/duet-date-picker/date-picker-day.js +2 -2
  113. package/lib/collection/components/duet-date-picker/date-picker-input.js +7 -5
  114. package/lib/collection/components/duet-date-picker/date-picker-month.js +2 -2
  115. package/lib/collection/components/duet-date-picker/duet-date-picker.css +27 -15
  116. package/lib/collection/components/duet-date-picker/duet-date-picker.js +85 -9
  117. package/lib/collection/components/duet-divider/duet-divider.js +6 -0
  118. package/lib/collection/components/duet-editable-table/duet-editable-table.js +26 -0
  119. package/lib/collection/components/duet-empty-state/duet-empty-state.js +6 -0
  120. package/lib/collection/components/duet-fieldset/duet-fieldset.js +21 -3
  121. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +6 -0
  122. package/lib/collection/components/duet-footer/duet-footer.js +20 -0
  123. package/lib/collection/components/duet-grid/duet-grid.js +16 -0
  124. package/lib/collection/components/duet-grid-item/duet-grid-item.js +18 -0
  125. package/lib/collection/components/duet-header/duet-header.js +40 -0
  126. package/lib/collection/components/duet-heading/duet-heading.js +18 -0
  127. package/lib/collection/components/duet-hero/duet-hero.js +57 -1
  128. package/lib/collection/components/duet-icon/duet-icon.js +29 -3
  129. package/lib/collection/components/duet-input/duet-input.css +3 -0
  130. package/lib/collection/components/duet-input/duet-input.js +90 -0
  131. package/lib/collection/components/duet-label/duet-label.js +12 -0
  132. package/lib/collection/components/duet-layout/duet-layout.js +14 -0
  133. package/lib/collection/components/duet-link/duet-link.js +44 -2
  134. package/lib/collection/components/duet-list/duet-list.js +16 -0
  135. package/lib/collection/components/duet-list-item/duet-list-item.js +6 -2
  136. package/lib/collection/components/duet-logo/duet-logo.js +16 -0
  137. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +5 -0
  138. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +29 -4
  139. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +28 -2
  140. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +12 -4
  141. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +10 -2
  142. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +24 -2
  143. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +12 -2
  144. package/lib/collection/components/duet-modal/duet-modal.js +38 -0
  145. package/lib/collection/components/duet-multiselect/duet-multiselect.js +38 -0
  146. package/lib/collection/components/duet-nav/duet-nav.js +5 -1
  147. package/lib/collection/components/duet-notification/duet-notification.css +33 -5
  148. package/lib/collection/components/duet-notification/duet-notification.js +18 -2
  149. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +16 -0
  150. package/lib/collection/components/duet-number-input/duet-number-input.js +70 -0
  151. package/lib/collection/components/duet-overlay/duet-overlay.js +16 -0
  152. package/lib/collection/components/duet-page-heading/duet-page-heading.js +8 -2
  153. package/lib/collection/components/duet-pagination/duet-pagination.js +32 -0
  154. package/lib/collection/components/duet-paragraph/duet-paragraph.js +12 -0
  155. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +4 -0
  156. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +136 -29
  157. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +32 -1
  158. package/lib/collection/components/duet-progress/duet-progress.js +22 -0
  159. package/lib/collection/components/duet-promo-card/duet-promo-card.js +16 -2
  160. package/lib/collection/components/duet-radio/duet-radio.js +44 -0
  161. package/lib/collection/components/duet-radio-group/duet-radio-group.js +30 -0
  162. package/lib/collection/components/duet-range-slider/duet-range-slider.js +44 -0
  163. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +16 -0
  164. package/lib/collection/components/duet-scrollable/duet-scrollable.js +21 -5
  165. package/lib/collection/components/duet-section-layout/duet-section-layout.js +9 -3
  166. package/lib/collection/components/duet-select/duet-select.js +52 -0
  167. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +12 -2
  168. package/lib/collection/components/duet-show-more/duet-show-more.css +7 -0
  169. package/lib/collection/components/duet-show-more/duet-show-more.js +28 -0
  170. package/lib/collection/components/duet-slideout/duet-slideout.js +98 -16
  171. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +3 -1
  172. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +20 -2
  173. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +26 -0
  174. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +41 -6
  175. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +12 -4
  176. package/lib/collection/components/duet-spacer/duet-spacer.js +6 -0
  177. package/lib/collection/components/duet-spinner/duet-spinner.js +8 -0
  178. package/lib/collection/components/duet-step/duet-step.js +14 -0
  179. package/lib/collection/components/duet-stepper/duet-stepper.js +10 -0
  180. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +13 -5
  181. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +12 -4
  182. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +14 -2
  183. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +23 -1
  184. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +9 -1
  185. package/lib/collection/components/duet-tab/duet-tab.js +18 -5
  186. package/lib/collection/components/duet-tab-group/duet-tab-group.js +28 -0
  187. package/lib/collection/components/duet-table/duet-table.js +16 -2
  188. package/lib/collection/components/duet-textarea/duet-textarea.js +74 -5
  189. package/lib/collection/components/duet-toggle/duet-toggle.js +40 -0
  190. package/lib/collection/components/duet-toolbar/duet-toolbar.js +8 -2
  191. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +16 -4
  192. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +14 -2
  193. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +21 -0
  194. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +49 -4
  195. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +14 -2
  196. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +12 -2
  197. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +15 -3
  198. package/lib/collection/components/duet-tooltip/duet-tooltip.js +28 -0
  199. package/lib/collection/components/duet-tray/duet-tray.js +20 -2
  200. package/lib/collection/components/duet-upload/duet-upload.js +110 -2
  201. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +13 -1
  202. package/lib/collection/components/duet-upload-item/duet-upload-item.js +31 -9
  203. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  204. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  205. package/lib/dist-custom-elements/duet-alert.js +1 -1
  206. package/lib/dist-custom-elements/duet-badge.js +1 -1
  207. package/lib/dist-custom-elements/duet-banner.js +5 -5
  208. package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
  209. package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
  210. package/lib/dist-custom-elements/duet-button.js +1 -1
  211. package/lib/dist-custom-elements/duet-callout.js +5 -5
  212. package/lib/dist-custom-elements/duet-caption.js +1 -1
  213. package/lib/dist-custom-elements/duet-card.js +3 -3
  214. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  215. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  216. package/lib/dist-custom-elements/duet-chip.js +1 -1
  217. package/lib/dist-custom-elements/duet-choice-group.js +9 -9
  218. package/lib/dist-custom-elements/duet-choice.js +7 -7
  219. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  220. package/lib/dist-custom-elements/duet-combobox.js +19 -19
  221. package/lib/dist-custom-elements/duet-contact-card.js +11 -11
  222. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  223. package/lib/dist-custom-elements/duet-date-picker.js +63 -45
  224. package/lib/dist-custom-elements/duet-divider.js +1 -1
  225. package/lib/dist-custom-elements/duet-editable-table.js +9 -9
  226. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  227. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  228. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  229. package/lib/dist-custom-elements/duet-footer.js +9 -9
  230. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  231. package/lib/dist-custom-elements/duet-grid.js +1 -1
  232. package/lib/dist-custom-elements/duet-header.js +10 -10
  233. package/lib/dist-custom-elements/duet-heading.js +1 -1
  234. package/lib/dist-custom-elements/duet-hero.js +11 -11
  235. package/lib/dist-custom-elements/duet-icon.js +1 -1
  236. package/lib/dist-custom-elements/duet-input.js +1 -1
  237. package/lib/dist-custom-elements/duet-label.js +1 -1
  238. package/lib/dist-custom-elements/duet-layout.js +2 -2
  239. package/lib/dist-custom-elements/duet-link.js +1 -1
  240. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  241. package/lib/dist-custom-elements/duet-list.js +1 -1
  242. package/lib/dist-custom-elements/duet-logo.js +1 -1
  243. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  244. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  245. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  246. package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
  247. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  248. package/lib/dist-custom-elements/duet-menu-bar.js +19 -8
  249. package/lib/dist-custom-elements/duet-modal.js +11 -11
  250. package/lib/dist-custom-elements/duet-multiselect.js +11 -11
  251. package/lib/dist-custom-elements/duet-nav.js +2 -2
  252. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  253. package/lib/dist-custom-elements/duet-notification.js +6 -6
  254. package/lib/dist-custom-elements/duet-number-input.js +13 -13
  255. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  256. package/lib/dist-custom-elements/duet-page-heading.js +4 -4
  257. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  258. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  259. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  260. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  261. package/lib/dist-custom-elements/duet-progress.js +1 -1
  262. package/lib/dist-custom-elements/duet-promo-card.js +6 -6
  263. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  264. package/lib/dist-custom-elements/duet-radio.js +1 -1
  265. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  266. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  267. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  268. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  269. package/lib/dist-custom-elements/duet-select.js +1 -1
  270. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  271. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  272. package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
  273. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  274. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  275. package/lib/dist-custom-elements/duet-slideout-panel.js +16 -12
  276. package/lib/dist-custom-elements/duet-slideout.js +42 -18
  277. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  278. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  279. package/lib/dist-custom-elements/duet-step.js +4 -4
  280. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  281. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  282. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  283. package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
  284. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  285. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  286. package/lib/dist-custom-elements/duet-tab-group.js +14 -14
  287. package/lib/dist-custom-elements/duet-tab.js +2 -7
  288. package/lib/dist-custom-elements/duet-table.js +1 -1
  289. package/lib/dist-custom-elements/duet-textarea.js +17 -18
  290. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  291. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  292. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  293. package/lib/dist-custom-elements/duet-toolbar-item.js +10 -8
  294. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  295. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  296. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  297. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  298. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  299. package/lib/dist-custom-elements/duet-tray.js +6 -6
  300. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  301. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  302. package/lib/dist-custom-elements/duet-upload.js +23 -23
  303. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  304. package/lib/dist-custom-elements/index.js +2 -2
  305. package/lib/dist-custom-elements/{p-3d136f5c.js → p-0230e9f7.js} +9 -9
  306. package/lib/dist-custom-elements/{p-6fdef72e.js → p-02c633ce.js} +1 -1
  307. package/lib/dist-custom-elements/{p-55989a50.js → p-1cb8476a.js} +6 -6
  308. package/lib/dist-custom-elements/{p-28807fbd.js → p-1ea54c70.js} +1 -1
  309. package/lib/dist-custom-elements/{p-1149a5f1.js → p-26b7ade3.js} +852 -613
  310. package/lib/dist-custom-elements/{p-782759f5.js → p-2b8ce441.js} +1 -1
  311. package/lib/dist-custom-elements/{p-69f6a6aa.js → p-35375593.js} +1 -1
  312. package/lib/dist-custom-elements/{p-e685687b.js → p-38184acb.js} +1 -1
  313. package/lib/dist-custom-elements/{p-9f461090.js → p-3eae8aeb.js} +1 -1
  314. package/lib/dist-custom-elements/{p-be13a7a6.js → p-40eaa1e8.js} +4 -4
  315. package/lib/dist-custom-elements/{p-95fb5b4b.js → p-4dc547d5.js} +6 -6
  316. package/lib/dist-custom-elements/{p-f1a4011f.js → p-52a71225.js} +1 -1
  317. package/lib/dist-custom-elements/{p-ab30a756.js → p-5474eeba.js} +3 -3
  318. package/lib/dist-custom-elements/{p-d00e8f90.js → p-5be05df5.js} +13 -13
  319. package/lib/dist-custom-elements/{p-a89ea763.js → p-63d7f555.js} +5 -5
  320. package/lib/dist-custom-elements/{p-2cc77e29.js → p-6fba1a8d.js} +7 -7
  321. package/lib/dist-custom-elements/{p-570cecb0.js → p-70dc7a81.js} +8 -3
  322. package/lib/dist-custom-elements/{p-0cf30970.js → p-75e5bd55.js} +4 -4
  323. package/lib/dist-custom-elements/{p-e8594dcd.js → p-78a5f782.js} +1 -1
  324. package/lib/dist-custom-elements/{p-1cea02c6.js → p-78ce84c0.js} +1 -1
  325. package/lib/dist-custom-elements/{p-a407fdb5.js → p-8a6272fd.js} +3 -3
  326. package/lib/dist-custom-elements/{p-c5df07b9.js → p-8b3decf2.js} +1 -1
  327. package/lib/dist-custom-elements/{p-791ee647.js → p-8d2d00df.js} +1 -1
  328. package/lib/dist-custom-elements/{p-1749d98a.js → p-8e6d8a49.js} +11 -11
  329. package/lib/dist-custom-elements/{p-aa53a402.js → p-92271f30.js} +13 -13
  330. package/lib/dist-custom-elements/{p-ae917476.js → p-94084f9c.js} +57 -27
  331. package/lib/dist-custom-elements/{p-bc933201.js → p-993aea39.js} +1 -1
  332. package/lib/dist-custom-elements/{p-87248c43.js → p-9f29df11.js} +2 -2
  333. package/lib/dist-custom-elements/{p-29c84284.js → p-a8ec8761.js} +1 -1
  334. package/lib/dist-custom-elements/{p-01dec611.js → p-aee0da4a.js} +3 -3
  335. package/lib/dist-custom-elements/{p-329cec9e.js → p-b0182f1f.js} +1 -1
  336. package/lib/dist-custom-elements/{p-b87d1e74.js → p-b0a7f776.js} +3 -3
  337. package/lib/dist-custom-elements/{p-c43f0450.js → p-b5ab185d.js} +2 -2
  338. package/lib/dist-custom-elements/{p-3883514c.js → p-b5e71a67.js} +5 -5
  339. package/lib/dist-custom-elements/{p-14903ee8.js → p-c5aac304.js} +6 -6
  340. package/lib/dist-custom-elements/{p-72bc5f40.js → p-d824ce45.js} +1 -1
  341. package/lib/dist-custom-elements/{p-55342fcd.js → p-dac0f309.js} +5 -5
  342. package/lib/dist-custom-elements/{p-a9169fe0.js → p-e30dc66d.js} +1 -1
  343. package/lib/dist-custom-elements/{p-aad2ab95.js → p-ee7efc3d.js} +9 -9
  344. package/lib/dist-custom-elements/{p-d551ba52.js → p-f0080861.js} +2 -2
  345. package/lib/dist-custom-elements/{p-1cf7db2a.js → p-f4db5912.js} +3 -3
  346. package/lib/dist-custom-elements/{p-c8e032e9.js → p-f76d6e43.js} +3 -3
  347. package/lib/dist-custom-elements/{p-5e4809d5.js → p-fabc88b7.js} +4 -4
  348. package/lib/duet/duet.esm.js +1 -1
  349. package/lib/duet/duet.js +1 -1
  350. package/lib/duet/{p-186dc204.entry.js → p-02380a84.entry.js} +1 -1
  351. package/lib/duet/{p-231b853e.entry.js → p-04422a4f.entry.js} +1 -1
  352. package/lib/duet/p-068cf24e.system.entry.js +4 -0
  353. package/lib/duet/{p-28d2739c.entry.js → p-079f9e29.entry.js} +1 -1
  354. package/lib/duet/p-08b0bbbb.entry.js +4 -0
  355. package/lib/duet/p-091a5f13.system.entry.js +4 -0
  356. package/lib/duet/{p-19097787.system.entry.js → p-0bb7e6db.system.entry.js} +1 -1
  357. package/lib/duet/{p-1261a1b5.entry.js → p-0c9851a1.entry.js} +1 -1
  358. package/lib/duet/{p-7863c54a.entry.js → p-1057521d.entry.js} +1 -1
  359. package/lib/duet/{p-7f94c928.entry.js → p-12a7249e.entry.js} +1 -1
  360. package/lib/duet/{p-102d7289.system.entry.js → p-16038e7f.system.entry.js} +1 -1
  361. package/lib/duet/{p-497263c5.entry.js → p-17a92a57.entry.js} +1 -1
  362. package/lib/duet/{p-eb9677dc.entry.js → p-1a05b9bb.entry.js} +1 -1
  363. package/lib/duet/{p-eb26c1f5.system.entry.js → p-217328d7.system.entry.js} +2 -2
  364. package/lib/duet/p-2247d351.system.entry.js +4 -0
  365. package/lib/duet/{p-408a9ccb.entry.js → p-25390477.entry.js} +1 -1
  366. package/lib/duet/{p-dfbd0dd7.system.js → p-25c77fc5.system.js} +1 -1
  367. package/lib/duet/{p-db2c01b7.system.entry.js → p-2665d9ca.system.entry.js} +1 -1
  368. package/lib/duet/{p-7b6bacd8.entry.js → p-2993a8c3.entry.js} +1 -1
  369. package/lib/duet/{p-753333e9.system.entry.js → p-29dbe11f.system.entry.js} +2 -2
  370. package/lib/duet/{p-4068cfee.entry.js → p-2d3f0a48.entry.js} +1 -1
  371. package/lib/duet/{p-9c5717a5.system.entry.js → p-2e8c2654.system.entry.js} +1 -1
  372. package/lib/duet/{p-b4df4c57.entry.js → p-2e96eecc.entry.js} +1 -1
  373. package/lib/duet/{p-514b6b5b.system.js → p-30e9baf8.system.js} +1 -1
  374. package/lib/duet/{p-22b59f78.system.entry.js → p-33b69886.system.entry.js} +1 -1
  375. package/lib/duet/{p-81168888.entry.js → p-37f9b3f3.entry.js} +1 -1
  376. package/lib/duet/{p-a0c1c7d8.system.entry.js → p-38b0ae95.system.entry.js} +1 -1
  377. package/lib/duet/p-3c427358.entry.js +4 -0
  378. package/lib/duet/{p-a033bafa.system.entry.js → p-3e580d39.system.entry.js} +1 -1
  379. package/lib/duet/{p-09f97fb6.entry.js → p-3f4b8a20.entry.js} +1 -1
  380. package/lib/duet/{p-8bee5b14.entry.js → p-416c6bd2.entry.js} +1 -1
  381. package/lib/duet/{p-16e3f6f0.system.entry.js → p-4304cb65.system.entry.js} +1 -1
  382. package/lib/duet/p-45085ca6.system.js +4 -0
  383. package/lib/duet/{p-e7f0d18b.system.entry.js → p-454ce0a7.system.entry.js} +1 -1
  384. package/lib/duet/p-4b880bb3.entry.js +4 -0
  385. package/lib/duet/{p-d6fbbecc.entry.js → p-4c513203.entry.js} +1 -1
  386. package/lib/duet/{p-f749aa8a.system.entry.js → p-4d5f2668.system.entry.js} +1 -1
  387. package/lib/duet/p-4f198ebe.entry.js +4 -0
  388. package/lib/duet/{p-7a41aff3.system.entry.js → p-503b1f9c.system.entry.js} +1 -1
  389. package/lib/duet/{p-bd2768a5.system.entry.js → p-539b8b9b.system.entry.js} +1 -1
  390. package/lib/duet/p-53a79c8c.system.entry.js +4 -0
  391. package/lib/duet/{p-375948ff.entry.js → p-54e46011.entry.js} +1 -1
  392. package/lib/duet/{p-16a3016e.system.entry.js → p-558ea33c.system.entry.js} +1 -1
  393. package/lib/duet/{p-ccf2bc0a.system.entry.js → p-567227f2.system.entry.js} +1 -1
  394. package/lib/duet/{p-b5443923.entry.js → p-5727dc58.entry.js} +1 -1
  395. package/lib/duet/{p-783cc158.entry.js → p-582c6653.entry.js} +1 -1
  396. package/lib/duet/{p-151b3794.entry.js → p-5ae54542.entry.js} +1 -1
  397. package/lib/duet/{p-ce754f76.entry.js → p-5bd68f1e.entry.js} +1 -1
  398. package/lib/duet/{p-cf1206a8.entry.js → p-5fb91cf2.entry.js} +1 -1
  399. package/lib/duet/p-618bf010.entry.js +4 -0
  400. package/lib/duet/p-626be65a.system.entry.js +4 -0
  401. package/lib/duet/{p-fa2ef682.entry.js → p-63f0c13f.entry.js} +1 -1
  402. package/lib/duet/{p-2c42ece3.system.entry.js → p-64b767a1.system.entry.js} +1 -1
  403. package/lib/duet/p-6586fb03.js +5 -0
  404. package/lib/duet/{p-0e91ae89.js → p-6647e622.js} +1 -1
  405. package/lib/duet/p-672c2725.system.entry.js +4 -0
  406. package/lib/duet/{p-b3ab4a17.system.entry.js → p-6f86fd58.system.entry.js} +1 -1
  407. package/lib/duet/{p-ce7987e8.system.entry.js → p-72d24fa8.system.entry.js} +1 -1
  408. package/lib/duet/{p-d8d99c33.system.entry.js → p-72e2c5ff.system.entry.js} +1 -1
  409. package/lib/duet/p-73251b4a.system.entry.js +4 -0
  410. package/lib/duet/{p-d6e16c5d.entry.js → p-742e42e3.entry.js} +1 -1
  411. package/lib/duet/{p-962a7ed7.system.entry.js → p-7456c30b.system.entry.js} +1 -1
  412. package/lib/duet/{p-f930128c.system.entry.js → p-761a7665.system.entry.js} +1 -1
  413. package/lib/duet/{p-f6471762.system.entry.js → p-78c0a939.system.entry.js} +2 -2
  414. package/lib/duet/{p-fd5d4f14.entry.js → p-7a111f40.entry.js} +1 -1
  415. package/lib/duet/{p-3c0373cb.system.entry.js → p-7aa134f8.system.entry.js} +1 -1
  416. package/lib/duet/p-7c665c7b.system.entry.js +4 -0
  417. package/lib/duet/{p-fc100c70.entry.js → p-7c7c220c.entry.js} +1 -1
  418. package/lib/duet/{p-50bf90d6.entry.js → p-7e709290.entry.js} +1 -1
  419. package/lib/duet/{p-832862b7.system.js → p-7eb1ccc1.system.js} +1 -1
  420. package/lib/duet/{p-f0634b57.entry.js → p-8158f08f.entry.js} +1 -1
  421. package/lib/duet/{p-b274ebde.system.entry.js → p-821e7df8.system.entry.js} +1 -1
  422. package/lib/duet/{p-61fe7d32.entry.js → p-84ee5bc9.entry.js} +1 -1
  423. package/lib/duet/{p-312f509d.entry.js → p-86c7b940.entry.js} +1 -1
  424. package/lib/duet/{p-9abe2d23.system.entry.js → p-8845de2e.system.entry.js} +1 -1
  425. package/lib/duet/p-888e855d.entry.js +4 -0
  426. package/lib/duet/{p-176154a9.system.entry.js → p-8a709b0d.system.entry.js} +1 -1
  427. package/lib/duet/{p-cca4a7db.entry.js → p-8c628593.entry.js} +1 -1
  428. package/lib/duet/{p-f28acd06.system.entry.js → p-8db4323f.system.entry.js} +1 -1
  429. package/lib/duet/{p-cd0e3537.system.entry.js → p-8e94ee62.system.entry.js} +1 -1
  430. package/lib/duet/p-9050c043.entry.js +4 -0
  431. package/lib/duet/{p-e8d31be7.entry.js → p-91967747.entry.js} +1 -1
  432. package/lib/duet/{p-d9b32ab3.entry.js → p-91e74580.entry.js} +1 -1
  433. package/lib/duet/{p-528db5b3.system.entry.js → p-9220b2f7.system.entry.js} +1 -1
  434. package/lib/duet/{p-5f6a8312.system.entry.js → p-94283cba.system.entry.js} +1 -1
  435. package/lib/duet/{p-3e13fb5c.entry.js → p-959d0b38.entry.js} +1 -1
  436. package/lib/duet/{p-ac538db7.entry.js → p-9629f198.entry.js} +1 -1
  437. package/lib/duet/{p-46030b7e.entry.js → p-973eb9ef.entry.js} +1 -1
  438. package/lib/duet/{p-b2f64f34.entry.js → p-9828d01b.entry.js} +1 -1
  439. package/lib/duet/p-98ea8c33.entry.js +4 -0
  440. package/lib/duet/{p-aba65c68.system.entry.js → p-9ac83cce.system.entry.js} +1 -1
  441. package/lib/duet/{p-4a657e92.entry.js → p-9ad418dc.entry.js} +1 -1
  442. package/lib/duet/{p-fbcd3fb7.entry.js → p-9ea6b9ea.entry.js} +1 -1
  443. package/lib/duet/{p-b657f08f.system.entry.js → p-9f887a8b.system.entry.js} +1 -1
  444. package/lib/duet/{p-a0ffaabf.entry.js → p-9ff81f9a.entry.js} +1 -1
  445. package/lib/duet/{p-ec70084a.entry.js → p-a120b25b.entry.js} +1 -1
  446. package/lib/duet/{p-8002cdbf.system.js → p-a45b41a5.system.js} +1 -1
  447. package/lib/duet/{p-c8783040.entry.js → p-a7873d11.entry.js} +1 -1
  448. package/lib/duet/{p-2091f634.entry.js → p-a84ae2da.entry.js} +1 -1
  449. package/lib/duet/{p-bc2be70e.system.entry.js → p-aa908860.system.entry.js} +1 -1
  450. package/lib/duet/{p-03ebb87c.js → p-ab6f31bd.js} +1 -1
  451. package/lib/duet/{p-fdbc9c7f.system.entry.js → p-ad8efcc9.system.entry.js} +1 -1
  452. package/lib/duet/{p-ead4b210.system.entry.js → p-ad9a28ce.system.entry.js} +1 -1
  453. package/lib/duet/{p-fccf2ddc.entry.js → p-af614927.entry.js} +1 -1
  454. package/lib/duet/{p-832e5af8.system.entry.js → p-af70b228.system.entry.js} +2 -2
  455. package/lib/duet/{p-36b2ad26.system.entry.js → p-b081da29.system.entry.js} +1 -1
  456. package/lib/duet/{p-f33f42ce.entry.js → p-b2c3d1b0.entry.js} +1 -1
  457. package/lib/duet/{p-9c50306c.system.entry.js → p-b2e5c45c.system.entry.js} +1 -1
  458. package/lib/duet/{p-5fe9bbe0.entry.js → p-b3512b93.entry.js} +1 -1
  459. package/lib/duet/{p-739bfa4e.system.entry.js → p-b4d15993.system.entry.js} +1 -1
  460. package/lib/duet/{p-a838f364.system.entry.js → p-b51e2eee.system.entry.js} +1 -1
  461. package/lib/duet/{p-13f6afbe.system.entry.js → p-b69bc1e1.system.entry.js} +1 -1
  462. package/lib/duet/{p-ec5d2407.entry.js → p-b79fe3aa.entry.js} +1 -1
  463. package/lib/duet/{p-8087cdcd.system.entry.js → p-b89a059e.system.entry.js} +1 -1
  464. package/lib/duet/{p-48c61eee.system.entry.js → p-b8faf306.system.entry.js} +1 -1
  465. package/lib/duet/{p-7712eb09.system.entry.js → p-b948418d.system.entry.js} +1 -1
  466. package/lib/duet/{p-386c614c.system.entry.js → p-b98222bd.system.entry.js} +1 -1
  467. package/lib/duet/{p-033a796b.system.entry.js → p-bce0fb51.system.entry.js} +1 -1
  468. package/lib/duet/{p-8c95d7e7.entry.js → p-bd74bd69.entry.js} +1 -1
  469. package/lib/duet/{p-3beb1c58.system.entry.js → p-bf8b75d0.system.entry.js} +2 -2
  470. package/lib/duet/p-bfa34b21.js +4 -0
  471. package/lib/duet/{p-e6596826.entry.js → p-c01383c1.entry.js} +1 -1
  472. package/lib/duet/{p-3363aa75.entry.js → p-c1d59f6d.entry.js} +1 -1
  473. package/lib/duet/{p-599c6ee4.system.entry.js → p-c249faed.system.entry.js} +1 -1
  474. package/lib/duet/{p-646fcab7.system.entry.js → p-c558abb2.system.entry.js} +1 -1
  475. package/lib/duet/{p-d6c69f62.system.js → p-c5746dd0.system.js} +1 -1
  476. package/lib/duet/p-c6f946fe.entry.js +4 -0
  477. package/lib/duet/{p-14a83e9e.system.entry.js → p-c7cbe815.system.entry.js} +1 -1
  478. package/lib/duet/{p-91b2664a.system.entry.js → p-ccc9e30f.system.entry.js} +1 -1
  479. package/lib/duet/{p-dcbb4af4.entry.js → p-cccc8a6c.entry.js} +1 -1
  480. package/lib/duet/{p-a90efe08.entry.js → p-ccf771f5.entry.js} +1 -1
  481. package/lib/duet/p-cd30e156.system.entry.js +4 -0
  482. package/lib/duet/{p-60754704.entry.js → p-cd7e44b4.entry.js} +1 -1
  483. package/lib/duet/{p-3e15a291.entry.js → p-ce59f561.entry.js} +1 -1
  484. package/lib/duet/{p-446f79d6.entry.js → p-cf4ce1f7.entry.js} +1 -1
  485. package/lib/duet/{p-961a7a42.system.entry.js → p-d0aae845.system.entry.js} +1 -1
  486. package/lib/duet/{p-a1e13f21.entry.js → p-d468472d.entry.js} +1 -1
  487. package/lib/duet/{p-37b8bb50.system.entry.js → p-d4a56ffe.system.entry.js} +1 -1
  488. package/lib/duet/{p-ee52d40a.system.entry.js → p-d6fa4e11.system.entry.js} +1 -1
  489. package/lib/duet/p-d75c8108.system.entry.js +4 -0
  490. package/lib/duet/{p-54fbe5c8.entry.js → p-d81cefba.entry.js} +1 -1
  491. package/lib/duet/{p-ffdfb64b.system.entry.js → p-d84bf562.system.entry.js} +2 -2
  492. package/lib/duet/p-dc5c5cc4.system.js +5 -0
  493. package/lib/duet/p-df2bdfe3.system.entry.js +4 -0
  494. package/lib/duet/{p-8486a863.entry.js → p-e04146a1.entry.js} +1 -1
  495. package/lib/duet/{p-7db5f5b6.entry.js → p-e2bafc44.entry.js} +1 -1
  496. package/lib/duet/p-e511bbaa.entry.js +4 -0
  497. package/lib/duet/{p-f40c4ff4.entry.js → p-e6364b25.entry.js} +1 -1
  498. package/lib/duet/{p-75e078ac.js → p-e7f2c310.js} +1 -1
  499. package/lib/duet/{p-6f53cfb2.system.entry.js → p-e9246c27.system.entry.js} +1 -1
  500. package/lib/duet/{p-bc50d23b.entry.js → p-e9f172ff.entry.js} +1 -1
  501. package/lib/duet/{p-ec58f8ee.entry.js → p-ea2463be.entry.js} +1 -1
  502. package/lib/duet/{p-8d947a43.system.entry.js → p-ee4a44f2.system.entry.js} +1 -1
  503. package/lib/duet/{p-ba4bdb0d.system.entry.js → p-ef266490.system.entry.js} +1 -1
  504. package/lib/duet/{p-f2957e8e.entry.js → p-efa9f8e3.entry.js} +1 -1
  505. package/lib/duet/{p-eaeee3a3.system.entry.js → p-f0017b76.system.entry.js} +1 -1
  506. package/lib/duet/{p-1117cfde.system.entry.js → p-f0443463.system.entry.js} +1 -1
  507. package/lib/duet/{p-b224ee72.system.entry.js → p-f06b4e50.system.entry.js} +1 -1
  508. package/lib/duet/{p-e2122bd3.system.entry.js → p-f082acbe.system.entry.js} +1 -1
  509. package/lib/duet/{p-d9ad612c.entry.js → p-f263a147.entry.js} +1 -1
  510. package/lib/duet/{p-4217dab3.system.entry.js → p-f3bf0f9b.system.entry.js} +1 -1
  511. package/lib/duet/{p-f48366d3.system.entry.js → p-f55a55e1.system.entry.js} +1 -1
  512. package/lib/duet/{p-6f106108.entry.js → p-f6795cc3.entry.js} +1 -1
  513. package/lib/duet/{p-84b5b372.entry.js → p-f805492f.entry.js} +1 -1
  514. package/lib/duet/{p-0f61ec4f.entry.js → p-f829fc48.entry.js} +1 -1
  515. package/lib/duet/{p-64030845.system.entry.js → p-f98d46b5.system.entry.js} +2 -2
  516. package/lib/duet/{p-9832a62e.system.entry.js → p-f9f8cc8b.system.entry.js} +1 -1
  517. package/lib/duet/p-fc406422.system.entry.js +4 -0
  518. package/lib/duet/p-fe85cfac.js +4 -0
  519. package/lib/duet/p-feb2f78b.entry.js +4 -0
  520. package/lib/duet/{p-30947766.entry.js → p-ff664cb1.entry.js} +1 -1
  521. package/lib/esm/{app-globals-19322ff1.js → app-globals-154dbc04.js} +1 -1
  522. package/lib/esm/duet-action-button.entry.js +2 -2
  523. package/lib/esm/duet-alert.entry.js +4 -4
  524. package/lib/esm/duet-badge.entry.js +3 -3
  525. package/lib/esm/duet-banner.entry.js +2 -2
  526. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  527. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  528. package/lib/esm/duet-button_2.entry.js +2 -2
  529. package/lib/esm/duet-callout.entry.js +4 -4
  530. package/lib/esm/duet-caption_4.entry.js +4 -4
  531. package/lib/esm/duet-card.entry.js +1 -1
  532. package/lib/esm/duet-checkbox.entry.js +1 -1
  533. package/lib/esm/duet-checkmark.entry.js +3 -3
  534. package/lib/esm/duet-chip_3.entry.js +61 -27
  535. package/lib/esm/duet-choice_2.entry.js +4 -4
  536. package/lib/esm/duet-collapsible.entry.js +2 -2
  537. package/lib/esm/duet-combobox.entry.js +4 -4
  538. package/lib/esm/duet-contact-card.entry.js +4 -4
  539. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  540. package/lib/esm/duet-date-picker.entry.js +48 -31
  541. package/lib/esm/duet-divider_2.entry.js +1 -1
  542. package/lib/esm/duet-editable-table_3.entry.js +7 -7
  543. package/lib/esm/duet-empty-state.entry.js +1 -1
  544. package/lib/esm/duet-fieldset.entry.js +5 -5
  545. package/lib/esm/duet-file-chooser.entry.js +1 -1
  546. package/lib/esm/duet-footer.entry.js +3 -3
  547. package/lib/esm/duet-grid_2.entry.js +1 -1
  548. package/lib/esm/duet-header_2.entry.js +2 -2
  549. package/lib/esm/duet-hero.entry.js +3 -3
  550. package/lib/esm/duet-icon.entry.js +4 -4
  551. package/lib/esm/duet-input_2.entry.js +4 -4
  552. package/lib/esm/duet-layout.entry.js +2 -2
  553. package/lib/esm/duet-list_2.entry.js +3 -3
  554. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  555. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  556. package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
  557. package/lib/esm/duet-menu-bar-item.entry.js +4 -4
  558. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  559. package/lib/esm/duet-menu-bar.entry.js +16 -6
  560. package/lib/esm/duet-modal.entry.js +4 -4
  561. package/lib/esm/duet-multiselect.entry.js +3 -3
  562. package/lib/esm/duet-nav.entry.js +2 -2
  563. package/lib/esm/duet-notification_2.entry.js +5 -5
  564. package/lib/esm/duet-number-input.entry.js +3 -3
  565. package/lib/esm/duet-overlay.entry.js +1 -1
  566. package/lib/esm/duet-page-heading.entry.js +3 -3
  567. package/lib/esm/duet-pagination_2.entry.js +2 -2
  568. package/lib/esm/duet-progress.entry.js +2 -2
  569. package/lib/esm/duet-promo-card.entry.js +4 -4
  570. package/lib/esm/duet-radio_2.entry.js +2 -2
  571. package/lib/esm/duet-range-slider.entry.js +1 -1
  572. package/lib/esm/duet-scrollable_3.entry.js +8 -13
  573. package/lib/esm/duet-section-layout.entry.js +4 -4
  574. package/lib/esm/duet-select.entry.js +2 -2
  575. package/lib/esm/duet-shaped-image.entry.js +3 -3
  576. package/lib/esm/duet-show-more.entry.js +3 -3
  577. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  578. package/lib/esm/duet-slideout-link.entry.js +3 -3
  579. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
  580. package/lib/esm/duet-slideout-panel.entry.js +14 -11
  581. package/lib/esm/duet-slideout.entry.js +38 -15
  582. package/lib/esm/duet-step_2.entry.js +1 -1
  583. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  584. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
  585. package/lib/esm/duet-submenu-bar-item.entry.js +3 -3
  586. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  587. package/lib/esm/duet-submenu-bar.entry.js +6 -6
  588. package/lib/esm/duet-textarea.entry.js +7 -7
  589. package/lib/esm/duet-toggle.entry.js +1 -1
  590. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  591. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
  592. package/lib/esm/duet-toolbar-item.entry.js +8 -7
  593. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  594. package/lib/esm/duet-toolbar.entry.js +3 -3
  595. package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
  596. package/lib/esm/duet-tooltip.entry.js +2 -2
  597. package/lib/esm/duet-tray.entry.js +4 -4
  598. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  599. package/lib/esm/duet-upload-item.entry.js +5 -5
  600. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  601. package/lib/esm/duet.js +5 -5
  602. package/lib/esm/{errorcodes.utils-953f4d47.js → errorcodes.utils-55018fd0.js} +1 -1
  603. package/lib/esm/{focus-utils-5147573d.js → focus-utils-29c235cb.js} +1 -1
  604. package/lib/esm/{index-940c081d.js → index-f5d67bb6.js} +856 -609
  605. package/lib/esm/{language-utils-b0c1eb01.js → language-utils-bd643c5c.js} +1 -1
  606. package/lib/esm/loader.js +4 -4
  607. package/lib/esm/{slot-utils-4a318cb9.js → slot-utils-5369c9ff.js} +1 -1
  608. package/lib/esm-es5/{app-globals-19322ff1.js → app-globals-154dbc04.js} +1 -1
  609. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  610. package/lib/esm-es5/duet-alert.entry.js +1 -1
  611. package/lib/esm-es5/duet-badge.entry.js +1 -1
  612. package/lib/esm-es5/duet-banner.entry.js +1 -1
  613. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  614. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  615. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  616. package/lib/esm-es5/duet-callout.entry.js +1 -1
  617. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  618. package/lib/esm-es5/duet-card.entry.js +1 -1
  619. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  620. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  621. package/lib/esm-es5/duet-chip_3.entry.js +1 -1
  622. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  623. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  624. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  625. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  626. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  627. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  628. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  629. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  630. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  631. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  632. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  633. package/lib/esm-es5/duet-footer.entry.js +1 -1
  634. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  635. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  636. package/lib/esm-es5/duet-hero.entry.js +2 -2
  637. package/lib/esm-es5/duet-icon.entry.js +1 -1
  638. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  639. package/lib/esm-es5/duet-layout.entry.js +1 -1
  640. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  641. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  642. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  643. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  644. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  645. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  646. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  647. package/lib/esm-es5/duet-modal.entry.js +1 -1
  648. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  649. package/lib/esm-es5/duet-nav.entry.js +1 -1
  650. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  651. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  652. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  653. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  654. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  655. package/lib/esm-es5/duet-progress.entry.js +1 -1
  656. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  657. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  658. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  659. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  660. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  661. package/lib/esm-es5/duet-select.entry.js +1 -1
  662. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  663. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  664. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  665. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  666. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  667. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  668. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  669. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  670. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  671. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  672. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  673. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  674. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  675. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  676. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  677. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  678. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  679. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  680. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  681. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  682. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  683. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  684. package/lib/esm-es5/duet-tray.entry.js +1 -1
  685. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  686. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  687. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  688. package/lib/esm-es5/duet.js +1 -1
  689. package/lib/esm-es5/{errorcodes.utils-953f4d47.js → errorcodes.utils-55018fd0.js} +1 -1
  690. package/lib/esm-es5/{focus-utils-5147573d.js → focus-utils-29c235cb.js} +1 -1
  691. package/lib/esm-es5/index-f5d67bb6.js +5 -0
  692. package/lib/esm-es5/{language-utils-b0c1eb01.js → language-utils-bd643c5c.js} +1 -1
  693. package/lib/esm-es5/loader.js +1 -1
  694. package/lib/esm-es5/{slot-utils-4a318cb9.js → slot-utils-5369c9ff.js} +1 -1
  695. package/lib/types/components/duet-date-picker/date-picker-day.d.ts +1 -1
  696. package/lib/types/components/duet-date-picker/date-picker-input.d.ts +1 -0
  697. package/lib/types/components/duet-date-picker/date-picker-month.d.ts +1 -1
  698. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -2
  699. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -0
  700. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +17 -5
  701. package/lib/types/components/duet-slideout/duet-slideout.d.ts +11 -3
  702. package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +4 -0
  703. package/lib/types/components/duet-toolbar-item/duet-toolbar-item.d.ts +4 -0
  704. package/lib/types/components.d.ts +52 -10
  705. package/package.json +7 -6
  706. package/lib/duet/p-16ee7d09.entry.js +0 -4
  707. package/lib/duet/p-1f32a819.system.entry.js +0 -4
  708. package/lib/duet/p-1fb804dc.system.entry.js +0 -4
  709. package/lib/duet/p-25deb7be.system.entry.js +0 -4
  710. package/lib/duet/p-2b0552dc.system.entry.js +0 -4
  711. package/lib/duet/p-306faf90.entry.js +0 -4
  712. package/lib/duet/p-39fb8819.system.js +0 -5
  713. package/lib/duet/p-48c90346.system.js +0 -4
  714. package/lib/duet/p-495d8962.system.entry.js +0 -4
  715. package/lib/duet/p-4d20e324.system.entry.js +0 -4
  716. package/lib/duet/p-529aff73.entry.js +0 -4
  717. package/lib/duet/p-6adc0389.system.entry.js +0 -4
  718. package/lib/duet/p-8002d713.system.entry.js +0 -4
  719. package/lib/duet/p-9d0d4329.system.entry.js +0 -4
  720. package/lib/duet/p-9d7aea44.entry.js +0 -4
  721. package/lib/duet/p-adcd2fb3.entry.js +0 -4
  722. package/lib/duet/p-b4e4bf04.system.entry.js +0 -4
  723. package/lib/duet/p-bb2d58bc.js +0 -5
  724. package/lib/duet/p-c1b1b16d.entry.js +0 -4
  725. package/lib/duet/p-cade991a.entry.js +0 -4
  726. package/lib/duet/p-d08a89dc.entry.js +0 -4
  727. package/lib/duet/p-d11659fd.js +0 -4
  728. package/lib/duet/p-d22c889b.entry.js +0 -4
  729. package/lib/duet/p-defbfc15.js +0 -4
  730. package/lib/duet/p-e5997320.entry.js +0 -4
  731. package/lib/duet/p-ee067380.system.entry.js +0 -4
  732. package/lib/duet/p-fa3e0628.system.entry.js +0 -4
  733. package/lib/duet/p-fdbc3f6c.entry.js +0 -4
  734. package/lib/esm-es5/index-940c081d.js +0 -5
package/hydrate/index.js CHANGED
@@ -176,7 +176,7 @@ var appGlobalScript = () => {
176
176
  const globalScripts = appGlobalScript;
177
177
 
178
178
  /*
179
- Stencil Hydrate Platform v4.22.2 | MIT Licensed | https://stenciljs.com
179
+ Stencil Hydrate Platform v4.23.0 | MIT Licensed | https://stenciljs.com
180
180
  */
181
181
  var __defProp = Object.defineProperty;
182
182
  var __export = (target, all) => {
@@ -250,26 +250,13 @@ var unwrapErr = (result) => {
250
250
  throw result.value;
251
251
  }
252
252
  };
253
- var createTime = (fnName, tagName = "") => {
254
- {
255
- return () => {
256
- return;
257
- };
258
- }
259
- };
260
- var uniqueTime = (key, measureText) => {
261
- {
262
- return () => {
263
- return;
264
- };
265
- }
266
- };
267
253
 
268
254
  // src/runtime/runtime-constants.ts
269
255
  var CONTENT_REF_ID = "r";
270
256
  var ORG_LOCATION_ID = "o";
271
257
  var SLOT_NODE_ID = "s";
272
258
  var TEXT_NODE_ID = "t";
259
+ var COMMENT_NODE_ID = "c";
273
260
  var HYDRATE_ID = "s-id";
274
261
  var HYDRATED_STYLE_ID = "sty-id";
275
262
  var HYDRATE_CHILD_ID = "c-id";
@@ -392,321 +379,6 @@ var convertToPrivate = (node) => {
392
379
  vnode.$name$ = node.vname;
393
380
  return vnode;
394
381
  };
395
-
396
- // src/runtime/client-hydrate.ts
397
- var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
398
- const endHydrate = createTime("hydrateClient", tagName);
399
- const shadowRoot = hostElm.shadowRoot;
400
- const childRenderNodes = [];
401
- const slotNodes = [];
402
- const shadowRootNodes = shadowRoot ? [] : null;
403
- const vnode = hostRef.$vnode$ = newVNode(tagName, null);
404
- if (!plt.$orgLocNodes$) {
405
- initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
406
- }
407
- hostElm[HYDRATE_ID] = hostId;
408
- hostElm.removeAttribute(HYDRATE_ID);
409
- clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
410
- childRenderNodes.map((c) => {
411
- const orgLocationId = c.$hostId$ + "." + c.$nodeId$;
412
- const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
413
- const node = c.$elm$;
414
- if (orgLocationNode && supportsShadow && orgLocationNode["s-en"] === "") {
415
- orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
416
- }
417
- if (!shadowRoot) {
418
- node["s-hn"] = tagName;
419
- if (orgLocationNode) {
420
- node["s-ol"] = orgLocationNode;
421
- node["s-ol"]["s-nr"] = node;
422
- }
423
- }
424
- plt.$orgLocNodes$.delete(orgLocationId);
425
- });
426
- if (shadowRoot) {
427
- shadowRootNodes.map((shadowRootNode) => {
428
- if (shadowRootNode) {
429
- shadowRoot.appendChild(shadowRootNode);
430
- }
431
- });
432
- }
433
- endHydrate();
434
- };
435
- var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
436
- let childNodeType;
437
- let childIdSplt;
438
- let childVNode;
439
- let i2;
440
- if (node.nodeType === 1 /* ElementNode */) {
441
- childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
442
- if (childNodeType) {
443
- childIdSplt = childNodeType.split(".");
444
- if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
445
- childVNode = {
446
- $flags$: 0,
447
- $hostId$: childIdSplt[0],
448
- $nodeId$: childIdSplt[1],
449
- $depth$: childIdSplt[2],
450
- $index$: childIdSplt[3],
451
- $tag$: node.tagName.toLowerCase(),
452
- $elm$: node,
453
- $attrs$: null,
454
- $children$: null,
455
- $key$: null,
456
- $name$: null,
457
- $text$: null
458
- };
459
- childRenderNodes.push(childVNode);
460
- node.removeAttribute(HYDRATE_CHILD_ID);
461
- if (!parentVNode.$children$) {
462
- parentVNode.$children$ = [];
463
- }
464
- parentVNode.$children$[childVNode.$index$] = childVNode;
465
- parentVNode = childVNode;
466
- if (shadowRootNodes && childVNode.$depth$ === "0") {
467
- shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
468
- }
469
- }
470
- }
471
- if (node.shadowRoot) {
472
- for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
473
- clientHydrate(
474
- parentVNode,
475
- childRenderNodes,
476
- slotNodes,
477
- shadowRootNodes,
478
- hostElm,
479
- node.shadowRoot.childNodes[i2],
480
- hostId
481
- );
482
- }
483
- }
484
- for (i2 = node.childNodes.length - 1; i2 >= 0; i2--) {
485
- clientHydrate(
486
- parentVNode,
487
- childRenderNodes,
488
- slotNodes,
489
- shadowRootNodes,
490
- hostElm,
491
- node.childNodes[i2],
492
- hostId
493
- );
494
- }
495
- } else if (node.nodeType === 8 /* CommentNode */) {
496
- childIdSplt = node.nodeValue.split(".");
497
- if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
498
- childNodeType = childIdSplt[0];
499
- childVNode = {
500
- $flags$: 0,
501
- $hostId$: childIdSplt[1],
502
- $nodeId$: childIdSplt[2],
503
- $depth$: childIdSplt[3],
504
- $index$: childIdSplt[4],
505
- $elm$: node,
506
- $attrs$: null,
507
- $children$: null,
508
- $key$: null,
509
- $name$: null,
510
- $tag$: null,
511
- $text$: null
512
- };
513
- if (childNodeType === TEXT_NODE_ID) {
514
- childVNode.$elm$ = node.nextSibling;
515
- if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
516
- childVNode.$text$ = childVNode.$elm$.textContent;
517
- childRenderNodes.push(childVNode);
518
- node.remove();
519
- if (!parentVNode.$children$) {
520
- parentVNode.$children$ = [];
521
- }
522
- parentVNode.$children$[childVNode.$index$] = childVNode;
523
- if (shadowRootNodes && childVNode.$depth$ === "0") {
524
- shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
525
- }
526
- }
527
- } else if (childVNode.$hostId$ === hostId) {
528
- if (childNodeType === SLOT_NODE_ID) {
529
- childVNode.$tag$ = "slot";
530
- if (childIdSplt[5]) {
531
- node["s-sn"] = childVNode.$name$ = childIdSplt[5];
532
- } else {
533
- node["s-sn"] = "";
534
- }
535
- node["s-sr"] = true;
536
- if (shadowRootNodes) {
537
- childVNode.$elm$ = doc.createElement(childVNode.$tag$);
538
- if (childVNode.$name$) {
539
- childVNode.$elm$.setAttribute("name", childVNode.$name$);
540
- }
541
- node.parentNode.insertBefore(childVNode.$elm$, node);
542
- node.remove();
543
- if (childVNode.$depth$ === "0") {
544
- shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
545
- }
546
- }
547
- slotNodes.push(childVNode);
548
- if (!parentVNode.$children$) {
549
- parentVNode.$children$ = [];
550
- }
551
- parentVNode.$children$[childVNode.$index$] = childVNode;
552
- } else if (childNodeType === CONTENT_REF_ID) {
553
- if (shadowRootNodes) {
554
- node.remove();
555
- } else {
556
- hostElm["s-cr"] = node;
557
- node["s-cn"] = true;
558
- }
559
- }
560
- }
561
- }
562
- } else if (parentVNode && parentVNode.$tag$ === "style") {
563
- const vnode = newVNode(null, node.textContent);
564
- vnode.$elm$ = node;
565
- vnode.$index$ = "0";
566
- parentVNode.$children$ = [vnode];
567
- }
568
- };
569
- var initializeDocumentHydrate = (node, orgLocNodes) => {
570
- if (node.nodeType === 1 /* ElementNode */) {
571
- let i2 = 0;
572
- if (node.shadowRoot) {
573
- for (; i2 < node.shadowRoot.childNodes.length; i2++) {
574
- initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
575
- }
576
- }
577
- for (i2 = 0; i2 < node.childNodes.length; i2++) {
578
- initializeDocumentHydrate(node.childNodes[i2], orgLocNodes);
579
- }
580
- } else if (node.nodeType === 8 /* CommentNode */) {
581
- const childIdSplt = node.nodeValue.split(".");
582
- if (childIdSplt[0] === ORG_LOCATION_ID) {
583
- orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
584
- node.nodeValue = "";
585
- node["s-en"] = childIdSplt[3];
586
- }
587
- }
588
- };
589
- var parsePropertyValue = (propValue, propType) => {
590
- if (propValue != null && !isComplexType(propValue)) {
591
- if (propType & 4 /* Boolean */) {
592
- return propValue === "false" ? false : propValue === "" || !!propValue;
593
- }
594
- if (propType & 2 /* Number */) {
595
- return parseFloat(propValue);
596
- }
597
- if (propType & 1 /* String */) {
598
- return String(propValue);
599
- }
600
- return propValue;
601
- }
602
- return propValue;
603
- };
604
- var getElement = (ref) => getHostRef(ref).$hostElement$ ;
605
-
606
- // src/runtime/event-emitter.ts
607
- var createEvent$2 = (ref, name, flags) => {
608
- const elm = getElement(ref);
609
- return {
610
- emit: (detail) => {
611
- return emitEvent(elm, name, {
612
- bubbles: !!(flags & 4 /* Bubbles */),
613
- composed: !!(flags & 2 /* Composed */),
614
- cancelable: !!(flags & 1 /* Cancellable */),
615
- detail
616
- });
617
- }
618
- };
619
- };
620
- var emitEvent = (elm, name, opts) => {
621
- const ev = plt.ce(name, opts);
622
- elm.dispatchEvent(ev);
623
- return ev;
624
- };
625
- var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
626
- var registerStyle = (scopeId2, cssText, allowCS) => {
627
- let style = styles.get(scopeId2);
628
- {
629
- style = cssText;
630
- }
631
- styles.set(scopeId2, style);
632
- };
633
- var addStyle = (styleContainerNode, cmpMeta, mode) => {
634
- var _a;
635
- const scopeId2 = getScopeId(cmpMeta);
636
- const style = styles.get(scopeId2);
637
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
638
- if (style) {
639
- if (typeof style === "string") {
640
- styleContainerNode = styleContainerNode.head || styleContainerNode;
641
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
642
- let styleElm;
643
- if (!appliedStyles) {
644
- rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
645
- }
646
- if (!appliedStyles.has(scopeId2)) {
647
- if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
648
- styleElm.innerHTML = style;
649
- } else {
650
- styleElm = doc.createElement("style");
651
- styleElm.innerHTML = style;
652
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
653
- if (nonce != null) {
654
- styleElm.setAttribute("nonce", nonce);
655
- }
656
- if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
657
- styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
658
- }
659
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
660
- if (styleContainerNode.nodeName === "HEAD") {
661
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
662
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
663
- styleContainerNode.insertBefore(styleElm, referenceNode2);
664
- } else if ("host" in styleContainerNode) {
665
- {
666
- const existingStyleContainer = styleContainerNode.querySelector("style");
667
- if (existingStyleContainer) {
668
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
669
- } else {
670
- styleContainerNode.prepend(styleElm);
671
- }
672
- }
673
- } else {
674
- styleContainerNode.append(styleElm);
675
- }
676
- }
677
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
678
- styleContainerNode.insertBefore(styleElm, null);
679
- }
680
- }
681
- if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
682
- styleElm.innerHTML += SLOT_FB_CSS;
683
- }
684
- if (appliedStyles) {
685
- appliedStyles.add(scopeId2);
686
- }
687
- }
688
- }
689
- }
690
- return scopeId2;
691
- };
692
- var attachStyles = (hostRef) => {
693
- const cmpMeta = hostRef.$cmpMeta$;
694
- const elm = hostRef.$hostElement$;
695
- const flags = cmpMeta.$flags$;
696
- const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
697
- const scopeId2 = addStyle(
698
- elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
699
- cmpMeta);
700
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
701
- elm["s-sc"] = scopeId2;
702
- elm.classList.add(scopeId2 + "-h");
703
- if (flags & 2 /* scopedCssEncapsulation */) {
704
- elm.classList.add(scopeId2 + "-s");
705
- }
706
- }
707
- endAttachStyles();
708
- };
709
- var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
710
382
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
711
383
  if (oldValue !== newValue) {
712
384
  let isProp = isMemberInElement(elm, memberName);
@@ -715,6 +387,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
715
387
  const classList = elm.classList;
716
388
  const oldClasses = parseClassList(oldValue);
717
389
  const newClasses = parseClassList(newValue);
390
+ if (elm["s-si"] && newClasses.indexOf(elm["s-si"]) < 0) {
391
+ newClasses.push(elm["s-si"]);
392
+ }
718
393
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
719
394
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
720
395
  } else if (memberName === "style") {
@@ -928,7 +603,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
928
603
  };
929
604
  var putBackInOriginalLocation = (parentElm, recursive) => {
930
605
  plt.$flags$ |= 1 /* isTmpDisconnected */;
931
- const oldSlotChildNodes = Array.from(parentElm.childNodes);
606
+ const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
932
607
  if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
933
608
  let node = parentElm;
934
609
  while (node = node.nextSibling) {
@@ -1142,7 +817,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1142
817
  }
1143
818
  };
1144
819
  var updateFallbackSlotVisibility = (elm) => {
1145
- const childNodes = elm.childNodes;
820
+ const childNodes = elm.__childNodes || elm.childNodes;
1146
821
  for (const childNode of childNodes) {
1147
822
  if (childNode.nodeType === 1 /* ElementNode */) {
1148
823
  if (childNode["s-sr"]) {
@@ -1155,7 +830,7 @@ var updateFallbackSlotVisibility = (elm) => {
1155
830
  childNode.hidden = true;
1156
831
  break;
1157
832
  }
1158
- } else {
833
+ } else if (slotName === siblingNode["s-sn"]) {
1159
834
  if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== "") {
1160
835
  childNode.hidden = true;
1161
836
  break;
@@ -1173,9 +848,10 @@ var markSlotContentForRelocation = (elm) => {
1173
848
  let node;
1174
849
  let hostContentNodes;
1175
850
  let j;
1176
- for (const childNode of elm.childNodes) {
851
+ const children = elm.__childNodes || elm.childNodes;
852
+ for (const childNode of children) {
1177
853
  if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
1178
- hostContentNodes = node.parentNode.childNodes;
854
+ hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
1179
855
  const slotName = childNode["s-sn"];
1180
856
  for (j = hostContentNodes.length - 1; j >= 0; j--) {
1181
857
  node = hostContentNodes[j];
@@ -1262,9 +938,9 @@ var updateElementScopeIds = (element, parent, iterateChildNodes = false) => {
1262
938
  if (element && parent && element.nodeType === 1 /* ElementNode */) {
1263
939
  const scopeIds = new Set(findScopeIds(parent).filter(Boolean));
1264
940
  if (scopeIds.size) {
1265
- (_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = [...scopeIds]);
941
+ (_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = Array.from(scopeIds));
1266
942
  if (element["s-ol"] || iterateChildNodes) {
1267
- for (const childNode of Array.from(element.childNodes)) {
943
+ for (const childNode of Array.from(element.__childNodes || element.childNodes)) {
1268
944
  updateElementScopeIds(childNode, element, true);
1269
945
  }
1270
946
  }
@@ -1375,6 +1051,512 @@ var slotReferenceDebugNode = (slotVNode) => doc.createComment(
1375
1051
  var originalLocationDebugNode = (nodeToRelocate) => doc.createComment(
1376
1052
  `org-location for ` + (nodeToRelocate.localName ? `<${nodeToRelocate.localName}> (host=${nodeToRelocate["s-hn"]})` : `[${nodeToRelocate.textContent}]`)
1377
1053
  );
1054
+ var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
1055
+ let slottedNodeLocation;
1056
+ if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
1057
+ slottedNodeLocation = newChild["s-ol"];
1058
+ } else {
1059
+ slottedNodeLocation = document.createTextNode("");
1060
+ slottedNodeLocation["s-nr"] = newChild;
1061
+ }
1062
+ if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
1063
+ const parent = slotNode["s-cr"].parentNode;
1064
+ const appendMethod = prepend ? parent.__prepend || parent.prepend : parent.__appendChild || parent.appendChild;
1065
+ if (typeof position !== "undefined") {
1066
+ {
1067
+ slottedNodeLocation["s-oo"] = position;
1068
+ const childNodes = parent.__childNodes || parent.childNodes;
1069
+ const slotRelocateNodes = [slottedNodeLocation];
1070
+ childNodes.forEach((n) => {
1071
+ if (n["s-nr"]) slotRelocateNodes.push(n);
1072
+ });
1073
+ slotRelocateNodes.sort((a, b) => {
1074
+ if (!a["s-oo"] || a["s-oo"] < b["s-oo"]) return -1;
1075
+ else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
1076
+ return 0;
1077
+ });
1078
+ slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
1079
+ }
1080
+ } else {
1081
+ appendMethod.call(parent, slottedNodeLocation);
1082
+ }
1083
+ newChild["s-ol"] = slottedNodeLocation;
1084
+ newChild["s-sh"] = slotNode["s-hn"];
1085
+ };
1086
+ var createTime = (fnName, tagName = "") => {
1087
+ {
1088
+ return () => {
1089
+ return;
1090
+ };
1091
+ }
1092
+ };
1093
+ var uniqueTime = (key, measureText) => {
1094
+ {
1095
+ return () => {
1096
+ return;
1097
+ };
1098
+ }
1099
+ };
1100
+
1101
+ // src/runtime/client-hydrate.ts
1102
+ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1103
+ const endHydrate = createTime("hydrateClient", tagName);
1104
+ const shadowRoot = hostElm.shadowRoot;
1105
+ const childRenderNodes = [];
1106
+ const slotNodes = [];
1107
+ const slottedNodes = [];
1108
+ const shadowRootNodes = shadowRoot ? [] : null;
1109
+ const vnode = newVNode(tagName, null);
1110
+ vnode.$elm$ = hostElm;
1111
+ if (!plt.$orgLocNodes$) {
1112
+ initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
1113
+ }
1114
+ hostElm[HYDRATE_ID] = hostId;
1115
+ hostElm.removeAttribute(HYDRATE_ID);
1116
+ hostRef.$vnode$ = clientHydrate(
1117
+ vnode,
1118
+ childRenderNodes,
1119
+ slotNodes,
1120
+ shadowRootNodes,
1121
+ hostElm,
1122
+ hostElm,
1123
+ hostId,
1124
+ slottedNodes
1125
+ );
1126
+ let crIndex = 0;
1127
+ const crLength = childRenderNodes.length;
1128
+ let childRenderNode;
1129
+ for (crIndex; crIndex < crLength; crIndex++) {
1130
+ childRenderNode = childRenderNodes[crIndex];
1131
+ const orgLocationId = childRenderNode.$hostId$ + "." + childRenderNode.$nodeId$;
1132
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
1133
+ const node = childRenderNode.$elm$;
1134
+ if (!shadowRoot) {
1135
+ node["s-hn"] = tagName.toUpperCase();
1136
+ if (childRenderNode.$tag$ === "slot") {
1137
+ node["s-cr"] = hostElm["s-cr"];
1138
+ }
1139
+ }
1140
+ if (orgLocationNode && orgLocationNode.isConnected) {
1141
+ if (shadowRoot && orgLocationNode["s-en"] === "") {
1142
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
1143
+ }
1144
+ orgLocationNode.parentNode.removeChild(orgLocationNode);
1145
+ if (!shadowRoot) {
1146
+ node["s-oo"] = parseInt(childRenderNode.$nodeId$);
1147
+ }
1148
+ }
1149
+ plt.$orgLocNodes$.delete(orgLocationId);
1150
+ }
1151
+ const hosts = [];
1152
+ let snIndex = 0;
1153
+ const snLen = slottedNodes.length;
1154
+ let slotGroup;
1155
+ let snGroupIdx;
1156
+ let snGroupLen;
1157
+ let slottedItem;
1158
+ for (snIndex; snIndex < snLen; snIndex++) {
1159
+ slotGroup = slottedNodes[snIndex];
1160
+ if (!slotGroup || !slotGroup.length) continue;
1161
+ snGroupLen = slotGroup.length;
1162
+ snGroupIdx = 0;
1163
+ for (snGroupIdx; snGroupIdx < snGroupLen; snGroupIdx++) {
1164
+ slottedItem = slotGroup[snGroupIdx];
1165
+ if (!hosts[slottedItem.hostId]) {
1166
+ hosts[slottedItem.hostId] = plt.$orgLocNodes$.get(slottedItem.hostId);
1167
+ }
1168
+ if (!hosts[slottedItem.hostId]) continue;
1169
+ const hostEle = hosts[slottedItem.hostId];
1170
+ if (!hostEle.shadowRoot || !shadowRoot) {
1171
+ slottedItem.slot["s-cr"] = hostEle["s-cr"];
1172
+ if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
1173
+ slottedItem.slot["s-cr"] = hostEle;
1174
+ } else {
1175
+ const hostChildren = hostEle.__childNodes || hostEle.childNodes;
1176
+ slottedItem.slot["s-cr"] = hostChildren[0];
1177
+ }
1178
+ addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
1179
+ }
1180
+ if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
1181
+ hostEle.appendChild(slottedItem.node);
1182
+ }
1183
+ }
1184
+ }
1185
+ if (shadowRoot) {
1186
+ let rnIdex = 0;
1187
+ const rnLen = shadowRootNodes.length;
1188
+ for (rnIdex; rnIdex < rnLen; rnIdex++) {
1189
+ shadowRoot.appendChild(shadowRootNodes[rnIdex]);
1190
+ }
1191
+ Array.from(hostElm.childNodes).forEach((node) => {
1192
+ if (node.nodeType === 8 /* CommentNode */ && typeof node["s-sn"] !== "string") {
1193
+ node.parentNode.removeChild(node);
1194
+ }
1195
+ });
1196
+ }
1197
+ hostRef.$hostElement$ = hostElm;
1198
+ endHydrate();
1199
+ };
1200
+ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId, slottedNodes = []) => {
1201
+ let childNodeType;
1202
+ let childIdSplt;
1203
+ let childVNode;
1204
+ let i2;
1205
+ const scopeId2 = hostElm["s-sc"];
1206
+ if (node.nodeType === 1 /* ElementNode */) {
1207
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
1208
+ if (childNodeType) {
1209
+ childIdSplt = childNodeType.split(".");
1210
+ if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
1211
+ childVNode = createSimpleVNode({
1212
+ $flags$: 0,
1213
+ $hostId$: childIdSplt[0],
1214
+ $nodeId$: childIdSplt[1],
1215
+ $depth$: childIdSplt[2],
1216
+ $index$: childIdSplt[3],
1217
+ $tag$: node.tagName.toLowerCase(),
1218
+ $elm$: node,
1219
+ // If we don't add the initial classes to the VNode, the first `vdom-render.ts` reconciliation will fail:
1220
+ // client side changes before componentDidLoad will be ignored, `set-accessor.ts` will just take the element's initial classes
1221
+ $attrs$: { class: node.className }
1222
+ });
1223
+ childRenderNodes.push(childVNode);
1224
+ node.removeAttribute(HYDRATE_CHILD_ID);
1225
+ if (!parentVNode.$children$) {
1226
+ parentVNode.$children$ = [];
1227
+ }
1228
+ const slotName = childVNode.$elm$.getAttribute("s-sn");
1229
+ if (typeof slotName === "string") {
1230
+ if (childVNode.$tag$ === "slot-fb") {
1231
+ addSlot(
1232
+ slotName,
1233
+ childIdSplt[2],
1234
+ childVNode,
1235
+ node,
1236
+ parentVNode,
1237
+ childRenderNodes,
1238
+ slotNodes,
1239
+ shadowRootNodes,
1240
+ slottedNodes
1241
+ );
1242
+ }
1243
+ childVNode.$elm$["s-sn"] = slotName;
1244
+ childVNode.$elm$.removeAttribute("s-sn");
1245
+ }
1246
+ if (childVNode.$index$ !== void 0) {
1247
+ parentVNode.$children$[childVNode.$index$] = childVNode;
1248
+ }
1249
+ if (scopeId2) node["s-si"] = scopeId2;
1250
+ parentVNode = childVNode;
1251
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
1252
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
1253
+ }
1254
+ }
1255
+ }
1256
+ if (node.shadowRoot) {
1257
+ for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
1258
+ clientHydrate(
1259
+ parentVNode,
1260
+ childRenderNodes,
1261
+ slotNodes,
1262
+ shadowRootNodes,
1263
+ hostElm,
1264
+ node.shadowRoot.childNodes[i2],
1265
+ hostId,
1266
+ slottedNodes
1267
+ );
1268
+ }
1269
+ }
1270
+ const nonShadowNodes = node.__childNodes || node.childNodes;
1271
+ for (i2 = nonShadowNodes.length - 1; i2 >= 0; i2--) {
1272
+ clientHydrate(
1273
+ parentVNode,
1274
+ childRenderNodes,
1275
+ slotNodes,
1276
+ shadowRootNodes,
1277
+ hostElm,
1278
+ nonShadowNodes[i2],
1279
+ hostId,
1280
+ slottedNodes
1281
+ );
1282
+ }
1283
+ } else if (node.nodeType === 8 /* CommentNode */) {
1284
+ childIdSplt = node.nodeValue.split(".");
1285
+ if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
1286
+ childNodeType = childIdSplt[0];
1287
+ childVNode = createSimpleVNode({
1288
+ $hostId$: childIdSplt[1],
1289
+ $nodeId$: childIdSplt[2],
1290
+ $depth$: childIdSplt[3],
1291
+ $index$: childIdSplt[4] || "0",
1292
+ $elm$: node,
1293
+ $attrs$: null,
1294
+ $children$: null,
1295
+ $key$: null,
1296
+ $name$: null,
1297
+ $tag$: null,
1298
+ $text$: null
1299
+ });
1300
+ if (childNodeType === TEXT_NODE_ID) {
1301
+ childVNode.$elm$ = node.nextSibling;
1302
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
1303
+ childVNode.$text$ = childVNode.$elm$.textContent;
1304
+ childRenderNodes.push(childVNode);
1305
+ node.remove();
1306
+ if (hostId === childVNode.$hostId$) {
1307
+ if (!parentVNode.$children$) {
1308
+ parentVNode.$children$ = [];
1309
+ }
1310
+ parentVNode.$children$[childVNode.$index$] = childVNode;
1311
+ }
1312
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
1313
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
1314
+ }
1315
+ }
1316
+ } else if (childNodeType === COMMENT_NODE_ID) {
1317
+ childVNode.$elm$ = node.nextSibling;
1318
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
1319
+ childRenderNodes.push(childVNode);
1320
+ node.remove();
1321
+ }
1322
+ } else if (childVNode.$hostId$ === hostId) {
1323
+ if (childNodeType === SLOT_NODE_ID) {
1324
+ childVNode.$tag$ = "slot";
1325
+ const slotName = node["s-sn"] = childVNode.$name$ = childIdSplt[5] || "";
1326
+ addSlot(
1327
+ slotName,
1328
+ childIdSplt[2],
1329
+ childVNode,
1330
+ node,
1331
+ parentVNode,
1332
+ childRenderNodes,
1333
+ slotNodes,
1334
+ shadowRootNodes,
1335
+ slottedNodes
1336
+ );
1337
+ } else if (childNodeType === CONTENT_REF_ID) {
1338
+ if (shadowRootNodes) {
1339
+ node.remove();
1340
+ } else {
1341
+ hostElm["s-cr"] = node;
1342
+ node["s-cn"] = true;
1343
+ }
1344
+ }
1345
+ }
1346
+ }
1347
+ } else if (parentVNode && parentVNode.$tag$ === "style") {
1348
+ const vnode = newVNode(null, node.textContent);
1349
+ vnode.$elm$ = node;
1350
+ vnode.$index$ = "0";
1351
+ parentVNode.$children$ = [vnode];
1352
+ }
1353
+ return parentVNode;
1354
+ };
1355
+ var initializeDocumentHydrate = (node, orgLocNodes) => {
1356
+ if (node.nodeType === 1 /* ElementNode */) {
1357
+ const componentId = node[HYDRATE_ID] || node.getAttribute(HYDRATE_ID);
1358
+ if (componentId) {
1359
+ orgLocNodes.set(componentId, node);
1360
+ }
1361
+ let i2 = 0;
1362
+ if (node.shadowRoot) {
1363
+ for (; i2 < node.shadowRoot.childNodes.length; i2++) {
1364
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
1365
+ }
1366
+ }
1367
+ const nonShadowNodes = node.__childNodes || node.childNodes;
1368
+ for (i2 = 0; i2 < nonShadowNodes.length; i2++) {
1369
+ initializeDocumentHydrate(nonShadowNodes[i2], orgLocNodes);
1370
+ }
1371
+ } else if (node.nodeType === 8 /* CommentNode */) {
1372
+ const childIdSplt = node.nodeValue.split(".");
1373
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
1374
+ orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
1375
+ node.nodeValue = "";
1376
+ node["s-en"] = childIdSplt[3];
1377
+ }
1378
+ }
1379
+ };
1380
+ var createSimpleVNode = (vnode) => {
1381
+ const defaultVNode = {
1382
+ $flags$: 0,
1383
+ $hostId$: null,
1384
+ $nodeId$: null,
1385
+ $depth$: null,
1386
+ $index$: "0",
1387
+ $elm$: null,
1388
+ $attrs$: null,
1389
+ $children$: null,
1390
+ $key$: null,
1391
+ $name$: null,
1392
+ $tag$: null,
1393
+ $text$: null
1394
+ };
1395
+ return { ...defaultVNode, ...vnode };
1396
+ };
1397
+ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
1398
+ node["s-sr"] = true;
1399
+ const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
1400
+ if (shadowRootNodes) {
1401
+ const slot = childVNode.$elm$ = doc.createElement(childVNode.$tag$);
1402
+ if (childVNode.$name$) {
1403
+ childVNode.$elm$.setAttribute("name", slotName);
1404
+ }
1405
+ if (parentNodeId && parentNodeId !== childVNode.$hostId$) {
1406
+ parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
1407
+ } else {
1408
+ node.parentNode.insertBefore(childVNode.$elm$, node);
1409
+ }
1410
+ addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
1411
+ node.remove();
1412
+ if (childVNode.$depth$ === "0") {
1413
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
1414
+ }
1415
+ } else {
1416
+ const slot = childVNode.$elm$;
1417
+ const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
1418
+ addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
1419
+ if (shouldMove) {
1420
+ parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
1421
+ }
1422
+ childRenderNodes.push(childVNode);
1423
+ }
1424
+ slotNodes.push(childVNode);
1425
+ if (!parentVNode.$children$) {
1426
+ parentVNode.$children$ = [];
1427
+ }
1428
+ parentVNode.$children$[childVNode.$index$] = childVNode;
1429
+ }
1430
+ var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
1431
+ let slottedNode = slotNode.nextSibling;
1432
+ slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
1433
+ while (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (slottedNode.nodeType === 8 /* CommentNode */ && slottedNode.nodeValue.indexOf(".") !== 1 || slottedNode.nodeType === 3 /* TextNode */))) {
1434
+ slottedNode["s-sn"] = slotName;
1435
+ slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
1436
+ slottedNode = slottedNode.nextSibling;
1437
+ }
1438
+ };
1439
+ var parsePropertyValue = (propValue, propType) => {
1440
+ if (propValue != null && !isComplexType(propValue)) {
1441
+ if (propType & 4 /* Boolean */) {
1442
+ return propValue === "false" ? false : propValue === "" || !!propValue;
1443
+ }
1444
+ if (propType & 2 /* Number */) {
1445
+ return parseFloat(propValue);
1446
+ }
1447
+ if (propType & 1 /* String */) {
1448
+ return String(propValue);
1449
+ }
1450
+ return propValue;
1451
+ }
1452
+ return propValue;
1453
+ };
1454
+ var getElement = (ref) => getHostRef(ref).$hostElement$ ;
1455
+
1456
+ // src/runtime/event-emitter.ts
1457
+ var createEvent$2 = (ref, name, flags) => {
1458
+ const elm = getElement(ref);
1459
+ return {
1460
+ emit: (detail) => {
1461
+ return emitEvent(elm, name, {
1462
+ bubbles: !!(flags & 4 /* Bubbles */),
1463
+ composed: !!(flags & 2 /* Composed */),
1464
+ cancelable: !!(flags & 1 /* Cancellable */),
1465
+ detail
1466
+ });
1467
+ }
1468
+ };
1469
+ };
1470
+ var emitEvent = (elm, name, opts) => {
1471
+ const ev = plt.ce(name, opts);
1472
+ elm.dispatchEvent(ev);
1473
+ return ev;
1474
+ };
1475
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
1476
+ var registerStyle = (scopeId2, cssText, allowCS) => {
1477
+ let style = styles.get(scopeId2);
1478
+ {
1479
+ style = cssText;
1480
+ }
1481
+ styles.set(scopeId2, style);
1482
+ };
1483
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1484
+ var _a;
1485
+ const scopeId2 = getScopeId(cmpMeta);
1486
+ const style = styles.get(scopeId2);
1487
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
1488
+ if (style) {
1489
+ if (typeof style === "string") {
1490
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
1491
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
1492
+ let styleElm;
1493
+ if (!appliedStyles) {
1494
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
1495
+ }
1496
+ if (!appliedStyles.has(scopeId2)) {
1497
+ if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
1498
+ styleElm.innerHTML = style;
1499
+ } else {
1500
+ styleElm = doc.createElement("style");
1501
+ styleElm.innerHTML = style;
1502
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
1503
+ if (nonce != null) {
1504
+ styleElm.setAttribute("nonce", nonce);
1505
+ }
1506
+ if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
1507
+ styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
1508
+ }
1509
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1510
+ if (styleContainerNode.nodeName === "HEAD") {
1511
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
1512
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
1513
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
1514
+ } else if ("host" in styleContainerNode) {
1515
+ {
1516
+ const existingStyleContainer = styleContainerNode.querySelector("style");
1517
+ if (existingStyleContainer) {
1518
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
1519
+ } else {
1520
+ styleContainerNode.prepend(styleElm);
1521
+ }
1522
+ }
1523
+ } else {
1524
+ styleContainerNode.append(styleElm);
1525
+ }
1526
+ }
1527
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
1528
+ styleContainerNode.insertBefore(styleElm, null);
1529
+ }
1530
+ }
1531
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
1532
+ styleElm.innerHTML += SLOT_FB_CSS;
1533
+ }
1534
+ if (appliedStyles) {
1535
+ appliedStyles.add(scopeId2);
1536
+ }
1537
+ }
1538
+ }
1539
+ }
1540
+ return scopeId2;
1541
+ };
1542
+ var attachStyles = (hostRef) => {
1543
+ const cmpMeta = hostRef.$cmpMeta$;
1544
+ const elm = hostRef.$hostElement$;
1545
+ const flags = cmpMeta.$flags$;
1546
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
1547
+ const scopeId2 = addStyle(
1548
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
1549
+ cmpMeta);
1550
+ if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
1551
+ elm["s-sc"] = scopeId2;
1552
+ elm.classList.add(scopeId2 + "-h");
1553
+ if (flags & 2 /* scopedCssEncapsulation */) {
1554
+ elm.classList.add(scopeId2 + "-s");
1555
+ }
1556
+ }
1557
+ endAttachStyles();
1558
+ };
1559
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
1378
1560
 
1379
1561
  // src/runtime/update-component.ts
1380
1562
  var attachToAncestor = (hostRef, ancestorComponent) => {
@@ -1618,16 +1800,62 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1618
1800
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1619
1801
  members.map(([memberName, [memberFlags]]) => {
1620
1802
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1621
- Object.defineProperty(prototype, memberName, {
1622
- get() {
1623
- return getValue(this, memberName);
1624
- },
1625
- set(newValue) {
1626
- setValue(this, memberName, newValue, cmpMeta);
1627
- },
1628
- configurable: true,
1629
- enumerable: true
1630
- });
1803
+ if ((memberFlags & 2048 /* Getter */) === 0) {
1804
+ Object.defineProperty(prototype, memberName, {
1805
+ get() {
1806
+ return getValue(this, memberName);
1807
+ },
1808
+ set(newValue) {
1809
+ setValue(this, memberName, newValue, cmpMeta);
1810
+ },
1811
+ configurable: true,
1812
+ enumerable: true
1813
+ });
1814
+ } else if (flags & 1 /* isElementConstructor */ && memberFlags & 2048 /* Getter */) {
1815
+ {
1816
+ Object.defineProperty(prototype, memberName, {
1817
+ get() {
1818
+ const ref = getHostRef(this);
1819
+ const instance = ref ? ref.$lazyInstance$ : prototype;
1820
+ if (!instance) return;
1821
+ return instance[memberName];
1822
+ },
1823
+ configurable: true,
1824
+ enumerable: true
1825
+ });
1826
+ }
1827
+ if (memberFlags & 4096 /* Setter */) {
1828
+ const origSetter = Object.getOwnPropertyDescriptor(prototype, memberName).set;
1829
+ Object.defineProperty(prototype, memberName, {
1830
+ set(newValue) {
1831
+ const ref = getHostRef(this);
1832
+ if (origSetter) {
1833
+ const currentValue = ref.$hostElement$[memberName];
1834
+ if (!ref.$instanceValues$.get(memberName) && currentValue) {
1835
+ ref.$instanceValues$.set(memberName, currentValue);
1836
+ }
1837
+ origSetter.apply(this, [parsePropertyValue(newValue, cmpMeta.$members$[memberName][0])]);
1838
+ setValue(this, memberName, ref.$hostElement$[memberName], cmpMeta);
1839
+ return;
1840
+ }
1841
+ if (!ref) return;
1842
+ const setterSetVal = () => {
1843
+ const currentValue = ref.$lazyInstance$[memberName];
1844
+ if (!ref.$instanceValues$.get(memberName) && currentValue) {
1845
+ ref.$instanceValues$.set(memberName, currentValue);
1846
+ }
1847
+ ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, cmpMeta.$members$[memberName][0]);
1848
+ setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1849
+ };
1850
+ if (ref.$lazyInstance$) {
1851
+ setterSetVal();
1852
+ } else {
1853
+ ref.$onReadyPromise$.then(() => setterSetVal());
1854
+ }
1855
+ }
1856
+ });
1857
+ }
1858
+ }
1631
1859
  } else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
1632
1860
  Object.defineProperty(prototype, memberName, {
1633
1861
  value(...args) {
@@ -1667,7 +1895,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1667
1895
  }
1668
1896
  return;
1669
1897
  }
1670
- this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1898
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1899
+ if (!propDesc.get || !!propDesc.set) {
1900
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1901
+ }
1671
1902
  });
1672
1903
  };
1673
1904
  Cstr.observedAttributes = Array.from(
@@ -1778,6 +2009,9 @@ var connectedCallback = (elm) => {
1778
2009
  if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1779
2010
  const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
1780
2011
  elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
2012
+ } else if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
2013
+ const scopeId2 = getScopeId(cmpMeta);
2014
+ elm["s-sc"] = scopeId2;
1781
2015
  }
1782
2016
  initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
1783
2017
  }
@@ -1874,6 +2108,9 @@ var insertVdomAnnotations = (doc2, staticComponents) => {
1874
2108
  childId = `${hostId}.${nodeId}`;
1875
2109
  if (nodeRef.nodeType === 1 /* ElementNode */) {
1876
2110
  nodeRef.setAttribute(HYDRATE_CHILD_ID, childId);
2111
+ if (typeof nodeRef["s-sn"] === "string" && !nodeRef.getAttribute("slot")) {
2112
+ nodeRef.setAttribute("s-sn", nodeRef["s-sn"]);
2113
+ }
1877
2114
  } else if (nodeRef.nodeType === 3 /* TextNode */) {
1878
2115
  if (hostId === 0) {
1879
2116
  const textContent = (_a = nodeRef.nodeValue) == null ? void 0 : _a.trim();
@@ -1885,6 +2122,10 @@ var insertVdomAnnotations = (doc2, staticComponents) => {
1885
2122
  const commentBeforeTextNode = doc2.createComment(childId);
1886
2123
  commentBeforeTextNode.nodeValue = `${TEXT_NODE_ID}.${childId}`;
1887
2124
  insertBefore(nodeRef.parentNode, commentBeforeTextNode, nodeRef);
2125
+ } else if (nodeRef.nodeType === 8 /* CommentNode */) {
2126
+ const commentBeforeTextNode = doc2.createComment(childId);
2127
+ commentBeforeTextNode.nodeValue = `${COMMENT_NODE_ID}.${childId}`;
2128
+ nodeRef.parentNode.insertBefore(commentBeforeTextNode, nodeRef);
1888
2129
  }
1889
2130
  }
1890
2131
  let orgLocationNodeId = `${ORG_LOCATION_ID}.${childId}`;
@@ -1965,6 +2206,9 @@ var insertChildVNodeAnnotations = (doc2, vnodeChild, cmpData, hostId, depth, ind
1965
2206
  childElm["s-node-id"] = nodeId;
1966
2207
  if (childElm.nodeType === 1 /* ElementNode */) {
1967
2208
  childElm.setAttribute(HYDRATE_CHILD_ID, childId);
2209
+ if (typeof childElm["s-sn"] === "string" && !childElm.getAttribute("slot")) {
2210
+ childElm.setAttribute("s-sn", childElm["s-sn"]);
2211
+ }
1968
2212
  } else if (childElm.nodeType === 3 /* TextNode */) {
1969
2213
  const parentNode = childElm.parentNode;
1970
2214
  const nodeName = parentNode == null ? void 0 : parentNode.nodeName;
@@ -2381,7 +2625,6 @@ var plt = {
2381
2625
  rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2382
2626
  ce: (eventName, opts) => new win.CustomEvent(eventName, opts)
2383
2627
  };
2384
- var supportsShadow = BUILD.shadowDom;
2385
2628
  var hostRefs = /* @__PURE__ */ new WeakMap();
2386
2629
  var getHostRef = (ref) => hostRefs.get(ref);
2387
2630
  var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
@@ -3559,7 +3802,7 @@ const checkNamedSlotElement = (hostElement, slotName, selector, maxChildren = 0,
3559
3802
  }
3560
3803
  };
3561
3804
 
3562
- const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert-wrapper.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.warning.duet-theme-turva{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.danger{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.danger.duet-theme-turva{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.success{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.success.duet-theme-turva{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229)}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon.below-nav{align-self:flex-start}.duet-alert-icon duet-icon{width:20px;height:20px}";
3805
+ const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert-wrapper.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.warning.duet-theme-turva{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.danger{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.danger.duet-theme-turva{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.success{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.success.duet-theme-turva{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229)}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon.below-nav{align-self:flex-start}.duet-alert-icon duet-icon{width:20px;height:20px}";
3563
3806
  var DuetAlertStyle0 = duetAlertCss;
3564
3807
 
3565
3808
  /**
@@ -3743,12 +3986,12 @@ class DuetBadge {
3743
3986
  */
3744
3987
  render() {
3745
3988
  const backgroundClass = `background-${this.background}`;
3746
- return (hAsync(Host, { key: 'fa6c996be60aa738c5324d36785910a2df451fda', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: 'fb20eeca5e56a6b530468e01b0c50fdfc62dab5b', class: {
3989
+ return (hAsync(Host, { key: 'f6c7cba47b61653771f763bf926f6e42f043a51a', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '953adfad1705f38f74fef7490b449f51dc3c8372', class: {
3747
3990
  "duet-badge": true,
3748
3991
  [this.variation]: true,
3749
3992
  [backgroundClass]: true,
3750
3993
  "duet-theme-turva": this.theme === "turva",
3751
- } }, hAsync("slot", { key: 'e8a75efc4cfa0fffd6ec03c37550b967ceec0a9a' }))));
3994
+ } }, hAsync("slot", { key: '4129c1565dbec8d0269a41e5c5cf0ce71b315be4' }))));
3752
3995
  }
3753
3996
  get element() { return getElement(this); }
3754
3997
  static get style() { return DuetBadgeStyle0; }
@@ -3938,14 +4181,14 @@ class DuetBreadcrumb {
3938
4181
  */
3939
4182
  render() {
3940
4183
  var _a;
3941
- return (hAsync(Host, { key: '689d0258e18fdfbbd6f4d01c8ab355a1a8312c2f', role: "listitem" }, hAsync("div", { key: '909354599a3a41ee94fd902605d5299666bd599b', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: '9fc66ffab8615edd97b3bedefd33f7fa80491694', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: 'ed4010eedd8d1da13bde66c21a9885d8831c580b', class: {
4184
+ return (hAsync(Host, { key: 'd563a73d4bfb9f69e7680da922d0b2689565ad1c', role: "listitem" }, hAsync("div", { key: '10fc5b8b4a2c25d70156271a11e3a233e3171b5b', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: 'bfb363e4ddc22dee217eb2caafddfc2195b211af', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '87a994e8838d6b2271066aba7bf9960b5d328393', class: {
3942
4185
  "duet-breadcrumb": true,
3943
4186
  "duet-theme-turva": this.theme === "turva",
3944
4187
  }, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
3945
4188
  this.icon && [
3946
- hAsync("duet-icon", { key: '9b0d1364911cb1737106f201a2c4db931133f38e', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
3947
- this.hasSlottedContent && hAsync("duet-spacer", { key: '27f506daef53b848c270e8be99c0f2aaebb80004', size: "x-small", direction: "horizontal" }),
3948
- ], hAsync("slot", { key: '2bc8ee802dc29cc82123e91b9178e5f51e9709c9' })))));
4189
+ hAsync("duet-icon", { key: '3866247a6992476b2559aced40a034a0cc76c437', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
4190
+ this.hasSlottedContent && hAsync("duet-spacer", { key: 'aadee41608241f0903e843ac3e54a7985a947206', size: "x-small", direction: "horizontal" }),
4191
+ ], hAsync("slot", { key: 'dc5cfef7de5a83c0bd04f32204d042400819129f' })))));
3949
4192
  }
3950
4193
  get element() { return getElement(this); }
3951
4194
  static get style() { return DuetBreadcrumbStyle0; }
@@ -4006,11 +4249,11 @@ class DuetBreadcrumbs {
4006
4249
  */
4007
4250
  render() {
4008
4251
  const color = getColorByName(this.color);
4009
- return (hAsync(Host, { key: '996e5aefa1bd4292a2ef8e9defb42967032c8011' }, hAsync("nav", { key: '5971870c10d1faabc65248ee6113cd8a84e7a2ae', "aria-label": this.breadcrumbsAriaLabel, class: {
4252
+ return (hAsync(Host, { key: '2ff5911d23c100d3643be758c450037f7e9a188b' }, hAsync("nav", { key: '73bf3c3a13dfbca9d8a627b3833e392a689fdb16', "aria-label": this.breadcrumbsAriaLabel, class: {
4010
4253
  "duet-breadcrumbs": true,
4011
4254
  "duet-theme-turva": this.theme === "turva",
4012
4255
  [this.variation]: true,
4013
- } }, hAsync("div", { key: 'e13adcf97e2a6fefb2e73a302b09776418d81272', class: "container" }, hAsync("div", { key: 'a628bb7c78faaa9952d40bc5dab4171e1bfb9f00', role: "list", class: "list", style: { color } }, hAsync("slot", { key: 'bde592b8806f2e74c1031d2ac4ca58b2b0279c55' })), hAsync("div", { key: 'c6c7386a1148b7173eae0919a4c3ba7cee0322c1', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '668a74528b4859e29e226f3c33311557191a9bc3', class: "bottom-border bottom-border--nav" }))));
4256
+ } }, hAsync("div", { key: 'eab81ecd243618026326688741ff0eacf6eb1bf0', class: "container" }, hAsync("div", { key: '8c7f57f32ec5f458fe10497450995fbcc5feadca', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '8f89e08a64377083ee60c92599459324439c0f8b' })), hAsync("div", { key: '27bc05b04c9b6f613bb95c6bd1576c2486fa30cf', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '437f2b1c77d0a03503c002ce637c79748eba62ea', class: "bottom-border bottom-border--nav" }))));
4014
4257
  }
4015
4258
  get element() { return getElement(this); }
4016
4259
  static get style() { return DuetBreadcrumbsStyle0; }
@@ -4353,11 +4596,11 @@ class DuetCallout {
4353
4596
  <path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
4354
4597
  </svg>
4355
4598
  `;
4356
- return (hAsync(Host, { key: '2d1eadb42a67c31dd1d5e3498f00254e08b9b2cd' }, hAsync("div", { key: '6e5be94e6e61eaf272e52f9de9070f8de6a9484d', class: {
4599
+ return (hAsync(Host, { key: 'e5a47020ada7c007c90d23a7f9c796c2f6b2457e' }, hAsync("div", { key: '136d467b3ef4aa8f442ee7047cc124990fa61bb8', class: {
4357
4600
  "duet-callout": true,
4358
4601
  "duet-theme-turva": this.theme === "turva",
4359
4602
  "duet-m-0": this.margin === "none",
4360
- } }, hAsync("figure", { key: '1652580bcf78ac7c5ddb8b0a254de66725b98e9b', class: "container" }, hAsync("duet-icon", { key: '541cfe32ac9e9155924e22e7bf00850b70b79602', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", { key: '59af18b18c95e816e8dc446a3bcbe45f9c13f4fe' }, hAsync("slot", { key: 'f90f9674baa8d9e81c688920babcccc9e3e20468' })), this.hasAuthorSlot && (hAsync("figcaption", { key: 'ee4f1307e15ebfa58d6b7d29a7bdea93b3b5868f', class: "author" }, hAsync("span", { key: 'e6861f2ba21ba016d94cf482d93c614e5433e805' }, "\u2014 "), hAsync("slot", { key: 'c9cede4ee6f69cbf35c591d4c23787ccc7c7c8d1', name: "author" })))))));
4603
+ } }, hAsync("figure", { key: '493242d5535a0c9792bea659848083a341788177', class: "container" }, hAsync("duet-icon", { key: '8b8205d4eee5b38576a9c1d7d38b2fbb440bda73', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", { key: 'fbde831b7ff9d98ff97bdab185dd20e69f2a199c' }, hAsync("slot", { key: 'b08a535e736f7f7b4a9e9bf0c0f87cbd4feb0b9b' })), this.hasAuthorSlot && (hAsync("figcaption", { key: '4e10df600d75e995d0be670382e9f02eb2b2216c', class: "author" }, hAsync("span", { key: 'b8c898cee551b4b54df90d4cc13a2f8a43747722' }, "\u2014 "), hAsync("slot", { key: 'c0b4ad3dc00ff79d592e0283d31230700d6d9715', name: "author" })))))));
4361
4604
  }
4362
4605
  get element() { return getElement(this); }
4363
4606
  static get style() { return DuetCalloutStyle0; }
@@ -4718,11 +4961,11 @@ class DuetCheckmark {
4718
4961
  inheritGlobalTheme(this);
4719
4962
  }
4720
4963
  render() {
4721
- return (hAsync(Host, { key: '0c46b037eeb1d3a569233716e3931bb9e6d36a3b', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '77315f3c12b6d27a6e2736eac734c6830704d15a', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: '1b895cb3066e53481dae93943c90c4fa57fa1f3d', class: {
4964
+ return (hAsync(Host, { key: 'c27233d217d6300b031461ab116340e1c584066c', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '19290a374763929d9ddf126e675956ff3aaed52e', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: 'faac346948b9a766a35bb35ad9865fca24efaba0', class: {
4722
4965
  "duet-checkmark-container": true,
4723
4966
  center: this.center,
4724
4967
  "duet-checkmark-radio": this.type === "radio",
4725
- } }, this.checked && hAsync("div", { key: '2edba7cb3c44eed2b9af34c9a1afd893cadc3bfa', class: "duet-checkmark" })))));
4968
+ } }, this.checked && hAsync("div", { key: '4d79344b9b2bf72c06fa51d0134c4ae0255d6a59', class: "duet-checkmark" })))));
4726
4969
  }
4727
4970
  static get style() { return DuetCheckmarkStyle0; }
4728
4971
  static get cmpMeta() { return {
@@ -5084,7 +5327,7 @@ class DuetChip {
5084
5327
  }; }
5085
5328
  }
5086
5329
 
5087
- const duetChoiceCss = "*.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}.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}.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}";
5330
+ const duetChoiceCss = "*.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}";
5088
5331
  var DuetChoiceStyle0 = duetChoiceCss;
5089
5332
 
5090
5333
  /**
@@ -7014,10 +7257,10 @@ class DuetContactCard {
7014
7257
  render() {
7015
7258
  const isTurva = this.theme === "turva";
7016
7259
  const theme = isTurva ? "turva" : "default";
7017
- return (hAsync(Host, { key: '27e103c0c5049f7fab515607764a54b61951c1e0', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'c574b5e46c7fa008821587bb36154641b390b903', class: {
7260
+ return (hAsync(Host, { key: '710493f629c7d9cac46f490f0dee228f7242a95c', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '6ebe03954a2fa70044934971a113f2799d883a61', class: {
7018
7261
  "duet-contact-card": true,
7019
7262
  "duet-theme-turva": this.theme === "turva",
7020
- }, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: 'ad527316cf8b63feb34bd4dd79f77324b7f48c80' }, this.name && (hAsync("duet-heading", { key: '6774b39b0bbd63f84d262fcf3f2ecad255664ce0', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: 'f8dcb174650b2bc6f9ab36f8995c9e4629cd4cb7', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '73e0f30a03c566d15e338a87506fcf537f8c5cfd', class: "email" }, hAsync("duet-icon", { key: '362a6a97716c3a14aee0aa4f922b46752a512fe0', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '86f261b33c3199a7e02d697417f835d70f3300fa', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: 'fefe6fcb46d1113762849f95e2dcb7c4625d2472', class: "phone" }, hAsync("duet-icon", { key: '55a47952ffee9a4d97c714aa749219bc6d7aa2b8', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '618acf848c98219d2a05233a8f072401a33c5507', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: 'bc881ffff92c8433241d886ebd054090356ffece', class: "call-to-action" }, hAsync("duet-button", { key: '8147b7ed59d0c12d235059e6a1d1ec7551f1e184', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '1d06de992fe79882232166faca835f6468ce796f' }), hAsync("slot", { key: 'ade5d1b926723e45fc1ff45faeef9fa14bd5af56' }))));
7263
+ }, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '38bd574fe717f2d7b57c74cde6d5ac57f148b23c' }, this.name && (hAsync("duet-heading", { key: '72ef2682da855b8cb86c2537843b864121b1529b', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: 'b657102818b5864f82ddc9de07ff4c910024e46f', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '310a665ff9dad389ea89c74bcda6b5b637513eca', class: "email" }, hAsync("duet-icon", { key: '0d15be99d190d285cead78ef5a1356ce88802e21', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '67e957450d29245d930ca9b8366cdc421c95b5a0', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: '3c7f8dbef0143be61c6da4e5c5aaf50036a5a795', class: "phone" }, hAsync("duet-icon", { key: '107635e97ef8980ce1f9d91cc7c0a20132967d50', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '30993d3b47125ecd85527fd664596deb5b1e6c55', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '08e0710a040f7775d7a8b2c61b5e803212b1a344', class: "call-to-action" }, hAsync("duet-button", { key: '33b3f9f83c8b98df670211fa786bc91e1daeb33f', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '6bd3ab22e2e630bc6de6fd7f841f2b0fd658cc95' }), hAsync("slot", { key: 'ddcf2048393c89dbc94c29254ee703829cdc08a2' }))));
7021
7264
  }
7022
7265
  get element() { return getElement(this); }
7023
7266
  static get style() { return DuetContactCardStyle0; }
@@ -7296,7 +7539,7 @@ function createShortcuts(shortcuts) {
7296
7539
  };
7297
7540
  }
7298
7541
 
7299
- const duetDatePickerCss = "*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-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;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;display:flex;align-items:center;justify-content:center;width:48px;height:calc(100% - 2px);color:rgb(8, 42, 77);cursor:pointer;background:transparent !important;border-left:1px solid rgb(181, 198, 208) !important;border-radius:0 4px 4px 0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button.sc-duet-date-picker::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:\"\";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 247, 250) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-button.sc-duet-date-picker:focus{color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva.sc-duet-date-picker{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-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table-button.sc-duet-date-picker{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !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:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25 !important;color:rgb(8, 42, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.sc-duet-date-picker:focus{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 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:1.25rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);pointer-events:none;border-radius:4px}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{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-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header.sc-duet-date-picker{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(181, 198, 208)}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px #171c3a !important}";
7542
+ const duetDatePickerCss = "*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-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;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-webkit-user-select:none;user-select:none;position:relative;z-index:200;box-sizing:content-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;width:47px;height:48px;color:rgb(8, 42, 77);cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-left-color:rgb(181, 198, 208);border-radius:0 4px 4px 0;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button.sc-duet-date-picker::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:\"\";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-date-button.sc-duet-date-picker:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.duet-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 247, 250) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-input-has-focus.sc-duet-date-picker .duet-date-button.sc-duet-date-picker,.duet-date-button.sc-duet-date-picker:focus{height:46px;color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-input-has-focus.sc-duet-date-picker .duet-date-button.sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva.sc-duet-date-picker{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-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker:focus{outline:none}.duet-date-table-button.sc-duet-date-picker{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !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:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:2.6 !important;color:rgb(8, 42, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}[aria-pressed=true].sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker,.sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker [aria-pressed=true].sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}.sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 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:1.25rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);pointer-events:none;border-radius:4px}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{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-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header.sc-duet-date-picker{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(181, 198, 208)}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px #171c3a !important}";
7300
7543
  var DuetDatePickerStyle0 = duetDatePickerCss;
7301
7544
 
7302
7545
  /**
@@ -7343,9 +7586,10 @@ class DuetDatePicker {
7343
7586
  };
7344
7587
  this.handleBlur = (event) => {
7345
7588
  event.stopPropagation();
7346
- if (!this.validity.valid) {
7589
+ this.inputHasFocus = false;
7590
+ if (!this._validity.valid) {
7347
7591
  this.value = null;
7348
- const errorKey = Object.entries(this.validity).find(entry => !!entry[1])[0];
7592
+ const errorKey = Object.entries(this._validity).find(entry => !!entry[1])[0];
7349
7593
  this.internalValidityError = getLocaleString(this.dateErrorMessages[errorKey]);
7350
7594
  }
7351
7595
  this.duetBlur.emit({
@@ -7354,6 +7598,7 @@ class DuetDatePicker {
7354
7598
  };
7355
7599
  this.handleFocus = (event) => {
7356
7600
  event.stopPropagation();
7601
+ this.inputHasFocus = true;
7357
7602
  this.duetFocus.emit({
7358
7603
  component: "duet-date-picker",
7359
7604
  });
@@ -7410,7 +7655,14 @@ class DuetDatePicker {
7410
7655
  PageDown: () => this.addMonths(1),
7411
7656
  "Shift+PageUp": () => this.addYears(-1),
7412
7657
  "Shift+PageDown": () => this.addYears(1),
7658
+ Space: evt => this.handleKeyboardDaySelect(evt),
7659
+ Enter: evt => this.handleKeyboardDaySelect(evt),
7413
7660
  });
7661
+ this.handleKeyboardDaySelect = (evt) => {
7662
+ const el = evt.target;
7663
+ const date = parseISODate(el.dataset.day);
7664
+ this.handleDaySelect(evt, date);
7665
+ };
7414
7666
  this.handleDaySelect = (_event, day) => {
7415
7667
  const min = parseISODate(this.min);
7416
7668
  const max = parseISODate(this.max);
@@ -7437,6 +7689,7 @@ class DuetDatePicker {
7437
7689
  this.open = false;
7438
7690
  this.focusedDay = new Date();
7439
7691
  this.inputValue = "";
7692
+ this.inputHasFocus = false;
7440
7693
  this.internalValidityError = "";
7441
7694
  this.theme = "";
7442
7695
  this.expand = false;
@@ -7469,15 +7722,22 @@ class DuetDatePicker {
7469
7722
  this.min = "";
7470
7723
  this.max = "";
7471
7724
  this.incrementYears = 10;
7472
- this.validity = undefined;
7473
7725
  this.accessibleLiveError = "polite";
7474
7726
  }
7727
+ /**
7728
+ * This offers information relating to the current validity of the component.
7729
+ * It follow as closely as possible the behaviour of the native date input.
7730
+ * Useful properties to inspect are badInput, valueMissing, rangeOverflow, rangeUnderflow.
7731
+ */
7732
+ get validity() {
7733
+ return this._validity;
7734
+ }
7475
7735
  updateValidity(newValue, _oldValue, propName) {
7476
7736
  if (propName === "value" && newValue === null) {
7477
7737
  return;
7478
7738
  }
7479
7739
  this.determineValidity(parseISODate(this.value));
7480
- if (this.validity.valid) {
7740
+ if (this._validity.valid) {
7481
7741
  this.internalValidityError = "";
7482
7742
  }
7483
7743
  }
@@ -7592,7 +7852,7 @@ class DuetDatePicker {
7592
7852
  const valueMissing = this.required && date == null;
7593
7853
  const rangeOverflow = date ? !inRange(date, null, parseISODate(this.max)) : false;
7594
7854
  const rangeUnderflow = date ? !inRange(date, parseISODate(this.min)) : false;
7595
- this.validity = {
7855
+ this._validity = {
7596
7856
  patternMismatch: false,
7597
7857
  customError: false,
7598
7858
  stepMismatch: false,
@@ -7688,11 +7948,12 @@ class DuetDatePicker {
7688
7948
  "min": [1],
7689
7949
  "max": [1],
7690
7950
  "incrementYears": [2, "increment"],
7691
- "validity": [1040],
7951
+ "validity": [2064],
7692
7952
  "accessibleLiveError": [1, "accessible-live-error"],
7693
7953
  "open": [32],
7694
7954
  "focusedDay": [32],
7695
7955
  "inputValue": [32],
7956
+ "inputHasFocus": [32],
7696
7957
  "internalValidityError": [32],
7697
7958
  "setFocus": [64],
7698
7959
  "show": [64],
@@ -8023,20 +8284,20 @@ class DuetFieldset {
8023
8284
  * Always the last one in the class.
8024
8285
  */
8025
8286
  render() {
8026
- return (hAsync(Host, { key: '48d4ee16b180357c5f92388611b1d9811fc560ad', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: '8c8ec9d18b60ea69f0f8a7bc68f0a27fd93d7b4a', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
8287
+ return (hAsync(Host, { key: '4eb384f65662406ceb5dac5d3afa3123b53d559f', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: '1b74d77a9bee7a63d9667dcc2f7bbe1894e18857', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
8027
8288
  // NVDA and VoiceOver do not yet support aria-errormessage
8028
8289
  // once they do, we can remove errors from the aria-describedby
8029
8290
  // aria-errormessage={this.error ? this.errorId : null}
8030
8291
  class: {
8031
8292
  "duet-fieldset": true,
8032
8293
  "duet-theme-turva": this.theme === "turva",
8033
- } }, hAsync("legend", { key: '6f165b5e848a765821866fe0f8cf622fb5f43231', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: '68c8512465df39e946cb40414c248bdac8e201d6' }, this.label), this.caption && hAsync("span", { key: 'c4e7436c129b51e34efb44bdc4ac4cff1fd0264a' }, this.caption)), hAsync("div", { key: 'fb2d654dc97701d77af4a089af9d05d334b76d9d', class: {
8294
+ } }, hAsync("legend", { key: 'bc8894df307f0f7895ca65a8833f00de91c6d902', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: 'd4e9c87bccf8f2848af9caacac7b04a6eeaac99f' }, this.label), this.caption && hAsync("span", { key: '0e3b310bcff0a568df84daccd3c87a2032a1951f' }, this.caption)), hAsync("div", { key: '3e4a21c9412a2aa7c8e7b3af233ff78db59de3f3', class: {
8034
8295
  "duet-legend-wrapper": true,
8035
8296
  "duet-legend-has-caption": !!this.caption,
8036
8297
  "duet-legend-has-tooltip": this.hasTooltip,
8037
8298
  "duet-legend-hidden": this.labelHidden,
8038
8299
  "duet-legend-compact": this.compactLabel,
8039
- } }, hAsync("div", { key: '4fc06cf70c203c6bb13b2ef7f73ed34aa0c5b7f3', class: "duet-fieldset-label" }, hAsync("span", { key: 'ba029a7b2a434a26d454c6c679fd6692ffd1bf05', "aria-hidden": "true" }, this.label), hAsync("slot", { key: 'f2f48a06fe8d6b4cd2636d11615375dba7faed00', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '5706095fca6636ba7009add12721c1d4f3d13338', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: 'd09d569c80f8a803eafd0e30339a62b40c0bbd29', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: 'a6964b4d2a1932e979cc94ca7542fb2041582aac' }), hAsync("span", { key: 'd92b76a6fab3c900a8b9f42301dd234e62632cfd', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '0006b187f93449997c58335e12cbe51c899e972a' }, this.error)))));
8300
+ } }, hAsync("div", { key: '2d56b17a53ac005d77452fa00e066dd9cd60d03c', class: "duet-fieldset-label" }, hAsync("span", { key: '1653d740645fba60cf74ab251adc37c29292e68e', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '963c6394ba6b4be1a8ee6b8e89101ec96bf96fa0', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '2d7809730f5df2d775397ffaddd1c433bf920cae', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: 'd8c54c2135dfd07adf048ddc6e6408b23e263a1f', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: '4bccca3aa117b4fd2756065bbaadb3313e29976b' }), hAsync("span", { key: '4be6ce9f08b7f9264378bfa2ca59c253a84e00ed', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '9f9394081a9ce027ac98aed5af00f4f7c960cf96' }, this.error)))));
8040
8301
  }
8041
8302
  get element() { return getElement(this); }
8042
8303
  static get style() { return DuetFieldsetStyle0; }
@@ -9663,11 +9924,11 @@ class DuetIcon {
9663
9924
  : {};
9664
9925
  const iconStyles = Object.assign({}, iconRotationStyles);
9665
9926
  const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
9666
- return (hAsync(Host, { key: '631e32597ca5d5467b1ded0dfdbcf99b0753ec45', class: {
9927
+ return (hAsync(Host, { key: '395c9d34b58629802851652543d0351555440771', class: {
9667
9928
  "duet-m-0": this.margin === "none",
9668
9929
  "duet-icon-has-outline": !!this.outline,
9669
9930
  "duet-icon-has-background": !!this.background,
9670
- } }, hAsync("span", { key: '09145d6d218aec69d036298acb83a65489397944', "aria-hidden": "true", style: styles, class: {
9931
+ } }, hAsync("span", { key: '98e755e1955298019ae340e039416ca5ed04fa6c', "aria-hidden": "true", style: styles, class: {
9671
9932
  "duet-icon": true,
9672
9933
  "duet-theme-turva": this.theme === "turva",
9673
9934
  "duet-theme-default": this.theme === "default",
@@ -9676,7 +9937,7 @@ class DuetIcon {
9676
9937
  [shapeStyle]: true,
9677
9938
  rotated: this.shape === "brand-rotated" && this.theme !== "turva",
9678
9939
  "duet-icon-not-responsive": !this.responsive,
9679
- } }, hAsync("span", { key: '146fe5abe1d3bb753386355783025da7c61ce3df', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
9940
+ } }, hAsync("span", { key: '1a5f2ff89504ee78d476800edc4cb9aeeb6927ae', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
9680
9941
  }
9681
9942
  get element() { return getElement(this); }
9682
9943
  static get watchers() { return {
@@ -9759,7 +10020,7 @@ function cleanValue(input, regex) {
9759
10020
  return newValue;
9760
10021
  }
9761
10022
 
9762
- const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(8, 42, 77)}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !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:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small.sc-duet-input{padding:8px 10px !important}.duet-input.input-padding-x-small.sc-duet-input{padding:4px 6px !important}.duet-input.input-padding-xx-small.sc-duet-input{padding:0px 2px !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{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;border-color:rgb(143, 147, 158) !important}.duet-input.align-right.sc-duet-input{text-align:right}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled].sc-duet-input{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}";
10023
+ const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !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:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small.sc-duet-input{padding:8px 10px !important}.duet-input.input-padding-x-small.sc-duet-input{padding:4px 6px !important}.duet-input.input-padding-xx-small.sc-duet-input{padding:0px 2px !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{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;border-color:rgb(143, 147, 158) !important}.duet-input.align-right.sc-duet-input{text-align:right}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled].sc-duet-input{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}";
9763
10024
  var DuetInputStyle0 = duetInputCss;
9764
10025
 
9765
10026
  /**
@@ -10496,10 +10757,10 @@ class DuetLink {
10496
10757
  render() {
10497
10758
  const Tag = !this.url ? "button" : "a";
10498
10759
  const isButton = Tag === "button";
10499
- return (hAsync(Host, { key: 'ec5433304f9679e5b88eaff914e6bddf9f9b5aa9', class: {
10760
+ return (hAsync(Host, { key: 'aad1a5cfaf3fb8d502c12de032a4fed3069f3927', class: {
10500
10761
  [`duet-link-${this.variation}`]: true,
10501
10762
  "duet-m-0": this.margin === "none",
10502
- } }, hAsync(Tag, { key: '491399aa70b38266a7377c118c8b15281ca2b0ae', href: this.url, class: {
10763
+ } }, hAsync(Tag, { key: 'c4dc2d9716f29769b6aa60d07788ab96b4946f15', href: this.url, class: {
10503
10764
  "duet-link": true,
10504
10765
  "duet-link-is-external": this.external,
10505
10766
  "duet-link-is-download": !!this.download,
@@ -10672,14 +10933,14 @@ class DuetListItem {
10672
10933
  * Always the last one in the class.
10673
10934
  */
10674
10935
  render() {
10675
- return (hAsync(Host, { key: '8ea67eb69ce2d638bdf492eb1980adf5678a70cc', class: {
10936
+ return (hAsync(Host, { key: 'a7bcf9dc0ad8d27c83c7c94369d277906e23cc30', class: {
10676
10937
  "duet-no-stacking": !this.responsive,
10677
10938
  "duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
10678
10939
  "duet-list-item-breakpoint-small": this.breakpoint === "small",
10679
10940
  "duet-list-item-breakpoint-medium": this.breakpoint === "medium",
10680
10941
  "duet-list-item-breakpoint-large": this.breakpoint === "large",
10681
10942
  "duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
10682
- } }, hAsync("dt", { key: '52462aab89bb1aa49a4619fc6dec65f588d68504' }, hAsync("slot", { key: '137c07b54564935aaa3bd0eb568eeac36e2ef9f3', name: "label" })), hAsync("dd", { key: 'bac44b13fab054f32596c5771c990c63a6394d7c' }, hAsync("slot", { key: '95a803389442d0cea6311c60ef2fd4d211f814ec', name: "value" }))));
10943
+ } }, hAsync("dt", { key: '504987050e1628eafd91243247e7242148e1371b' }, hAsync("slot", { key: '94fab56825730065ad5ff075922807ac03e9981a', name: "label" })), hAsync("dd", { key: 'a3b2444a7764edfea66a0e6d63b3ac2f7666ce7c' }, hAsync("slot", { key: '72c2d152465c9278622df1b5b8e947f714977a30', name: "value" }))));
10683
10944
  }
10684
10945
  static get style() { return DuetListItemStyle0; }
10685
10946
  static get cmpMeta() { return {
@@ -10802,7 +11063,7 @@ class DuetLogo {
10802
11063
  }; }
10803
11064
  }
10804
11065
 
10805
- const duetMenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
11066
+ const duetMenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
10806
11067
  var DuetMenuBarStyle0 = duetMenuBarCss;
10807
11068
 
10808
11069
  /**
@@ -10841,8 +11102,15 @@ class DuetMenuBar {
10841
11102
  }
10842
11103
  }
10843
11104
  };
11105
+ /**
11106
+ * Checks inside the component whether the center slot is used.
11107
+ */
11108
+ this.checkCenterSlot = () => {
11109
+ const centerSlot = this.element.querySelector('[slot="center"]');
11110
+ this.centerSlotUsed = !!centerSlot;
11111
+ };
10844
11112
  this.changeLogoSize = () => {
10845
- if (this.mql[1].matches) {
11113
+ if (this.mql[1].matches && this.centerSlotUsed) {
10846
11114
  this.logoSize = "large";
10847
11115
  }
10848
11116
  else {
@@ -10864,6 +11132,7 @@ class DuetMenuBar {
10864
11132
  this.logoSize = "large";
10865
11133
  this.leftMoreVisible = false;
10866
11134
  this.rightMoreVisible = false;
11135
+ this.centerSlotUsed = false;
10867
11136
  this.theme = "";
10868
11137
  this.language = getLanguage();
10869
11138
  this.logo = true;
@@ -10941,13 +11210,14 @@ class DuetMenuBar {
10941
11210
  render() {
10942
11211
  const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
10943
11212
  const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
10944
- return (hAsync(Host, { key: '9a82d643e803955587245cdeab312b2e3cc0daf1' }, hAsync("nav", { key: '8c7c326745b8bc593357acbd1fd629b827f3d6fa', class: {
11213
+ return (hAsync(Host, { key: '080aa307736eb2062f7d685118e18712d1cf615d' }, hAsync("nav", { key: '28cdfe4523173ea7c4f966de8b32e4ab547885d9', class: {
10945
11214
  "duet-menu-bar": true,
10946
11215
  "duet-theme-turva": this.theme === "turva",
10947
11216
  "horizontal-nav": isUsedAsAdditionalHorizontalNav,
11217
+ "duet-menu-bar-slim": !this.centerSlotUsed,
10948
11218
  hidden: this.hidden && this.hideOnScroll,
10949
11219
  bottom: this.onBottom,
10950
- }, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'e24739d56af15972f61b6ab77023cc406065ca18', class: "top" }), hAsync("div", { key: '7417f19867c76f8892ba6afb4186f0f1ac63fe30', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: 'bb310c770913b93feaa0fa0eb6b7ddb4999a5768' }, hAsync("duet-logo", { key: '98d0d4582de1eae55df9525d27894c879905c9db', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: 'de2176bb51370d7555b957aaae4ba39f4edac589', class: "list center", role: "list" }, hAsync("div", { key: '754756436eefdf6c3573c140bf82efadfd52230b', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: '1b9d20d9511d4e256bf43032f7ca6e8410e92ff8', name: "center" }), hAsync("div", { key: 'b286c85435057052db5a16825e200f19a3362a45', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: '9f8c33c495e38d6e4097c09c241021f4dfac2e7c', class: "list right", role: "list" }, hAsync("slot", { key: '60044dd369d475608a15825dc4f4ab37002bb7c4', name: "right" }))), hAsync("div", { key: 'd2867a4033941a35a3c5aab6f513654c6d7ae46b', class: "bottom" }))));
11220
+ }, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'b242a73ce21660bdd697be15d4eaa381321d2639', class: "top" }), hAsync("div", { key: '36f578fe0f39f7c41ec2b2c435a58ff995c80c53', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: 'f95972285bde8b9fbbabdfe18a72515c03e21ad7' }, hAsync("duet-logo", { key: '2aea0ed01de09f12991971f10828f58b8653dbf5', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: '434f98cee5757650e22c55f2a91cdb8185cdb7f7', class: "list center", role: "list" }, hAsync("div", { key: 'e3842f9812060bd52a44d7dc4d2caaf01120853f', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: '88136566fba82ddbf3f2befa931e84eb58c5d3d7', name: "center" }), hAsync("div", { key: 'aed1d51ec2bda38704ccb4540d5ba8cc2f1a8d92', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: '94e134647ab04eca2cf9da10dc5b71919073b30b', class: "list right", role: "list" }, hAsync("slot", { key: 'a7b1772529b42db719616e6e3b5ba9a45736fb91', name: "right" }))), hAsync("div", { key: '550d375725a383f473ee73d7a00bef6f64eadc57', class: "bottom" }))));
10951
11221
  }
10952
11222
  get element() { return getElement(this); }
10953
11223
  static get style() { return DuetMenuBarStyle0; }
@@ -10966,7 +11236,8 @@ class DuetMenuBar {
10966
11236
  "onBottom": [32],
10967
11237
  "logoSize": [32],
10968
11238
  "leftMoreVisible": [32],
10969
- "rightMoreVisible": [32]
11239
+ "rightMoreVisible": [32],
11240
+ "centerSlotUsed": [32]
10970
11241
  },
10971
11242
  "$listeners$": [[9, "scroll", "checkScroll"], [9, "resize", "onWindowResize"]],
10972
11243
  "$lazyBundleId$": "-",
@@ -11013,10 +11284,10 @@ class DuetMenuBarButton {
11013
11284
  * Always the last one in the class.
11014
11285
  */
11015
11286
  render() {
11016
- return (hAsync(Host, { key: '2df6c1b32a0a028fd5a562baa4733c2dfef93af6', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '364c82e9d7ef3b5aed9f7df9608e234f474834cd', ref: button => (this.nativeButton = button), class: {
11287
+ return (hAsync(Host, { key: 'ffc0fed54b5acda7a76211091c8c502a8c888937', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '10bd0d58fcd801865270e6c4ad8afdd11b239ca8', ref: button => (this.nativeButton = button), class: {
11017
11288
  "duet-menu-bar-button": true,
11018
11289
  "duet-theme-turva": this.theme === "turva",
11019
- }, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: 'a143660e0d58efd3eea99181d39e183c2ad2cffe', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '121e0ad7aeb96564c2bbdf6d07c05b4502532eac' }))));
11290
+ }, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '0351584d8f7f2a8341daf1423e8f199af10ab67f', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '804d1535f44a67308422421bd17efd7c22dd5717' }))));
11020
11291
  }
11021
11292
  get element() { return getElement(this); }
11022
11293
  static get style() { return DuetMenuBarButtonStyle0; }
@@ -11099,17 +11370,17 @@ class DuetMenuBarDropdown {
11099
11370
  * Always the last one in the class.
11100
11371
  */
11101
11372
  render() {
11102
- return (hAsync(Host, { key: '50016c8e96de112a895ab6c1a619cd51db1a1144', role: "listitem" }, hAsync("div", { key: '84f1d55a04eb2ce6da85eaa3a2098709d72f904a', class: {
11373
+ return (hAsync(Host, { key: 'a98baab0fb21943f681bd83c2040bdb1f5d5e464', role: "listitem" }, hAsync("div", { key: '79f52e00b692d398484940f70bd44de78ee5a2a7', class: {
11103
11374
  "duet-menu-bar-dropdown": true,
11104
11375
  "duet-theme-turva": this.theme === "turva",
11105
11376
  active: this.open,
11106
11377
  [`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
11107
- } }, hAsync("button", { key: '635deadc4d4430289b7b0b9457d621caef017ee8', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
11378
+ } }, hAsync("button", { key: 'fb48e17e2995b4f5e057583339d0fc0149b43375', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
11108
11379
  active: this.open,
11109
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '199fc78e9de9a2411dbdcac2a7cf3cdd7741896c', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '47bf8dee8211ea4b73157c3ff6abb4d1765af81d', class: "label" }, hAsync("slot", { key: 'cf7592834315d69ab2606208943b57c814c364df', name: "label" }), hAsync("duet-icon", { key: '59f13d4cd703bb83c454fe4772beaceecff32186', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'ec6ee4c08d94947327d1414068ec363843d4abd7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
11380
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '5a91dcf8a6a2e2289b9b63680233bfa6dc4e0529', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '4ddf5b0d1fd321a4fa02a73122bd28f88f47f527', class: "label" }, hAsync("slot", { key: 'd79067be6dacc22b8b9e9515d4bb019721b6a2c8', name: "label" }), hAsync("duet-icon", { key: '24396bac267909220e577ed663f8d34468919858', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '514af91b0f0396842a5ede32137ff76a9e31bf40', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
11110
11381
  items: true,
11111
11382
  hidden: !this.open,
11112
- } }, hAsync("slot", { key: 'e5381a251537978629b818d3771f648122b39968' })))));
11383
+ } }, hAsync("slot", { key: 'ecd8ef50dbbf9206540a5cb908a8b37e0e60f14a' })))));
11113
11384
  }
11114
11385
  get element() { return getElement(this); }
11115
11386
  static get style() { return DuetMenuBarDropdownStyle0; }
@@ -11169,11 +11440,11 @@ class DuetMenuBarDropdownLink {
11169
11440
  * Always the last one in the class.
11170
11441
  */
11171
11442
  render() {
11172
- return (hAsync(Host, { key: '586e3ed079d09bf899c1f02c3799e1d46f60bbef' }, hAsync("a", { key: '4480061d9f4de3372052169867f6694c272498ff', class: {
11443
+ return (hAsync(Host, { key: 'dff3e65bfa27e226d174dbf7fdb57c067bcb24f2' }, hAsync("a", { key: 'c90358c20ce27776461c970e68048427cc2503c8', class: {
11173
11444
  "duet-menu-bar-dropdown-link": true,
11174
11445
  [`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
11175
11446
  "duet-theme-turva": this.theme === "turva",
11176
- }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '3dcfc8679e4a1454f6a50efb8aa277ad22faabff', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: 'c0d05484db5c3de1e32454f3c2025797e240bfcc' }))));
11447
+ }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '52930cb9d1151120fa0191844d65f06a8f5f6319', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '616f450950804fb9a72a010436eb1d7ec4ad02c2' }))));
11177
11448
  }
11178
11449
  get element() { return getElement(this); }
11179
11450
  static get style() { return DuetMenuBarDropdownLinkStyle0; }
@@ -11237,11 +11508,11 @@ class DuetMenuBarItem {
11237
11508
  */
11238
11509
  render() {
11239
11510
  const TagName = this.url ? "a" : "button";
11240
- return (hAsync(Host, { key: 'f8206907f5f09a383f7a11536920b76490ac0eb4', role: "listitem" }, hAsync(TagName, { key: '11894268ceca0e4efac53ea2bb9eb1cf61c84989', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
11511
+ return (hAsync(Host, { key: '46e23a090bd69731fad23bb7d815fe07949961f1', role: "listitem" }, hAsync(TagName, { key: 'fd2f0cd2b271a5030924b17a318d91ef5f375b26', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
11241
11512
  "duet-menu-bar-item": true,
11242
11513
  "duet-theme-turva": this.theme === "turva",
11243
11514
  active: this.active,
11244
- }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: 'e7988c04b52df45cd3976e8f1532cad225b0b6ca', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: 'fbbf9404fa7b6d949c7d89bb478957eff14da090' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'c2c2f060f59df74561faba1bd596fa43caaa54a7', class: {
11515
+ }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: 'c5f65e90e67f40726dbd1ad1fcecc275b792fcea', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: 'b9846826ebc0c12f36548a00d1e4156507136f91' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '4d20597bf6e7a17b841c08f429ca64820a01198a', class: {
11245
11516
  "trailing-icon": !!this.trailingIcon,
11246
11517
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
11247
11518
  "external-icon": !!this.external,
@@ -11296,11 +11567,11 @@ class DuetMenuBarLink {
11296
11567
  * Always the last one in the class.
11297
11568
  */
11298
11569
  render() {
11299
- return (hAsync(Host, { key: '5397f75d25382c49004777cc9673b92eb4ebb3c5', role: "listitem" }, hAsync("a", { key: 'd5adf4f588f0108f4bfa82329e5499597e2efbae', class: {
11570
+ return (hAsync(Host, { key: 'efb7d0aed76d4f7da05e21e41d92c63465308df6', role: "listitem" }, hAsync("a", { key: 'ed248ea08e7b2be2dafa2617b9b18935ff6aa583', class: {
11300
11571
  "duet-menu-bar-link": true,
11301
11572
  "duet-theme-turva": this.theme === "turva",
11302
11573
  active: this.active,
11303
- }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '49866f87807a448bec494ece51eac8ba7cb525cf', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'e566b40e827773a58939b25a6f85b69b16aeb59b' }))));
11574
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'cb0bb182c2620d4dd5d0484731f8f7ecca86d7bc', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '686e67b70d05cadb8fa67ed044524dce04e841ff' }))));
11304
11575
  }
11305
11576
  get element() { return getElement(this); }
11306
11577
  static get style() { return DuetMenuBarLinkStyle0; }
@@ -11934,7 +12205,7 @@ class DuetNav {
11934
12205
  * Always the last one in the class.
11935
12206
  */
11936
12207
  render() {
11937
- return (hAsync(Host, { key: '8d7e53e58f968acb9be34f895909df3b4f5d5c34' }, hAsync("div", { key: '123fa743b84c16f63fc588574a9aca0cabf29c80', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: 'd58ed528272eb49e4391e06146cfecacd23f5066' }), hAsync("slot", { key: 'beeb3ee1a1eaa779fa6e25abdfae15b1d8d2a222', name: "mobile" }), hAsync("slot", { key: '69ac854fa98e6625c20dc274cc913845cb4ec40a', name: "desktop" }))));
12208
+ return (hAsync(Host, { key: '97cff27b21fb239339ebc9dc8bc5c267e20ed1f9' }, hAsync("div", { key: '33276844fc09bd3a555ab9e033db7d5c2640da5c', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '1f135950c0220a03209aa273bcba83c4477f804a' }), hAsync("slot", { key: '09ac4ab46b3ad110b30ec38907906fe5f16526db', name: "mobile" }), hAsync("slot", { key: '995bc3f699e56d23b8a59df9a84e9a525c970cb3', name: "desktop" }))));
11938
12209
  }
11939
12210
  get element() { return getElement(this); }
11940
12211
  static get style() { return DuetNavStyle0; }
@@ -11951,7 +12222,7 @@ class DuetNav {
11951
12222
  }; }
11952
12223
  }
11953
12224
 
11954
- const duetNotificationCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-notification{display:block;padding:16px;color:rgb(8, 42, 77);cursor:pointer;border-bottom:1px solid rgb(212, 223, 229);transition:300ms ease}:host(:last-of-type) .duet-notification{border-bottom:0}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(222, 224, 228)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(240, 247, 250)}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-notification:hover{background:rgb(240, 247, 250)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 247, 250)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(98, 121, 138);text-align:right;text-transform:uppercase}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(113, 118, 132)}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";
12225
+ const duetNotificationCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:0.7}.duet-notification{display:block;padding:16px;cursor:pointer}:host(:first-of-type) .duet-notification{border-top-left-radius:8px;border-top-right-radius:8px}:host(:last-of-type) .duet-notification{border-bottom:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(222, 224, 228)}.duet-notification.duet-notification-highlight{font-weight:600}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-notification:hover{background:rgb(240, 247, 250)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 247, 250)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:right;text-transform:uppercase;opacity:0.7}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(113, 118, 132)}@media (min-width: 62em){:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:1}.duet-notification{border-bottom:1px solid rgb(212, 223, 229)}.duet-notification:hover{background:rgb(228, 241, 247)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(240, 247, 250)}.duet-notification-container{border-bottom-style:none}}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";
11955
12226
  var DuetNotificationStyle0 = duetNotificationCss;
11956
12227
 
11957
12228
  class DuetNotification {
@@ -11993,11 +12264,11 @@ class DuetNotification {
11993
12264
  this.linkElement.focus(options);
11994
12265
  }
11995
12266
  render() {
11996
- return (hAsync("div", { key: '5673c370989123dc6c1dc1ec214c995064564f56', role: "listitem", class: {
12267
+ return (hAsync("div", { key: '95f620022395e56f383b054bdd44e43eef780659', role: "listitem", class: {
11997
12268
  "duet-notification": true,
11998
12269
  "duet-notification-highlight": this.highlight,
11999
12270
  "duet-theme-turva": this.theme === "turva",
12000
- } }, hAsync("a", { key: '1beae6445e3d4c1a3351a077ec57f0915fae8d2d', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: 'b12f670a6966b1aad67ad42f75e793d2ddd2e833', class: "duet-notification-container" }, hAsync("div", { key: '5ef4f93707358582ff4ff4b96579d5a3554a82cb', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: '387c2d580ff608512510b8629f1e7821a8f7dd3a', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '264d0f56b026c4e320d6c25607934506a531a622' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '89cf2d458e2267d8325d1cf051e439f1384e7f2e', class: "duet-notification-content" }, hAsync("slot", { key: '471d37b00002cb9fe0333f103af855fb46a54c59' })), hAsync("div", { key: '1026a308355cd17fbc16f386a88e6f7def9df8f7', class: "duet-notification-date" }, this.date)))));
12271
+ } }, hAsync("a", { key: 'c2b26563af673ed607eda71ac73618a97df4182d', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: '3a4d58c959a73f4eb54b7b1f2341b6cf47b3111d', class: "duet-notification-container" }, hAsync("div", { key: 'a98286e2d2c067a14faa839ab3dec3d29ff29014', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: 'fdd7359a0ca2bec377cc7312f1005bb351dc9f81', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '4974d054afafb18ff69c464d722ee606c02a73fc' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '5ce2f9c01226ba63cb3d23f1b878d8384040e92b', class: "duet-notification-content" }, hAsync("slot", { key: 'f99affc9adf412fd40861d10bccd092bfb08f2e9' })), hAsync("div", { key: 'de4db79428641035052ede5c208377823828bcab', class: "duet-notification-date" }, this.date)))));
12001
12272
  }
12002
12273
  get element() { return getElement(this); }
12003
12274
  static get style() { return DuetNotificationStyle0; }
@@ -12638,12 +12909,12 @@ class DuetPageHeading {
12638
12909
  */
12639
12910
  render() {
12640
12911
  const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
12641
- return (hAsync("div", { key: '62e8984b1757e03db9086872960e493310c7ccd9', class: {
12912
+ return (hAsync("div", { key: '7158f6bb1baba0316e310548c2f11fbba22ed802', class: {
12642
12913
  "duet-page-heading": true,
12643
12914
  "duet-theme-turva": this.theme === "turva",
12644
12915
  "has-icon": !!this.icon,
12645
12916
  [layout]: true,
12646
- } }, hAsync("div", { key: '85e61cb5c5e4cc531394df6a2b42d4e84e2e4268', class: "background" }, this.theme === "turva" && hAsync("div", { key: '3c98067c697f589a554dfdd8d98061c5b5f2cd35', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '00b7ac9c6920a48887bdf8ce6bfa6c2a92f46e27', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: 'ee4104ace7755a8ba475f6d2c4afb65e23893824', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: 'bec839ca5c519e8b22773c4637edd2ef833be6b8', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: '1f74f6f8f63e5dfca56dbfb2717526a7bce831bb', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '68710cf7b094de2af67facd07ec2b9d7790649f9', class: "heading" }, hAsync("slot", { key: '6752a3432be6124f3a03276d996ef76fdef10852', name: "heading" }))));
12917
+ } }, hAsync("div", { key: '9279bef8f915599c716557dcb4cfae9e8ebdcdd7', class: "background" }, this.theme === "turva" && hAsync("div", { key: '88fee514b2c9d6db4993c6070e379e6d354b7f91', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'cf612c48b8322c7b6f8d15e9e3ae7929ebfc754c', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: 'c370d729b95244f6b94a6dc1ad15494af14bdcad', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: 'c6d34424c53f9fd3d0596a04d2fc111e78c36187', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'df9bf6856c35d65c8490b3c4738a56ffb5a1b8ee', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '275b220fddac6f60e953cc2dee0aaf6a9766807a', class: "heading" }, hAsync("slot", { key: 'fb7b03458b5853815d412eddd93a164f21d102c6', name: "heading" }))));
12647
12918
  }
12648
12919
  get element() { return getElement(this); }
12649
12920
  static get style() { return DuetPageHeadingStyle0; }
@@ -14468,7 +14739,7 @@ const computePosition = (reference, floating, options) => {
14468
14739
  });
14469
14740
  };
14470
14741
 
14471
- const duetPopupMenuCss = "*,*::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.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}";
14742
+ const duetPopupMenuCss = "*,*::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.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";
14472
14743
  var DuetPopupMenuStyle0 = duetPopupMenuCss;
14473
14744
 
14474
14745
  class DuetPopupMenu {
@@ -14499,8 +14770,9 @@ class DuetPopupMenu {
14499
14770
  }
14500
14771
  const middleware = [
14501
14772
  offset({ mainAxis: this.mainAxisOffset, crossAxis: this.crossAxisOffset }),
14502
- flip({ mainAxis: !this.forcePlacement }),
14503
- ];
14773
+ this.allowVerticalFlip && flip(),
14774
+ shift({ padding: 5 }),
14775
+ ].filter(Boolean);
14504
14776
  const coordinates = await computePosition(this.openButton, this.menuElement, {
14505
14777
  middleware,
14506
14778
  placement: this.placement,
@@ -14516,14 +14788,44 @@ class DuetPopupMenu {
14516
14788
  this.accessibleRole = "menu";
14517
14789
  this.theme = "";
14518
14790
  this.skipTeleport = undefined;
14519
- this.controller = undefined;
14520
14791
  this.placement = "bottom-start";
14521
14792
  this.forcePlacement = false;
14793
+ this.allowVerticalFlip = true;
14522
14794
  this.position = "absolute";
14523
14795
  this.mainAxisOffset = 0;
14524
14796
  this.crossAxisOffset = 0;
14525
14797
  this.controllerIcon = "action-arrow-down-small";
14526
14798
  }
14799
+ /**
14800
+ * Element, or id of an element, that controls the opening and closing of the popup menu. If id is given,
14801
+ * the component automatically sets the click event listener to open and close the popup-menu.
14802
+ */
14803
+ get controller() {
14804
+ return this._controller;
14805
+ }
14806
+ set controller(value) {
14807
+ if (this.controller === value) {
14808
+ return;
14809
+ }
14810
+ if (typeof value === "string") {
14811
+ this.setOpenButton(document.getElementById(value));
14812
+ if (this.openButton) {
14813
+ this.openButton.addEventListener("click", this.openButtonEventListener);
14814
+ }
14815
+ }
14816
+ else {
14817
+ this.setOpenButton(value);
14818
+ }
14819
+ }
14820
+ /**
14821
+ * Alias for property controller.
14822
+ */
14823
+ get opener() {
14824
+ return this._controller;
14825
+ }
14826
+ set opener(value) {
14827
+ this.controller = value;
14828
+ }
14527
14829
  /**
14528
14830
  * Component lifecycle events.
14529
14831
  */
@@ -14533,12 +14835,14 @@ class DuetPopupMenu {
14533
14835
  componentDidLoad() {
14534
14836
  }
14535
14837
  connectedCallback() {
14536
- this.handleControllerChange(this.controller, null);
14537
14838
  {
14538
14839
  return;
14539
14840
  }
14540
14841
  }
14541
14842
  disconnectedCallback() {
14843
+ if (this.autoUpdateCleanup) {
14844
+ this.autoUpdateCleanup();
14845
+ }
14542
14846
  if (this.openButton) {
14543
14847
  this.openButton.removeEventListener("click", this.openButtonEventListener);
14544
14848
  if (this.controllerIcon) {
@@ -14612,6 +14916,9 @@ class DuetPopupMenu {
14612
14916
  * Hide.
14613
14917
  */
14614
14918
  async hide() {
14919
+ if (this.autoUpdateCleanup) {
14920
+ this.autoUpdateCleanup();
14921
+ }
14615
14922
  this.open = false;
14616
14923
  }
14617
14924
  /**
@@ -14625,20 +14932,6 @@ class DuetPopupMenu {
14625
14932
  this.show();
14626
14933
  }
14627
14934
  }
14628
- handleControllerChange(newValue, oldValue) {
14629
- if (!!newValue === !!oldValue) {
14630
- return;
14631
- }
14632
- if (typeof this.controller === "string") {
14633
- this.setOpenButton(document.getElementById(this.controller));
14634
- if (this.openButton) {
14635
- this.openButton.addEventListener("click", this.openButtonEventListener);
14636
- }
14637
- }
14638
- else {
14639
- this.setOpenButton(this.controller);
14640
- }
14641
- }
14642
14935
  handleOpenChange(newValue, oldValue) {
14643
14936
  if (!!newValue === !!oldValue) {
14644
14937
  return;
@@ -14651,6 +14944,10 @@ class DuetPopupMenu {
14651
14944
  this.teleport.makeSiblingsInert();
14652
14945
  }
14653
14946
  this.updatePlacement();
14947
+ // Start autoUpdate when menu is open
14948
+ if (this.menuElement && this.openButton) {
14949
+ this.autoUpdateCleanup = autoUpdate(this.openButton, this.menuElement, this.updatePlacement);
14950
+ }
14654
14951
  setTimeout(() => {
14655
14952
  if (this.accessibleRole === "menu") {
14656
14953
  this.itemElements[0].setFocus();
@@ -14662,6 +14959,10 @@ class DuetPopupMenu {
14662
14959
  if (this.openButton) {
14663
14960
  this.openButton.accessibleExpanded = false;
14664
14961
  }
14962
+ // Clean up autoUpdate when closed
14963
+ if (this.autoUpdateCleanup) {
14964
+ this.autoUpdateCleanup();
14965
+ }
14665
14966
  setTimeout(() => {
14666
14967
  if (this.accessibleRole === "menu") {
14667
14968
  this.focusOpenButton();
@@ -14697,13 +14998,12 @@ class DuetPopupMenu {
14697
14998
  position: this.position,
14698
14999
  overflowY: "auto",
14699
15000
  };
14700
- return (hAsync(Host, { key: '389d4d1b46db081d29a7fa8d57fd65f9c113f7a9' }, hAsync("div", { key: '8d5e47a1dac1f4a7b17aed4aa69afed4cfa44a39', ref: element => {
15001
+ return (hAsync(Host, { key: '1573445d7c27f2e19d2ce614aba54a6af305ff86' }, hAsync("div", { key: '15d45b18fb7164b94698327e601076a3f51b1216', ref: element => {
14701
15002
  this.menuElement = element;
14702
- }, style: styles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: '09fc711a6dc838d9e345a694c5e45c09a01bf4ed' }))));
15003
+ }, style: styles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: 'ea1ea99244036c122bb61dff60cb09c0b4393979' }))));
14703
15004
  }
14704
15005
  get element() { return getElement(this); }
14705
15006
  static get watchers() { return {
14706
- "controller": ["handleControllerChange"],
14707
15007
  "open": ["handleOpenChange"]
14708
15008
  }; }
14709
15009
  static get style() { return DuetPopupMenuStyle0; }
@@ -14715,9 +15015,11 @@ class DuetPopupMenu {
14715
15015
  "accessibleRole": [1, "accessible-role"],
14716
15016
  "theme": [1025],
14717
15017
  "skipTeleport": [4, "skip-teleport"],
14718
- "controller": [1],
15018
+ "controller": [6145],
15019
+ "opener": [6145],
14719
15020
  "placement": [1],
14720
15021
  "forcePlacement": [4, "force-placement"],
15022
+ "allowVerticalFlip": [4, "allow-vertical-flip"],
14721
15023
  "position": [1025],
14722
15024
  "mainAxisOffset": [2, "main-axis-offset"],
14723
15025
  "crossAxisOffset": [2, "cross-axis-offset"],
@@ -14804,7 +15106,11 @@ class DuetPopupMenuItem {
14804
15106
  "duet-theme-turva": this.theme === "turva",
14805
15107
  "active-descendant": this.activeDescendant,
14806
15108
  };
14807
- return (hAsync(Host, { key: 'e53141f7390844d3bd55d5204d7dac9334248fdc', role: this.accessibleRole }, hAsync(TagName, { key: '73fe7bb5b8cc6fa57b12e0d210edc4ef25dd401b', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "menuitem" || "option" ? -1 : 0, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (hAsync("duet-icon", { key: '3fd892272f52814da4c8f14ea7bec580a160e858', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '51b7da7f29ef0f85344e02b1a85aa185bca9b26a', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: '9a72c7fcaeeafe89741760d84c91382b31ab798f' })), (this.trailingIcon || this.active) && (hAsync("duet-icon", { key: '1ddf8f956adbe24208d16c33fe28fde167babcb2', name: this.active ? "messaging-checked-small" : this.trailingIcon, size: this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '30aa34505231dbe1a78af9256920294e967a559a', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
15109
+ return (hAsync(Host, { key: '02e7a087e9f8df28e015c45b2182ab19167c39a2', role: this.accessibleRole }, hAsync(TagName, { key: 'aafbfd9c8bd9cab5f2b2ba259efc8c31964bad10', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "menuitem" || "option" ? -1 : 0, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (hAsync("duet-icon", { key: '571151b958d0ef9af6f52cda7785555978c9d942', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '99b4a1e46f824fdc684531dfe55b7bc66e06370c', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: 'f76853aa6c7b441dcca9193dd8e73a117a49916f' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: 'c0a0f628bec874ca8d2d1fe9f1a0992703cfd1c2', name: this.url && this.external
15110
+ ? actionNewWindowSmall.title
15111
+ : this.active
15112
+ ? "messaging-checked-small"
15113
+ : 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 && hAsync("span", { key: 'f4287b3ef8b66ce1512254aa8e6383907650283d', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
14808
15114
  }
14809
15115
  get element() { return getElement(this); }
14810
15116
  static get style() { return DuetPopupMenuItemStyle0; }
@@ -14959,12 +15265,12 @@ class DuetPromoCard {
14959
15265
  backgroundColor: backgroundColor ? backgroundColor : "none",
14960
15266
  };
14961
15267
  const TagName = this.url ? "a" : "div";
14962
- return (hAsync(Host, { key: 'd106a014e2f606089c38d6dc260b1ad45ca54957', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '5686290471d3dd623d00687c2d8589d68cf41a6b', class: {
15268
+ return (hAsync(Host, { key: '772d875fe0dbb9ad3b6f40df395cabd07b65cfe2', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '3e37a0d57ea0b9a20d515d7aac02ef2b087c4865', class: {
14963
15269
  "duet-promo-card": true,
14964
15270
  "duet-theme-turva": this.theme === "turva",
14965
15271
  "no-bg-color": !this.backgroundColor,
14966
15272
  "duet-promo-card-link": !!this.url,
14967
- }, style: bannerStyles }, hAsync(TagName, { key: '6969a22abb5eef82bd7b7be41f549f8e0068ee1b', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: 'bb0a3199e2fe2df65755fd95b1c7d864c24e4321', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: '33993c917fd1a136cde8a94968d3378ada24a87f', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: '7d29c53b121f8d7c1b9ed3c8a5f8b8320f23605a', class: "pre-heading" }, hAsync("slot", { key: 'bbe8d30708743401c10d77e8e396d68a623b3799', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: 'e7f37460aabadc39bd6d58107df780f3370c20c6', class: "heading" }, hAsync("duet-heading", { key: '73014d60a050052991ca8b9cd4b708e09cc4b2c5', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: 'aeb47383807703238ef6b8e05d60b546e9ce5401' }, hAsync("slot", { key: '22c41d18e22855f6bf5a5a0f1a394cc80211412c', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: 'f9062af866af231584a768fabb3cd41c93a5ecb3', class: "description" }, hAsync("duet-paragraph", { key: 'a36fa27d4a90966385b9fd2a7da872ab7cab05ae', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: 'c447f09c8e3f8614a6b14259020308dd612fea18' }, hAsync("slot", { key: '1b25d2412516f52a3332d8b9694c8f203e2e32db', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '724d901256f13542bb24489bf487a56d44fbd57b', class: "action" }, hAsync("slot", { key: 'ea8b1fe60559b9b1ba9f1e6efa59ca7e587d7d13', name: "action" }))))))));
15273
+ }, style: bannerStyles }, hAsync(TagName, { key: 'bc154d41c8fd9637d3daa3be4eaedf1ade6c56c4', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: '49a36a008c5006f0b7ece514c2eb178819a1e3af', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: 'd699b44c77b9de41cfa1f04703026c3eff90701c', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: '6fbe038e30a5e8b6f9736e937a51f6ee4bcd4c9a', class: "pre-heading" }, hAsync("slot", { key: '7e1dd94953f263d5fd5f7403baf9a64fe214d97d', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: '87d9413ef845107bb0ea9f90b63460590073ce90', class: "heading" }, hAsync("duet-heading", { key: '6e79bd35cdb2cde71100983934b0233d3e81f725', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: '254924fd6185e8ccdc63cb0be081c14e9e9eef8c' }, hAsync("slot", { key: '881f4c33051834e4a4056634b1b8a5ef6baf36c6', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '0365ddf81b773ef61c09232ac70453ce567e86e9', class: "description" }, hAsync("duet-paragraph", { key: '54d6256f80f50b3720a17de720cab84540e231bb', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: 'ec4c19a46660221400004023fdf87eb5ade14e44' }, hAsync("slot", { key: 'e76c95070806c41c03dfad3251b4167236d031cf', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: 'da3dee3c187b02a607a4c2f26ae42111ce78fde1', class: "action" }, hAsync("slot", { key: '5d84d7ea30fff32b3de78694f4dd9c7df4d96383', name: "action" }))))))));
14968
15274
  }
14969
15275
  get element() { return getElement(this); }
14970
15276
  static get style() { return DuetPromoCardStyle0; }
@@ -15824,21 +16130,21 @@ class DuetScrollable {
15824
16130
  * Always the last one in the class.
15825
16131
  */
15826
16132
  render() {
15827
- return (hAsync(Host, { key: '8cd00d30bab204218507a5f2cc933593256dc211', class: {
16133
+ return (hAsync(Host, { key: '44691d4a1b441b106e337cf3f53a6936631f5480', class: {
15828
16134
  "duet-theme-turva": this.theme === "turva",
15829
16135
  "duet-theme-default": this.theme === "default",
15830
- } }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: 'bf3fbde0fa3d1e62a072385f9224bfed02394257', class: {
16136
+ } }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '07fc1a65d6b9b303aa619d3b0f5942b3615ab3ec', class: {
15831
16137
  collapse: true,
15832
16138
  hide: !this.needsScrolling && !this.collapsed,
15833
- } }, hAsync("duet-button", { key: 'd2eec5f6186d39ac5dc628c17e7905ca4861d273', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: 'c258896a5157720fdd1bdfbcfa5fbb5eef9f252e', name: "collapse-button-label" })))), hAsync("div", { key: '78db72bcd08b2537cfea85fe93e2d52f9a0c5fc0', class: {
16139
+ } }, hAsync("duet-button", { key: '49d9240985d93addb7dae6aad6d5443cc8205b70', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: 'c215d89df2f21047ef1fb2c094c70c6e78869ffa', name: "collapse-button-label" })))), hAsync("div", { key: 'ebdf63f1649ffacf763b4ac6ff52576bca674e83', class: {
15834
16140
  "duet-scrollable-items": true,
15835
16141
  buttons: this.buttons,
15836
16142
  center: this.center,
15837
- } }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), hAsync("div", { key: '11de576708e608721a3b4bfa056f266189c92d27', class: {
16143
+ } }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), hAsync("div", { key: 'a202dcd5c66b6b5aa69c73903b113dd76078ba0d', class: {
15838
16144
  "duet-scrollable-list": true,
15839
16145
  collapsed: this.collapsed,
15840
16146
  [`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
15841
- }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '269440da90135c9ac4159522cce22b32df62a5e1' })), this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
16147
+ }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: 'd35f08ff8a30abc8b3bc99e09701c88768d5615c' })), this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
15842
16148
  }
15843
16149
  get element() { return getElement(this); }
15844
16150
  static get watchers() { return {
@@ -15883,13 +16189,13 @@ class DuetSectionLayout {
15883
16189
  * Always the last one in the class.
15884
16190
  */
15885
16191
  render() {
15886
- return (hAsync(Host, { key: '6bc31c9e1170800e377bae9bfddbfb0f50b3747d', class: {
16192
+ return (hAsync(Host, { key: '8773917ab1861426ac154e88a578116470c60558', class: {
15887
16193
  "duet-middle": this.middle,
15888
16194
  "duet-ie": isInternetExplorer(),
15889
- } }, hAsync("div", { key: '56cdfd23f32d5ff47130d9f247b95d81fd57bad2', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'b1a797a77e8f60f14c966ceba0eb1c41fefdd7cc', class: {
16195
+ } }, hAsync("div", { key: '905163b782b84e3989df7c4cb90a5f965152b4e5', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'c3886b18a98df150ba61452fd9edb065a7ec483f', class: {
15890
16196
  "duet-layout": true,
15891
16197
  [`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
15892
- } }, hAsync("section", { key: '87aec98914b281099c0a16b8d6e4e16048cafdc6', class: "duet-main" }, hAsync("slot", { key: '116e073f6de9c5ffc8c84f967a4bfc2aff067440' }))))));
16198
+ } }, hAsync("section", { key: 'a5e69845c34da96deca2f68270a1431c17186933', class: "duet-main" }, hAsync("slot", { key: 'a1dffe9da76bdc8169e5356463f4426b5e15a7d6' }))))));
15893
16199
  }
15894
16200
  get element() { return getElement(this); }
15895
16201
  static get style() { return DuetSectionLayoutStyle0; }
@@ -16132,9 +16438,9 @@ class DuetShapedImage {
16132
16438
  const style = {
16133
16439
  "--rotation": `${this.rotation}deg`,
16134
16440
  };
16135
- return (hAsync(Host, { key: '16d09ec20d546b5d340f23ba2f6789c3be57026e', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '6c9753158ad968fe0b682108c5b29cc9bd202d62', class: {
16441
+ return (hAsync(Host, { key: '5df9410ffe66931da7f0559adbceaafd268eef43', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: 'abcaa854db75c947ce79be2b14b0a7ad47fbb59d', class: {
16136
16442
  "shaped-image": true,
16137
- }, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '66289a76e9b44b58bb3f3398e0d45c0d4dd97672', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: '0fba329399362e59f4ccf5721c1066c8d4bf7fae', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
16443
+ }, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '2891f9a50a69234a4caee374bedd5d145bc8e945', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: 'd6a4e824422d03984a69fdf34a815f569a30e636', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
16138
16444
  }
16139
16445
  static get style() { return DuetShapedImageStyle0; }
16140
16446
  static get cmpMeta() { return {
@@ -16153,7 +16459,7 @@ class DuetShapedImage {
16153
16459
  }; }
16154
16460
  }
16155
16461
 
16156
- const duetShowMoreCss = "*,*::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-show-more{margin-bottom:16px !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;line-height:1.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
16462
+ const duetShowMoreCss = "*,*::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-show-more{margin-bottom:16px !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;line-height:1.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-show-more.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-show-more.duet-theme-turva .content:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
16157
16463
  var DuetShowMoreStyle0 = duetShowMoreCss;
16158
16464
 
16159
16465
  class DuetShowMore {
@@ -16576,9 +16882,38 @@ class DuetSlideout {
16576
16882
  this.theme = "";
16577
16883
  this.accessibleRole = "menubar";
16578
16884
  this.open = false;
16579
- this.opener = undefined;
16580
16885
  this.backgroundColor = "gray-lightest";
16581
16886
  }
16887
+ /**
16888
+ * DuetMenuBarButton or DuetButton element, or id of an element, that opens the slideout. If id is given,
16889
+ * the component automatically sets the click event listener to open the slideout.
16890
+ */
16891
+ get opener() {
16892
+ return this._opener;
16893
+ }
16894
+ set opener(value) {
16895
+ if (this.opener === value) {
16896
+ return;
16897
+ }
16898
+ if (typeof value === "string") {
16899
+ this.setOpenButton(document.getElementById(value));
16900
+ if (this.openButton) {
16901
+ this.openButton.addEventListener("click", this.openButtonEventListener);
16902
+ }
16903
+ }
16904
+ else {
16905
+ this.setOpenButton(value);
16906
+ }
16907
+ }
16908
+ /**
16909
+ * Alias for property opener.
16910
+ */
16911
+ get controller() {
16912
+ return this._opener;
16913
+ }
16914
+ set controller(value) {
16915
+ this.opener = value;
16916
+ }
16582
16917
  /**
16583
16918
  * Component lifecycle events.
16584
16919
  */
@@ -16696,15 +17031,15 @@ class DuetSlideout {
16696
17031
  };
16697
17032
  const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
16698
17033
  const exitTranslation = getLocaleString(this.exitLangObject);
16699
- return (hAsync(Host, { key: '382d37300cf05dcb13fdf8824876e0148029ac41' }, hAsync("div", { key: '308a1a6d818574db32fc48c2a001b2c7e49cb694', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-overlay", { key: '7fa43387656dea8e448e89b8c42e88af59edfcf9', onClick: this.bgOnClick, visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '2d0d1d2d1b7e7b914c71605ba2e99bad4535e3c7', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
17034
+ return (hAsync(Host, { key: '289093e61e89d5724e3bb15cd7945fd39734ed53' }, hAsync("div", { key: '3514ce08bf8d7a529cfbff42be55b8bcf192cc8f', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-overlay", { key: 'b78a47d52483e0eb360dc0ccc9e657b5ccb9b030', onClick: this.bgOnClick, visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '95a7f2593ddf2def5019b3d6c84d5374f67fefb3', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
16700
17035
  dialog: true,
16701
17036
  hidden: !this.open,
16702
- }, style: styles }, hAsync(FocusGuard, { key: '1fff6c072160d4bd1f4cbd0a76c350423e61cd7e', moveFocusTo: this.closeButton }), hAsync("div", { key: '099e9fa740e958a60b4be655fbb821a850613fab', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '0364ef69089b576a3d046ad18cea8e421fd78f47', class: "top" }, hAsync("button", { key: '4801538fe2d60e45bfcdf34aa796443be783ff29', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
17037
+ }, style: styles }, hAsync(FocusGuard, { key: '8d2774b7413c3a4348831ea8f3484763560496d4', moveFocusTo: this.closeButton }), hAsync("div", { key: '0ab02fea0fc88c1cad4e7964cf64ddd4e0991d3c', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '12b34a66f05a9d7d65c8d06a36aab27b9190c8ac', class: "top" }, hAsync("button", { key: '7ffb3f3bace1d7983094573171a38dbac5c8a410', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
16703
17038
  "slideout-close": true,
16704
17039
  active: this.open,
16705
- }, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: 'adddff71eb7c2d717909330b4a1b952989de80a7', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '2532328955997fed29910a8ce59cf95a08a453bd', class: "sticky-header" }, hAsync("slot", { key: 'e6938e50feec7af6a66335e655942ffd1912c96e', name: "sticky-header" }))), hAsync("div", { key: '14489762ae9efcbdd60d2673202f2e6a514d70dd', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
17040
+ }, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: 'f25d28342f722a6d4b7705e45498a8036468bf74', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '0162ecd6fc8db33a7053a1bf44bdb0b7b220ec6f', class: "sticky-header" }, hAsync("slot", { key: '6d47a428f6f63a9ea306af7b1553dcc5144e84c7', name: "sticky-header" }))), hAsync("div", { key: '7fe090f9ad0f6eb825809a17b8610f5aefbd2ab2', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
16706
17041
  items: true,
16707
- } }, hAsync("slot", { key: 'da507350699332f3630e4d327447cb11989029f7' })), hAsync(FocusGuard, { key: 'd9a0a209bd64fc4d099de599e0ee4c3842a54f02', moveFocusTo: this.closeButton })))));
17042
+ } }, hAsync("slot", { key: 'bf013947faa4f1951dbb34616040b35d90e4770c' })), hAsync(FocusGuard, { key: '388318c3a94cd035f6e02eb83e49e0d97ad56995', moveFocusTo: this.closeButton })))));
16708
17043
  }
16709
17044
  get element() { return getElement(this); }
16710
17045
  static get watchers() { return {
@@ -16718,7 +17053,8 @@ class DuetSlideout {
16718
17053
  "theme": [1025],
16719
17054
  "accessibleRole": [1, "accessible-role"],
16720
17055
  "open": [1540],
16721
- "opener": [1],
17056
+ "opener": [6145],
17057
+ "controller": [6145],
16722
17058
  "backgroundColor": [1537, "background-color"],
16723
17059
  "language": [32],
16724
17060
  "displaying": [32],
@@ -16769,7 +17105,7 @@ class DuetSlideoutLang {
16769
17105
  */
16770
17106
  render() {
16771
17107
  const langTranslation = getLocaleString(this.chooseLangObject);
16772
- return (hAsync(Host, { key: 'aed42fe94f896240d3214b85ce81ae44088725c9' }, hAsync("div", { key: '91b0974a62874b0ce4b1e72d26c87704246b4c02', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '4402435ac632e6709ee70b2035f8baab92e2dcf7', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: '5dd9e2565992301f58f9f95ddcf37005aa4e3d2e' }))));
17108
+ return (hAsync(Host, { key: '921d8705f5435def5fbb0254a369e3ec9a61388c' }, hAsync("div", { key: 'e0fd2be895c43bf917241e6f1421ba2090b3b7b5', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '328021a2402da1595829e837789a20d840d2bde6', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: '44b1d9993cc174aa8a8e5abb6fa94bf6cb6ed80e' }))));
16773
17109
  }
16774
17110
  get element() { return getElement(this); }
16775
17111
  static get style() { return DuetSlideoutLangStyle0; }
@@ -16813,12 +17149,12 @@ class DuetSlideoutLink {
16813
17149
  * Always the last one in the class.
16814
17150
  */
16815
17151
  render() {
16816
- return (hAsync(Host, { key: '8fb965b7d39258f9aa6259590f4d980eead1a526' }, hAsync("a", { key: '995df84aced23bc4624ad9d85a83e4994ffd6fa0', class: {
17152
+ return (hAsync(Host, { key: 'f45a422bb18c9f386e3d1dc65efb9ba5f10fafca' }, hAsync("a", { key: 'f23111a05259c83100372f73c2c888d0226f69ff', class: {
16817
17153
  "duet-slideout-link": true,
16818
17154
  "duet-theme-turva": this.theme === "turva",
16819
17155
  active: this.active,
16820
17156
  [this.size]: true,
16821
- }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'a3a12d0cd2624ec1b81087bf5ffa25207be7bb80', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: '862595fcb291b0c66db690a2bbfff8a6bd5969df', class: "label" }, hAsync("span", { key: '4ff6bb72dd62090f404b02f0759a7aa167e4bb45' }, hAsync("slot", { key: 'ef702f21eb3a17a5d2a6d8285151b237d9277a18' }), hAsync("slot", { key: 'fadd69515efc42ea99cc55e8c0881f3f9186f2a4', name: "description" })), this.caret && (hAsync("duet-icon", { key: '28a8e3d6da029430b3540d22e5eedb34dedf8cff', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
17157
+ }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '919dadfb6d0469813de5a142127eec1e7cce51c6', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: 'acac1e1208342d14df7f9f6027355754be3fb7c7', class: "label" }, hAsync("span", { key: 'aef4befd5b30c33dfdfcadb49fe30f1c676c3467' }, hAsync("slot", { key: 'd49e0cbb71c1d89f66c63a0d783d2033a6dc4248' }), hAsync("slot", { key: 'abf210a92d2391fa5319533441fc05983c69b9f3', name: "description" })), this.caret && (hAsync("duet-icon", { key: '8f4900f2baa7f402614c92315803e14611be8db6', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
16822
17158
  }
16823
17159
  get element() { return getElement(this); }
16824
17160
  static get style() { return DuetSlideoutLinkStyle0; }
@@ -16842,7 +17178,7 @@ class DuetSlideoutLink {
16842
17178
  }; }
16843
17179
  }
16844
17180
 
16845
- const duetSlideoutPanelCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .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:1.5rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:\"\";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(8, 42, 77)}.duet-slideout-panel.duet-theme-turva .link{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{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)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}";
17181
+ const duetSlideoutPanelCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .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:1.5rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .duet-slideout-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge{position:absolute;top:0;left:16px;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge{background:rgb(247, 178, 40)}@media (min-width: 62em){.duet-slideout-panel .link .duet-slideout-icon{margin-right:8px}}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:\"\";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(8, 42, 77)}.duet-slideout-panel.duet-theme-turva .link{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{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)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}";
16846
17182
  var DuetSlideoutPanelStyle0 = duetSlideoutPanelCss;
16847
17183
 
16848
17184
  /**
@@ -16891,6 +17227,7 @@ class DuetSlideoutPanel {
16891
17227
  this.icon = undefined;
16892
17228
  this.labelSize = "medium";
16893
17229
  this.backgroundColor = "primary-lightest";
17230
+ this.badge = false;
16894
17231
  }
16895
17232
  /**
16896
17233
  * Component lifecycle events.
@@ -16977,21 +17314,23 @@ class DuetSlideoutPanel {
16977
17314
  };
16978
17315
  const exitTranslation = getLocaleString(this.exitLangObject);
16979
17316
  const backTranslation = getLocaleString(this.backLangObject);
16980
- return (hAsync(Host, { key: '4894ffaee3ff8c052c6a69ab11a520bebe9dda52' }, hAsync("div", { key: 'ef9b9d3501f1d27e7097e9fca9ba7879418c40be', class: {
17317
+ return (hAsync(Host, { key: '2647678315ed56e1fe335c37736ee23c004dd21d' }, hAsync("div", { key: '905482d53e0735d94f4b642cb1451313ba5a1b34', class: {
16981
17318
  "duet-slideout-panel": true,
16982
17319
  "duet-theme-turva": this.theme === "turva",
16983
17320
  active: this.open,
16984
- } }, hAsync("button", { key: '2e9a8ded1dba99b3a2b69454d0a575a1f6b7638a', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
17321
+ } }, hAsync("button", { key: '45f9e616201b64655cfadf30e3e6f2c4a57c835e', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
16985
17322
  link: true,
16986
17323
  active: this.active,
16987
- }, onClick: this.onClick, inert: this.open }, this.icon && hAsync("duet-icon", { key: 'fe52801541da8d8443d786747bef60637adc3fae', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '283929f93a31e091094dc1b6dd5d8a18e719c834', class: "label" }, hAsync("span", { key: 'e2186e357666cb1b5e27a048f84162ca27293bff', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: 'b555dc65e44da767e718a3a5d527c7b2cd77f4cd', name: "label" })), hAsync("duet-icon", { key: '819ecfc8650f4b720c90d7fe86160a7d68c99c9f', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '5448d9e971302bfe4269cda106cdd322e77b3c32', ref: element => (this.dialog = element), class: {
17324
+ }, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '008d3982b7842feefbdf0e1a26143baca78feb98', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: 'cd08bf2de91cbf0cae51750ae70ac39a6886718b', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: '546c0233c3479f5ae94f5d175b38a5bbd5a62ec3', class: "duet-slideout-badge" }))), hAsync("span", { key: 'd5d36cc9179fcf3217d991bc40250e05cd462bd1', class: "label" }, hAsync("span", { key: 'f9cdaf84aaea94b0960779018ab0ebe92db3cded', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '87277fe5dd9340b05758ed62641ebf4521c2c988', name: "label" })), hAsync("duet-icon", { key: 'efd21892344ca510453d903c6099ef38700dcd64', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: 'e0891e52f2734290947fb7bab8e732ea19db4ca7', ref: element => (this.dialog = element), class: {
16988
17325
  dialog: true,
16989
17326
  hidden: !this.open,
16990
- }, style: styles }, hAsync(FocusGuard, { key: '323e693c5774603efaba24bb52587d076925b97d', moveFocusTo: this.closeButton }), hAsync("div", { key: '7a17c1dac1bf423064326b8dc41a78b49e7a0420', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '624254dd067e08f801f498af72f3abb514e5be8b', class: "top" }, hAsync("button", { key: 'd415caf91b19b1dedb14f7c2da220e51e37e699e', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
17327
+ }, style: styles }, hAsync(FocusGuard, { key: '78fbbf6a49c26699a681d53e8664fa9cdc04607d', moveFocusTo: this.closeButton }), hAsync("div", { key: 'ff3ae73aedbf253a194fbf5ec5e03558a6253eeb', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'a1a3eed79130adbe6b32c2ab2a8ca0aab5cef454', class: "top" }, hAsync("button", { key: 'ec03ca7ae63fbabe2a8a72dd174d45dfe3a43cbc', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
16991
17328
  back: true,
16992
- }, onClick: this.onClick }, hAsync("duet-icon", { key: '8288a43f1d803c186ff775e8ae454d0d60925f8b', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: 'ccacf36e23bfe6072c806caa790a8b405975a509' }, this.label.innerHTML), hAsync("button", { key: '6c71c338e33d3196956f6ad2d4bdde62668dec82', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '729a7ce51dd5326b61cfd28c26706886dd77d312', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '0c424256bd13477252fafd78194f5912e52a8392', class: "sticky-header" }, hAsync("slot", { key: '92d20c29ca1b38101958ac98f421334a2d21d0e1', name: "sticky-header" }))), hAsync("div", { key: 'dbc9d5b2939c8eeeec5df7c01e753809b0d89329', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
17329
+ }, onClick: this.onClick }, hAsync("duet-icon", { key: 'cccfd5be6b2f45a819c9f4d5e2be98fb550f9052', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '6ef5585f68075fb83da70e1d0957a271baa40e8d' }, this.label.innerHTML), hAsync("button", { key: '025d0b7774d3ab4d2212a41dcfbf335dbdcbe75b', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: 'c75bc1256d277e8e78feff4feccea9ddbb76076e', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '2ea243cde023eae58163c13933950ae567cc4fb8', class: "sticky-header" }, hAsync("slot", { key: '216f3007ee7fd66367bb1ecc7c633f81def538de', name: "sticky-header" }))), hAsync("div", { key: 'b63972a5c65747caa92dd13ec99059748afa72e0', tabindex: "-1", role: "menu",
17330
+ //TODO: slideout menu fades out, needs to be instant
17331
+ id: "menu", "aria-labelledby": "button", class: {
16993
17332
  items: true,
16994
- } }, hAsync("slot", { key: '73befdc1cc16c43ff7319c1efc6fd78957ae03e6' })), hAsync(FocusGuard, { key: '70c1286b9d6fca87ee08f6bcff7bed76592417ce', moveFocusTo: this.closeButton })))));
17333
+ } }, hAsync("slot", { key: '82da64daad4e4c5445bacd92c115e658819341ce' })), hAsync(FocusGuard, { key: 'fd769f1269b9562291f1198976e3258148a696dc', moveFocusTo: this.closeButton })))));
16995
17334
  }
16996
17335
  get element() { return getElement(this); }
16997
17336
  static get watchers() { return {
@@ -17008,6 +17347,7 @@ class DuetSlideoutPanel {
17008
17347
  "icon": [1537],
17009
17348
  "labelSize": [1537, "label-size"],
17010
17349
  "backgroundColor": [1537, "background-color"],
17350
+ "badge": [4],
17011
17351
  "label": [32],
17012
17352
  "language": [32],
17013
17353
  "bodyScrollLocked": [32],
@@ -17060,16 +17400,16 @@ class DuetSlideoutPanelDropdown {
17060
17400
  * Always the last one in the class.
17061
17401
  */
17062
17402
  render() {
17063
- return (hAsync(Host, { key: '269982c1cc2a4a4a433c6acff8005ca71c1f41ca' }, hAsync("div", { key: '35079da119a10dd8c58bd6bedd50a1353ec1a0cf', class: {
17403
+ return (hAsync(Host, { key: '8bd65996e3bfea744c0730e651df24d258bec3c7' }, hAsync("div", { key: '4d04156b1831757d0cd15287fe4baa3c300d4bd2', class: {
17064
17404
  "duet-slideout-panel-dropdown": true,
17065
17405
  "duet-theme-turva": this.theme === "turva",
17066
17406
  active: this.open,
17067
- } }, hAsync("button", { key: '2d941f4112d301e868fa7f4c21a5f8b5c4d3331f', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
17407
+ } }, hAsync("button", { key: 'c3d651d59e46dcfa5add2b09da4fbcd5443f1687', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
17068
17408
  active: this.active,
17069
- }, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: 'ab0e7dfe600cab22bdadc3bada64da8507ae4e7d', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '66fcd7227cf50291da174a203abc3b2025297a54', class: "label" }, hAsync("slot", { key: '087567e55bb30d88454e7634825ebcb473f92308', name: "label" }), hAsync("duet-icon", { key: 'e8dd8981dde647a16acb7acf02f3bcd5e960fea9', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '19fb113e440dabfabb0f7aedd54e47bbbd133d1f', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
17409
+ }, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: 'f680e74f6ae413a180b08776ee27cd5cb8de74a8', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '2a3047b55c2df7ac06dea3fe22131fb619aa9fd1', class: "label" }, hAsync("slot", { key: 'c24326301886814aef541f359c55dedccd1cc94c', name: "label" }), hAsync("duet-icon", { key: 'c7c1032d262a94a2ca59a89fc46ab514cbc64b07', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '53f5768df91fa9fe5f91ab54a8651d0dffbad19b', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
17070
17410
  items: true,
17071
17411
  hidden: !this.open,
17072
- } }, hAsync("slot", { key: 'f0f15a50aa3dcc67468daaa466a504ee5d8954c2' })))));
17412
+ } }, hAsync("slot", { key: '525bcea69da437c543ab01eb3b28030858ac6b72' })))));
17073
17413
  }
17074
17414
  get element() { return getElement(this); }
17075
17415
  static get style() { return DuetSlideoutPanelDropdownStyle0; }
@@ -17536,19 +17876,19 @@ class DuetSubmenuBar {
17536
17876
  * Always the last one in the class.
17537
17877
  */
17538
17878
  render() {
17539
- return (hAsync(Host, { key: 'a14801d4318c2c85ff8624880333f5f710d8a636' }, hAsync("nav", { key: '1c369dfe0426039d7893a3a8a3d24907bfb010d3', class: {
17879
+ return (hAsync(Host, { key: '1469bb18585b64778dd536fe0b0a8f727e065578' }, hAsync("nav", { key: 'a399b3bd25d1674641715545c4d9ad33a997cce8', class: {
17540
17880
  "duet-submenu-bar": true,
17541
17881
  "duet-theme-turva": this.theme === "turva",
17542
17882
  hidden: this.hidden,
17543
- }, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: 'ffe8648100e5266b9c17eaa8c1bc92bfcc9d4ba8', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
17883
+ }, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '3226732e632347a9a90f39c7408f444841ed565d', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
17544
17884
  active: this.open,
17545
- }, onClick: this.onClick }, hAsync("span", { key: '8e313c306bf157aa1381cf39c5bd2332924cf8dd', class: "label" }, hAsync("slot", { key: '428a4a04231e099a5128499ef727673d698d56ef', name: "label" }), hAsync("duet-icon", { key: '8e5a89fdc9fc9caa588f51ae317a8c70549ccec2', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: '152257b88008c49c15ef2b505787e69c238653e8', class: {
17885
+ }, onClick: this.onClick }, hAsync("span", { key: '7796972e15445991d3de043e8729a8ba33fff6e3', class: "label" }, hAsync("slot", { key: '31c5d6e4d7b63589b161e5a286e4c8fb17858f94', name: "label" }), hAsync("duet-icon", { key: 'e48e347ab980b919e9b405bcce57b653902b8cb5', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: 'bdc071c610af92ccd78d692c5cb54dd3807d4110', class: {
17546
17886
  "menu-container": true,
17547
17887
  hidden: !this.open,
17548
- }, role: "presentation" }, hAsync("div", { key: '3f4346fc605692e6d1aae163dfc05d308bb8542c', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
17888
+ }, role: "presentation" }, hAsync("div", { key: '59b34793b7a78f7b6408ba05fe8e1e8d2cd68fcd', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
17549
17889
  items: true,
17550
17890
  hidden: !this.open,
17551
- }, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '5b8d26c95ea0bb9ff8297905308596449f1cbf85', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '34d24d206903d7ecb360e9964687a2f844a2be84' }), hAsync("div", { key: '23aa8b69e73f321edf1742d50381ce108d0bb2db', class: "list-padding" }))), hAsync("duet-overlay", { key: '4c80718a582cf05c6b665bed92c9fd0af0764c6b', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
17891
+ }, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '0b1cb47d7dd37179e422758a9450f257383330f6', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '2c0b696924ab664b00ee2c79cdd8c49fc2134837' }), hAsync("div", { key: '5b6ffbcc4d64adbb050c1d195e5e98dc015a20bf', class: "list-padding" }))), hAsync("duet-overlay", { key: '96fde4e8c50d9d655e4f336f9c88ba14e2378069', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
17552
17892
  }
17553
17893
  get element() { return getElement(this); }
17554
17894
  static get watchers() { return {
@@ -17669,18 +18009,18 @@ class DuetSubmenuBarDropdown {
17669
18009
  * Always the last one in the class.
17670
18010
  */
17671
18011
  render() {
17672
- return (hAsync(Host, { key: '11e62070b0315cfc4d3e3c4303bc193ca9e17ebb', role: "listitem" }, hAsync("div", { key: '6e24bdc74dcf8087c511f62bbcd1b0637899f950', class: {
18012
+ return (hAsync(Host, { key: 'c3cf8eb945cf4d95dc90722856d85478a478c3d1', role: "listitem" }, hAsync("div", { key: 'c33c4274767aa171529c12d7998be90c12c80d79', class: {
17673
18013
  "duet-submenu-bar-dropdown": true,
17674
18014
  "duet-theme-turva": this.theme === "turva",
17675
18015
  open: this.open,
17676
18016
  active: this.active,
17677
- } }, hAsync("button", { key: '7e1ea73475a0055d2494ea0fd1a6251bff54a434', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
18017
+ } }, hAsync("button", { key: '0c2bca528aaf0c1f528634636e7d16007dd66e8e', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
17678
18018
  open: this.open,
17679
18019
  active: this.active,
17680
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'ccfe3bd7792ae0b352b62806cf1c8567f9437456', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '2267d727d323b18c20cdd78b6050c83f0933d373', class: "label" }, hAsync("span", { key: '9eb6d48b698f09636e950cd711928614d492033b', class: "label-text" }, hAsync("slot", { key: '9b6643216f2a390a4ae19fb1d7306a1a10e79f53', name: "label" })), hAsync("duet-icon", { key: 'f0e9935a58890ae53424c99761149c8d913ce74f', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '5634a7f613b5e00c5a3328d47e98e5342eb31ba3', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
18020
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'b6d67b23e9e144930f6dbd3f7cb645dcc08757bc', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'd4671d5f840303ad923d50ad7314a5ca13a95840', class: "label" }, hAsync("span", { key: 'ec5e80db693fdd7b50ad9fcf3d40300858bd3036', class: "label-text" }, hAsync("slot", { key: '42be40ec38e6e46bf516d581e0cf7204d3a43ecc', name: "label" })), hAsync("duet-icon", { key: '28fce54b06d8489c35a017371ccbcf3ff357261c', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '23ee904f9e7e8953b79be8c1903787e0ad0ed389', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
17681
18021
  items: true,
17682
18022
  hidden: !this.open,
17683
- } }, hAsync("slot", { key: 'f1ee473aebbe7301e1c6e69f6d539ac26dccf87e' })))));
18023
+ } }, hAsync("slot", { key: '18d9b43b76fd13faa5c1e95e50253d4ba067dbbd' })))));
17684
18024
  }
17685
18025
  get element() { return getElement(this); }
17686
18026
  static get style() { return DuetSubmenuBarDropdownStyle0; }
@@ -17732,12 +18072,12 @@ class DuetSubmenuBarDropdownLink {
17732
18072
  * Always the last one in the class.
17733
18073
  */
17734
18074
  render() {
17735
- return (hAsync(Host, { key: '2a0bd0fc1067f2830d35b391f7729501b575945d' }, hAsync("a", { key: '2701050d3eb010669df4262dede28d854ff998db', class: {
18075
+ return (hAsync(Host, { key: '7b6d4f944e09e3b9f4a545b35ca22b70354d4e89' }, hAsync("a", { key: '7c4d73a5f232691be4cd4ccc4e9687afdfdf46b2', class: {
17736
18076
  "duet-submenu-bar-dropdown-link": true,
17737
18077
  "duet-theme-turva": this.theme === "turva",
17738
18078
  highlight: this.highlight,
17739
18079
  active: this.active,
17740
- }, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: 'ed6dc9fdce8a88be4bf115d1be386291cdab6a1e', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: 'ba024c16864574248221caa8d8654051f6eef26f', class: "label-container" }, hAsync("span", { key: '6b22ce9cd109698aea523ca2ba0edb037d692dbd', class: "label" }, hAsync("slot", { key: '6df015eacde2eff570c818e14ebaa152059fda76' })), this.caret && hAsync("duet-icon", { key: '69b29abde8dae9e41f63ba981a523848ba962c31', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: 'd2e8fe2ca349dc62978f322d32a82ecfb135f8e7', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
18080
+ }, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '931355f6d77cbd9390389fc19ba3523c71deaa37', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '4be80caa3ae757adf17b077286f0d05572bf8086', class: "label-container" }, hAsync("span", { key: '7c06307710f7bf1a54d31fef0fefe969ef5dbf86', class: "label" }, hAsync("slot", { key: '11223a3b3b50e53da0b37954dc228ef2cc2fb3c8' })), this.caret && hAsync("duet-icon", { key: '8f1bdbc98c7f0af7167528d6ddd015613196af72', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: '06574ed40c1677c41256fde666620ec3eb367d7f', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
17741
18081
  }
17742
18082
  get element() { return getElement(this); }
17743
18083
  static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
@@ -17811,7 +18151,7 @@ class DuetSubmenuBarItem {
17811
18151
  render() {
17812
18152
  const TagName = this.url ? "a" : "button";
17813
18153
  const role = this.url ? "link" : "button";
17814
- return (hAsync(Host, { key: '443e50f3d6e0221f9d089617b66ba2d7af05a0d4', role: "listitem" }, hAsync(TagName, { key: 'a49c8360435fdff2934bb611b909880c17df0119', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '9caf7a841ec4116bec64a846f35bbeef8b377563', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'f24016ad17bd57fdfd5293a8dec47dab126d4441', class: "label" }, hAsync("span", { key: '7a6cb80cc3013a47527285f07dcfe54429d842b9', class: "label-text" }, hAsync("slot", { key: '85c0ca4f6ee110f74118b0a6e17153c787b6d52f' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'df8367bdb82b9fb9207fb6083d3c1c308c388cdf', class: {
18154
+ return (hAsync(Host, { key: 'ab81cca016d06490e7327dff9e9cd7b1eef0c372', role: "listitem" }, hAsync(TagName, { key: '6214b7908b001b1c1c40cf1b24d37932752d48ed', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '99189e4a64cecacfc57d341d664702eb6319506e', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'efa76ad7b21823ba071b7f9ff4c273034e8c32f8', class: "label" }, hAsync("span", { key: '7d97203da0eb5f9f946b469ceae8a3dd16bd4775', class: "label-text" }, hAsync("slot", { key: 'd6d331b07cf85e7a38383dd8890275bd5959527b' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '3120f4d7c7b98be6a9ee3b109ed33c6a94705b4e', class: {
17815
18155
  "trailing-icon": !!this.trailingIcon,
17816
18156
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
17817
18157
  "external-icon": !!this.external,
@@ -17872,7 +18212,7 @@ class DuetSubmenuBarLink {
17872
18212
  * Always the last one in the class.
17873
18213
  */
17874
18214
  render() {
17875
- return (hAsync(Host, { key: 'a6dc9dd339c3e6bff16908b1c8a92d8864620cae', role: "listitem" }, hAsync("a", { key: '5251cb04c87f1c52bd8fdae8a0da3c8c8387b9c3', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (hAsync("duet-icon", { key: '3c102a611f04bce4287534f8c2492b326cd97546', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '7f743327633be260d9f69659dc392023fb4f1a60', class: "label" }, hAsync("slot", { key: '28503563b656db735aa9635e52e64f7eb296d630' })))));
18215
+ return (hAsync(Host, { key: 'fb94eb65690b10d78ba72790a1653d129d509aab', role: "listitem" }, hAsync("a", { key: '3997d3a5848880c3c8fe0a81ff3c0ea243bf1328', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (hAsync("duet-icon", { key: '56fd2d97c86ae74b00ad7661840e543e12f771c2', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: 'cacd3d410a7774d1c9919af8f2fca12a7150fb65', class: "label" }, hAsync("slot", { key: 'ab7dc74da327c9eac6ed6c8a72edb1b194623949' })))));
17876
18216
  }
17877
18217
  get element() { return getElement(this); }
17878
18218
  static get style() { return DuetSubmenuBarLinkStyle0; }
@@ -17960,11 +18300,6 @@ class DuetTab {
17960
18300
  disconnectLanguageChangeObserver(this);
17961
18301
  unsubscribeTabbingChange(this);
17962
18302
  if (this.tabpanelElement) {
17963
- this.tabpanelElement.removeAttribute("role");
17964
- this.tabpanelElement.removeAttribute("tabindex");
17965
- this.tabpanelElement.removeAttribute("aria-description");
17966
- this.tabpanelElement.removeAttribute("aria-labelledby");
17967
- this.tabpanelElement.removeAttribute("hidden");
17968
18303
  this.tabpanelElement.removeEventListener("focus", this.tabpanelElementFocusListener.bind(this));
17969
18304
  this.tabpanelElement.removeEventListener("blur", this.tabpanelElementBlurListener.bind(this));
17970
18305
  this.tabpanelElement = undefined;
@@ -18345,7 +18680,7 @@ class DuetTable {
18345
18680
  }
18346
18681
  }
18347
18682
  render() {
18348
- return (hAsync(Host, { key: 'a8ac1c5720aa3ee8771d9c04d73026825732849f', class: {
18683
+ return (hAsync(Host, { key: '5281fe3906db3b9b3885493414cd38e683d7d49e', class: {
18349
18684
  [`duet-table-${this.variation}`]: true,
18350
18685
  "duet-table-flattened": !this.matchesBreakpoint,
18351
18686
  // sticky only valid when in regular table layout
@@ -18354,7 +18689,7 @@ class DuetTable {
18354
18689
  "duet-m-0": this.margin === "none",
18355
18690
  "duet-theme-turva": this.theme === "turva",
18356
18691
  "duet-table-hide-head-visually": this.hideHeadVisually,
18357
- } }, hAsync("slot", { key: '7b5d417be70274833f0a5ad86a69d289cde07b3a' })));
18692
+ } }, hAsync("slot", { key: '1611870a74ea3903dc9c1fee47e66f7827c6b6e5' })));
18358
18693
  }
18359
18694
  get element() { return getElement(this); }
18360
18695
  static get watchers() { return {
@@ -18381,18 +18716,9 @@ class DuetTable {
18381
18716
  }; }
18382
18717
  }
18383
18718
 
18384
- const duetTextareaCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-textarea-container{position:relative;width:100%;height:100%}.duet-textarea-container .duet-input-top-caption{display:none}.duet-textarea-container.duet-input-top-caption-shown .duet-input-top-caption{display:flex !important}.duet-textarea-wrapper{position:relative}.duet-textarea-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-theme-turva .duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-textarea::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-textarea::-moz-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-textarea:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-textarea:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva .duet-textarea[disabled]{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important}.duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(8, 42, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]::-moz-placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-theme-turva .duet-textarea[disabled]::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]:-ms-input-placeholder{color:rgb(8, 42, 77)}.duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help{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;line-height:1.25}.duet-textarea-help span{display:block;margin-top:8px}.duet-theme-turva .duet-textarea-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count{display:block;margin:8px 0 0 auto}";
18719
+ const duetTextareaCss = "*.sc-duet-textarea,*.sc-duet-textarea::after,*.sc-duet-textarea::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-textarea-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:block;width:100%;max-width:100%;text-align:left}.sc-duet-textarea-h:last-child,.sc-duet-textarea-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-textarea-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-textarea-h{width:100% !important}}.duet-m-0.sc-duet-textarea-h{margin:0 !important}duet-tooltip.sc-duet-textarea,.sc-duet-textarea-s>duet-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-textarea,.sc-duet-textarea-s>duet-tooltip{position:relative;top:4px;right:auto}}.duet-textarea-container.sc-duet-textarea{position:relative;width:100%;height:100%}.duet-textarea-container.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:none}.duet-textarea-container.duet-input-top-caption-shown.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:flex !important}.duet-textarea-wrapper.sc-duet-textarea{position:relative}.duet-textarea-placeholder.sc-duet-textarea{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea.sc-duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(143, 147, 158)}.duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea[disabled].sc-duet-textarea{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important}.duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(8, 42, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(8, 42, 77)}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea.sc-duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea.sc-duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help.sc-duet-textarea{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;line-height:1.25}.duet-textarea-help.sc-duet-textarea span.sc-duet-textarea{display:block;margin-top:8px}.duet-theme-turva.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-textarea duet-label.sc-duet-textarea{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count.sc-duet-textarea{display:block;margin:8px 0 0 auto}";
18385
18720
  var DuetTextareaStyle0 = duetTextareaCss;
18386
18721
 
18387
- const CharacterCount = ({ value, maxlength, label, theme }) => {
18388
- if (maxlength == null) {
18389
- return;
18390
- }
18391
- const length = value.length;
18392
- const remainder = Math.max(maxlength - length, 0); // ensure we never have negative numbers
18393
- const isApproachingLimit = remainder / maxlength <= 0.1; // <= 10% chars remaining
18394
- return (hAsync("div", { class: "duet-character-count" }, hAsync("duet-caption", { margin: "none", theme: theme, size: "small" }, hAsync("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true", class: "duet-textarea-counter-remaining" }, isApproachingLimit && `${remainder} ${label}`), hAsync("span", { "aria-hidden": "true" }, length, "/", maxlength))));
18395
- };
18396
18722
  /**
18397
18723
  * @slot tooltip - Use to place a tooltip alongside the label.
18398
18724
  */
@@ -18544,20 +18870,9 @@ class DuetTextarea {
18544
18870
  * Always the last one in the class.
18545
18871
  */
18546
18872
  render() {
18547
- const identifier = this.identifier || this.textareaId;
18548
- return (hAsync(Host, { key: '6822e915557cb26cc7ef9e11686a3c6ebb68ea47', class: {
18549
- "duet-m-0": this.margin === "none",
18550
- "duet-has-counter": this.counter && !this.error,
18551
- "duet-expand": this.expand,
18552
- } }, hAsync("div", { key: 'bc4115c13d819ace2c3093540184535b8e4a1b92', class: {
18553
- "duet-textarea-container": true,
18554
- "duet-theme-turva": this.theme === "turva",
18555
- "duet-label-hidden": this.labelHidden,
18556
- "duet-input-top-caption-shown": this.isCaptionVisible,
18557
- "has-error": !!this.error,
18558
- } }, hAsync("duet-label", { key: '9580bdfabe29364106b37d5d96662bd92834b547', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '6561c8b34741071590fbdc1e181e19d27c72f5ac', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: '096527c36bf9a86ea5516855968793509041f7f2', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '200ff13988a66c86df15d0a4aa2cc5d0933e4e94', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { key: 'bb6e02a2b4e56a4b1b0b02ba69e57037703f8c1a', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: '5a4e1130618afea793977101bb96aa48b0966a89', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { key: '8931951754cb4d340020d1b03630d0c5887dcabc', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), hAsync("duet-grid", { key: '11f6951c2dfa29e83f31ccaeac2f5dc878bc948b', alignment: "stretch" }, hAsync("duet-grid-item", { key: 'e85f9341efb0b3adc42239559525c901b2bafb3f', margin: "none", fill: true }, hAsync("div", { key: '17ac589c05fb30ff82c8e05470ae4af763144b04', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'daa212a3cc4e868d5b63c0663e0cddb69c46e273' }, this.error))), hAsync("duet-grid-item", { key: '393879358311c8ae3c6cb33d996fc4ea5b918aec', margin: "none", class: "duet-character-count-caption" }, this.counter && (hAsync(CharacterCount, { key: 'f201904c256266056855907d84c013a84c3c123c', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (hAsync("duet-visually-hidden", { key: '634bed29f451d4d2a03835ebcf228a790cc92d0c', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
18559
- this.hiddenCounterLabel = el;
18560
- } })))));
18873
+ {
18874
+ return;
18875
+ }
18561
18876
  }
18562
18877
  get element() { return getElement(this); }
18563
18878
  static get watchers() { return {
@@ -18565,7 +18880,7 @@ class DuetTextarea {
18565
18880
  }; }
18566
18881
  static get style() { return DuetTextareaStyle0; }
18567
18882
  static get cmpMeta() { return {
18568
- "$flags$": 9,
18883
+ "$flags$": 6,
18569
18884
  "$tagName$": "duet-textarea",
18570
18885
  "$members$": {
18571
18886
  "margin": [1],
@@ -18756,11 +19071,11 @@ class DuetToolbar {
18756
19071
  : this.variation === "secondary"
18757
19072
  ? "secondary"
18758
19073
  : "default";
18759
- return (hAsync(Host, { key: 'e95670de6988cb19be58405e1a22503cde2b90bd' }, hAsync("nav", { key: 'fc7d9f781f8a67c70f21ebb83468561457454a38', class: {
19074
+ return (hAsync(Host, { key: '91c10cd51874090bfa321e80557b0af866158ec1' }, hAsync("nav", { key: '20468b9364a8b4ab5c294b720e18b98e435479d6', class: {
18760
19075
  "duet-toolbar": true,
18761
19076
  "duet-theme-turva": this.theme === "turva",
18762
19077
  [variation]: true,
18763
- }, "aria-label": this.accessibleLabel }, hAsync("div", { key: '98f5defda0a4174974b55128d7e6ab8875191e56', class: "container" }, hAsync("div", { key: '00664089bfde8ff43b913744e098108b4f8a7b38', class: "list", role: "list" }, hAsync("slot", { key: '2e5832a886df8fd2b97b6f3af6eb77ac76ca8fa4', name: "left" })), hAsync("div", { key: '84fcc0c995aadaccea6d64e286d1fd5b112b89a7', class: "list", role: "list" }, hAsync("slot", { key: 'c9bb0646272666f709b96546d3b43221c85bba83', name: "right" }))))));
19078
+ }, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'f253ec42bdc5c5c5ae9f556e31c25a0aa3406438', class: "container" }, hAsync("div", { key: 'e71e6f8fc61221463fff4296b6543176353437a1', class: "list", role: "list" }, hAsync("slot", { key: '9f3a7862ccb69db13aee70c9bc89825c0a0d46a2', name: "left" })), hAsync("div", { key: 'debbe197eae3b509a885db277ccab37885730107', class: "list", role: "list" }, hAsync("slot", { key: 'cb71021ba0bf0a12fd9fd635cec16568ac25180a', name: "right" }))))));
18764
19079
  }
18765
19080
  get element() { return getElement(this); }
18766
19081
  static get style() { return DuetToolbarStyle0; }
@@ -18828,18 +19143,18 @@ class DuetToolbarDropdown {
18828
19143
  itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
18829
19144
  }
18830
19145
  const variation = this.variation === "negative" ? "negative" : "white";
18831
- return (hAsync(Host, { key: 'a87f29715ddfbb33697cebfc796d4591cb191fd0', role: "listitem" }, hAsync("div", { key: '54e757dfaaf70e32127e489812c35fca8e28e419', class: {
19146
+ return (hAsync(Host, { key: 'b267de99df676578b5c5879bfc4b33e63f53eb40', role: "listitem" }, hAsync("div", { key: '0f4a971d359bb6b05c6a0de70bd263b48ae42953', class: {
18832
19147
  "duet-toolbar-dropdown": true,
18833
19148
  "duet-theme-turva": this.theme === "turva",
18834
19149
  [itemsAlign]: true,
18835
19150
  [variation]: true,
18836
- } }, hAsync("button", { key: '99e3e9be8b769b763bcb3efd37545b9d728b8ff5', ref: element => (this.button = element), "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: {
19151
+ } }, hAsync("button", { key: '7fe26d57c4e2df698aaf1677171e14999adcee31', ref: element => (this.button = element), "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: {
18837
19152
  active: this.active,
18838
19153
  open: this.open,
18839
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '599a1cd0847b63c55946e5c89f6fc1b4761dcb8a', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: 'fa9597c1dfb9c171a75b6f235ab433d2d4d86f07', class: "label" }, hAsync("slot", { key: '9a262fb001663204c6aece7bdd7971b3f0d44c9e', name: "label" }), hAsync("duet-icon", { key: '85728bfc749f8b5c9e310196d07a7cc587a17285', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '36d0896d802c6c2507e6a06ef3bc099684fefd64', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
19154
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'a1390f889f23f75052fd5c78915e12ee9e3c8930', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: '7b7b8ad3931cc78a60ae96ebafe19fed542db012', class: "label" }, hAsync("slot", { key: 'fb9211a981fbbada64fd2b86c3583af226ebb626', name: "label" }), hAsync("duet-icon", { key: 'aaf1a322508dee44ff0e60d5bfc68381a568a922', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'd68a0e8ff628d5739efbe9cf3233d94cfa43e26f', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
18840
19155
  items: true,
18841
19156
  hidden: !this.open,
18842
- } }, hAsync("slot", { key: '7bfbe40de83bf7a95b773592d1c7ef0e15610197' })))));
19157
+ } }, hAsync("slot", { key: '2d9b51cf80525f43ca11cc5e4b91dd6308251ad8' })))));
18843
19158
  }
18844
19159
  get element() { return getElement(this); }
18845
19160
  static get style() { return DuetToolbarDropdownStyle0; }
@@ -18892,11 +19207,11 @@ class DuetToolbarDropdownLink {
18892
19207
  * Always the last one in the class.
18893
19208
  */
18894
19209
  render() {
18895
- return (hAsync(Host, { key: 'a33846447e336d9ba1744b64e256fb6144ecf56d' }, hAsync("a", { key: '8613597d4c4e5de513169f87e426effcf7e1ab68', class: {
19210
+ return (hAsync(Host, { key: 'ca2c386337ef8052184214a47865bc93b192efea' }, hAsync("a", { key: '2601354c27b7ff3858e561585176e040d2bfce25', class: {
18896
19211
  "duet-toolbar-dropdown-link": true,
18897
19212
  "duet-theme-turva": this.theme === "turva",
18898
19213
  active: this.active,
18899
- }, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: 'e0dc39be130d8cc14a336595098adfec4e2dd74e', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '1dad6713a1f65d274269cdd3475a5e83b6a4ac18', class: "label" }, hAsync("slot", { key: '017e8fe9eec10b313263ba4007c4d10dcef17e8e' })), this.active && (hAsync("duet-icon", { key: '09386e5b6f037069a71777127c4f1b40bf818791', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
19214
+ }, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '0f941114682ef7527bf69e9e5a42ef0d095a1b2b', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: 'f5eac01e244e0cf0bb48229c58076580fea8e5d6', class: "label" }, hAsync("slot", { key: 'afc1ab27f5e67371e52fa2e4da46b453b24ab75c' })), this.active && (hAsync("duet-icon", { key: '041c528108a13b672788bbc254d7d6c0ee362008', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
18900
19215
  }
18901
19216
  get element() { return getElement(this); }
18902
19217
  static get style() { return DuetToolbarDropdownLinkStyle0; }
@@ -18917,7 +19232,7 @@ class DuetToolbarDropdownLink {
18917
19232
  }; }
18918
19233
  }
18919
19234
 
18920
- const duetToolbarItemCss = "*,*::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-item{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;white-space:nowrap;cursor:pointer}.duet-toolbar-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-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item .trailing-icon{width:16px;height:16px}.duet-toolbar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-toolbar-item .external-icon{width:10px;height:10px}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.primary,.duet-toolbar-item.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item.primary[aria-expanded=true],.duet-toolbar-item.secondary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.primary duet-icon,.duet-toolbar-item.secondary duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-item.primary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.secondary[aria-expanded=true]{background:rgb(3, 56, 102)}.duet-toolbar-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-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-item:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-item:hover.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(8, 42, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active::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-item.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}";
19235
+ const duetToolbarItemCss = "*,*::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-item{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;white-space:nowrap;cursor:pointer}.duet-toolbar-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-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item .duet-toolbar-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{position:absolute;top:0;left:11px;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{background:rgb(247, 178, 40)}.duet-toolbar-item .trailing-icon{width:16px;height:16px}.duet-toolbar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-toolbar-item .external-icon{width:10px;height:10px}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.primary,.duet-toolbar-item.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item.primary[aria-expanded=true],.duet-toolbar-item.secondary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.primary duet-icon,.duet-toolbar-item.secondary duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-item.primary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.secondary[aria-expanded=true]{background:rgb(3, 56, 102)}.duet-toolbar-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-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-item:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-item:hover.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(8, 42, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active::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-item.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}";
18921
19236
  var DuetToolbarItemStyle0 = duetToolbarItemCss;
18922
19237
 
18923
19238
  class DuetToolbarItem {
@@ -18935,6 +19250,7 @@ class DuetToolbarItem {
18935
19250
  this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
18936
19251
  this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
18937
19252
  this.external = false;
19253
+ this.badge = false;
18938
19254
  }
18939
19255
  /**
18940
19256
  * Component lifecycle events.
@@ -18970,17 +19286,17 @@ class DuetToolbarItem {
18970
19286
  : this.variation === "secondary"
18971
19287
  ? "secondary"
18972
19288
  : "default";
18973
- return (hAsync(Host, { key: 'c651741671154cd0e5851a6d6600c2eb96185740', role: "listitem" }, hAsync(TagName, { key: 'dfc4397a8bd132f3a56accb84109c1bc5b0edc71', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
19289
+ return (hAsync(Host, { key: 'afa849ce4f6ec1c066ee4462c84bf51146a8b1b6', role: "listitem" }, hAsync(TagName, { key: '0af801b2ff5b432b0f41f72ab367932046671b7c', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
18974
19290
  "duet-toolbar-item": true,
18975
19291
  "duet-theme-turva": this.theme === "turva",
18976
19292
  active: this.active,
18977
19293
  [variation]: true,
18978
- }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: 'd770fb6252e01cfbfdf8c30810dc88f95eb6cc3c', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '4efe99a166b4078028022fbdd23ce8bbf32c6bdc' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '4a7f60fa0e412e2254dea5462de15f80fcdd4494', class: {
19294
+ }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: 'b90f4fcad2b46e4cb1f39f204595ab30eda04274', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '76855f764087b7505ef5eea360be023d894b2d51', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: '291a2974a4972a973bbc6f989265a6c0779a1ff3', class: "duet-toolbar-badge" }))), hAsync("slot", { key: '9899ea590965a155c9890dc1d68fe0e8bf874c15' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: 'dc913307616babe431177341d31a5d0262d7b438', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '643938497cfc43a1f85587993a2b11cb54b967e1', class: {
18979
19295
  "trailing-icon": !!this.trailingIcon,
18980
19296
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
18981
- "external-icon": !!this.external,
19297
+ "external-icon": !!(this.url && this.external),
18982
19298
  rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
18983
- }, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" })))));
19299
+ }, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: '795d10ab43384c774440487bdef889a0d3b59814', class: "duet-toolbar-badge" }))))));
18984
19300
  }
18985
19301
  get element() { return getElement(this); }
18986
19302
  static get style() { return DuetToolbarItemStyle0; }
@@ -19000,6 +19316,7 @@ class DuetToolbarItem {
19000
19316
  "accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
19001
19317
  "accessibleLabelExternal": [1025, "accessible-label-external"],
19002
19318
  "external": [4],
19319
+ "badge": [4],
19003
19320
  "setFocus": [64]
19004
19321
  },
19005
19322
  "$listeners$": undefined,
@@ -19033,12 +19350,12 @@ class DuetToolbarLink {
19033
19350
  */
19034
19351
  render() {
19035
19352
  const variation = this.variation === "negative" ? "negative" : "white";
19036
- return (hAsync(Host, { key: '6a66cea74140b5db01202d0f1ca06072b9c3dbd4', role: "listitem" }, hAsync("a", { key: '7d494df416a0720defd5159669b2c85fb8a5f448', class: {
19353
+ return (hAsync(Host, { key: 'c53a9b05b8bf38d7f393863392ec9ffa5eeea0d6', role: "listitem" }, hAsync("a", { key: '633ff7b9e9e322eb33402d00a3da6ae9dca2a04c', class: {
19037
19354
  "duet-toolbar-link": true,
19038
19355
  "duet-theme-turva": this.theme === "turva",
19039
19356
  active: this.active,
19040
19357
  [variation]: true,
19041
- }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'f6a26cd3099dd843e09a2473ecdf99e63b55a80f', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '14f9e21db7f199f4c09fd9838162b44f28c685e4' }))));
19358
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '4de0041a0235dae5494904de06785b214c6a1edf', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '15fe5f1f6f641fa2c233aca8c0dd1802b22a5143' }))));
19042
19359
  }
19043
19360
  get element() { return getElement(this); }
19044
19361
  static get style() { return DuetToolbarLinkStyle0; }
@@ -19292,11 +19609,11 @@ class DuetTooltipButton {
19292
19609
  * Always the last one in the class.
19293
19610
  */
19294
19611
  render() {
19295
- return (hAsync(Host, { key: '4a3bc0a7387a6ee9301370fcddd4cbea3d3744d3' }, hAsync("button", { key: '4b215f11753fe4b67089ee0c4719657f9d67e44e', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
19612
+ return (hAsync(Host, { key: 'e15846eb1696236fe6aba826e5c0fcea835d7c9b' }, hAsync("button", { key: '995033945e9c069143e7ff97a7728766761f8a7b', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
19296
19613
  "duet-tooltip-button": true,
19297
19614
  "duet-tooltip-button-has-label": !!this.label,
19298
19615
  "duet-theme-turva": this.theme === "turva",
19299
- } }, hAsync("svg", { key: 'bb183d86de565800c0b7b406f95ae2fa1ee14d4f', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '0d71e87e5bfdefc8464e9a42d8868e24d4c17476', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), hAsync("circle", { key: '092e34189723e7c5e88f442927af839bc0426d17', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '193b5f7f361c9ae2b1718fc2b5a6f479075b263a', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (hAsync("span", { class: "duet-tooltip-label" }, this.label)) : (hAsync("duet-visually-hidden", null, this.accessibleLabel)))));
19616
+ } }, hAsync("svg", { key: '38aa8adbeed3df60e30be0a72a9dc23376cf9d47', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '30e417ff8878c2ed36bd59fd92e9e1970aa6c235', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), hAsync("circle", { key: '83f4a042160be7dd998ef3247bccebd955498c5b', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '81bd29e6c558d9f3551d65d7f1172c1ba327bbec', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (hAsync("span", { class: "duet-tooltip-label" }, this.label)) : (hAsync("duet-visually-hidden", null, this.accessibleLabel)))));
19300
19617
  }
19301
19618
  get element() { return getElement(this); }
19302
19619
  static get style() { return DuetTooltipButtonStyle0; }
@@ -19363,11 +19680,11 @@ class DuetTooltipPopup {
19363
19680
  this.contentEl.focus();
19364
19681
  }
19365
19682
  render() {
19366
- return (hAsync(Host, { key: 'ac8f27a96fb59b93219859633b8735e75a4794ed' }, hAsync("div", { key: 'b7741f367063c54bb1134f83ed7939980d8c29d7', class: {
19683
+ return (hAsync(Host, { key: '3f38cf64a79c94b97a530e000c41bf9fe66dc1d3' }, hAsync("div", { key: '8263e22fea17fce355c8dca137501fcebcbac59a', class: {
19367
19684
  "duet-tooltip": true,
19368
19685
  "duet-theme-turva": this.theme === "turva",
19369
19686
  "duet-tooltip-active": this.active === true,
19370
- } }, hAsync(FocusGuard, { key: 'a04dc03abb6ae1d05fd884de1a39ca071ca77821', moveFocusTo: this.buttonEl }), hAsync("div", { key: '3a035e3a4c49a924e7e269722e1f8831e1539cb8', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '47cf71c973ee05e2f6aac639493932edb87430a0' })), hAsync("div", { key: '538cfc3ac931bf93d3bae72c43667294efff7451', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '7ca7a0576ca1b6e51c71dcffb555cd09be0232d6', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '413c242ac217f365afb66390b80bdbba76417985', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '4c676f3c7b717ba5c885750f1a3695d2f8033efb', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: '2491f3bb82311d5e1353690ca70c63a50a447d3d' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: 'c9d63b7a36d1bdec4efbd032adee2895dd7ae88b', moveFocusTo: this.contentEl }))));
19687
+ } }, hAsync(FocusGuard, { key: '45e183fcae3b5a0007ee9bc74f91211911c2c7ee', moveFocusTo: this.buttonEl }), hAsync("div", { key: 'd713e42ca6802b18c6123efd6055b19fc334df03', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: 'be6787f83b2cd73ccc626643618463eccfb03f09' })), hAsync("div", { key: '0017934953c28e0d1259b2c4d7604ef58d2e4e76', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '48a2789dc17b78d40b10b87f2a640dd2b08922b7', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: 'a83a9247e89b8a41b57e89ca7bf5e0676f3770f2', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '3ed992460103ed794a1f3f3ee13308970d0a117e', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: 'a3698d2049410e3098610bcc4c4514b767ac13ef' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '94de660c3ca5a21bbd0d9bb892e0d91b6a1b1f10', moveFocusTo: this.contentEl }))));
19371
19688
  }
19372
19689
  get element() { return getElement(this); }
19373
19690
  static get style() { return DuetTooltipPopupStyle0; }
@@ -19475,14 +19792,14 @@ class DuetTray {
19475
19792
  * Always the last one in the class.
19476
19793
  */
19477
19794
  render() {
19478
- return (hAsync("div", { key: '76b2b1dcdb1e7ee3e0ed2213ef57fceb3d74ec15', class: {
19795
+ return (hAsync("div", { key: 'af731c19d4212111de75c1139143fb61ead407f9', class: {
19479
19796
  "duet-tray": true,
19480
19797
  "duet-tray-is-active": this.active,
19481
19798
  "duet-tray-is-hidden": this.hiddenState,
19482
19799
  "duet-tray-is-responsive": this.responsive,
19483
19800
  "duet-theme-turva": this.theme === "turva",
19484
19801
  "duet-tray-is-expandable": this.hasAdditionalContent,
19485
- } }, hAsync("div", { key: 'fb8f019e8f54c8927712994cbacf8cd40f97df89', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '5b176c13e53472201ff96c30790176f829045c77' })), this.hasAdditionalContent && (hAsync(Fragment, { key: 'd75916a5a44ad90ebc4d8b3e4d3bf5d236e16183' }, hAsync("button", { key: '1acd1f45b0413fdd57e3896f770c60f8902777e7', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, hAsync("duet-icon", { key: 'a6e538aff35d301ec697e0c07af106e470596365', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: 'cf583e12a76876d5296f9834efd860708bf494ed' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '7b17f4c9b0e80e150b71e6b5cc9af3e776147753', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: '7832b0ebcbd578137e640581b810ffe9eb179b9b', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '20e79a071bd511e3b6dbd26cafe897d50eb5257d', name: "additional" })))))));
19802
+ } }, hAsync("div", { key: 'd30232c120431a614bfc0d09d76d4a7f05566438', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '7f80168e4f76c059270f5953bfd21ff246bb1c8b' })), this.hasAdditionalContent && (hAsync(Fragment, { key: 'f9471563527b0eb48b97e9a54ab79e077c84f870' }, hAsync("button", { key: 'ee0f09f493a9232167d519e2f411a4155fb78daf', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, hAsync("duet-icon", { key: 'a3e68b89194d9cabe4fb47353fb4205f144a1f2f', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: 'c2061393b18fc5b5dfb45212d4368c35539d4085' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '9071e6c8781bfc923180274f4abfd7176a910e64', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: '05da9977c8cec61537e1e5ef2764e8332d734794', class: "duet-tray-expandable-content" }, hAsync("slot", { key: 'db5336ed7b03e1bbc98c56b8ebe1af91b46e308c', name: "additional" })))))));
19486
19803
  }
19487
19804
  get element() { return getElement(this); }
19488
19805
  static get style() { return DuetTrayStyle0; }
@@ -20598,10 +20915,10 @@ class DuetUpload {
20598
20915
  this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
20599
20916
  }
20600
20917
  // @ts-ignore
20601
- return (hAsync(Host, { key: '1cf963112372b0839905ebd303f16cfae5aa5917', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '35564b78c8b82f58b93f9a7460399f57967e19bf', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: 'faf369cde5952486b48923f2c913e4c049d156f6', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: 'e472abcf75d492b1c4cb7a9b59cbe67b23d318f6', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: '421fac3a1916616bb493ba375f9b3d23e2a61fd0', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: '18b91ef0ca261cb796b9a03f2409c7172da19a82', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '080c19a8966ab4943ef3ed1698b475ecc44c346e', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && hAsync("slot", { key: '7c1f27c8b8536a6112d6a1746812b80b672fbd96', name: "filefooter" }), hAsync("slot", { key: 'd5889f6e90bc40cc6031cbfb99c3f28e80fced37', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: 'b4c43409de0dbfe70dd43939dea8c733493348cf', margin: "none", size: "small" }, hAsync("div", { key: 'f5c70becb6e99a87a9059885ca2bfc3748e0df10', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '01adfecfb33b057497a73c43c2c7caaab1c4a9e2', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '601403192ed82f9b3508e62ab701daab90c313d2' }, hAsync("duet-spacer", { key: 'b387500c9d551a371d1c2e01a5ccfdeb130826e8', size: "large" }), hAsync("duet-button", { key: '681d70016955aeaaf21fbea4edf92fd7c28ccec0', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
20918
+ return (hAsync(Host, { key: '44b4a9f8f0e99182d1db74ed7e2fb3237d90ed71', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '2231a57d1b606059e90c7406f24258d4b844cbe0', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: 'bb0e091ee3d4c96715018d1fc836d6cd5f938c75', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: 'd988bc2f8b6a4efc418a65b3ee575095b97ae06a', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: 'b274a3b81132a5119c47bd365bbdd77f08280c17', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: '5a2377d31360af5cbdae90130677853613899ec5', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '6fe002a8a312e6e067321c07e0b50ed786fd8dc3', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && hAsync("slot", { key: '730c164e68660c49ce18f8fec5d8f184a640bcd9', name: "filefooter" }), hAsync("slot", { key: '303c2be9f728196dc157cd29a39a926ca9951a88', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: 'd0e088aa37d8b789b3dc4efa9e070c74746877d0', margin: "none", size: "small" }, hAsync("div", { key: 'e3ab58aaacb792a297bcc56154073c9289dd1c32', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '5a6d988ce4deff649f20207813758e023eb3d817', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '86a890e223fb900e2420ea45564f8c4c484ddc8a' }, hAsync("duet-spacer", { key: 'fdf03610301bb1368fb28db909a35e10320df054', size: "large" }), hAsync("duet-button", { key: 'be03dc2d96b961dc22d63bf0bf4e1128e4c813d4', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
20602
20919
  this.bytesMaxReached ||
20603
20920
  this.filesToUploadExceedsLimit ||
20604
- this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '0d1fa3fccf78c8af90c14195219c988a5d53b161' }, hAsync("duet-spacer", { key: '7602cb47424ab7b5ed19654956b4235691e97f91', size: "medium" }), hAsync("duet-alert", { key: '54a5be1c79fc490445d3f9fb36efa0c113d619d0', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), hAsync("duet-visually-hidden", { key: '78a670de5fef020407da2b18bd07d6b056c818ed', "aria-hidden": "true" }, hAsync("input", { key: '04ce3da566f26a64f42a30eba51914031ad1dcc9', ref: input => {
20921
+ this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '86937ba57803f4ca6379dcab097cf0d08d0962d7' }, hAsync("duet-spacer", { key: '64e72354abfe4dad9e6c1d430e89900b38c50dec', size: "medium" }), hAsync("duet-alert", { key: '02be9578a9bf4afdcda8ff3a9d280525a39e430c', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), hAsync("duet-visually-hidden", { key: '619dec515fc6147867da776c79f883d54a2ba9d3', "aria-hidden": "true" }, hAsync("input", { key: '8e13ce6903fa6218b0e56035416dcddd154317a2', ref: input => {
20605
20922
  this.nativeInput = input;
20606
20923
  }, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
20607
20924
  "duet-upload": true,
@@ -20922,7 +21239,7 @@ class DuetUploadAriaStatus {
20922
21239
  * Always the last one in the class.
20923
21240
  */
20924
21241
  render() {
20925
- return (hAsync(Host, { key: '54219bf80b49085192ad6679322a4dbeee895828', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '611c6211f06a2a1484fc68317f911cfc5d671abd' }, this.statusMessage)));
21242
+ return (hAsync(Host, { key: '4feb88f0c76da26c8690f220de8df580ee7afc7a', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '9461edbf779b8c47c536def78cbe9643311d76d9' }, this.statusMessage)));
20926
21243
  }
20927
21244
  get element() { return getElement(this); }
20928
21245
  static get watchers() { return {
@@ -21101,9 +21418,9 @@ class DuetUploadItem {
21101
21418
  const { uid, meta, item } = this.data;
21102
21419
  const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
21103
21420
  const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
21104
- return (hAsync("div", { key: '1f218828b275a4e375e1abc5bdfc07efd523cc65', class: {
21421
+ return (hAsync("div", { key: '3bd049f474c0e5ae36c863e12c83f420338f2120', class: {
21105
21422
  "upload-item-row": true,
21106
- } }, this.showCategory && (hAsync("div", { key: '658d56994cf4d0ba61795e1acb9fe240af8ff721', class: "item-categories" }, hAsync("duet-heading", { key: '43c031580760f22c5e947204718a95d7dd04d344', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: '1c1a0d54400f909928885b373f98b250bd06cec0', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '4255fa3f11831fc197e8f757bb4fbb6261592ead', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '5195ccc35498ad7538d7aba059262d4704d600a8', class: "item-actions" }, this.actions.map(actionItem => {
21423
+ } }, this.showCategory && (hAsync("div", { key: 'cabbda342b80dc26a8742b8c68f6f3ae836a78e5', class: "item-categories" }, hAsync("duet-heading", { key: '9d9f798db399bf1c277b1a1b2699c15a8f8aff7d', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: 'e01fab2744f4cafdadb2defd3fd3da9262cdad68', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: 'e9f12029fc48fa148169a7e962fa42c4a4acd05c', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '61536d97451f6b2be7a7cf2c616860d9f31fb174', class: "item-actions" }, this.actions.map(actionItem => {
21107
21424
  return (hAsync("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
21108
21425
  }))));
21109
21426
  }
@@ -21144,7 +21461,7 @@ class DuetVisuallyHidden {
21144
21461
  * Always the last one in the class.
21145
21462
  */
21146
21463
  render() {
21147
- return (hAsync(Host, { key: '46842b0272fd13e72381c3688fb9fb8caf2ac677', class: "duet-visually-hidden" }, hAsync("slot", { key: '605e24ace98edce4bba2f121aa8c6f55a46d8360' })));
21464
+ return (hAsync(Host, { key: '8a0bd4e0f74cdc83a22f6cc5e7481c17eb5eb6f5', class: "duet-visually-hidden" }, hAsync("slot", { key: '76e13ab1452a3da667ed516ca51090c5046eba13' })));
21148
21465
  }
21149
21466
  get element() { return getElement(this); }
21150
21467
  static get style() { return DuetVisuallyHiddenStyle0; }
@@ -21369,7 +21686,7 @@ var NAMESPACE = (
21369
21686
  );
21370
21687
 
21371
21688
  /*
21372
- Stencil Hydrate Runner v4.22.2 | MIT Licensed | https://stenciljs.com
21689
+ Stencil Hydrate Runner v4.23.0 | MIT Licensed | https://stenciljs.com
21373
21690
  */
21374
21691
  var __defProp = Object.defineProperty;
21375
21692
  var __export = (target, all) => {
@@ -31799,7 +32116,7 @@ function serializeNodeToHtml(elm, serializationOptions = {}) {
31799
32116
  text: []
31800
32117
  };
31801
32118
  let renderedNode = "";
31802
- const children = !opts.fullDocument && elm.body ? Array.from(elm.body.childNodes) : opts.outerHtml ? [elm] : Array.from(elm.childNodes);
32119
+ const children = !opts.fullDocument && elm.body ? Array.from(elm.body.childNodes) : opts.outerHtml ? [elm] : Array.from(getChildNodes(elm));
31803
32120
  for (let i = 0, ii = children.length; i < ii; i++) {
31804
32121
  const child = children[i];
31805
32122
  const chunks = Array.from(streamToHtml(child, opts, output));
@@ -31832,7 +32149,7 @@ function* streamToHtml(node, opts, output) {
31832
32149
  const tag = tagName === shadowRootTag ? "template" : tagName;
31833
32150
  yield "<" + tag;
31834
32151
  output.currentLineWidth += tag.length + 1;
31835
- if (tag === "template") {
32152
+ if (tag === "template" && (!node.getAttribute || !node.getAttribute("shadowrootmode"))) {
31836
32153
  const mode = ` shadowrootmode="open"`;
31837
32154
  yield mode;
31838
32155
  output.currentLineWidth += mode.length;
@@ -31916,7 +32233,8 @@ style="${cssText}">`;
31916
32233
  output.indent = output.indent + ((_c = opts.indentSpaces) != null ? _c : 0);
31917
32234
  yield* streamToHtml(shadowRoot, opts, output);
31918
32235
  output.indent = output.indent - ((_d = opts.indentSpaces) != null ? _d : 0);
31919
- if (opts.newLines && (node.childNodes.length === 0 || node.childNodes.length === 1 && node.childNodes[0].nodeType === 3 /* TEXT_NODE */ && ((_e = node.childNodes[0].nodeValue) == null ? void 0 : _e.trim()) === "")) {
32236
+ const childNodes = getChildNodes(node);
32237
+ if (opts.newLines && (childNodes.length === 0 || childNodes.length === 1 && childNodes[0].nodeType === 3 /* TEXT_NODE */ && ((_e = childNodes[0].nodeValue) == null ? void 0 : _e.trim()) === "")) {
31920
32238
  yield "\n";
31921
32239
  output.currentLineWidth = 0;
31922
32240
  for (let i = 0; i < output.indent; i++) {
@@ -31927,7 +32245,7 @@ style="${cssText}">`;
31927
32245
  }
31928
32246
  if (opts.excludeTagContent == null || opts.excludeTagContent.includes(tagName) === false) {
31929
32247
  const tag = tagName === shadowRootTag ? "template" : tagName;
31930
- const childNodes = tagName === "template" ? node.content.childNodes : node.childNodes;
32248
+ const childNodes = tagName === "template" ? node.content.childNodes : getChildNodes(node);
31931
32249
  const childNodeLength = childNodes.length;
31932
32250
  if (childNodeLength > 0) {
31933
32251
  if (childNodeLength === 1 && childNodes[0].nodeType === 3 /* TEXT_NODE */ && (typeof childNodes[0].nodeValue !== "string" || childNodes[0].nodeValue.trim() === "")) {
@@ -32100,6 +32418,9 @@ function isWithinWhitespaceSensitive(node) {
32100
32418
  }
32101
32419
  return false;
32102
32420
  }
32421
+ function getChildNodes(node) {
32422
+ return node.__childNodes || node.childNodes;
32423
+ }
32103
32424
  var NON_ESCAPABLE_CONTENT = /* @__PURE__ */ new Set([
32104
32425
  "STYLE",
32105
32426
  "SCRIPT",
@@ -32369,10 +32690,12 @@ var MockElement = class extends MockNode2 {
32369
32690
  attachInternals() {
32370
32691
  return new Proxy({}, {
32371
32692
  get: function(_target, prop, _receiver) {
32372
- console.error(
32373
- `NOTE: Property ${String(prop)} was accessed on ElementInternals, but this property is not implemented.
32374
- Testing components with ElementInternals is fully supported in e2e tests.`
32375
- );
32693
+ if ("process" in globalThis && globalThis.process.env.__STENCIL_SPEC_TESTS__) {
32694
+ console.error(
32695
+ `NOTE: Property ${String(prop)} was accessed on ElementInternals, but this property is not implemented.
32696
+ Testing components with ElementInternals is fully supported in e2e tests.`
32697
+ );
32698
+ }
32376
32699
  }
32377
32700
  });
32378
32701
  }
@@ -33342,6 +33665,9 @@ var MockAnchorElement = class extends MockHTMLElement {
33342
33665
  this.setAttribute("href", value);
33343
33666
  }
33344
33667
  get pathname() {
33668
+ if (!this.href) {
33669
+ return "";
33670
+ }
33345
33671
  return new URL(this.href).pathname;
33346
33672
  }
33347
33673
  };
@@ -35576,11 +35902,11 @@ var unwrapErr = (result) => {
35576
35902
  throw result.value;
35577
35903
  }
35578
35904
  };
35905
+ var CAPTURE_EVENT_SUFFIX = "Capture";
35906
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
35579
35907
 
35580
35908
  // src/runtime/mode.ts
35581
35909
  var setMode = (handler) => modeResolutionChain.push(handler);
35582
- var CAPTURE_EVENT_SUFFIX = "Capture";
35583
- var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
35584
35910
 
35585
35911
  // src/compiler/html/canonical-link.ts
35586
35912
  var updateCanonicalLink = (doc2, href) => {