@duetds/components 10.0.0-alpha.3 → 10.0.0-alpha.30

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 (1231) hide show
  1. package/hydrate/index.d.ts +38 -7
  2. package/hydrate/index.js +11784 -4278
  3. package/hydrate/index.mjs +46035 -0
  4. package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
  5. package/lib/cjs/{a11y-utils-8177cf00.js → a11y-utils-D2e4DE4A.js} +1 -1
  6. package/lib/cjs/action-arrow-down-small-CDsSJFvZ.js +21 -0
  7. package/lib/cjs/action-new-window-small-BWlVx6YN.js +21 -0
  8. package/lib/cjs/{app-globals-718a3704.js → app-globals-P2FPiN9v.js} +2 -2
  9. package/lib/cjs/{common-strings-2984301e.js → common-strings-CSqtNIxt.js} +29 -0
  10. package/lib/cjs/duet-action-button.cjs.entry.js +84 -29
  11. package/lib/cjs/duet-alert.cjs.entry.js +102 -48
  12. package/lib/cjs/duet-badge.cjs.entry.js +31 -9
  13. package/lib/cjs/duet-banner.cjs.entry.js +64 -27
  14. package/lib/cjs/duet-breadcrumb.cjs.entry.js +37 -26
  15. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +20 -14
  16. package/lib/cjs/duet-button_2.cjs.entry.js +162 -68
  17. package/lib/cjs/duet-callout.cjs.entry.js +13 -10
  18. package/lib/cjs/duet-caption_4.cjs.entry.js +211 -75
  19. package/lib/cjs/duet-card.cjs.entry.js +95 -34
  20. package/lib/cjs/duet-checkbox.cjs.entry.js +68 -32
  21. package/lib/cjs/duet-checkmark.cjs.entry.js +21 -9
  22. package/lib/cjs/duet-chip.cjs.entry.js +356 -0
  23. package/lib/cjs/duet-choice_2.cjs.entry.js +276 -128
  24. package/lib/cjs/duet-collapsible.cjs.entry.js +94 -29
  25. package/lib/cjs/duet-combobox.cjs.entry.js +85 -48
  26. package/lib/cjs/duet-contact-card.cjs.entry.js +17 -18
  27. package/lib/cjs/duet-cookie-consent.cjs.entry.js +14 -11
  28. package/lib/cjs/duet-date-picker.cjs.entry.js +163 -57
  29. package/lib/cjs/duet-divider_2.cjs.entry.js +30 -14
  30. package/lib/cjs/duet-editable-table_3.cjs.entry.js +553 -210
  31. package/lib/cjs/duet-empty-state.cjs.entry.js +15 -9
  32. package/lib/cjs/duet-fieldset.cjs.entry.js +51 -18
  33. package/lib/cjs/duet-file-chooser.cjs.entry.js +18 -11
  34. package/lib/cjs/duet-footer.cjs.entry.js +56 -30
  35. package/lib/cjs/duet-grid_2.cjs.entry.js +164 -64
  36. package/lib/cjs/duet-header_2.cjs.entry.js +302 -91
  37. package/lib/cjs/duet-hero.cjs.entry.js +149 -32
  38. package/lib/cjs/duet-icon.cjs.entry.js +64 -20
  39. package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
  40. package/lib/cjs/duet-input_2.cjs.entry.js +204 -86
  41. package/lib/cjs/duet-layout.cjs.entry.js +33 -13
  42. package/lib/cjs/duet-list_2.cjs.entry.js +58 -14
  43. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +24 -16
  44. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +19 -14
  45. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +21 -16
  46. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +40 -19
  47. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +18 -10
  48. package/lib/cjs/duet-menu-bar.cjs.entry.js +37 -58
  49. package/lib/cjs/duet-modal.cjs.entry.js +122 -35
  50. package/lib/cjs/duet-multiselect.cjs.entry.js +88 -42
  51. package/lib/cjs/duet-nav.cjs.entry.js +12 -8
  52. package/lib/cjs/duet-notification_2.cjs.entry.js +91 -32
  53. package/lib/cjs/duet-number-input.cjs.entry.js +185 -70
  54. package/lib/cjs/duet-overlay.cjs.entry.js +36 -14
  55. package/lib/cjs/duet-page-heading.cjs.entry.js +16 -11
  56. package/lib/cjs/duet-pagination_2.cjs.entry.js +162 -87
  57. package/lib/cjs/duet-panel.cjs.entry.js +53 -0
  58. package/lib/cjs/duet-phone-input.cjs.entry.js +2072 -0
  59. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +552 -0
  60. package/lib/cjs/duet-progress.cjs.entry.js +32 -13
  61. package/lib/cjs/duet-promo-card.cjs.entry.js +27 -13
  62. package/lib/cjs/duet-radio_2.cjs.entry.js +114 -55
  63. package/lib/cjs/duet-range-slider.cjs.entry.js +73 -37
  64. package/lib/cjs/duet-scrollable_3.cjs.entry.js +269 -130
  65. package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
  66. package/lib/cjs/duet-select.cjs.entry.js +89 -43
  67. package/lib/cjs/duet-shaped-image.cjs.entry.js +16 -11
  68. package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
  69. package/lib/cjs/duet-share-chart.cjs.entry.js +85 -0
  70. package/lib/cjs/duet-show-more.cjs.entry.js +81 -38
  71. package/lib/cjs/duet-slideout-lang.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-slideout-link.cjs.entry.js +61 -10
  73. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +25 -14
  74. package/lib/cjs/duet-slideout-panel.cjs.entry.js +50 -36
  75. package/lib/cjs/duet-slideout.cjs.entry.js +110 -60
  76. package/lib/cjs/duet-status-icon.cjs.entry.js +99 -0
  77. package/lib/cjs/duet-step_2.cjs.entry.js +72 -24
  78. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +25 -10
  79. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +27 -18
  80. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +40 -19
  81. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +18 -9
  82. package/lib/cjs/duet-submenu-bar.cjs.entry.js +27 -21
  83. package/lib/cjs/duet-textarea.cjs.entry.js +109 -50
  84. package/lib/cjs/duet-toggle.cjs.entry.js +50 -29
  85. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +22 -11
  86. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +27 -16
  87. package/lib/cjs/duet-toolbar-item.cjs.entry.js +46 -19
  88. package/lib/cjs/duet-toolbar-link.cjs.entry.js +21 -10
  89. package/lib/cjs/duet-toolbar.cjs.entry.js +12 -10
  90. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +24 -27
  91. package/lib/cjs/duet-tooltip.cjs.entry.js +98 -46
  92. package/lib/cjs/duet-tray.cjs.entry.js +63 -24
  93. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +30 -11
  94. package/lib/cjs/duet-upload-item.cjs.entry.js +12 -22
  95. package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -7
  96. package/lib/cjs/duet.cjs.js +8 -8
  97. package/lib/cjs/{errorcodes.utils-4e8a9de4.js → errorcodes.utils-B_Hqvx-5.js} +2 -2
  98. package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
  99. package/lib/cjs/{focus-utils-2a0030aa.js → focus-utils-B7QfRXd-.js} +1 -1
  100. package/lib/cjs/form-search-CzPfHB80.js +21 -0
  101. package/lib/cjs/index-B1t_Yumd.js +3107 -0
  102. package/lib/cjs/{keyboard-utils-681e11ec.js → keyboard-utils-D9UlHbik.js} +4 -0
  103. package/lib/cjs/{label-2abeac23.js → label-e--2ISFA.js} +1 -1
  104. package/lib/cjs/{language-utils-b5940c7b.js → language-utils-Ce6b_uA3.js} +10 -2
  105. package/lib/cjs/loader.cjs.js +3 -5
  106. package/lib/cjs/{slot-utils-382633cf.js → slot-utils-C8k-6Rvc.js} +6 -1
  107. package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
  108. package/lib/cjs/themeable-component-DmPMm0Cz.js +74 -0
  109. package/lib/cjs/{token-utils-5000595c.js → token-utils-COKjUxmn.js} +80 -9
  110. package/lib/cjs/{tokens-57e06fe4.js → tokens-9aevMbB1.js} +150 -8
  111. package/lib/cjs/{tokens.module-7c947029.js → tokens.module-Bhh9B2g8.js} +99 -3
  112. package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
  113. package/lib/collection/collection-manifest.json +7 -1
  114. package/lib/collection/common/themeable-component.js +61 -3
  115. package/lib/collection/common-strings.js +27 -0
  116. package/lib/collection/components/duet-action-button/duet-action-button.css +29 -12
  117. package/lib/collection/components/duet-action-button/duet-action-button.js +92 -33
  118. package/lib/collection/components/duet-alert/duet-alert.css +88 -59
  119. package/lib/collection/components/duet-alert/duet-alert.js +141 -57
  120. package/lib/collection/components/duet-badge/duet-badge.css +21 -9
  121. package/lib/collection/components/duet-badge/duet-badge.js +30 -6
  122. package/lib/collection/components/duet-banner/duet-banner.css +30 -24
  123. package/lib/collection/components/duet-banner/duet-banner.js +68 -28
  124. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -8
  125. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +26 -28
  126. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +18 -7
  127. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
  128. package/lib/collection/components/duet-button/duet-button.css +149 -48
  129. package/lib/collection/components/duet-button/duet-button.js +175 -91
  130. package/lib/collection/components/duet-callout/duet-callout.css +7 -2
  131. package/lib/collection/components/duet-callout/duet-callout.js +10 -4
  132. package/lib/collection/components/duet-caption/duet-caption.css +7 -3
  133. package/lib/collection/components/duet-caption/duet-caption.js +18 -6
  134. package/lib/collection/components/duet-card/duet-card.css +45 -16
  135. package/lib/collection/components/duet-card/duet-card.js +115 -37
  136. package/lib/collection/components/duet-checkbox/duet-checkbox.css +26 -8
  137. package/lib/collection/components/duet-checkbox/duet-checkbox.js +86 -47
  138. package/lib/collection/components/duet-chip/duet-chip.css +63 -25
  139. package/lib/collection/components/duet-chip/duet-chip.js +70 -36
  140. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  141. package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
  142. package/lib/collection/components/duet-choice/duet-choice.css +90 -38
  143. package/lib/collection/components/duet-choice/duet-choice.js +228 -133
  144. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  145. package/lib/collection/components/duet-choice-group/duet-choice-group.js +108 -47
  146. package/lib/collection/components/duet-collapsible/duet-collapsible.css +49 -13
  147. package/lib/collection/components/duet-collapsible/duet-collapsible.js +116 -28
  148. package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
  149. package/lib/collection/components/duet-combobox/duet-combobox.js +88 -46
  150. package/lib/collection/components/duet-contact-card/duet-contact-card.css +8 -4
  151. package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
  152. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +23 -14
  153. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +11 -5
  154. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  155. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  156. package/lib/collection/components/duet-date-picker/duet-date-picker.css +99 -46
  157. package/lib/collection/components/duet-date-picker/duet-date-picker.js +177 -69
  158. package/lib/collection/components/duet-divider/duet-divider.css +12 -6
  159. package/lib/collection/components/duet-divider/duet-divider.js +14 -4
  160. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  161. package/lib/collection/components/duet-editable-table/duet-editable-table.js +83 -26
  162. package/lib/collection/components/duet-empty-state/duet-empty-state.css +11 -6
  163. package/lib/collection/components/duet-empty-state/duet-empty-state.js +14 -5
  164. package/lib/collection/components/duet-fieldset/duet-fieldset.css +13 -6
  165. package/lib/collection/components/duet-fieldset/duet-fieldset.js +58 -20
  166. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  167. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +17 -7
  168. package/lib/collection/components/duet-footer/duet-footer.css +43 -14
  169. package/lib/collection/components/duet-footer/duet-footer.js +55 -27
  170. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  171. package/lib/collection/components/duet-grid/duet-grid.js +144 -68
  172. package/lib/collection/components/duet-grid-item/duet-grid-item.css +6 -2
  173. package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
  174. package/lib/collection/components/duet-header/duet-header.css +165 -65
  175. package/lib/collection/components/duet-header/duet-header.js +165 -76
  176. package/lib/collection/components/duet-heading/duet-heading.css +11 -5
  177. package/lib/collection/components/duet-heading/duet-heading.js +56 -12
  178. package/lib/collection/components/duet-hero/duet-hero.css +326 -18
  179. package/lib/collection/components/duet-hero/duet-hero.js +170 -53
  180. package/lib/collection/components/duet-icon/duet-icon.css +17 -5
  181. package/lib/collection/components/duet-icon/duet-icon.js +71 -24
  182. package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
  183. package/lib/collection/components/duet-indicator/duet-indicator.js +104 -0
  184. package/lib/collection/components/duet-input/duet-input.css +155 -53
  185. package/lib/collection/components/duet-input/duet-input.js +241 -138
  186. package/lib/collection/components/duet-label/duet-label.css +8 -4
  187. package/lib/collection/components/duet-label/duet-label.js +23 -8
  188. package/lib/collection/components/duet-layout/duet-layout.css +4 -7
  189. package/lib/collection/components/duet-layout/duet-layout.js +35 -12
  190. package/lib/collection/components/duet-link/duet-link.css +166 -22
  191. package/lib/collection/components/duet-link/duet-link.js +121 -70
  192. package/lib/collection/components/duet-list/duet-list.css +4 -4
  193. package/lib/collection/components/duet-list/duet-list.js +38 -9
  194. package/lib/collection/components/duet-list-item/duet-list-item.css +25 -5
  195. package/lib/collection/components/duet-list-item/duet-list-item.js +50 -4
  196. package/lib/collection/components/duet-logo/duet-logo.css +33 -8
  197. package/lib/collection/components/duet-logo/duet-logo.js +111 -11
  198. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +110 -8
  199. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +59 -57
  200. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +17 -8
  201. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +33 -22
  202. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +28 -12
  203. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +20 -12
  204. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +19 -9
  205. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +18 -10
  206. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +28 -10
  207. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +39 -16
  208. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +25 -10
  209. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
  210. package/lib/collection/components/duet-modal/duet-modal.css +23 -25
  211. package/lib/collection/components/duet-modal/duet-modal.js +193 -39
  212. package/lib/collection/components/duet-multiselect/duet-multiselect.css +67 -29
  213. package/lib/collection/components/duet-multiselect/duet-multiselect.js +98 -48
  214. package/lib/collection/components/duet-nav/duet-nav.css +8 -4
  215. package/lib/collection/components/duet-nav/duet-nav.js +10 -3
  216. package/lib/collection/components/duet-notification/duet-notification.css +33 -26
  217. package/lib/collection/components/duet-notification/duet-notification.js +39 -9
  218. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +38 -36
  219. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +57 -24
  220. package/lib/collection/components/duet-number-input/duet-number-input.css +26 -14
  221. package/lib/collection/components/duet-number-input/duet-number-input.js +190 -95
  222. package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
  223. package/lib/collection/components/duet-overlay/duet-overlay.js +40 -15
  224. package/lib/collection/components/duet-page-heading/duet-page-heading.css +44 -16
  225. package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
  226. package/lib/collection/components/duet-pagination/duet-pagination.css +8 -4
  227. package/lib/collection/components/duet-pagination/duet-pagination.js +130 -76
  228. package/lib/collection/components/duet-panel/duet-panel.css +98 -0
  229. package/lib/collection/components/duet-panel/duet-panel.js +234 -0
  230. package/lib/collection/components/duet-paragraph/duet-paragraph.css +19 -6
  231. package/lib/collection/components/duet-paragraph/duet-paragraph.js +29 -8
  232. package/lib/collection/components/duet-phone-input/duet-phone-input.css +61 -0
  233. package/lib/collection/components/duet-phone-input/duet-phone-input.js +930 -0
  234. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +14 -6
  235. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +235 -76
  236. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +30 -12
  237. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +64 -29
  238. package/lib/collection/components/duet-progress/duet-progress.css +27 -8
  239. package/lib/collection/components/duet-progress/duet-progress.js +36 -14
  240. package/lib/collection/components/duet-promo-card/duet-promo-card.css +15 -12
  241. package/lib/collection/components/duet-promo-card/duet-promo-card.js +28 -11
  242. package/lib/collection/components/duet-radio/duet-radio.css +35 -8
  243. package/lib/collection/components/duet-radio/duet-radio.js +67 -49
  244. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  245. package/lib/collection/components/duet-radio-group/duet-radio-group.js +78 -30
  246. package/lib/collection/components/duet-range-slider/duet-range-slider.css +60 -18
  247. package/lib/collection/components/duet-range-slider/duet-range-slider.js +85 -46
  248. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +8 -4
  249. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +43 -14
  250. package/lib/collection/components/duet-scrollable/duet-scrollable.css +84 -47
  251. package/lib/collection/components/duet-scrollable/duet-scrollable.js +160 -43
  252. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -7
  253. package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
  254. package/lib/collection/components/duet-select/duet-select.css +51 -23
  255. package/lib/collection/components/duet-select/duet-select.js +109 -60
  256. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  257. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
  258. package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
  259. package/lib/collection/components/duet-share-chart/duet-share-chart.js +141 -0
  260. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
  261. package/lib/collection/components/duet-show-more/duet-show-more.css +15 -8
  262. package/lib/collection/components/duet-show-more/duet-show-more.js +87 -37
  263. package/lib/collection/components/duet-slideout/duet-slideout.css +68 -33
  264. package/lib/collection/components/duet-slideout/duet-slideout.js +109 -54
  265. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +10 -6
  266. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
  267. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +41 -13
  268. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +135 -12
  269. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +63 -40
  270. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +47 -30
  271. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +29 -16
  272. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +25 -11
  273. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  274. package/lib/collection/components/duet-spacer/duet-spacer.js +14 -4
  275. package/lib/collection/components/duet-spinner/duet-spinner.css +7 -4
  276. package/lib/collection/components/duet-spinner/duet-spinner.js +21 -10
  277. package/lib/collection/components/duet-status-icon/duet-status-icon.js +197 -0
  278. package/lib/collection/components/duet-step/duet-step.css +28 -13
  279. package/lib/collection/components/duet-step/duet-step.js +25 -16
  280. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  281. package/lib/collection/components/duet-stepper/duet-stepper.js +45 -10
  282. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +34 -16
  283. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +25 -16
  284. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +49 -15
  285. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +25 -13
  286. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +29 -8
  287. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +26 -8
  288. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +33 -10
  289. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +38 -15
  290. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +34 -9
  291. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
  292. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  293. package/lib/collection/components/duet-tab/duet-tab.js +88 -24
  294. package/lib/collection/components/duet-tab-group/duet-tab-group.css +232 -129
  295. package/lib/collection/components/duet-tab-group/duet-tab-group.js +228 -83
  296. package/lib/collection/components/duet-table/duet-table-styles.js +68 -4
  297. package/lib/collection/components/duet-table/duet-table.js +42 -13
  298. package/lib/collection/components/duet-textarea/duet-textarea.css +61 -22
  299. package/lib/collection/components/duet-textarea/duet-textarea.js +159 -74
  300. package/lib/collection/components/duet-toggle/duet-toggle.css +23 -10
  301. package/lib/collection/components/duet-toggle/duet-toggle.js +62 -38
  302. package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -4
  303. package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
  304. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +36 -12
  305. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +28 -14
  306. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +21 -8
  307. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +23 -9
  308. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +52 -30
  309. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
  310. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +42 -10
  311. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
  312. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +24 -14
  313. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
  314. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +48 -16
  315. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +18 -14
  316. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  317. package/lib/collection/components/duet-tooltip/duet-tooltip.js +100 -45
  318. package/lib/collection/components/duet-tray/duet-tray.css +43 -27
  319. package/lib/collection/components/duet-tray/duet-tray.js +63 -21
  320. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  321. package/lib/collection/components/duet-upload/duet-upload.js +419 -213
  322. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +35 -13
  323. package/lib/collection/components/duet-upload-item/duet-upload-item.js +17 -18
  324. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  325. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  326. package/lib/collection/data/countries.js +1762 -0
  327. package/lib/collection/index.js +1 -0
  328. package/lib/collection/utils/keyboard-utils.js +3 -0
  329. package/lib/collection/utils/language-utils.js +7 -0
  330. package/lib/collection/utils/slot-utils.js +4 -0
  331. package/lib/collection/utils/teleport.js +22 -7
  332. package/lib/collection/utils/test-utils.js +2 -2
  333. package/lib/collection/utils/token-utils.js +59 -7
  334. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  335. package/lib/duet/duet.esm.js +1 -1
  336. package/lib/duet/p-05b44a92.entry.js +4 -0
  337. package/lib/duet/p-0c4bde0e.entry.js +4 -0
  338. package/lib/duet/p-0cf754a3.entry.js +4 -0
  339. package/lib/duet/p-11303551.entry.js +4 -0
  340. package/lib/duet/p-11dc2ca3.entry.js +4 -0
  341. package/lib/duet/p-14b9af85.entry.js +4 -0
  342. package/lib/duet/p-17b2fad7.entry.js +4 -0
  343. package/lib/duet/p-19c8adaa.entry.js +4 -0
  344. package/lib/duet/p-1UeoYjt6.js +4 -0
  345. package/lib/duet/p-25bfc839.entry.js +4 -0
  346. package/lib/duet/p-2690a420.entry.js +4 -0
  347. package/lib/duet/p-2f0a1808.entry.js +4 -0
  348. package/lib/duet/p-2f34aa4c.entry.js +4 -0
  349. package/lib/duet/p-37bdc3b9.entry.js +4 -0
  350. package/lib/duet/p-39e7cc4b.entry.js +4 -0
  351. package/lib/duet/p-3c5f5035.entry.js +4 -0
  352. package/lib/duet/p-3e08bd06.entry.js +4 -0
  353. package/lib/duet/p-3f932150.entry.js +4 -0
  354. package/lib/duet/p-414f4b06.entry.js +4 -0
  355. package/lib/duet/p-4457a9cc.entry.js +4 -0
  356. package/lib/duet/p-450983a5.entry.js +4 -0
  357. package/lib/duet/p-492d90a6.entry.js +4 -0
  358. package/lib/duet/p-4a743428.entry.js +4 -0
  359. package/lib/duet/p-4b4d9bdc.entry.js +4 -0
  360. package/lib/duet/p-4d4f7a6e.entry.js +4 -0
  361. package/lib/duet/p-4efa7172.entry.js +4 -0
  362. package/lib/duet/p-513683f8.entry.js +4 -0
  363. package/lib/duet/p-51e85e15.entry.js +4 -0
  364. package/lib/duet/{p-6be341c4.entry.js → p-52bb0826.entry.js} +1 -1
  365. package/lib/duet/p-52e64670.entry.js +4 -0
  366. package/lib/duet/p-52f52f3f.entry.js +4 -0
  367. package/lib/duet/p-559a54d1.entry.js +4 -0
  368. package/lib/duet/p-56331c29.entry.js +4 -0
  369. package/lib/duet/p-5c4687b0.entry.js +4 -0
  370. package/lib/duet/p-5f2507ee.entry.js +4 -0
  371. package/lib/duet/p-5iZMFvpJ.js +4 -0
  372. package/lib/duet/p-625bf656.entry.js +4 -0
  373. package/lib/duet/p-638d143f.entry.js +4 -0
  374. package/lib/duet/p-63d75040.entry.js +4 -0
  375. package/lib/duet/p-64482bf0.entry.js +4 -0
  376. package/lib/duet/p-64db9820.entry.js +4 -0
  377. package/lib/duet/p-653a4f52.entry.js +4 -0
  378. package/lib/duet/p-67cbf570.entry.js +4 -0
  379. package/lib/duet/p-6d0a6cef.entry.js +4 -0
  380. package/lib/duet/p-7ab7b977.entry.js +4 -0
  381. package/lib/duet/p-7d8ba1c8.entry.js +4 -0
  382. package/lib/duet/p-80157aab.entry.js +4 -0
  383. package/lib/duet/p-81fdf21e.entry.js +4 -0
  384. package/lib/duet/p-835532a3.entry.js +4 -0
  385. package/lib/duet/p-87d63c67.entry.js +4 -0
  386. package/lib/duet/p-88b2a4ab.entry.js +4 -0
  387. package/lib/duet/p-89119c58.entry.js +4 -0
  388. package/lib/duet/p-8a22e0f7.entry.js +4 -0
  389. package/lib/duet/p-9278d908.entry.js +4 -0
  390. package/lib/duet/p-93d1d4cb.entry.js +4 -0
  391. package/lib/duet/p-963f5510.entry.js +4 -0
  392. package/lib/duet/p-9bdedc1c.entry.js +4 -0
  393. package/lib/duet/p-9c452a9d.entry.js +4 -0
  394. package/lib/duet/p-9fd3fbde.entry.js +4 -0
  395. package/lib/duet/p-9fe9aaec.entry.js +4 -0
  396. package/lib/duet/p-9ff0f670.entry.js +4 -0
  397. package/lib/duet/p-BVgBUIYF.js +4 -0
  398. package/lib/duet/p-BW-c05c3.js +4 -0
  399. package/lib/duet/p-BWvtXbhA.js +4 -0
  400. package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
  401. package/lib/duet/p-Bh9dkusU.js +4 -0
  402. package/lib/duet/p-BmMFVM-y.js +4 -0
  403. package/lib/duet/p-Bt_DCuTi.js +4 -0
  404. package/lib/duet/p-CZ7vOBA_.js +4 -0
  405. package/lib/duet/p-CcCc0HYj.js +4 -0
  406. package/lib/duet/p-CjRTMlgs.js +5 -0
  407. package/lib/duet/p-CooAqTCj.js +4 -0
  408. package/lib/duet/p-Db8rvjPI.js +4 -0
  409. package/lib/duet/p-DcQPCCbT.js +4 -0
  410. package/lib/duet/p-Df3Doz7n.js +4 -0
  411. package/lib/duet/{p-8c9eb171.js → p-DmZj36y3.js} +1 -1
  412. package/lib/duet/p-DvwKrUS6.js +4 -0
  413. package/lib/duet/p-DzEPksgg.js +4 -0
  414. package/lib/duet/p-a22b9c52.entry.js +4 -0
  415. package/lib/duet/p-a39af7a5.entry.js +4 -0
  416. package/lib/{esm-es5/duet-grid_2.entry.js → duet/p-a49e7633.entry.js} +2 -2
  417. package/lib/duet/p-a5ebee52.entry.js +4 -0
  418. package/lib/duet/p-ac7bf279.entry.js +4 -0
  419. package/lib/duet/p-ae22406a.entry.js +4 -0
  420. package/lib/duet/p-b17749b1.entry.js +4 -0
  421. package/lib/duet/p-b8e1621d.entry.js +4 -0
  422. package/lib/duet/p-ba0fc0f3.entry.js +4 -0
  423. package/lib/duet/p-bba12747.entry.js +4 -0
  424. package/lib/duet/p-bf4c10ea.entry.js +4 -0
  425. package/lib/duet/p-c2afba51.entry.js +4 -0
  426. package/lib/duet/p-c74cd476.entry.js +4 -0
  427. package/lib/duet/p-c8c7616a.entry.js +4 -0
  428. package/lib/duet/p-ca8ad275.entry.js +4 -0
  429. package/lib/duet/p-cf054af5.entry.js +4 -0
  430. package/lib/duet/p-d27678ec.entry.js +4 -0
  431. package/lib/duet/p-d49e4c1a.entry.js +4 -0
  432. package/lib/duet/p-da90aae6.entry.js +4 -0
  433. package/lib/duet/p-dceb943b.entry.js +4 -0
  434. package/lib/duet/{p-ff4f7076.entry.js → p-df64aa65.entry.js} +1 -1
  435. package/lib/duet/p-e04410c6.entry.js +4 -0
  436. package/lib/duet/p-e057762a.entry.js +4 -0
  437. package/lib/duet/p-ea09620e.entry.js +4 -0
  438. package/lib/duet/p-ebd27669.entry.js +4 -0
  439. package/lib/duet/p-ec601f3c.entry.js +4 -0
  440. package/lib/duet/p-ec7bdfaf.entry.js +4 -0
  441. package/lib/duet/p-qH1epSqB.js +4 -0
  442. package/lib/duet/p-vVCYtBMj.js +4 -0
  443. package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
  444. package/lib/{dist-custom-elements/p-afb6f7fb.js → esm/a11y-utils-CfJGGdQJ.js} +1 -1
  445. package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
  446. package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
  447. package/lib/esm/{app-globals-00959ca9.js → app-globals-DGW8k4EA.js} +2 -2
  448. package/lib/esm/common-strings-BWvtXbhA.js +52 -0
  449. package/lib/esm/duet-action-button.entry.js +84 -27
  450. package/lib/esm/duet-alert.entry.js +102 -46
  451. package/lib/esm/duet-badge.entry.js +31 -7
  452. package/lib/esm/duet-banner.entry.js +64 -25
  453. package/lib/esm/duet-breadcrumb.entry.js +38 -25
  454. package/lib/esm/duet-breadcrumbs.entry.js +20 -12
  455. package/lib/esm/duet-button_2.entry.js +162 -66
  456. package/lib/esm/duet-callout.entry.js +13 -8
  457. package/lib/esm/duet-caption_4.entry.js +211 -73
  458. package/lib/esm/duet-card.entry.js +95 -32
  459. package/lib/esm/duet-checkbox.entry.js +68 -30
  460. package/lib/esm/duet-checkmark.entry.js +21 -7
  461. package/lib/{dist-custom-elements/p-3431b690.js → esm/duet-chip.entry.js} +68 -82
  462. package/lib/esm/duet-choice_2.entry.js +277 -127
  463. package/lib/esm/duet-collapsible.entry.js +94 -27
  464. package/lib/esm/duet-combobox.entry.js +85 -46
  465. package/lib/esm/duet-contact-card.entry.js +17 -16
  466. package/lib/esm/duet-cookie-consent.entry.js +14 -9
  467. package/lib/esm/duet-date-picker.entry.js +163 -55
  468. package/lib/esm/duet-divider_2.entry.js +30 -12
  469. package/lib/esm/duet-editable-table_3.entry.js +553 -208
  470. package/lib/esm/duet-empty-state.entry.js +15 -7
  471. package/lib/esm/duet-fieldset.entry.js +51 -16
  472. package/lib/esm/duet-file-chooser.entry.js +18 -9
  473. package/lib/esm/duet-footer.entry.js +56 -28
  474. package/lib/esm/duet-grid_2.entry.js +164 -62
  475. package/lib/esm/duet-header_2.entry.js +303 -90
  476. package/lib/esm/duet-hero.entry.js +149 -30
  477. package/lib/esm/duet-icon.entry.js +64 -18
  478. package/lib/esm/duet-indicator.entry.js +51 -0
  479. package/lib/esm/duet-input_2.entry.js +205 -85
  480. package/lib/esm/duet-layout.entry.js +33 -11
  481. package/lib/esm/duet-list_2.entry.js +58 -12
  482. package/lib/esm/duet-menu-bar-button.entry.js +24 -14
  483. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
  484. package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
  485. package/lib/esm/duet-menu-bar-item.entry.js +40 -17
  486. package/lib/esm/duet-menu-bar-link.entry.js +18 -8
  487. package/lib/esm/duet-menu-bar.entry.js +37 -56
  488. package/lib/esm/duet-modal.entry.js +122 -33
  489. package/lib/esm/duet-multiselect.entry.js +88 -40
  490. package/lib/esm/duet-nav.entry.js +12 -6
  491. package/lib/esm/duet-notification_2.entry.js +91 -30
  492. package/lib/esm/duet-number-input.entry.js +186 -69
  493. package/lib/esm/duet-overlay.entry.js +36 -12
  494. package/lib/esm/duet-page-heading.entry.js +16 -9
  495. package/lib/esm/duet-pagination_2.entry.js +162 -85
  496. package/lib/esm/duet-panel.entry.js +51 -0
  497. package/lib/esm/duet-phone-input.entry.js +2070 -0
  498. package/lib/esm/duet-popup-menu_2.entry.js +549 -0
  499. package/lib/esm/duet-progress.entry.js +32 -11
  500. package/lib/esm/duet-promo-card.entry.js +27 -11
  501. package/lib/esm/duet-radio_2.entry.js +114 -53
  502. package/lib/esm/duet-range-slider.entry.js +73 -35
  503. package/lib/esm/duet-scrollable_3.entry.js +269 -128
  504. package/lib/esm/duet-section-layout.entry.js +17 -8
  505. package/lib/esm/duet-select.entry.js +89 -41
  506. package/lib/esm/duet-shaped-image.entry.js +16 -9
  507. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  508. package/lib/esm/duet-share-chart.entry.js +83 -0
  509. package/lib/esm/duet-show-more.entry.js +81 -36
  510. package/lib/esm/duet-slideout-lang.entry.js +10 -8
  511. package/lib/esm/duet-slideout-link.entry.js +61 -8
  512. package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
  513. package/lib/esm/duet-slideout-panel.entry.js +50 -34
  514. package/lib/esm/duet-slideout.entry.js +110 -58
  515. package/lib/esm/duet-status-icon.entry.js +97 -0
  516. package/lib/esm/duet-step_2.entry.js +73 -23
  517. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
  518. package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
  519. package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
  520. package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
  521. package/lib/esm/duet-submenu-bar.entry.js +27 -19
  522. package/lib/esm/duet-textarea.entry.js +109 -48
  523. package/lib/esm/duet-toggle.entry.js +50 -27
  524. package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
  525. package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
  526. package/lib/esm/duet-toolbar-item.entry.js +46 -17
  527. package/lib/esm/duet-toolbar-link.entry.js +21 -8
  528. package/lib/esm/duet-toolbar.entry.js +12 -8
  529. package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
  530. package/lib/esm/duet-tooltip.entry.js +97 -43
  531. package/lib/esm/duet-tray.entry.js +63 -22
  532. package/lib/esm/duet-upload-aria-status.entry.js +30 -9
  533. package/lib/esm/duet-upload-item.entry.js +12 -20
  534. package/lib/esm/duet-visually-hidden.entry.js +4 -5
  535. package/lib/esm/duet.js +7 -6
  536. package/lib/esm/{errorcodes.utils-d9431251.js → errorcodes.utils-qEQnnnLR.js} +3 -3
  537. package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
  538. package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-D7bOJ91T.js} +1 -1
  539. package/lib/esm/form-search-CevX33LA.js +19 -0
  540. package/lib/esm/{index-1d0b7c66.js → index-CjRTMlgs.js} +2069 -1238
  541. package/lib/esm/{keyboard-utils-439bcc8b.js → keyboard-utils-Db8rvjPI.js} +4 -1
  542. package/lib/{dist-custom-elements/p-42619f94.js → esm/label-DI1u_MFQ.js} +1 -1
  543. package/lib/esm/{language-utils-14969cef.js → language-utils-DMUadJDW.js} +10 -3
  544. package/lib/esm/loader.js +4 -4
  545. package/lib/esm/{slot-utils-4e5ed4eb.js → slot-utils-DmMljwEF.js} +6 -2
  546. package/lib/{dist-custom-elements/p-ca3cb21e.js → esm/teleport-CooAqTCj.js} +22 -7
  547. package/lib/esm/themeable-component-CULFNCJP.js +72 -0
  548. package/lib/esm/{token-utils-b9ba8c5e.js → token-utils-Dw-GA7-4.js} +80 -10
  549. package/lib/{dist-custom-elements/p-f6000a03.js → esm/tokens-DcQPCCbT.js} +151 -7
  550. package/lib/{dist-custom-elements/p-cea716f7.js → esm/tokens.module-Bh9dkusU.js} +100 -4
  551. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
  552. package/lib/index.js +1 -1
  553. package/lib/loader/cdn.js +1 -2
  554. package/lib/loader/index.cjs.js +1 -2
  555. package/lib/loader/index.es2017.js +0 -1
  556. package/lib/loader/index.js +1 -2
  557. package/lib/types/common-strings.d.ts +3 -0
  558. package/lib/types/common-types.d.ts +1 -1
  559. package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
  560. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  561. package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
  562. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  563. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  564. package/lib/types/components/duet-card/duet-card.d.ts +6 -0
  565. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  566. package/lib/types/components/duet-choice/duet-choice.d.ts +1 -5
  567. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
  568. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +8 -1
  569. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
  570. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
  571. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
  572. package/lib/types/components/duet-grid/duet-grid.d.ts +9 -7
  573. package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
  574. package/lib/types/components/duet-hero/duet-hero.d.ts +6 -2
  575. package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
  576. package/lib/types/components/duet-input/duet-input.d.ts +13 -15
  577. package/lib/types/components/duet-link/duet-link.d.ts +3 -7
  578. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  579. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  580. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  581. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  582. package/lib/types/components/duet-number-input/duet-number-input.d.ts +5 -2
  583. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  584. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  585. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  586. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +178 -0
  587. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +19 -5
  588. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  589. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  590. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +18 -1
  591. package/lib/types/components/duet-select/duet-select.d.ts +2 -0
  592. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  593. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  594. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  595. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -3
  596. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
  597. package/lib/types/components/duet-spinner/duet-spinner.d.ts +1 -0
  598. package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +27 -0
  599. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  600. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  601. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +24 -4
  602. package/lib/types/components/duet-textarea/duet-textarea.d.ts +4 -2
  603. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  604. package/lib/types/components.d.ts +2350 -52
  605. package/lib/types/data/countries.d.ts +22 -0
  606. package/lib/types/index.d.ts +1 -0
  607. package/lib/types/stencil-public-runtime.d.ts +35 -6
  608. package/lib/types/utils/keyboard-utils.d.ts +1 -0
  609. package/lib/types/utils/language-utils.d.ts +1 -0
  610. package/lib/types/utils/slot-utils.d.ts +1 -0
  611. package/lib/types/utils/teleport.d.ts +4 -1
  612. package/lib/types/utils/token-utils.d.ts +4 -0
  613. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  614. package/package.json +30 -16
  615. package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
  616. package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
  617. package/lib/cjs/duet-chip_3.cjs.entry.js +0 -699
  618. package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
  619. package/lib/cjs/form-search-d61b2843.js +0 -8
  620. package/lib/cjs/index-21e67ab3.js +0 -2278
  621. package/lib/cjs/themeable-component-996b489c.js +0 -15
  622. package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
  623. package/lib/dist-custom-elements/duet-action-button.js +0 -9
  624. package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
  625. package/lib/dist-custom-elements/duet-alert.js +0 -9
  626. package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
  627. package/lib/dist-custom-elements/duet-badge.js +0 -9
  628. package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
  629. package/lib/dist-custom-elements/duet-banner.js +0 -157
  630. package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
  631. package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
  632. package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
  633. package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
  634. package/lib/dist-custom-elements/duet-button.d.ts +0 -11
  635. package/lib/dist-custom-elements/duet-button.js +0 -9
  636. package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
  637. package/lib/dist-custom-elements/duet-callout.js +0 -72
  638. package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
  639. package/lib/dist-custom-elements/duet-caption.js +0 -9
  640. package/lib/dist-custom-elements/duet-card.d.ts +0 -11
  641. package/lib/dist-custom-elements/duet-card.js +0 -171
  642. package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
  643. package/lib/dist-custom-elements/duet-checkbox.js +0 -9
  644. package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
  645. package/lib/dist-custom-elements/duet-checkmark.js +0 -9
  646. package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
  647. package/lib/dist-custom-elements/duet-chip.js +0 -9
  648. package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
  649. package/lib/dist-custom-elements/duet-choice-group.js +0 -228
  650. package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
  651. package/lib/dist-custom-elements/duet-choice.js +0 -454
  652. package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
  653. package/lib/dist-custom-elements/duet-collapsible.js +0 -158
  654. package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
  655. package/lib/dist-custom-elements/duet-combobox.js +0 -702
  656. package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
  657. package/lib/dist-custom-elements/duet-contact-card.js +0 -134
  658. package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
  659. package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
  660. package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
  661. package/lib/dist-custom-elements/duet-date-picker.js +0 -932
  662. package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
  663. package/lib/dist-custom-elements/duet-divider.js +0 -9
  664. package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
  665. package/lib/dist-custom-elements/duet-editable-table.js +0 -258
  666. package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
  667. package/lib/dist-custom-elements/duet-empty-state.js +0 -9
  668. package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
  669. package/lib/dist-custom-elements/duet-fieldset.js +0 -9
  670. package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
  671. package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
  672. package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
  673. package/lib/dist-custom-elements/duet-footer.js +0 -223
  674. package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
  675. package/lib/dist-custom-elements/duet-grid-item.js +0 -9
  676. package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
  677. package/lib/dist-custom-elements/duet-grid.js +0 -9
  678. package/lib/dist-custom-elements/duet-header.d.ts +0 -11
  679. package/lib/dist-custom-elements/duet-header.js +0 -698
  680. package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
  681. package/lib/dist-custom-elements/duet-heading.js +0 -9
  682. package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
  683. package/lib/dist-custom-elements/duet-hero.js +0 -299
  684. package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
  685. package/lib/dist-custom-elements/duet-icon.js +0 -9
  686. package/lib/dist-custom-elements/duet-input.d.ts +0 -11
  687. package/lib/dist-custom-elements/duet-input.js +0 -9
  688. package/lib/dist-custom-elements/duet-label.d.ts +0 -11
  689. package/lib/dist-custom-elements/duet-label.js +0 -70
  690. package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
  691. package/lib/dist-custom-elements/duet-layout.js +0 -94
  692. package/lib/dist-custom-elements/duet-link.d.ts +0 -11
  693. package/lib/dist-custom-elements/duet-link.js +0 -9
  694. package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
  695. package/lib/dist-custom-elements/duet-list-item.js +0 -9
  696. package/lib/dist-custom-elements/duet-list.d.ts +0 -11
  697. package/lib/dist-custom-elements/duet-list.js +0 -9
  698. package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
  699. package/lib/dist-custom-elements/duet-logo.js +0 -9
  700. package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
  701. package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
  702. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
  703. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
  704. package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
  705. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
  706. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
  707. package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
  708. package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
  709. package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
  710. package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
  711. package/lib/dist-custom-elements/duet-menu-bar.js +0 -206
  712. package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
  713. package/lib/dist-custom-elements/duet-modal.js +0 -382
  714. package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
  715. package/lib/dist-custom-elements/duet-multiselect.js +0 -346
  716. package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
  717. package/lib/dist-custom-elements/duet-nav.js +0 -54
  718. package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
  719. package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
  720. package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
  721. package/lib/dist-custom-elements/duet-notification.js +0 -95
  722. package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
  723. package/lib/dist-custom-elements/duet-number-input.js +0 -484
  724. package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
  725. package/lib/dist-custom-elements/duet-overlay.js +0 -9
  726. package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
  727. package/lib/dist-custom-elements/duet-page-heading.js +0 -87
  728. package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
  729. package/lib/dist-custom-elements/duet-pagination.js +0 -493
  730. package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
  731. package/lib/dist-custom-elements/duet-paragraph.js +0 -9
  732. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
  733. package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
  734. package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
  735. package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
  736. package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
  737. package/lib/dist-custom-elements/duet-progress.js +0 -9
  738. package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
  739. package/lib/dist-custom-elements/duet-promo-card.js +0 -105
  740. package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
  741. package/lib/dist-custom-elements/duet-radio-group.js +0 -213
  742. package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
  743. package/lib/dist-custom-elements/duet-radio.js +0 -230
  744. package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
  745. package/lib/dist-custom-elements/duet-range-slider.js +0 -181
  746. package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
  747. package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
  748. package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
  749. package/lib/dist-custom-elements/duet-scrollable.js +0 -9
  750. package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
  751. package/lib/dist-custom-elements/duet-section-layout.js +0 -56
  752. package/lib/dist-custom-elements/duet-select.d.ts +0 -11
  753. package/lib/dist-custom-elements/duet-select.js +0 -9
  754. package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
  755. package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
  756. package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
  757. package/lib/dist-custom-elements/duet-show-more.js +0 -9
  758. package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
  759. package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
  760. package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
  761. package/lib/dist-custom-elements/duet-slideout-link.js +0 -79
  762. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
  763. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
  764. package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
  765. package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
  766. package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
  767. package/lib/dist-custom-elements/duet-slideout.js +0 -311
  768. package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
  769. package/lib/dist-custom-elements/duet-spacer.js +0 -9
  770. package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
  771. package/lib/dist-custom-elements/duet-spinner.js +0 -9
  772. package/lib/dist-custom-elements/duet-step.d.ts +0 -11
  773. package/lib/dist-custom-elements/duet-step.js +0 -147
  774. package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
  775. package/lib/dist-custom-elements/duet-stepper.js +0 -151
  776. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
  777. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
  778. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
  779. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
  780. package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
  781. package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
  782. package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
  783. package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
  784. package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
  785. package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
  786. package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
  787. package/lib/dist-custom-elements/duet-tab-group.js +0 -339
  788. package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
  789. package/lib/dist-custom-elements/duet-tab.js +0 -150
  790. package/lib/dist-custom-elements/duet-table.d.ts +0 -11
  791. package/lib/dist-custom-elements/duet-table.js +0 -9
  792. package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
  793. package/lib/dist-custom-elements/duet-textarea.js +0 -301
  794. package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
  795. package/lib/dist-custom-elements/duet-toggle.js +0 -146
  796. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
  797. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
  798. package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
  799. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
  800. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
  801. package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
  802. package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
  803. package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
  804. package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
  805. package/lib/dist-custom-elements/duet-toolbar.js +0 -67
  806. package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
  807. package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
  808. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
  809. package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
  810. package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
  811. package/lib/dist-custom-elements/duet-tooltip.js +0 -9
  812. package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
  813. package/lib/dist-custom-elements/duet-tray.js +0 -146
  814. package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
  815. package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
  816. package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
  817. package/lib/dist-custom-elements/duet-upload-item.js +0 -9
  818. package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
  819. package/lib/dist-custom-elements/duet-upload.js +0 -1444
  820. package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
  821. package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
  822. package/lib/dist-custom-elements/index.d.ts +0 -33
  823. package/lib/dist-custom-elements/index.js +0 -29
  824. package/lib/dist-custom-elements/p-02f97b91.js +0 -39
  825. package/lib/dist-custom-elements/p-087d8c5a.js +0 -60
  826. package/lib/dist-custom-elements/p-115c79b6.js +0 -6
  827. package/lib/dist-custom-elements/p-1296f851.js +0 -63
  828. package/lib/dist-custom-elements/p-174a9d1d.js +0 -73
  829. package/lib/dist-custom-elements/p-1ccd7c39.js +0 -80
  830. package/lib/dist-custom-elements/p-1f4fbc7a.js +0 -138
  831. package/lib/dist-custom-elements/p-22147601.js +0 -642
  832. package/lib/dist-custom-elements/p-29be247b.js +0 -80
  833. package/lib/dist-custom-elements/p-2c70b9f4.js +0 -50
  834. package/lib/dist-custom-elements/p-2f25dfb3.js +0 -154
  835. package/lib/dist-custom-elements/p-330bcf1d.js +0 -205
  836. package/lib/dist-custom-elements/p-35375593.js +0 -161
  837. package/lib/dist-custom-elements/p-36ab2d57.js +0 -83
  838. package/lib/dist-custom-elements/p-3ce1f7b8.js +0 -214
  839. package/lib/dist-custom-elements/p-41dca9e4.js +0 -63
  840. package/lib/dist-custom-elements/p-430f3778.js +0 -100
  841. package/lib/dist-custom-elements/p-43c4a1af.js +0 -81
  842. package/lib/dist-custom-elements/p-4da43fbc.js +0 -232
  843. package/lib/dist-custom-elements/p-68c629a8.js +0 -127
  844. package/lib/dist-custom-elements/p-6b77d4d3.js +0 -338
  845. package/lib/dist-custom-elements/p-81287261.js +0 -1348
  846. package/lib/dist-custom-elements/p-89b10856.js +0 -102
  847. package/lib/dist-custom-elements/p-956e3bce.js +0 -110
  848. package/lib/dist-custom-elements/p-993aea39.js +0 -175
  849. package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
  850. package/lib/dist-custom-elements/p-9f9423c6.js +0 -56
  851. package/lib/dist-custom-elements/p-9fa4eb51.js +0 -94
  852. package/lib/dist-custom-elements/p-a2147aff.js +0 -268
  853. package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
  854. package/lib/dist-custom-elements/p-ab34075b.js +0 -124
  855. package/lib/dist-custom-elements/p-ad615991.js +0 -115
  856. package/lib/dist-custom-elements/p-b0925e24.js +0 -318
  857. package/lib/dist-custom-elements/p-b8de9a9c.js +0 -165
  858. package/lib/dist-custom-elements/p-c7d815f6.js +0 -194
  859. package/lib/dist-custom-elements/p-ca700701.js +0 -55
  860. package/lib/dist-custom-elements/p-d004da5f.js +0 -6
  861. package/lib/dist-custom-elements/p-d1f89e90.js +0 -124
  862. package/lib/dist-custom-elements/p-d2a5148f.js +0 -61
  863. package/lib/dist-custom-elements/p-d77db171.js +0 -2130
  864. package/lib/dist-custom-elements/p-dad518a5.js +0 -303
  865. package/lib/dist-custom-elements/p-de4ee016.js +0 -209
  866. package/lib/dist-custom-elements/p-de8f018a.js +0 -55
  867. package/lib/dist-custom-elements/p-df2042f8.js +0 -206
  868. package/lib/dist-custom-elements/p-e176f419.js +0 -61
  869. package/lib/dist-custom-elements/p-e37d189b.js +0 -607
  870. package/lib/dist-custom-elements/p-f11208c3.js +0 -6
  871. package/lib/dist-custom-elements/p-fe9e47d9.js +0 -287
  872. package/lib/duet/duet.js +0 -127
  873. package/lib/duet/p-021a4763.system.entry.js +0 -4
  874. package/lib/duet/p-031167a1.system.entry.js +0 -4
  875. package/lib/duet/p-051c4536.entry.js +0 -4
  876. package/lib/duet/p-053b71e6.system.js +0 -4
  877. package/lib/duet/p-05ca5aea.entry.js +0 -4
  878. package/lib/duet/p-07847129.system.entry.js +0 -4
  879. package/lib/duet/p-0a305aee.entry.js +0 -4
  880. package/lib/duet/p-0c4bbd65.system.js +0 -4
  881. package/lib/duet/p-0d7da85a.js +0 -4
  882. package/lib/duet/p-0dc9089b.system.js +0 -4
  883. package/lib/duet/p-0e348f96.system.entry.js +0 -4
  884. package/lib/duet/p-0e8e80b1.entry.js +0 -4
  885. package/lib/duet/p-0ee85b71.entry.js +0 -4
  886. package/lib/duet/p-115c79b6.js +0 -4
  887. package/lib/duet/p-1183d305.system.entry.js +0 -4
  888. package/lib/duet/p-1268b5a0.system.entry.js +0 -4
  889. package/lib/duet/p-153b6150.system.entry.js +0 -4
  890. package/lib/duet/p-192bba35.system.entry.js +0 -4
  891. package/lib/duet/p-1e17463d.system.js +0 -4
  892. package/lib/duet/p-1e904342.entry.js +0 -4
  893. package/lib/duet/p-1e9e887d.entry.js +0 -4
  894. package/lib/duet/p-209d6065.system.entry.js +0 -4
  895. package/lib/duet/p-20d056ac.entry.js +0 -4
  896. package/lib/duet/p-20eaf445.system.entry.js +0 -4
  897. package/lib/duet/p-215f4257.system.entry.js +0 -4
  898. package/lib/duet/p-237efb0c.system.entry.js +0 -4
  899. package/lib/duet/p-2437b4cb.js +0 -4
  900. package/lib/duet/p-250fb070.entry.js +0 -4
  901. package/lib/duet/p-25af4a6c.entry.js +0 -4
  902. package/lib/duet/p-25d79094.entry.js +0 -4
  903. package/lib/duet/p-27260106.entry.js +0 -4
  904. package/lib/duet/p-27ed5ca7.system.entry.js +0 -4
  905. package/lib/duet/p-2810c6dc.system.entry.js +0 -4
  906. package/lib/duet/p-2814473c.system.entry.js +0 -4
  907. package/lib/duet/p-29152853.entry.js +0 -4
  908. package/lib/duet/p-2a0ad29c.system.entry.js +0 -4
  909. package/lib/duet/p-2a979523.entry.js +0 -4
  910. package/lib/duet/p-2b2cd3be.entry.js +0 -4
  911. package/lib/duet/p-2b35de7b.entry.js +0 -4
  912. package/lib/duet/p-2b45d2e4.entry.js +0 -4
  913. package/lib/duet/p-2b6a7397.js +0 -4
  914. package/lib/duet/p-2bf17427.entry.js +0 -4
  915. package/lib/duet/p-2dc360ee.entry.js +0 -4
  916. package/lib/duet/p-2de0ab3d.system.entry.js +0 -4
  917. package/lib/duet/p-2eae4a0b.js +0 -4
  918. package/lib/duet/p-2fa7ecef.entry.js +0 -4
  919. package/lib/duet/p-2fb96333.entry.js +0 -4
  920. package/lib/duet/p-3106c658.entry.js +0 -4
  921. package/lib/duet/p-34024554.system.entry.js +0 -4
  922. package/lib/duet/p-34d7dd10.system.js +0 -4
  923. package/lib/duet/p-380f74e8.system.entry.js +0 -4
  924. package/lib/duet/p-3810c7dc.entry.js +0 -4
  925. package/lib/duet/p-3c64dab9.entry.js +0 -4
  926. package/lib/duet/p-3d826a58.system.entry.js +0 -4
  927. package/lib/duet/p-3d96186f.system.entry.js +0 -4
  928. package/lib/duet/p-3df2981e.system.entry.js +0 -4
  929. package/lib/duet/p-3faaa469.entry.js +0 -4
  930. package/lib/duet/p-3fe7e109.system.entry.js +0 -4
  931. package/lib/duet/p-40bab9a0.system.entry.js +0 -4
  932. package/lib/duet/p-41552571.system.entry.js +0 -4
  933. package/lib/duet/p-41982d26.system.js +0 -4
  934. package/lib/duet/p-43cc4ad9.system.entry.js +0 -4
  935. package/lib/duet/p-43d16748.system.entry.js +0 -4
  936. package/lib/duet/p-44ee649f.system.entry.js +0 -4
  937. package/lib/duet/p-486576ee.entry.js +0 -4
  938. package/lib/duet/p-49957220.system.js +0 -4
  939. package/lib/duet/p-49fa4a07.entry.js +0 -4
  940. package/lib/duet/p-4a9978a4.entry.js +0 -4
  941. package/lib/duet/p-4cff3036.system.js +0 -4
  942. package/lib/duet/p-4e7f27d8.entry.js +0 -4
  943. package/lib/duet/p-4e9052cd.entry.js +0 -4
  944. package/lib/duet/p-4ee7eb8a.entry.js +0 -4
  945. package/lib/duet/p-5170726b.system.entry.js +0 -4
  946. package/lib/duet/p-55674524.entry.js +0 -4
  947. package/lib/duet/p-58caf53a.system.entry.js +0 -4
  948. package/lib/duet/p-5b927db3.entry.js +0 -4
  949. package/lib/duet/p-5db9497a.entry.js +0 -4
  950. package/lib/duet/p-5dbd1202.entry.js +0 -4
  951. package/lib/duet/p-5e25b406.entry.js +0 -4
  952. package/lib/duet/p-60547899.system.entry.js +0 -4
  953. package/lib/duet/p-605e69c8.system.js +0 -4
  954. package/lib/duet/p-612fbfcc.entry.js +0 -4
  955. package/lib/duet/p-620d4575.system.entry.js +0 -4
  956. package/lib/duet/p-629a9c13.entry.js +0 -4
  957. package/lib/duet/p-62bdecfb.system.entry.js +0 -4
  958. package/lib/duet/p-6324514a.system.entry.js +0 -4
  959. package/lib/duet/p-6447f20d.system.entry.js +0 -4
  960. package/lib/duet/p-6537159a.system.entry.js +0 -4
  961. package/lib/duet/p-670bd483.system.entry.js +0 -4
  962. package/lib/duet/p-6b436ca9.entry.js +0 -4
  963. package/lib/duet/p-7483d86c.entry.js +0 -4
  964. package/lib/duet/p-76563c02.entry.js +0 -4
  965. package/lib/duet/p-769a3309.system.entry.js +0 -4
  966. package/lib/duet/p-76b42e90.entry.js +0 -4
  967. package/lib/duet/p-76b84b22.entry.js +0 -4
  968. package/lib/duet/p-76d69a18.system.js +0 -4
  969. package/lib/duet/p-7972306f.entry.js +0 -4
  970. package/lib/duet/p-79dfc8e6.system.entry.js +0 -4
  971. package/lib/duet/p-7a67ce10.system.entry.js +0 -4
  972. package/lib/duet/p-7acabaa7.system.js +0 -4
  973. package/lib/duet/p-7cce22af.system.js +0 -4
  974. package/lib/duet/p-7d2fffc2.entry.js +0 -4
  975. package/lib/duet/p-7d8a2628.js +0 -4
  976. package/lib/duet/p-7dd3b7d1.entry.js +0 -4
  977. package/lib/duet/p-7f5c1da2.entry.js +0 -4
  978. package/lib/duet/p-8142169f.system.entry.js +0 -4
  979. package/lib/duet/p-8481bbda.entry.js +0 -4
  980. package/lib/duet/p-871d7ca1.system.entry.js +0 -4
  981. package/lib/duet/p-894c1be1.system.entry.js +0 -4
  982. package/lib/duet/p-8abb0984.js +0 -5
  983. package/lib/duet/p-8f477bd6.system.js +0 -4
  984. package/lib/duet/p-8f4cdf46.system.entry.js +0 -4
  985. package/lib/duet/p-8faaaf5f.system.js +0 -4
  986. package/lib/duet/p-9253e832.system.entry.js +0 -4
  987. package/lib/duet/p-965e597c.system.js +0 -4
  988. package/lib/duet/p-966bd64a.entry.js +0 -4
  989. package/lib/duet/p-98636086.system.js +0 -4
  990. package/lib/duet/p-9b04e4a2.entry.js +0 -4
  991. package/lib/duet/p-9fb9ba73.entry.js +0 -4
  992. package/lib/duet/p-a19244e5.system.js +0 -5
  993. package/lib/duet/p-a1b7f2a0.js +0 -4
  994. package/lib/duet/p-a2aa619b.system.entry.js +0 -4
  995. package/lib/duet/p-a2b93336.system.entry.js +0 -4
  996. package/lib/duet/p-a3341588.entry.js +0 -4
  997. package/lib/duet/p-a47047f2.entry.js +0 -4
  998. package/lib/duet/p-a51e1b9e.entry.js +0 -4
  999. package/lib/duet/p-a600451a.entry.js +0 -4
  1000. package/lib/duet/p-a7d809b4.system.entry.js +0 -4
  1001. package/lib/duet/p-a8a381c9.system.entry.js +0 -4
  1002. package/lib/duet/p-aa82f9a1.entry.js +0 -4
  1003. package/lib/duet/p-aaa7a7bd.js +0 -4
  1004. package/lib/duet/p-ac9460ca.entry.js +0 -4
  1005. package/lib/duet/p-aca3a5a9.entry.js +0 -4
  1006. package/lib/duet/p-af209330.entry.js +0 -4
  1007. package/lib/duet/p-afad5fd3.system.js +0 -4
  1008. package/lib/duet/p-b010f56b.system.entry.js +0 -4
  1009. package/lib/duet/p-b69f3d9d.system.entry.js +0 -4
  1010. package/lib/duet/p-b6c584b6.entry.js +0 -4
  1011. package/lib/duet/p-b765710e.entry.js +0 -4
  1012. package/lib/duet/p-b864159a.system.js +0 -4
  1013. package/lib/duet/p-ba03d034.system.js +0 -4
  1014. package/lib/duet/p-bcc40139.system.entry.js +0 -4
  1015. package/lib/duet/p-beeb12f1.js +0 -4
  1016. package/lib/duet/p-c15cd383.system.entry.js +0 -4
  1017. package/lib/duet/p-c22935bf.system.entry.js +0 -4
  1018. package/lib/duet/p-c2dd561e.entry.js +0 -4
  1019. package/lib/duet/p-c3ba8e74.system.entry.js +0 -4
  1020. package/lib/duet/p-c52e8007.entry.js +0 -4
  1021. package/lib/duet/p-c6894b07.system.entry.js +0 -4
  1022. package/lib/duet/p-c694f12d.system.entry.js +0 -4
  1023. package/lib/duet/p-c79cbfdb.entry.js +0 -4
  1024. package/lib/duet/p-c8421271.system.entry.js +0 -4
  1025. package/lib/duet/p-c8d3cb52.entry.js +0 -4
  1026. package/lib/duet/p-c8e22ae2.system.entry.js +0 -4
  1027. package/lib/duet/p-ca3cb21e.js +0 -4
  1028. package/lib/duet/p-cbedbd77.system.entry.js +0 -4
  1029. package/lib/duet/p-cc5e6288.system.js +0 -4
  1030. package/lib/duet/p-cc67e773.js +0 -4
  1031. package/lib/duet/p-ce543cc1.system.entry.js +0 -4
  1032. package/lib/duet/p-cf30c088.entry.js +0 -4
  1033. package/lib/duet/p-d004da5f.js +0 -4
  1034. package/lib/duet/p-d3c304b5.system.js +0 -4
  1035. package/lib/duet/p-d43fc5e9.system.entry.js +0 -4
  1036. package/lib/duet/p-d6dc9819.system.entry.js +0 -4
  1037. package/lib/duet/p-d7d86092.js +0 -4
  1038. package/lib/duet/p-d86d8491.system.entry.js +0 -4
  1039. package/lib/duet/p-db2ccb9d.system.js +0 -4
  1040. package/lib/duet/p-dfd223d9.entry.js +0 -4
  1041. package/lib/duet/p-e0536bb5.entry.js +0 -4
  1042. package/lib/duet/p-e12066c8.system.js +0 -4
  1043. package/lib/duet/p-e1c881da.system.js +0 -4
  1044. package/lib/duet/p-e216bea4.system.js +0 -4
  1045. package/lib/duet/p-e258270f.entry.js +0 -4
  1046. package/lib/duet/p-e2daf94c.entry.js +0 -4
  1047. package/lib/duet/p-e38edd16.system.entry.js +0 -4
  1048. package/lib/duet/p-e44da0ff.system.entry.js +0 -4
  1049. package/lib/duet/p-e4c8559c.system.js +0 -4
  1050. package/lib/duet/p-e6b5a1c7.system.js +0 -4
  1051. package/lib/duet/p-e8dd29e7.entry.js +0 -4
  1052. package/lib/duet/p-e93849fd.system.entry.js +0 -4
  1053. package/lib/duet/p-e9d2f4a1.entry.js +0 -4
  1054. package/lib/duet/p-eca03d5e.js +0 -4
  1055. package/lib/duet/p-ee1eb7cb.system.entry.js +0 -4
  1056. package/lib/duet/p-efa5ec67.entry.js +0 -4
  1057. package/lib/duet/p-f0b0e2b2.system.entry.js +0 -4
  1058. package/lib/duet/p-f105f32a.system.entry.js +0 -4
  1059. package/lib/duet/p-f11208c3.js +0 -4
  1060. package/lib/duet/p-f3633004.entry.js +0 -4
  1061. package/lib/duet/p-f3cf6b50.entry.js +0 -4
  1062. package/lib/duet/p-f43e134e.system.entry.js +0 -4
  1063. package/lib/duet/p-f5dd7e7e.system.entry.js +0 -4
  1064. package/lib/duet/p-f6000a03.js +0 -4
  1065. package/lib/duet/p-f6b21d17.system.js +0 -4
  1066. package/lib/duet/p-f6bd2d4f.system.entry.js +0 -4
  1067. package/lib/duet/p-f75a6d54.system.entry.js +0 -4
  1068. package/lib/duet/p-f97500ff.system.entry.js +0 -4
  1069. package/lib/duet/p-fa3b3dbc.system.entry.js +0 -4
  1070. package/lib/duet/p-fbc396a7.system.entry.js +0 -4
  1071. package/lib/duet/p-fbf89657.system.entry.js +0 -4
  1072. package/lib/duet/p-fcb14b31.system.entry.js +0 -4
  1073. package/lib/duet/p-fd2299b4.entry.js +0 -4
  1074. package/lib/duet/p-fd78f61a.js +0 -4
  1075. package/lib/duet/p-fee25f59.entry.js +0 -4
  1076. package/lib/esm/a11y-utils-8fc393f6.js +0 -23
  1077. package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
  1078. package/lib/esm/action-new-window-small-1945be91.js +0 -6
  1079. package/lib/esm/body-scroll-46854769.js +0 -234
  1080. package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
  1081. package/lib/esm/common-strings-af765cad.js +0 -25
  1082. package/lib/esm/create-id-149a1b6d.js +0 -11
  1083. package/lib/esm/duet-chip_3.entry.js +0 -693
  1084. package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
  1085. package/lib/esm/focus-utils-adcd9463.js +0 -18
  1086. package/lib/esm/form-search-ea8e19ae.js +0 -6
  1087. package/lib/esm/input-utils-85681162.js +0 -53
  1088. package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
  1089. package/lib/esm/js-utils-9b9e0039.js +0 -47
  1090. package/lib/esm/label-ce262202.js +0 -20
  1091. package/lib/esm/polyfills/core-js.js +0 -11
  1092. package/lib/esm/polyfills/dom.js +0 -79
  1093. package/lib/esm/polyfills/es5-html-element.js +0 -1
  1094. package/lib/esm/polyfills/index.js +0 -34
  1095. package/lib/esm/polyfills/system.js +0 -6
  1096. package/lib/esm/string-utils-192eb3c8.js +0 -61
  1097. package/lib/esm/teleport-546f382d.js +0 -116
  1098. package/lib/esm/themeable-component-860041c5.js +0 -13
  1099. package/lib/esm/tokens-84fb2357.js +0 -753
  1100. package/lib/esm/tokens.module-2d02f5ff.js +0 -503
  1101. package/lib/esm/watch-options-e96ecd92.js +0 -57
  1102. package/lib/esm-es5/a11y-utils-8fc393f6.js +0 -4
  1103. package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
  1104. package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
  1105. package/lib/esm-es5/app-globals-00959ca9.js +0 -4
  1106. package/lib/esm-es5/body-scroll-46854769.js +0 -4
  1107. package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
  1108. package/lib/esm-es5/common-strings-af765cad.js +0 -4
  1109. package/lib/esm-es5/create-id-149a1b6d.js +0 -4
  1110. package/lib/esm-es5/duet-action-button.entry.js +0 -4
  1111. package/lib/esm-es5/duet-alert.entry.js +0 -4
  1112. package/lib/esm-es5/duet-badge.entry.js +0 -4
  1113. package/lib/esm-es5/duet-banner.entry.js +0 -4
  1114. package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
  1115. package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
  1116. package/lib/esm-es5/duet-button_2.entry.js +0 -4
  1117. package/lib/esm-es5/duet-callout.entry.js +0 -4
  1118. package/lib/esm-es5/duet-caption_4.entry.js +0 -4
  1119. package/lib/esm-es5/duet-card.entry.js +0 -4
  1120. package/lib/esm-es5/duet-checkbox.entry.js +0 -4
  1121. package/lib/esm-es5/duet-checkmark.entry.js +0 -4
  1122. package/lib/esm-es5/duet-chip_3.entry.js +0 -4
  1123. package/lib/esm-es5/duet-choice_2.entry.js +0 -4
  1124. package/lib/esm-es5/duet-collapsible.entry.js +0 -4
  1125. package/lib/esm-es5/duet-combobox.entry.js +0 -4
  1126. package/lib/esm-es5/duet-contact-card.entry.js +0 -4
  1127. package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
  1128. package/lib/esm-es5/duet-date-picker.entry.js +0 -4
  1129. package/lib/esm-es5/duet-divider_2.entry.js +0 -4
  1130. package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
  1131. package/lib/esm-es5/duet-empty-state.entry.js +0 -4
  1132. package/lib/esm-es5/duet-fieldset.entry.js +0 -4
  1133. package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
  1134. package/lib/esm-es5/duet-footer.entry.js +0 -4
  1135. package/lib/esm-es5/duet-header_2.entry.js +0 -4
  1136. package/lib/esm-es5/duet-hero.entry.js +0 -4
  1137. package/lib/esm-es5/duet-icon.entry.js +0 -4
  1138. package/lib/esm-es5/duet-input_2.entry.js +0 -4
  1139. package/lib/esm-es5/duet-layout.entry.js +0 -4
  1140. package/lib/esm-es5/duet-list_2.entry.js +0 -4
  1141. package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
  1142. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
  1143. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
  1144. package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
  1145. package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
  1146. package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
  1147. package/lib/esm-es5/duet-modal.entry.js +0 -4
  1148. package/lib/esm-es5/duet-multiselect.entry.js +0 -4
  1149. package/lib/esm-es5/duet-nav.entry.js +0 -4
  1150. package/lib/esm-es5/duet-notification_2.entry.js +0 -4
  1151. package/lib/esm-es5/duet-number-input.entry.js +0 -4
  1152. package/lib/esm-es5/duet-overlay.entry.js +0 -4
  1153. package/lib/esm-es5/duet-page-heading.entry.js +0 -4
  1154. package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
  1155. package/lib/esm-es5/duet-progress.entry.js +0 -4
  1156. package/lib/esm-es5/duet-promo-card.entry.js +0 -4
  1157. package/lib/esm-es5/duet-radio_2.entry.js +0 -4
  1158. package/lib/esm-es5/duet-range-slider.entry.js +0 -4
  1159. package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
  1160. package/lib/esm-es5/duet-section-layout.entry.js +0 -4
  1161. package/lib/esm-es5/duet-select.entry.js +0 -4
  1162. package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
  1163. package/lib/esm-es5/duet-show-more.entry.js +0 -4
  1164. package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
  1165. package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
  1166. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
  1167. package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
  1168. package/lib/esm-es5/duet-slideout.entry.js +0 -4
  1169. package/lib/esm-es5/duet-step_2.entry.js +0 -4
  1170. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
  1171. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
  1172. package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
  1173. package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
  1174. package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
  1175. package/lib/esm-es5/duet-textarea.entry.js +0 -4
  1176. package/lib/esm-es5/duet-toggle.entry.js +0 -4
  1177. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
  1178. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
  1179. package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
  1180. package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
  1181. package/lib/esm-es5/duet-toolbar.entry.js +0 -4
  1182. package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
  1183. package/lib/esm-es5/duet-tooltip.entry.js +0 -4
  1184. package/lib/esm-es5/duet-tray.entry.js +0 -4
  1185. package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
  1186. package/lib/esm-es5/duet-upload-item.entry.js +0 -4
  1187. package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
  1188. package/lib/esm-es5/duet.js +0 -4
  1189. package/lib/esm-es5/errorcodes.utils-d9431251.js +0 -4
  1190. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  1191. package/lib/esm-es5/focus-utils-adcd9463.js +0 -4
  1192. package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
  1193. package/lib/esm-es5/index-1d0b7c66.js +0 -5
  1194. package/lib/esm-es5/index.js +0 -3
  1195. package/lib/esm-es5/input-utils-85681162.js +0 -4
  1196. package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
  1197. package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
  1198. package/lib/esm-es5/keyboard-utils-439bcc8b.js +0 -4
  1199. package/lib/esm-es5/label-ce262202.js +0 -4
  1200. package/lib/esm-es5/language-utils-14969cef.js +0 -4
  1201. package/lib/esm-es5/loader.js +0 -4
  1202. package/lib/esm-es5/slot-utils-4e5ed4eb.js +0 -4
  1203. package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
  1204. package/lib/esm-es5/teleport-546f382d.js +0 -4
  1205. package/lib/esm-es5/themeable-component-860041c5.js +0 -4
  1206. package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
  1207. package/lib/esm-es5/tokens-84fb2357.js +0 -4
  1208. package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
  1209. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
  1210. package/lib/loader/package.json +0 -11
  1211. /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
  1212. /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
  1213. /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
  1214. /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
  1215. /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
  1216. /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
  1217. /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
  1218. /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
  1219. /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
  1220. /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
  1221. /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
  1222. /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
  1223. /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
  1224. /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
  1225. /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
  1226. /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
  1227. /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
  1228. /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
  1229. /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
  1230. /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
  1231. /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as i,g as a}from"./p-CjRTMlgs.js";import{n as r}from"./p-vVCYtBMj.js";import{a as o}from"./p-BWvtXbhA.js";import{i as n}from"./p-Bt_DCuTi.js";import{g as s}from"./p-DmZj36y3.js";import{g as m,c as u,d}from"./p-CcCc0HYj.js";import"./p-DvwKrUS6.js";import"./p-qH1epSqB.js";import"./p-C6E9F6QT.js";const c=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessiblePopup="false",this.accessibleLabelExternalDefaults=o,this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){n(this)}connectedCallback(){u(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){d(this)}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){const e=this.url?"a":"button";return t(i,{key:"c8f1492389226bb51cdfb54ab5262d21292a19cb",role:"listitem"},t(e,{key:"251da0ca6cb28157cb26ba5f90c770123cebc5c1",target:this.url?this.external?"_blank":"_self":null,ref:e=>this.itemElement=e,class:{"duet-menu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,role:"a"===e?"link":"button","aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,rel:this.external?"noopener":void 0},this.leadingIcon&&t("duet-icon",{key:"bc34c4cc34cd814ec124013da71d619f32986bd7",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),t("slot",{key:"a913f29ab5fd5e0f3a9aeb2115bae74b83c51a7e"}),(this.trailingIcon||this.external)&&t("duet-icon",{key:"efb44346bf1cc026263a16f0982981b6420ad298",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!!this.external,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"})))}get element(){return a(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}.duet-menu-bar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;color:inherit;text-align:center;white-space:nowrap;text-decoration:none;cursor:pointer}.duet-menu-bar-item:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva,.duet-theme-turva2 .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva2{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:16px;height:16px}}.duet-menu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-menu-bar-item .external-icon{width:10px;height:10px}.duet-menu-bar-item[aria-expanded=true]{color:rgb(0, 119, 179)}.duet-menu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-menu-bar-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"}.duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-item{padding:0 28px}}.duet-menu-bar-item.active{color:rgb(0, 119, 179)}.duet-menu-bar-item.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(2px);transition:300ms ease}@media (min-width: 62em){.duet-menu-bar-item.active::after{z-index:auto;height:2px}}.duet-menu-bar-item.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item:hover{color:rgb(0, 119, 179)}.duet-menu-bar-item:hover.duet-theme-turva{color:rgb(198, 12, 48)}}:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(230, 23, 64)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva:hover{color:rgb(230, 23, 64)}}';export{c as duet_menu_bar_item}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c as a,h as t,H as i}from"./p-CjRTMlgs.js";import{i as n}from"./p-Bt_DCuTi.js";const r=class{constructor(t){e(this,t),this.duetChange=a(this,"duetChange",3),this.theme="",this.multiple=!1,this.accept=void 0,this.onChange=e=>{e.preventDefault(),e.stopPropagation(),this.duetChange.emit({originalEvent:e,data:{files:this.nativeInput.files},component:"duet-file-chooser"})}}async open(){var e;null===(e=this.nativeInput)||void 0===e||e.click()}async getFiles(){return this.nativeInput.files}componentWillLoad(){n(this)}render(){return t(i,{key:"d6f332ceab0e71d4a1d4a31f67d8ebaaa1b2a74e"},t("duet-visually-hidden",{key:"d8a1e009bd303b11addfd69cde730a0158e65052","aria-hidden":"true"},t("input",{key:"ed86a42e866d06c423e616b5b2ec3859483874e1",ref:e=>{this.nativeInput=e},type:"file",class:{"duet-upload":!0},"aria-hidden":"true",tabIndex:-1,onChange:this.onChange,multiple:this.multiple,accept:this.accept})))}};r.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.container{display:flex;flex-direction:row;gap:8px;align-items:center}.container .label{margin-bottom:8px}";export{r as duet_file_chooser}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{E as t,r as e,h as i,H as s,g as a}from"./p-CjRTMlgs.js";import{i as o}from"./p-Bt_DCuTi.js";import{g as n,r as d}from"./p-Df3Doz7n.js";import"./p-Bh9dkusU.js";const h=t=>{if("script"===t.nodeName.toLowerCase())return!1;for(let e=0;e<t.attributes.length;e++)if(0===t.attributes[e].name.toLowerCase().indexOf("on"))return!1;if(t.children)for(let e=0;e<t.children.length;e++)if(!h(t.children[e]))return!1;return!0},r={};const u=class{constructor(t){e(this,t),this.theme="",this.name="action-add",this.margin="auto",this.responsive=!0,this.color="",this.background="",this.backgroundOpacity=1,this.backgroundRotation=0,this.size="medium",this.outline="",this.shape="circle"}async componentWillLoad(){o(this),this.src&&this.icon&&console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence","icon:",this.icon,"src:",this.src),await this.loadIcon(null,null)}async loadIcon(e,i){if(this.icon)return void(this.svgContent=this.icon);if(this.element.shadowRoot.querySelector("svg")&&!this.svgContent){if(null===i&&null===e)return;if(this.element.shadowRoot.querySelector(`.duet-icon-svg[data-name="${e}"]`))return}const s=this.src?this.src:this.name?(e=>{const i=window.duetcdnuri?window.duetcdnuri:t.cdnURIProd;return i.includes("localhost")?`${i}/icons/lib/assets/${e}.svg`:`${i}/icons/${t.duetIconVersion}/lib/assets/${e}.svg`})(this.name):"";if(s)try{this.svgContent=await function(t){if(r[t])return r[t];const e=async function(){const e=await fetch(t);if(!e.ok)throw new Error(`SVG request failed: ${e.status} ${e.statusText}`);const i=(t=>{if("undefined"==typeof document||!t)return;const e=document.createElement("div");e.innerHTML=t;for(let t=e.childNodes.length-1;t>=0;t--)"svg"!==e.childNodes[t].nodeName.toLowerCase()&&e.removeChild(e.childNodes[t]);return e.firstElementChild})(await e.text());if(!h(i))throw new Error("SVG validation failed");const s=document.createElement("div");return s.appendChild(i),s.innerHTML}();return r[t]=e}(s)}catch(t){console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${s}.`,t)}else this.svgContent=""}render(){const t="currentColor"===this.color?"currentColor":n(this.color,this.theme)||n(this.outline,this.theme),e=this.backgroundRotation?{transform:`rotate(${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{},a=Object.assign({color:t,background:d(n(this.background,this.theme),this.backgroundOpacity),"border-color":n(this.outline,this.theme)},e),o=Object.assign({},this.backgroundRotation?{transform:`rotate(-${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{}),h="brand-rotated"===this.shape?"duet-icon-shape-brand":`duet-icon-shape-${this.shape}`;return i(s,{key:"2a800d3292964b5a1dd5fd454662f690ce9e6b5a",class:{"duet-m-0":"none"===this.margin,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background}},i("span",{key:"4d5d3fc155d6d2e4f677d8753c116c82eb865a2c","aria-hidden":"true",style:a,class:{"duet-icon":!0,"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background,[h]:!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme,"duet-icon-not-responsive":!this.responsive}},i("span",{key:"6c79866426237ff75ff36401a9117dca1a68cf19","aria-hidden":"true",class:{"duet-icon-svg":!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme},"data-name":this.name,innerHTML:this.svgContent,style:o})))}get element(){return a(this)}static get watchers(){return{src:["loadIcon"],icon:["loadIcon"],name:["loadIcon"]}}};u.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;display:block;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(7deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;mask-position:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-7deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;overflow:clip;fill:currentColor;overflow-clip-margin:1px}:host([size=auto]) .duet-icon-svg{width:100%;height:100%}:host([size=xxx-small]) .duet-icon-svg{width:7px;height:7px}:host([size=xxx-small]) .duet-icon-has-background{padding:6px}:host([size=xxx-small]) .duet-icon-has-outline{padding:4px}:host([size=xxx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xxx-small]) .duet-icon-has-outline .duet-icon-svg{width:10px;height:10px}:host([size=xxx-small]) .duet-icon-shape-brand{padding:0}:host([size=xxx-small]) .duet-icon-shape-brand .duet-icon-svg{width:0;height:0}:host([size=xx-small]) .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-icon-has-background{padding:8px}:host([size=xx-small]) .duet-icon-has-outline{padding:7px}:host([size=xx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xx-small]) .duet-icon-has-outline .duet-icon-svg{width:16px;height:16px}:host([size=xx-small]) .duet-icon-shape-brand{padding:4px}:host([size=xx-small]) .duet-icon-shape-brand .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-theme-turva .duet-icon-shape-brand{width:18px;height:15px;padding:0}:host([size=x-small]) .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-icon-has-outline{padding:10px}:host([size=x-small]) .duet-icon-has-background{padding:12px}:host([size=x-small]) .duet-icon-shape-brand{padding:8px}:host([size=x-small]) .duet-icon-shape-brand .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-theme-turva .duet-icon-shape-brand{width:32px;height:30px;padding:0}:host([size=small]) .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-icon-has-background{padding:14px}:host([size=small]) .duet-icon-shape-brand{padding:8px}:host([size=small]) .duet-icon-shape-brand .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-theme-turva .duet-icon-shape-brand{width:36px;height:34px;padding:0}:host([size=medium]) .duet-icon-shape-brand{padding:12px}:host([size=medium]) .duet-icon-shape-brand .duet-icon-svg{width:24px;height:24px}:host([size=medium]) .duet-theme-turva .duet-icon-shape-brand{width:48px;height:44px;padding:0}:host([size=large]) .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-icon-shape-brand{padding:16px}:host([size=large]) .duet-icon-shape-brand .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-theme-turva .duet-icon-shape-brand{width:62px;height:56px;padding:0}:host([size=x-large]) .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-icon-shape-brand{padding:20px}:host([size=x-large]) .duet-icon-shape-brand .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-theme-turva .duet-icon-shape-brand{width:76px;height:68px;padding:0}:host([size=xx-large]) .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-icon-shape-brand{padding:24px}:host([size=xx-large]) .duet-icon-shape-brand .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-theme-turva .duet-icon-shape-brand{width:95px;height:86px;padding:0}:host([size=xxx-large]) .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){:host([size=xxx-large]) .duet-icon-svg{width:72px;height:72px}}:host([size=xxx-large]) .duet-icon-shape-brand{padding:36px}:host([size=xxx-large]) .duet-icon-shape-brand .duet-icon-svg{width:72px;height:72px}:host([size=xxx-large]) .duet-theme-turva .duet-icon-shape-brand{width:144px;height:130px;padding:0}:host(.duet-theme-turva2) .duet-icon.duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-icon.duet-theme-turva.duet-icon-has-background{color:rgb(255, 255, 255)}:host(.duet-theme-turva2) .duet-icon.duet-theme-turva.duet-icon-shape-brand{border-radius:16%;-webkit-mask-image:none;mask-image:none}";export{u as duet_icon}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,h as e,H as n,g as i,F as o}from"./p-CjRTMlgs.js";import{i as a}from"./p-Bt_DCuTi.js";import{s as r}from"./p-C6E9F6QT.js";import{g as d}from"./p-Df3Doz7n.js";import{g as l}from"./p-DvwKrUS6.js";import{n as u}from"./p-vVCYtBMj.js";import{a as s,e as h}from"./p-BWvtXbhA.js";import{g as c}from"./p-DmZj36y3.js";import{a as p,g as m,c as g,d as b}from"./p-CcCc0HYj.js";import{c as k}from"./p-Cfr_DJqU.js";import"./p-Bh9dkusU.js";import"./p-qH1epSqB.js";const x=class{constructor(e){t(this,e),this.theme="",this.margin="auto",this.selected=!1,this.size="medium"}componentWillLoad(){a(this)}render(){return e(n,{key:"6536dfff2137c85741a34401a550ecd205ba897a",class:{"duet-caption":!0,"duet-caption-selected":this.selected,"duet-caption-small":"small"===this.size,"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin}},e("slot",{key:"61789c613b54670e42ca147df64c22c5896d7cec"}))}get element(){return i(this)}};x.style=':host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;vertical-align:top;color:rgb(98, 121, 138)}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}:host(.duet-theme-turva2.duet-caption-selected.duet-theme-turva){color:rgb(23, 42, 59)}';const f=class{constructor(e){t(this,e),this.level="h2",this.margin="auto",this.border=!1,this.weight="auto",this.color="",this.theme="",this.hyphenate=!1,this.fixedSize=!1}componentWillLoad(){a(this)}render(){const t=r(this.level),n=d(this.color);return e(t,{key:"2a16d1cb80380aed37b1ed878ec5dce7081a2bbf",class:{"duet-heading":!0,"duet-heading-border":!1!==this.border,"duet-heading-border-solid":"solid"===this.border,"duet-normal":"normal"===this.weight,"duet-semibold":"semibold"===this.weight,"duet-heading-hyphenate":this.hyphenate,"duet-m-0":"none"===this.margin,[this.visualLevel?this.visualLevel:this.level]:!0,"duet-theme-turva":"turva"===this.theme,"fixed-size":this.fixedSize},"aria-label":this.accessibleLabel,style:{color:n},part:"duet-heading"},e("slot",{key:"195a5b29f298c0abb79e37b308559cf65203c13c"}))}get element(){return i(this)}};var v,w;f.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);letter-spacing:-0.01rem;word-break:break-word;text-wrap:balance;text-decoration:none}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}:host(.duet-theme-turva2) .duet-heading.duet-theme-turva{font-style:normal !important;color:rgb(23, 42, 59)}';var y,z,_,S,j=l(w?v:(w=1,v={title:"action-arrow-right",tags:"action arrow right caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M5.499 24a.752.752 0 0 1-.53-1.281L15.689 12 4.969 1.28c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22l10.72 10.72a1.5 1.5 0 0 1 .001 2.119L6.029 23.78a.743.743 0 0 1-.53.22z"/></svg>'})),U=l(z?y:(z=1,y={title:"action-download-small",tags:"action download arrow down small",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.193 1.7c0-.658-.542-1.2-1.2-1.2-.657 0-1.199.542-1.199 1.2v8.922l-2.778-2.6a1.2 1.2 0 0 0-1.64 1.751l4.797 4.498c.458.43 1.183.43 1.64 0l4.798-4.498c.242-.228.379-.544.379-.875a1.2 1.2 0 0 0-2.02-.876l-2.777 2.603V1.699Z"/><path d="M1.5 13.544a1.5 1.5 0 0 1 1.498 1.5v1.498a1.61 1.61 0 0 0 .418 1.096h-.003c0-.002.036.032.13.082.39.194.818.305 1.254.321H19.19a3.085 3.085 0 0 0 1.255-.32c.096-.051.13-.085.13-.085.27-.3.42-.69.414-1.096v-1.5c0-.822.677-1.498 1.5-1.498.822 0 1.499.676 1.499 1.499v1.499c0 1.16-.43 2.293-1.224 3.142-.518.557-1.235.876-1.791 1.056a5.976 5.976 0 0 1-1.783.302H4.797a6.053 6.053 0 0 1-1.782-.302c-.556-.18-1.274-.5-1.792-1.056A4.613 4.613 0 0 1 0 16.542v-1.499a1.5 1.5 0 0 1 1.5-1.499Z"/></svg>'})),A=l(S?_:(S=1,_={title:"action-new-window",tags:"arrow open new window tab external link square box rectangle action",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>'}));const I=class{constructor(e){t(this,e),this.variation="default",this.language=p(),this.accessibleLabelExternalDefaults=s,this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults),this.accessibleLabelDownloadDefaults=h,this.accessibleLabelDownload=m(this.accessibleLabelDownloadDefaults),this.accessiblePopup="false",this.theme="",this.url="#",this.external=!1,this.download=null,this.tabToLink=!1,this.iconColor="currentColor",this.iconBackground=null,this.iconResponsive=!1,this.margin="auto",this.padding="auto",this.isMediumScreen=!1}componentWillLoad(){a(this),this.resolvedDownload=this.resolveDownload(),"button"===this.variation&&"#"===this.url&&(this.url=void 0)}connectedCallback(){g(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"}),this.setAriaLabel(),this.mutationObserver=new MutationObserver(this.setAriaLabel.bind(this)),this.mutationObserver.observe(this.element,{subtree:!0,childList:!0,characterData:!0})}disconnectedCallback(){b(this),this.mutationObserver&&this.mutationObserver.disconnect()}async setFocus(t){this.nativeLink.focus(t)}setAriaLabel(){setTimeout((()=>{this.ariaLabel=this.url&&c(this)||this.accessibleLabel}))}resolveDownload(){return""===this.download?this.url.split("/").pop():this.download}renderDefaultContent(){return e(o,null,e("span",{class:"duet-link-content",part:"duet-link-content"},e("slot",null)),(this.resolvedDownload||this.external)&&"default"===this.variation&&e(o,null,e("span",{class:"duet-link-icon-tail"}," ",e("duet-icon",{icon:this.resolvedDownload?U.svg:u.svg,size:"xx-small",margin:"none",color:"currentColor"}))))}renderBlockContent(){return e(o,null,this.icon&&e("span",{class:"block__icon"},e("duet-icon",{class:this.iconResponsive?"icon-responsive":"",size:"auto",name:this.icon,margin:"none",color:this.iconColor})),e("span",{class:"block__content"},this.renderDefaultContent()),e("span",{class:"block__chevron",part:"block-chevron"},e("duet-icon",{class:"block__chevron-icon",icon:this.external?A.svg:j.svg,size:"x-small",margin:"none",color:"primary-dark"})))}renderButtonCardContent(){const t={"background-color":d(this.iconBackground,this.theme)};return e(o,null,this.icon&&e("span",{class:"icon-wrap",style:t},e("duet-icon",{size:"auto",name:this.icon,margin:"none",color:this.iconColor})),e("div",{class:"duet-link-content",part:"duet-link-content"},e("slot",null)),e("span",{class:"chevron-wrap"},e("duet-icon",{class:"block__chevron-icon",icon:this.external?A.svg:j.svg,size:"x-small",margin:"none",color:"primary-dark"})))}renderContent(){switch(this.variation){case"default":return this.renderDefaultContent();case"block":case"block-center":return this.renderBlockContent();case"button":case"list-button":case"card":return this.renderButtonCardContent()}}render(){const t=this.url||"default"===this.variation?"a":"button",i=this.url||"default"!==this.variation?null:"button",o="button"===t;return e(n,{key:"c6dfd9dd4ce34ea1deea147e76481197cfa90854",class:{[`duet-link-${this.variation}`]:!0,"duet-m-0":"none"===this.margin}},e(t,{key:"72968ba8e93c2773e8cdbdc7521a854e63569826",href:this.url,class:{"duet-link":!0,"duet-link-is-external":this.external,"duet-link-is-download":!!this.download,"duet-link-has-icon":!!this.icon,"duet-link-has-icon-background":!!this.iconBackground,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":"turva"===this.theme,"duet-p-0":"none"===this.padding,[this.padding]:!0,[this.variation]:!0},target:this.download||!this.url?null:this.external?"_blank":"_self",download:this.resolvedDownload,"aria-label":this.ariaLabel,"aria-expanded":null!=this.accessibleExpanded&&o?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup&&o?this.accessiblePopup.toString():void 0,id:this.identifier,ref:t=>this.nativeLink=t,part:"duet-link",rel:this.external?"noopener":void 0,role:i},this.renderContent()))}static get delegatesFocus(){return!0}get element(){return i(this)}static get watchers(){return{download:["setAriaLabel"],external:["setAriaLabel"],language:["setAriaLabel"]}}};I.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva,.duet-theme-turva2 .duet-link:focus,.duet-link:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{white-space:nowrap;text-decoration:none}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;opacity:1}.block.duet-link,.block-center.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon,.block-center.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none,.block-center.duet-link.none{padding:0}.block .block__icon,.block-center .block__icon{display:flex}.block .block__icon duet-icon,.block-center .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive,.block-center .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive,.block-center .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content,.block-center .block__content{position:relative;bottom:2px}.block .block__chevron,.block-center .block__chevron{align-self:center}.block .block__chevron-icon,.block-center .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon,.block-center:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.block-center.duet-link{align-items:center}.block-center .block__content{position:static}.block-center .block__chevron{display:flex;align-items:center}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.list-button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;transition:all 300ms ease}.duet-link.button>*,.duet-link.list-button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.list-button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.list-button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.list-button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.list-button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.list-button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.list-button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.list-button:hover,.duet-link.card:hover{outline:2px solid rgb(0, 119, 179);border-color:rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.list-button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.list-button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.list-button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.list-button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.list-button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.list-button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.list-button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{outline-color:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.list-button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.list-button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.list-button{padding:20px 12px 20px 4px;margin-top:-1px;border:solid 1px rgb(181, 198, 208);border-width:1px 0;border-radius:0}.duet-link.list-button .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.list-button .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.list-button:hover{outline:0;border-color:rgb(181, 198, 208)}.duet-link.list-button:hover .duet-link-content{color:rgb(0, 119, 179)}.duet-link.list-button.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.list-button.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-link.list-button.duet-theme-turva:hover .duet-link-content{color:rgb(198, 12, 48)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}:host(.duet-theme-turva2) .duet-link.duet-theme-turva{color:rgb(185, 3, 41)}:host(.duet-theme-turva2) .duet-link.duet-theme-turva:hover{color:rgb(140, 0, 30)}:host(.duet-theme-turva2) .duet-tab-to-link.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-link.button.duet-theme-turva,:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva{border-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-link.button.duet-theme-turva .duet-link-content,:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva .duet-link-content{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-link.button.duet-theme-turva:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva:hover{border-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-link.list-button.duet-theme-turva:hover .duet-link-content{color:rgb(230, 23, 64)}';const C=class{constructor(e){t(this,e),this.id=k("duet-paragraph"),this.inheritingParents=["duet-alert"],this.theme="",this.margin="auto",this.size="medium",this.weight=void 0,this.variation="default",this.color=""}componentWillLoad(){a(this)}render(){const t=d(this.color);return e(n,{key:"9ab8938bc5ed0af6161d83fd61c238aedfe72407","aria-describedby":this.id},e("p",{key:"eb5de4278351c95fd0fabac7f94b2e268b788667",id:this.id,class:{"duet-paragraph":!0,"duet-paragraph-small":"small"===this.size,"duet-paragraph-semi-bold":"semi-bold"===this.weight,"duet-paragraph-bold":"bold"===this.weight,"duet-m-0":"none"===this.margin,[this.variation]:!0,"duet-theme-turva":"turva"===this.theme,"duet-inherit-color":!this.color&&this.inheritingParents.some((t=>this.element.closest(t)))},style:{color:t},part:"duet-paragraph"},e("slot",{key:"87b1d333d52ac248b6f9bf534ab98f29b115b25e"})))}get element(){return i(this)}};C.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);-webkit-hyphens:auto;hyphens:auto}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-paragraph.duet-inherit-color{color:inherit !important}.duet-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}::slotted(a):hover{color:rgb(0, 75, 129);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(126, 2, 35)}::slotted(a):active{opacity:0.75;transition:none}:host(.duet-theme-turva2) .duet-paragraph.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) ::slotted(a).duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) ::slotted(a:hover).duet-theme-turva{color:rgb(140, 0, 30)}';export{x as duet_caption,f as duet_heading,I as duet_link,C as duet_paragraph}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as a,H as t,g as n}from"./p-CjRTMlgs.js";import{i as o}from"./p-Bt_DCuTi.js";import{a as r,c as s,d as i,g as d}from"./p-CcCc0HYj.js";import"./p-C6E9F6QT.js";const c=class{constructor(a){e(this,a),this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"},this.language=r(),this.theme=""}componentWillLoad(){o(this)}connectedCallback(){s(this)}disconnectedCallback(){i(this)}render(){const e=d(this.chooseLangObject);return a(t,{key:"8847b4894f616c58b889e51d183c71ec672554fc"},a("div",{key:"86a6652e67569a898f9aceea571fd656ae22bfa6",class:"duet-slideout-lang",role:"group","aria-label":e},a("duet-icon",{key:"038bdf514daccd3f28a27ad0225f4a46ea84ecea",name:"navigation-language",margin:"none",color:"secondary",size:"small"}),a("slot",{key:"49e912e3e178c2d4c3042c4d9d1ae39991bbef52"})))}get element(){return n(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-slideout-lang{display:flex;gap:16px;align-items:center;justify-content:flex-start;width:min-content;white-space:nowrap}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:25%;right:-14px;width:2px;height:50%;content:"";background:rgb(8, 42, 77)}.duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 42, 59)}';export{c as duet_slideout_lang}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as M,h as N,g}from"./p-CjRTMlgs.js";import{i as j}from"./p-Bt_DCuTi.js";const D=class{constructor(N){M(this,N),this.theme="",this.icon="",this.layout="narrow"}componentWillLoad(){j(this)}progressIndicator(){return N("div",{class:"progress-indicator"},Array.from({length:Math.ceil(this.progressTotalSteps)},((M,g)=>N("div",{class:{"progress-step":!0,active:g+1<=this.progressCurrentStep}}))))}render(){const M="narrow"===this.layout?"narrow":"fluid"===this.layout?"fluid":"auto";return N("div",{key:"f353e792c29cf6a49513529f3a54740bf2894dcc",class:{"duet-page-heading":!0,"duet-theme-turva":"turva"===this.theme,"has-icon":!!this.icon,[M]:!0}},N("div",{key:"b8a5a752d4557b2ac2ac2bfc1c2e65861d4c0521",class:"background"},"turva"===this.theme&&N("div",{key:"ff9cbab91c325792d84f24d227d67b5bd2f83401",class:"background-mask"}),"turva"!==this.theme&&N("div",{key:"c697b3df64c3300caccb801818e16e0f82be19b4",class:"brand-shape"}),"turva"!==this.theme&&N("div",{key:"86bea79fd3c261f4042b7f55129cf5b3e2bbcc20",class:"brand-shape second-shape"}),this.icon&&N("div",{key:"f95cb3034647398542c7eac251e3a8ee589fde3c",class:"brand-shaped-icon"},N("duet-icon",{key:"5ea162f55f426e4fb23d062c42b452f9d02dd8db",background:"none",name:this.icon,margin:"none",size:"auto",responsive:!1}))),N("div",{key:"ca049bcfa7903693dcd81e7053f9c8436f5bc972",class:"heading"},N("slot",{key:"1f11d60c4883d6a083ab58a3549230893373a4b0",name:"heading"}),void 0!==this.progressCurrentStep&&this.progressTotalSteps>0&&N("div",{key:"3d192a48b6d2f852c76bb4cca92a6bd260c89b6d"},N("duet-spacer",{key:"ae3a5aa598bca7741ddeefb498ad03a00f01ffa1",size:"large"}),N("div",{key:"145b65c13423049136df5afff6d6f0b75fceeff2",role:"presentation"},this.progressIndicator()))))}get element(){return g(this)}};D.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}.duet-page-heading{position:relative;display:block;width:100%;margin:0 auto;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(8, 42, 77)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.auto{overflow:visible}.duet-page-heading.auto .heading,.duet-page-heading.auto .background{max-width:none}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading:not(.has-icon) .heading{padding-right:0}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;pointer-events:none;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yODIwXzY5OTkxKSI+CjxwYXRoIGQ9Ik04MC4xNzA1IDIzLjE4MTVDOTEuOTY5OSAxOC44NjU5IDEwMi44NyAxMS42NTU5IDExMi45MDkgMS41NjQ0OEMxMjMuNzcgLTguMzA1MjcgMTM0LjM4MiAtMTguMjAxMSAxNDQuODI2IC0yOC4xODgyQzE1NS4yNDMgLTM4LjE2MjIgMTY1LjkwOCAtNDguMDg0MSAxNzYuNzQzIC01Ny45Mjc4QzE3OC44MTYgLTU5LjA0OSAxODAuNDk4IC02MC4yODc3IDE4MS43ODggLTYxLjY1NjdDMTgzLjA2NiAtNjMuMDEyNiAxODUuNDY1IC02Mi4yODI1IDE4OS4wMTIgLTU5LjQ3OTNDMTg0LjczNSAtNTEuMTM1IDE4MC43NTkgLTQyLjk2MDIgMTc3LjAxNyAtMzQuOTAyN0MxNzMuMjg4IC0yNi44NDUyIDE2Ny42ODEgLTE5LjEyNjggMTYwLjIxMSAtMTEuNzYwM0MxNTIuNzUzIC00LjM4MDgzIDE0NC45NTYgMy4zMTE1MiAxMzYuODQ3IDExLjM2OUMxMjguNzI0IDE5LjQyNjUgMTIwLjk2NiAyNy4xNDUgMTEzLjQ4MyAzNC40OTg0Qzk3LjQ5OCA0OS44MTggNzkuNjYyIDU2LjAyNDEgNjAuMDAwOCA1My4xNjg4QzQwLjI4NzQgNTAuMzEzNSAyNS41NDE0IDM5LjA3NDcgMTUuNjk3NyAxOS40Nzg2QzMuOTI0NDUgLTIuMzcyOTkgLTEuMjI1NTUgLTI0LjQ3MjQgMC4yNDc3NDMgLTQ2Ljc4MDNDMS4yNTE2NyAtNjcuNDg0NiAzLjQwMjkzIC04Ny43OTc4IDYuODA1ODQgLTEwNy43NzJDMTAuMTk1NyAtMTI3LjczMyAxNS43MTA4IC0xNDcuNDg2IDIzLjMzOCAtMTY3LjA0M0MyNi4zMTA3IC0xNzQuMDMxIDI5LjAwOTUgLTE4MC44NSAzMS40NzM3IC0xODcuNTY0QzMzLjkxMTggLTE5NC4yMjcgMzYuNTMyNCAtMjAwLjY2OCAzOS4yNTc0IC0yMDYuODQ4QzQxLjgxMjggLTIwOS41NzIgNDMuNDY4NiAtMjEyLjEyOCA0NC4xODU3IC0yMTQuNTRDNTMuMDI1NSAtMjI5LjM3NyA2Mi44MyAtMjM3Ljk5NSA3My42Mzg1IC0yNDAuNDMzQzg0LjM5NDggLTI0Mi44NzEgOTguMTM2OSAtMjM5LjgyMSAxMTQuODEyIC0yMzEuMzJDMTI3Ljk0MiAtMjI1LjYwOSAxMzMuMzkyIC0yMTYuMTA1IDEzMS4xNDkgLTIwMi43OTNDMTMwLjE3MSAtMTkwLjgzNyAxMjcuOTk0IC0xNzkuMjU5IDEyNC42MTcgLTE2OC4wMkMxMjAuMDQxIC0xNTIuNzc5IDExNS40MzggLTEzNy41NTEgMTEwLjg0OSAtMTIyLjMyMkMxMDYuMjczIC0xMDcuMDgxIDEwMS4yNzkgLTkxLjk2OTkgOTUuODk0MyAtNzcuMDAyM0M4NS41OTQzIC00OC42MDU3IDc5LjQyNzQgLTE5LjQyNjcgNzcuNDA2NSAxMC41NjA2Qzc3LjcxOTQgMTIuNDEyIDc4LjA0NTMgMTQuMjYzNSA3OC4zNTgzIDE2LjA4ODhDNzguNjcxMiAxNy45NDAyIDc5LjI3MDkgMjAuMyA4MC4xNzA1IDIzLjE5NDRNMTEwLjkxNCAtMjk2Ljc1N0MxMDkuNTQ1IC0yOTguMDM1IDEwNy4zMTYgLTI5OS4zNTIgMTA0LjIzOSAtMzAwLjczNEMxMDEuMTYyIC0zMDIuMDkgOTguMjQxMiAtMzA0LjA1OSA5NS41NDIzIC0zMDYuNjI3QzkwLjA3OTQgLTMxMS43NzcgODYuOTc2MyAtMzE4LjE2NiA4Ni4yMzMyIC0zMjUuODE5Qzg1LjQ2NCAtMzMzLjQ3MiA4Ny4zODA1IC0zNDAuNTUyIDkxLjk2OTkgLTM0Ny4wNThDOTMuMjIxNSAtMzQ4LjQxNCA5NC4xNDcyIC0zNDkuMjM1IDk0LjY4MTggLTM0OS41MjJDOTUuMTkwMyAtMzQ5Ljc5NiA5Ni4xMDI5IC0zNTAuNjA0IDk3LjM5MzcgLTM1MS45OTlDMTA5LjY3NSAtMzU3LjkwNiAxMjIuNDE0IC0zNTYuNjkzIDEzNS42MzQgLTM0OC4zMzZDMTQ2Ljk1MSAtMzQyLjMyNSAxNTIuMDg4IC0zMzMuMzE2IDE1MS4xMzYgLTMyMS4zNkwxNDguMjI5IC0zMTEuNzM4QzE0NC42NjkgLTI5Ny4wNyAxMzUuNTY5IC0yOTEuNTAzIDEyMC45MTQgLTI5NS4wNjJDMTE5LjA1IC0yOTQuNzIzIDExNS43MzggLTI5NS4yOTcgMTEwLjkxNCAtMjk2Ljc0NCIgZmlsbD0iI0Y1RjVGNyIvPgo8cGF0aCBkPSJNMjQyLjc2NyAyMTUuNTE4QzI0NS4wODggMjEzLjU4OCAyNDcuMjc4IDIxMi4xMDIgMjQ5LjM3NyAyMTAuOTY4QzI1MS40NSAyMDkuODU5IDI1My41MzYgMjA4Ljc1MSAyNTUuNjIyIDIwNy42MDRDMjc0LjIyNyAxOTIuMjg0IDI5MC41NzcgMTc3LjE2IDMwNC43MjMgMTYyLjE5M0MzMTUuNjg4IDE0OC45NDYgMzI2LjYxNCAxMzUuODU2IDMzNy40ODggMTIyLjk4N0MzNDguMzYxIDExMC4xMTkgMzU4Ljg4MyA5Ni45Mzc1IDM2OS4wNjYgODMuNDE3MUMzNzYuNDQ1IDczLjQzMDEgMzg0LjU4MSA2My44NjAyIDM5My40NDcgNTQuNzQ2NkM0MDIuMyA0NS42NDYxIDQxMC44MjYgMzYuMjMyNyA0MTkuMDAxIDI2LjQ4MDNDNDIxLjgwNCAyMi45NzMxIDQyNC4yMjkgMjAuMDAwNCA0MjYuMjg5IDE3LjU0OTNDNDI4LjMyMyAxNS4xMjQzIDQzMC41MDEgMTIuOTMzOCA0MzIuODM1IDExLjAxNzNDNDM0LjkwOCA5LjkwOTA2IDQzNi43NDYgOS41ODMwMSA0MzguMzYzIDEwLjA2NTRDNDM5Ljk1MyAxMC41NDc5IDQ0MS43OTIgMTAuMjQ4IDQ0My45MDQgOS4xMTM3MUM0NDMuMTg3IDExLjUxMjcgNDQyLjgyMiAxMy4zOTAzIDQ0Mi44ODcgMTQuNjk0QzQ0Mi45MjYgMTYuMDIzOSA0NDIuMjg3IDE3LjM2NjggNDQxLjAwOSAxOC43MjI3QzQyNC42NDcgNDYuOTYzIDQwNy42ODQgNzIuODE3MyAzOTAuMTIyIDk2LjMxMTdDMzc2LjY0MSAxMTQuOTU2IDM2My4xNDcgMTMyLjkwOSAzNDkuNjM5IDE1MC4yMjRDMzM2LjEwNiAxNjcuNTI1IDMyMi4yMiAxODUuMzYxIDMwNy45NDQgMjAzLjc1OEMzMDEuNTI5IDIxMC41MzcgMjk1LjM4OCAyMTcuMiAyODkuNDk1IDIyMy43MTlDMjgzLjU4OSAyMzAuMjI1IDI3Ny40MzUgMjM2LjkgMjcxLjAyIDI0My42NjdDMjU4LjkyMSAyNTQuODggMjQ0LjQ4OCAyNTkuMjM0IDIyNy43MzQgMjU2Ljc5NkMxOTYuODYgMjUxLjg4MSAxNzYuMDI1IDIzNi44NzQgMTY1LjIxNyAyMTEuNzg5QzE1NC42OTUgMTg4LjU2OCAxNDkuNTMyIDE2Ni41MDggMTQ5LjcwMiAxNDUuNjA4QzE0Ny45NDIgMTEzLjY3OCAxNDguMzA3IDgxLjk0MzggMTUwLjgxIDUwLjQxOEMxNTMuMyAxOC44NzkyIDE1OC4zMiAtMTIuMzIwNyAxNjUuODY5IC00My4yMDc3QzE4MC4xNzIgLTEwNS4yMDMgMTk4LjU2OCAtMTY2LjQwMyAyMjEuMTExIC0yMjYuODA4QzIzMi4wODkgLTI1Ny41MjYgMjQ0LjQyMyAtMjg3LjYxOCAyNTguMSAtMzE3LjA5NkMyNzEuNzc2IC0zNDYuNTc1IDI4Ni4zNzkgLTM3NS41MDcgMzAxLjk3MiAtNDA0LjAwOEMzMTIuOTUgLTQyNS45OSAzMjQuNjMyIC00NDcuMzQ2IDMzNi45NzkgLTQ2OC4wNjNDMzQ5LjMxMyAtNDg4Ljc1NCAzNjIuNDk1IC01MDkuMjI0IDM3Ni40MzIgLTUyOS40NTlDNDAzLjg2NCAtNTY4LjI5OSA0MzQuMTkgLTYwMy42NzEgNDY3LjM5OCAtNjM1LjU3NUM0NzUuNjM4IC02NDIuNjgxIDQ4My45OTUgLTY0OS4zMTcgNDkyLjQwNSAtNjU1LjUxQzUwMC44MjggLTY2MS42NzcgNTEwLjM5NyAtNjY2LjY1OCA1MjEuMTU0IC02NzAuMzk5QzU0NS4yNzQgLTY3Ny45NjEgNTY3LjcxMiAtNjc2Ljg3OSA1ODguMzkxIC02NjcuMTY2QzYwNC43MjcgLTY2MC40NzggNjEzLjY3MSAtNjQ5LjUxMyA2MTUuMjEgLTYzNC4yMTlDNjE3LjU5NiAtNjI0Ljc1NCA2MTguMTk1IC02MTMuNjcxIDYxNi45ODMgLTYwMC45NTlDNjEwLjMyIC01NTguNDgxIDU5Ny44NTYgLTUxNS41MzQgNTc5LjU1MSAtNDcyLjE5NkM1NjUuNDMxIC00MzkuODIzIDU0OS4wODEgLTQwOC43NTMgNTMwLjUyOCAtMzc5LjAwMUM1MTEuOTM2IC0zNDkuMjYxIDQ5Mi42MTQgLTMxOS45NTIgNDcyLjYgLTI5MS4wOTlDNDY1LjQ1NiAtMjgxLjkyIDQ1Ny45NDYgLTI3MS41MDMgNDUwLjEyMyAtMjU5LjkxMkM0MzMuNTc4IC0yMzYuOTc4IDQxNS42MzcgLTIxNS4xMjYgMzk2LjI4OSAtMTk0LjM1N0MzNzYuOTAyIC0xNzMuNTYxIDM1NS44NDUgLTE1NC4zOTYgMzMzLjA2OCAtMTM2LjgyQzMyMC4zODIgLTEyNi42OSAzMTIuNTMzIC0xMTUuMDg2IDMwOS40ODIgLTEwMi4wNDhDMzA0LjE4OSAtODQuNDQ2OCAyOTguOTc0IC02Ny4wNDExIDI5My43OTggLTQ5Ljg0NEMyODguNjIxIC0zMi42NDY5IDI4My43NzEgLTE1LjExMDggMjc5LjI4NiAyLjcxMjFDMjc1LjI3MSAxOC45NzA1IDI3MS4zMDcgMzQuOTgxIDI2Ny40MjIgNTAuODM1MkMyNjMuNTIzIDY2LjY2MzMgMjU5Ljk2NCA4Mi44NDM0IDI1Ni43NyA5OS4zMzY1QzI1My41NDkgMTE1LjgwMyAyNTAuNjgxIDEzMi42MjIgMjQ4LjE1MiAxNDkuNzQxQzI0NS42MDkgMTY2Ljg2IDI0My4xMzIgMTgzLjc5NyAyNDAuNzQ2IDIwMC40OThDMjQxLjA0NiAyMDIuMzM3IDI0MS4zMDcgMjA0LjM5NiAyNDEuNTE1IDIwNi42MTNDMjQxLjY5OCAyMDguODY4IDI0Mi4xMjggMjExLjg0MSAyNDIuNzggMjE1LjUxOE01NjQuMzIyIC02MjIuMDgxQzU2MS43MjggLTYxOS4zNDMgNTU4LjExNiAtNjE2LjA4MyA1NTMuNDg4IC02MTIuMjM3QzU0Mi4yMzYgLTU5OC4xNjkgNTMwLjk1OCAtNTgzLjkwNiA1MTkuNjI4IC01NjkuNDU5QzUwOC4yNTkgLTU1NC45ODcgNDk4LjA1IC01MzkuOTQxIDQ4OS4wMTUgLTUyNC4zNzRDNDU5LjIzNiAtNDc0Ljg2OSA0MzIuNzY5IC00MjMuOTU2IDQwOS42MDEgLTM3MS42MDhDMzg2LjQxOSAtMzE5LjI0OCAzNjUuMTkzIC0yNjUuNDQgMzQ1LjkzNiAtMjEwLjE3MkMzNDUuNzAyIC0yMDkuMzc3IDM0NS43MDIgLTIwOC43MTIgMzQ2LjAxNSAtMjA4LjE5QzM0Ni4yNjIgLTIwNy42NTYgMzQ2LjE4NCAtMjA2LjU4NyAzNDUuNzE1IC0yMDUuMDA5QzM0OS4zNzggLTIwNS42MjIgMzUxLjM2IC0yMDYuMzM5IDM1MS42MDggLTIwNy4xNDdDMzU1LjQ2NyAtMjExLjIxNSAzNTkuNTA5IC0yMTUuMjMxIDM2My43NDYgLTIxOS4xOTRDMzY3Ljk5NyAtMjIzLjE0NSAzNzEuNzY1IC0yMjcuNjgyIDM3NS4wNzYgLTIzMi44MTlDNDAyLjg4NiAtMjY3LjE2MSA0MjguNzE0IC0zMDIuMTQyIDQ1Mi41MzUgLTMzNy43MzZDNDc2LjM2OCAtMzczLjMwMyA0OTguNTMzIC00MTAuNjk2IDUxOS4wNjggLTQ0OS44ODhDNTQzLjg1MyAtNDk3LjM3MiA1NTkuNTc3IC01NDYuNzM0IDU2Ni4yNTIgLTU5Ny45MzRDNTY2LjY0MyAtNjAyLjE4NSA1NjYuOTE3IC02MDYuMDE4IDU2Ny4xIC02MDkuNDZDNTY3LjI0MyAtNjEyLjkwMiA1NjYuMzE3IC02MTcuMSA1NjQuMzM2IC02MjIuMDgxIiBmaWxsPSIjRjVGNUY3Ii8+CjxwYXRoIGQ9Ik02OTYuNTE1IDE4OS4wNjRDNzA0LjYzOCAxODQuMzk2IDcxMi42ODIgMTc5LjYxMSA3MjAuNjg4IDE3NC43MzVWMTM0LjA1N0M2OTcuODE5IDE0OC41MDMgNjczLjgwMyAxNTkuNjM3IDY0OC42MDEgMTY3LjQyMUM2MjIuMDgyIDE3NS42MzUgNTk0LjU1OCAxODAuNjY3IDU2Ni4wMTggMTgyLjU1OEM1NTAuOTIgMTgzLjI2MiA1NDEuMjk4IDE4MS44OTMgNTM3LjEgMTc4LjQzOEM1MzIuODc2IDE3NS4wMDkgNTI5LjA5NSAxNjUuNzUyIDUyNS43NTcgMTUwLjc0NUw1MjMuOTU4IDEzMC41NDlDNTIzLjMzMiAxMTguMTI0IDUyNC43NjYgMTA2Ljc1NSA1MjguMzM5IDk2LjQyODlDNTMxLjg1OSA4Ni4xNTUgNTM2LjEyMiA3NS42MjAzIDU0MS4xMTYgNjQuODc3QzU0NS42MTQgNjQuNDg1OSA1NDkuNTY0IDY0LjM2ODUgNTUzLjAzMiA2NC41MzhDNTU2LjQ3NSA2NC42OTQ1IDU2MC40MzggNjQuNTc3MSA1NjQuOTQ5IDY0LjE3MjlDNTg1Ljg3NSA2NC4zNjg1IDYwNy42MzYgNjEuNzQ3OSA2MzAuMjY5IDU2LjI4NDlDNjUyLjA4MiA1MC42MjY1IDY3MC40IDQxLjI3ODIgNjg1LjI3NyAyOC4yNTMzQzY5NC45MzggMTkuNzc4NiA3MDQuMDI1IDEwLjM3ODMgNzEyLjU2NSAwLjA5MTMwODZINjM5LjUyNkM2MjAuMjU2IDE2Ljk4ODUgNTk2Ljk0NCAyNy40ODQxIDU2OS41MzkgMzEuNDYwN0M1NjcuNjYxIDMxLjc3MzYgNTY2LjM1NyAzMS44MTI3IDU2NS41NzUgMzEuNTY1QzU2NC43NTQgMzEuMzMwMyA1NjMuODI4IDMxLjUxMjggNTYyLjgxMSAzMi4wNDc0QzU2MS45OSAzMS44MTI3IDU2MS42NTEgMzEuNDk5OCA1NjEuNzgxIDMxLjA4MjZDNTYxLjg5OCAzMC42OTE1IDU2MS41NDYgMzAuMzY1NSA1NjAuNzUxIDMwLjEzMDhDNTYwLjk5OSAyOS4zMzU1IDU2MC45MDcgMjguODY2MSA1NjAuNTE2IDI4Ljc2MThDNTYwLjA5OSAyOC42MTg0IDU2MC4wMzQgMjguMTYyIDU2MC4yOTUgMjcuMzUzN0M1NjUuMzc5IDE4LjE3NDkgNTcwLjc3NyA5LjEwMDU1IDU3Ni40MzYgMC4wOTEzMDg2SDQzMC4xNzZDNDI0LjIwNCAxMi42NzMgNDE5LjA1NCAyNS45NDU2IDQxNC44MyAzOS45ODc1QzQwNi40NzMgNjEuOTU2NSA0MDQuMjgyIDgyLjI2OTcgNDA4LjI4NSAxMDAuOTY2QzQxMi4wMTQgMTIwLjQ1OCA0MTguODMzIDEzOC40NjMgNDI4LjcyOCAxNTQuOTgyQzQzOC42MTEgMTcxLjUyOCA0NTIuNDU4IDE4NS4wODcgNDcwLjI1NCAxOTUuN0M0OTAuNzM3IDIwOC44ODEgNTEyLjE0NSAyMTcuNzIxIDUzNC40MDEgMjIyLjI0NUM1NTYuNjQ0IDIyNi43NTcgNTc5Ljg2NSAyMjYuNTA5IDYwNC4xMTUgMjIxLjU2N0M2MDkuNjQzIDIyMC42MTYgNjE1LjI2MyAyMTkuNDY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-heading .progress-indicator{display:flex;flex-direction:row;gap:4px}.duet-page-heading .progress-step{width:100%;height:4px;background-color:rgb(181, 198, 208);border-radius:2px}.duet-page-heading .progress-step.active{background-color:rgb(0, 119, 179)}.duet-page-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(8, 42, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}.duet-page-heading.duet-theme-turva .progress-step{background-color:rgb(199, 202, 207)}.duet-page-heading.duet-theme-turva .progress-step.active{background-color:rgb(198, 12, 48)}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .background .background-mask{background-image:none}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgb(23, 42, 59);border-radius:16%;-webkit-mask-image:none;mask-image:none;transform:rotate(0)}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{top:0;transform:rotate(0)}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step{background-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step.active{background-color:rgb(230, 23, 64)}';export{D as duet_page_heading}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import"./p-CjRTMlgs.js";const o=()=>{globalThis.ds={log:()=>{},warn:()=>{},info:()=>{}}};export{o as g}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as a,g as r}from"./p-CjRTMlgs.js";import{i as s}from"./p-Bt_DCuTi.js";import{f as i}from"./p-CcCc0HYj.js";import{g as o}from"./p-qH1epSqB.js";import{g as h}from"./p-Df3Doz7n.js";import"./p-C6E9F6QT.js";import"./p-Bh9dkusU.js";const l=class{constructor(t){e(this,t),this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"],this.theme="",this.unit="%"}componentWillLoad(){s(this)}connectedCallback(){this.childObserver=new MutationObserver(this.updateChartItems.bind(this)),this.childObserver.observe(this.element,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.updateChartItems()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0)}updateChartItems(){const e=o(this.element).filter((e=>"duet-share-chart-item"===e.tagName.toLocaleLowerCase()));this.items=e.map(((e,t)=>({text:e.textContent,value:e.value,color:e.color||this.defaultColors[t%this.defaultColors.length]}))),this.itemsTotalValue=this.items.reduce(((e,{value:t})=>e+t),0)}render(){return t(a,{key:"c22523d7e91ce5ef59f5553ed847309cc45c9499"},t("div",{key:"9aa4f2e4c117c5f7c30bce27585c7abc4d5568ea",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.filter((e=>!!e.value)).map((e=>t("span",{class:"duet-share-chart-share",style:{width:e.value/this.itemsTotalValue*100+"%",backgroundColor:h(e.color,this.theme)}})))),t("ul",{key:"428d17dde9185b071455325d5d2195618f4a0267",class:"duet-share-chart-item-list"},this.items.map((e=>t("li",{class:{"duet-theme-turva":"turva"===this.theme}},t("span",{class:"duet-share-chart-item-color",style:{background:h(e.color,this.theme)}}),t("span",{class:"duet-share-chart-item-text"},e.text,":"),t("span",{class:"duet-share-chart-item-value"}," ",i(e.value)," ",this.unit),"%"!==this.unit&&t("duet-visually-hidden",null,`${i(e.value/this.itemsTotalValue*100,0)} %`))))),t("slot",{key:"2f394e013dfe0a533524bef6f0649f57d1c2d957"}))}get element(){return r(this)}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:rgb(23, 42, 59)}';export{l as duet_share_chart}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as d,h as a,H as e,g as t}from"./p-CjRTMlgs.js";import{i}from"./p-DxESMgwA.js";const n=class{constructor(a){d(this,a),this.margin="auto",this.middle=!1,this.paddingBreakpoint=void 0}render(){return a(e,{key:"1423181d3efb8f77211a81db6dc7a415457b23f4",class:{"duet-middle":this.middle,"duet-ie":i()}},a("div",{key:"3b08e02d99ce4d269a90522f896ecfb43608c79f",class:{"duet-layout-wrapper":!0,"duet-m-0":"none"===this.margin}},a("div",{key:"1c60dd6abba084bdf4b29b9cb4b6e94d137517e3",class:{"duet-layout":!0,[`padding-${this.paddingBreakpoint}`]:!!this.paddingBreakpoint}},a("section",{key:"be58aa5ae79e61f3ba8e2bbadb119d169ab51d59",class:"duet-main"},a("slot",{key:"43f94baf777b2626fefaa2a85d752f3e4652ed94"})))))}get element(){return t(this)}};n.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}}";export{n as duet_section_layout}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as i,g as a}from"./p-CjRTMlgs.js";import{a as s}from"./p-DcQPCCbT.js";import{e as n,d as o}from"./p-B1B-PPrh.js";import{i as d}from"./p-Bt_DCuTi.js";const r=class{constructor(t){e(this,t),this.mql=[window.matchMedia(s.replace(/'/g,""))],this.boundMqlFunctions=[],this.previousYScroll=0,this.hidden=!1,this.mobile=!0,this.bodyScroll=!0,this.theme="",this.hideOnScroll=!1,this.open=!1,this.handleMobileView=()=>{this.mql[0].matches?(this.mobile=!1,this.enableBodyScroll()):(this.mobile=!0,this.bodyScroll||this.disableBodyScroll())},this.onClick=()=>{this.open=!this.open},this.enableBodyScroll=()=>{this.nav&&n(this.nav),this.itemsContainer&&n(this.itemsContainer)},this.disableBodyScroll=()=>{this.nav&&o(this.nav,{reserveScrollBarGap:!0}),this.itemsContainer&&o(this.itemsContainer,{reserveScrollBarGap:!0})},this.checkIfHasItems=()=>{const e=!!this.element.querySelector("duet-submenu-bar-dropdown-link"),t=!!this.element.querySelector("duet-submenu-bar-link"),i=!!this.element.querySelector("duet-submenu-bar-item");return e||t||i}}watchOpenStateHandler(e){e?(this.bodyScroll=!1,this.disableBodyScroll()):(this.enableBodyScroll(),this.bodyScroll=!0)}componentWillLoad(){d(this)}connectedCallback(){this.nav=document.querySelector("duet-nav > [slot='mobile']"),this.hasItems=this.checkIfHasItems(),this.handleMobileView();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.handleMobileView.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[],this.enableBodyScroll()}async setFocus(e){this.button.focus(e)}checkScroll(){this.hideOnScroll&&(window.scrollY>this.previousYScroll?window.scrollY>100&&(this.hidden=!0):window.scrollY<150&&(this.hidden=!1),this.previousYScroll=window.scrollY)}render(){return t(i,{key:"463af77c5ac9d7a775876cfc005df160c5e7fdfa"},t("nav",{key:"fcbdbfc332d352007b1122ffa65cd6d13012a559",class:{"duet-submenu-bar":!0,"duet-theme-turva":"turva"===this.theme,hidden:this.hidden},"aria-label":this.accessibleLabel},this.hasItems&&t("button",{key:"98fadd59813f2aae19d4cb5d4734d73a98d4bb7e",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},t("span",{key:"dc38b3df13d3a4d1b4a9c78c53a9fc68b932152e",class:"label"},t("slot",{key:"128302a4e4c2c6e68d9fd8cb96d1439db8daf800",name:"label"}),t("duet-icon",{key:"0d4d0b35713d68685084568f0f95f1818b8deaca",theme:this.theme,class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"7396ba0b29224cfa487e725604ff50dab010cdeb",class:{"menu-container":!0,hidden:!this.open},role:"presentation"},t("div",{key:"4b5178a06a8933dfb9be60276a1a893158c62aaa",role:this.mobile?"menu":null,id:"menu","aria-labelledby":this.mobile?"button":null,"aria-expanded":this.mobile?this.open?"true":"false":null,class:{items:!0,hidden:!this.open},ref:e=>this.itemsContainer=e},t("div",{key:"71ee3de51b625b340635a30fb39292e25ddfc116",class:"list",role:this.mobile?"presentation":"list"},t("slot",{key:"4baa81a1de7c328e826df2f752075a9c4b05af0f"}),t("div",{key:"38b755c720305c3627d82a5e53af380752616396",class:"list-padding"}))),t("duet-overlay",{key:"62afaa179b2175f4c4c6cd56c6773675cffc061c","keep-stacking-context":!0,visible:this.open,"display-device":"not-large",transition:"immediate"}))))}get element(){return a(this)}static get watchers(){return{open:["watchOpenStateHandler"]}}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;pointer-events:none}:host *{pointer-events:auto}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;top:0;z-index:1;background:rgb(240, 247, 250);transition:top 0.4s}.duet-submenu-bar.hidden{top:-200px}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(198, 225, 238)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77)}.duet-submenu-bar button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar button:focus,.duet-submenu-bar button:focus.duet-theme-turva,.duet-theme-turva2 .duet-submenu-bar button:focus,.duet-submenu-bar button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{visibility:hidden;max-height:0;overflow:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;visibility:visible;max-height:unset;overflow:visible}}.duet-submenu-bar .items{visibility:visible;width:100%;height:70vh;overflow-y:scroll;background:rgb(240, 247, 250);border-bottom:1px solid rgb(181, 198, 208)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{visibility:hidden;max-height:0;overflow:hidden;border-bottom:0 solid rgb(181, 198, 208)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;visibility:visible;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar.duet-theme-turva{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 247, 250)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 28, 58)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva{background:rgb(253, 247, 242);border-bottom-color:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva .items{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 42, 59)}';export{r as duet_submenu_bar}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as a,g as i}from"./p-CjRTMlgs.js";import{n as r}from"./p-vVCYtBMj.js";import{a as o}from"./p-BWvtXbhA.js";import{i as u}from"./p-Bt_DCuTi.js";import{g as s}from"./p-DmZj36y3.js";import{a as n}from"./p-Db8rvjPI.js";import{g as b,c as m,d}from"./p-CcCc0HYj.js";import"./p-DvwKrUS6.js";import"./p-qH1epSqB.js";import"./p-C6E9F6QT.js";const c=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessiblePopup="false",this.accessibleLabelExternalDefaults=o,this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){u(this)}connectedCallback(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){d(this)}handleEscape(e){if(n(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){const e=this.url?"link":"button";return t(a,{key:"35be20639e3574ca775aa4b697485c84a1512045",role:"listitem"},t(this.url?"a":"button",{key:"10e74fbfad350fa687d2ed5c6d5bfa6c3c3b7a08",target:this.url?this.external?"_blank":"_self":null,ref:e=>this.itemElement=e,class:{"duet-submenu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,role:e,rel:this.external?"noopener":void 0},this.leadingIcon&&t("duet-icon",{key:"e4de062ea87077cdf5ab2f80a72cb746d10b32e9",class:"leading-icon",theme:this.theme,name:this.leadingIcon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"1829e95b6db1e8970ca53e5f8332b0aa97df310a",class:"label"},t("span",{key:"815b45070604d6a9fc3f875677119480812c448d",class:"label-text"},t("slot",{key:"195a9798c946491c1ec6318a99b5738e92d68f58"})),(this.trailingIcon||this.external)&&t("duet-icon",{key:"8718695a96ec8294833a18791aeefbe51526308f",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!!this.external,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"}))))}get element(){return i(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1.25;color:rgb(0, 75, 129);text-align:center;white-space:nowrap;text-decoration:none;cursor:pointer}.duet-submenu-bar-item:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva,.duet-theme-turva2 .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva2{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:16px;height:16px}}.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-submenu-bar-item .external-icon{width:10px;height:10px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(228, 241, 247)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(126, 2, 35)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-submenu-bar-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-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-submenu-bar-item.active.duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover.active{color:rgb(230, 23, 64)}';export{c as duet_submenu_bar_item}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{h as t,r as e,c as i,H as a,g as n,F as s}from"./p-CjRTMlgs.js";import{i as o}from"./p-Bt_DCuTi.js";import{f as d,d as r}from"./p-BlUsLmbQ.js";import{i as l}from"./p-Db8rvjPI.js";import{a as h,c as u,d as c,g as p,s as b}from"./p-CcCc0HYj.js";import{o as m,p as f,q as g,r as y,u as v,v as k,w as x,x as w,y as $,z as T,A as L,B as z,C as j,j as E,D as C,E as M,F as S,G as D,a as F,s as R,H as _}from"./p-Bh9dkusU.js";import{b as U,a as P}from"./p-Df3Doz7n.js";import{c as A}from"./p-Cfr_DJqU.js";import{p as W}from"./p-C6E9F6QT.js";import{a as H,g as B}from"./p-CZ7vOBA_.js";const q=({data:e,groupId:i,alignment:a})=>{const n=`duet-editable-table duet-editable-table-content-${i}`;return"string"==typeof e?t("td",{innerHTML:e,class:n,part:`${i}content`,style:{verticalAlign:a}}):t("td",{class:n,part:`${i}content`,style:{verticalAlign:a}},e)},I=class{constructor(t){e(this,t),this.duetTableToggle=i(this,"duetTableToggle",7),this.duetMenuClick=i(this,"duetMenuClick",7),this.hasHeadSlotFirst=!1,this.hasHeadSlotLast=!1,this.hasFootSlot=!1,this.language=h(),this.margin="auto",this.variation="striped",this.sticky=!1,this.stickyDistance="with-links",this.breakpoint="small",this.actions=void 0,this.columns=void 0,this.rows=void 0,this.sortable=!1,this.groupId="",this.theme="",this.accessibleRole=void 0,this.hideHeadVisually=!1,this.sortableDefaultLabel={fi:"Järjestä",en:"Click to sort",sv:"Klicka för att sortera"},this.actionColumnLabel={en:"Actions for rows",fi:"Toiminnot rivillä",sv:"Åtgärder för rader"},this.toggleColumn=(t,e)=>{e.preventDefault();const{sort_order:i,direction:a,index:n,key:s}=t;this.duetTableToggle.emit({sort_order:i,index:n,direction:a,key:s,component:"duet-editable-table",originalEvent:e})},this.handleKeyDown=(t,e)=>{l(e)&&this.toggleColumn(t,e)}}componentWillLoad(){o(this),this.hasHeadSlotFirst=!!this.element.querySelector("[slot='thead-first']"),this.hasHeadSlotLast=!!this.element.querySelector("[slot='thead-last']"),this.hasFootSlot=!!this.element.querySelector("[slot='tfoot']")}connectedCallback(){u(this)}disconnectedCallback(){c(this)}createLabel(e){const{sort_order:i,direction:a,index:n,label:s}=e,o=p(s);return this.sortable?t("span",{class:"duet-table-label","data-index":n},t("duet-button",{size:"small",icon:i&&1===a?"action-arrow-down-small":i&&-1===a?"action-arrow-up-small":"action-subtract-small","icon-size":"medium-small","accessible-label":this.sortableDefaultLabel[this.language],variation:"plain",margin:"none","icon-right":!0,onClick:t=>this.toggleColumn(e,t),onKeyDown:t=>this.handleKeyDown(e,t)},o)):o}getSortedColumns(){return[...this.columns].sort(d(["index"]))}getRowSortOrder(){return[...this.columns].sort(d(["sort_order"])).filter((t=>t.sort_order)).map((t=>-1===t.direction?`-${t.key}`:t.key))}renderTableHeader(){if(!this.columns)return;const e=this.getSortedColumns();return t("tr",{class:{"duet-table-action-header":!!this.actions}},e.map((e=>{if(!1!==e.display){const i=this.createLabel(e);return""!==i?t("th",{scope:"col"},i):t("td",null)}})),this.actions&&t("th",{scope:"col",class:"duet-table-action-header-heading"},this.actions&&t("duet-visually-hidden",null,this.actionColumnLabel[this.language])))}renderActions(e,i){if(this.actions)return t("td",{class:"duet-text-right"},this.actions.map((a=>t("duet-action-button",{actionMeta:Object.assign({},(null==e?void 0:e.meta)||{},{index:i}),actionId:(null==e?void 0:e.uid)||(null==e?void 0:e.id)||null,actionName:a.name,theme:this.theme,iconName:a.icon,iconColor:a.color,iconSize:a.size,background:a.background,"accessible-label":`${e.actionDescription||""} ${p(a.label)} `}))))}renderTableBody(){const e=this.getSortedColumns(),i=this.getRowSortOrder();return[...this.rows].sort(d(i)).map(((i,a)=>t("tr",{class:{"duet-table-action-row":!!this.actions,"duet-editable-table-row":!0,[`duet-editable-table-row-${this.groupId}`]:!0},"data-meta":JSON.stringify(i.meta)},e.map((e=>{if(!1!==e.display)return t(q,{data:i[e.key]?i[e.key]:i.item,groupId:this.groupId})})),this.actions&&this.renderActions(i,a))))}render(){return t(a,{key:"05720c6ef38164df71b02c23fb45d3d84808c2ac",class:{[`duet-editable-table-${this.variation}`]:!0,"duet-editable-table":!0,[`duet-editable-table-${this.theme}`]:!0,"duet-editable-table-scrollable":"none-scrollable"===this.breakpoint,"duet-editable-table-sortable":this.sortable,"duet-editable-table-actions":!!this.actions,"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme}},t("duet-table",{key:"52033d6f9c4e8ca460bacee6e2b8ea93da3b9eb8",class:"duet-editable-table-table",sticky:this.sticky,stickyDistance:this.stickyDistance,margin:this.margin,theme:this.theme,variation:this.variation,breakpoint:this.breakpoint,"hide-head-visually":this.hideHeadVisually},t("table",{key:"7f0689d1e576d5f0c5324715feaf21ce21c42e97",role:this.accessibleRole},t("caption",{key:"4e18555d5513dde6724a449d12030cc666937367"},t("slot",{key:"df9bcd3bde75a2669a08eb2ff0c67720750e5450",name:"tcaption"})),t("thead",{key:"efbbe81840f6e9ae9e0cc91fee5653c43181f131"},this.hasHeadSlotFirst&&t("tr",{key:"36d1a860bf16229740501f3b076b02125d1b3d85"},t("td",{key:"24c22fca3cbfef4ab9e2582cf32bf967654b8b43",class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{key:"a02148a1d13dc8c3147b26da2f5aa84e3b359cdf",name:"thead-first"}))),this.renderTableHeader(),this.hasHeadSlotLast&&t("tr",{key:"7b7ab392f982f5f7ce4caa5e86f7a1062412aad2"},t("td",{key:"cd739dea8b81f3290bb86d7e977fa83d124fdd03",class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{key:"068a9f86388a25ca00944d8e9ecfbed6cf0e2cfe",name:"thead-last"})))),t("tbody",{key:"f65077b6dee57c962826c459ddb044d4230753c5"},this.renderTableBody()),this.hasFootSlot&&t("tfoot",{key:"eceeface4ad0a0bbb15dc188a343291cef04ec72"},t("tr",{key:"aff41dc81c24e09a03db4742bf6d51c17b8ce937"},t("td",{key:"5d332218393462356c02ca19ff9c3398fbeb89a7",class:"duet-editable-table-footer-menu",colSpan:99},t("slot",{key:"b438187cfa67ef90452783e9522d106ecf9ab9d3",name:"tfoot"})))))))}get element(){return n(this)}};I.style=":host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-editable-table-actions-menu,td.duet-editable-table-actions-menu{position:relative;padding:0 !important;margin:0}.duet-editable-table-actions-menu-button{position:relative;right:-16px;float:right;padding:0}.duet-editable-table-actions-menu-icon .duet-icon{max-width:16px;max-height:16px}.duet-editable-table-row.duet-table-action-row .duet-text-right{text-align:right}.duet-editable-table-header tr .duet-editable-table-header-hidden{padding:0 !important;font-size:0;border-bottom:0}";const N=t=>t.replace("rgb(","").replace(")",""),O=`\nduet-table {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-bottom: ${m} !important;\n display: block;\n font-variant-numeric: tabular-nums;\n\n table,\n thead,\n tbody,\n tfoot,\n th,\n td,\n tr {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n }\n\n &.duet-m-0 {\n margin: 0 !important;\n }\n\n table {\n width: 100%;\n font-family: ${f};\n font-size: ${g};\n text-align: left;\n border-spacing: 0;\n border-collapse: separate;\n }\n\n &.duet-table-hide-head-visually.duet-table-hide-head-visually {\n thead,\n thead * {\n position: absolute !important;\n top: 0;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n overflow: hidden !important;\n clip: rect(1px, 1px, 1px, 1px) !important;\n border: 0 !important;\n }\n }\n\n &.duet-theme-turva table {\n font-family: ${y};\n }\n\n td {\n -webkit-hyphens: auto;\n hyphens: auto;\n color: ${v};\n }\n\n &.duet-theme-turva td {\n color: ${k};\n }\n\n th {\n font-weight: ${x};\n line-height: ${w};\n color: ${$};\n text-align: left;\n }\n\n &.duet-theme-turva th {\n color: ${T};\n }\n\n tbody th {\n font-weight: ${x};\n color: ${v};\n }\n\n &.duet-theme-turva tbody th {\n color: ${k};\n }\n\n & .duet-table-action-row {\n & td:last-child {\n justify-self: end;\n padding-right: ${m} !important;\n white-space: nowrap;\n }\n }\n\n span.duet-table-cell-heading {\n display: none;\n }\n}\n\n.duet-table-flattened {\n table,\n thead,\n tbody,\n tfoot,\n th,\n td,\n tr {\n display: block;\n }\n\n thead tr {\n position: absolute !important;\n top: 0;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n overflow: hidden !important;\n clip: rect(1px, 1px, 1px, 1px) !important;\n border: 0 !important;\n }\n\n td {\n line-height: ${w};\n\n &:not(:last-child) {\n margin-bottom: ${L};\n }\n\n span.duet-table-cell-heading {\n margin-bottom: ${z};\n display: block;\n font-size: ${g};\n font-weight: ${x};\n color: ${v};\n }\n }\n\n &.duet-theme-turva td span.duet-table-cell-heading {\n color: ${k};\n }\n\n tbody td,\n tbody th,\n tfoot td {\n padding: 0 !important;\n text-align: left !important;\n }\n\n tbody th {\n font-weight: ${x};\n line-height: ${w};\n color: ${$};\n text-align: left;\n }\n}\n\n.duet-table-sticky thead th {\n position: sticky;\n top: 0;\n z-index: $z-index-sticky;\n background: ${j};\n}\n\n.duet-table-striped {\n td,\n th {\n padding: ${m} !important;\n @media ${E.replace("'","").replace("'","")} {\n padding: ${m} ${C} !important;\n }\n }\n\n tbody th {\n background: ${j};\n }\n\n &.duet-table-sticky {\n thead th {\n border-bottom: 1px solid ${M};\n }\n\n &.duet-theme-turva thead th {\n border-bottom-color: ${S};\n }\n }\n\n tbody:not(:first-of-type) th {\n padding-top: calc(${m} * 2) !important;\n }\n\n tbody:only-of-type tr:nth-of-type(odd) {\n background: rgba(4, 81, 128, 0.04);\n }\n\n &.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {\n background: rgba(${N(k)}, 0.04);\n }\n\n tbody:not(:only-of-type) tr:nth-of-type(even) {\n background: rgba(4, 81, 128, 0.04);\n }\n\n &.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {\n background: rgba(${N(k)}, 0.04);\n }\n\n tfoot td {\n border-top: 1px solid ${M};\n }\n\n &.duet-theme-turva tfoot td {\n border-top-color: ${S};\n }\n\n &.duet-table-flattened {\n tbody:not(:first-of-type) th {\n padding-top: ${m} !important;\n }\n\n tr {\n padding: ${m} !important;\n }\n\n tfoot {\n td {\n border-top: 0;\n }\n\n tr {\n border-top: 1px solid ${M};\n }\n }\n\n &.duet-theme-turva tfoot tr {\n border-top-color: ${S};\n }\n }\n}\n\n.duet-table-plain, .duet-table-fixed, .duet-table-minimal {\n th {\n padding: ${L} !important;\n border-bottom: 1px solid ${$};\n\n &:first-child {\n padding-left: 0 !important;\n }\n\n &:last-child {\n padding-right: 0 !important;\n }\n }\n\n &.duet-theme-turva th {\n border-bottom-color: ${D};\n }\n\n tbody th {\n padding-top: calc(${m} * 2) !important;\n border-bottom-color: ${M};\n }\n\n &.duet-theme-turva tbody th {\n border-bottom-color: ${S};\n }\n\n td {\n padding: ${L} !important;\n\n &:first-child {\n padding-left: 0 !important;\n }\n\n &:last-child {\n padding-right: 0 !important;\n }\n }\n\n tbody td {\n border-bottom: 1px solid ${M};\n }\n\n &.duet-theme-turva tbody td {\n border-bottom-color: ${S};\n }\n\n &.duet-table-flattened {\n tbody:first-of-type th {\n padding-top: 0 !important;\n }\n\n td,\n tbody th {\n border-bottom: 0;\n }\n\n tr {\n padding: ${m} 0 !important;\n }\n\n tbody th {\n padding-top: ${m} !important;\n }\n\n tfoot td {\n margin-bottom: ${z} !important;\n }\n\n tbody:not(:only-of-type) tr:first-child {\n border-bottom: 0;\n }\n }\n}\n\n.duet-table-plain {\n\n &.duet-table-flattened {\n tbody tr {\n border-bottom: 1px solid ${M};\n }\n\n &.duet-theme-turva tbody tr {\n border-bottom-color: ${S};\n }\n }\n}\n\n.duet-table-minimal {\n\n tbody tr,\n tbody tr td {\n vertical-align: top;\n border-bottom: 0 none;\n }\n\n tbody tr:last-of-type,\n tbody tr:last-of-type td {\n border-bottom: 1px solid ${M};\n }\n\n &.duet-table-flattened {\n tbody tr,\n tbody tr td {\n border-bottom: 0 none;\n }\n\n tbody tr td[data-heading]::before {\n display: none;\n }\n\n tfoot {\n border-top: 1px solid ${M};\n }\n\n &.duet-theme-turva tfoot {\n border-top-color: ${S};\n }\n }\n}\n\n.duet-table-fixed {\n\n table {\n table-layout: fixed;\n }\n\n tbody tr,\n tbody tr td,\n tbody tr td:first-child {\n padding: 4px !important;\n vertical-align: text-bottom;\n border-bottom: 0 none;\n }\n\n thead {\n display: none;\n }\n\n tbody tr,\n tbody tr td {\n border-bottom: 0 none;\n }\n\n &:not(.duet-table-flattened) {\n tfoot {\n border-top: 1px solid ${M};\n }\n\n &.duet-theme-turva tfoot {\n border-top-color: ${S};\n }\n }\n}\n.duet-table-scrollable {\n position: relative;\n width: 100%;\n overflow-x: auto;\n background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;\n background-repeat: no-repeat;\n background-attachment: local, local, scroll, scroll;\n background-size: 100px 100%, 100px 100%, 12px 100%, 12px 100%;\n}\n\n.duet-table-selected-column {\n background: rgba(${N(F)}, 0.08);\n\n .duet-theme-turva & {\n background: rgba(${N(D)}, 0.08);\n }\n}\n\n.duet-table-sortable {\n tbody tr td:first-child,\n thead tr th:first-child {\n padding: ${m};\n }\n\n &:not(.duet-table-flattened) {\n tfoot {\n border-top: 1px solid ${M};\n }\n\n &.duet-theme-turva tfoot {\n border-top-color: ${S};\n }\n }\n}\n\n\n.duet-table-actions {\n table {\n table-layout: auto;\n }\n\n thead {\n & th:last-child {\n width: 1px;\n white-space: nowrap;\n }\n }\n}\n\n.duet-editable-table-table.duet-table-flattened {\n tr {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-auto-rows: auto;\n gap: 10px;\n\n &.duet-table-action-row td:last-child::before {\n padding: 0;\n content: "";\n }\n }\n\n td {\n grid-column: 1 / 2;\n\n &:first-child {\n grid-row: 1;\n grid-column: 1;\n }\n\n &:last-child {\n grid-row: 1;\n grid-column: 2;\n }\n }\n\n duet-table.duet-theme-turva2 {\n &.duet-theme-turva td {\n color: $color-turva2-gray-900;\n }\n\n &.duet-theme-turva tbody th {\n color: $color-turva2-gray-900;\n }\n\n &.duet-table-striped.duet-theme-turva.duet-table-sticky thead {\n th,\n td {\n border-bottom-color: $color-turva-nude-100;\n }\n }\n\n &.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {\n background: rgba($color-turva2-gray-900, 0.04);\n }\n\n &.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {\n background: rgba($color-turva2-gray-900, 0.04);\n }\n\n &.duet-table-striped.duet-theme-turva tfoot td {\n border-top-color: $color-turva-nude-100;\n }\n\n &.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr {\n border-top-color: $color-turva-nude-100;\n }\n\n &.duet-table-plain.duet-theme-turva tbody {\n th,\n td {\n border-bottom-color: $color-turva-nude-100;\n }\n }\n\n &.duet-table-plain.duet-theme-turva tbody td {\n border-bottom-color: $color-turva-nude-100;\n }\n\n &.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr {\n border-bottom-color: $color-turva-nude-100;\n }\n\n &.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot {\n border-top-color: $color-turva-nude-100;\n }\n\n &.duet-table-fixed.duet-theme-turva:not(.duet-table-flattened) tfoot {\n border-top-color: $color-turva-nude-100;\n }\n\n &.duet-table-sortable.duet-theme-turva:not(.duet-table-flattened) tfoot {\n border-top-color: $color-turva-nude-100;\n }\n }\n}\n`.replace(/[\n\r\t]/gm,""),Y={none:0,"with-links":16*parseFloat(_),"without-links":16*parseFloat(R)},V=class{constructor(t){e(this,t),this.headingSelector="thead tr > :not(*.duet-editable-table-actions-menu)",this.matchesBreakpoint=!0,this.language=h(),this.margin="auto",this.variation="striped",this.sticky=!1,this.stickyDistance="with-links",this.breakpoint="small",this.hideHeadVisually=!1,this.handleMediaQueryChange=t=>{this.matchesBreakpoint=U.includes(this.breakpoint)?!t.matches:t.matches}}watchLanguageStateHandler(t,e){t!==e&&setTimeout((()=>this.copyHeadingsToCells()),50)}connectedCallback(){!function(t){const e=t.getRootNode();if(e instanceof ShadowRoot){const t=new CSSStyleSheet;t.replace(O).then((()=>{e.adoptedStyleSheets.push(t)}))}else{if(document.querySelector("style#duet-table-styles"))return;const t=document.createElement("style");t.id="duet-table-styles",t.innerHTML=O,document.head.append(t)}}(this.element),this.mq=matchMedia("none"===this.breakpoint||"none-scrollable"===this.breakpoint?"all":P[this.breakpoint]),this.mq.addEventListener("change",r(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),this.observer=new MutationObserver((()=>r(this.copyHeadingsToCells(),50))),this.observer.observe(this.element,{childList:!0,subtree:!0})}componentWillLoad(){if(o(this),this.copyHeadingsToCells(),this.sticky&&"none-scrollable"===this.breakpoint&&console.warn('[DUET WARNING]: sticky and breakpoint="none-scrollable" are incompatible. Scrollable takes precedence'),this.sticky){const t=Y[this.stickyDistance];this.element.querySelectorAll(this.headingSelector).forEach((e=>e.style.top=`${t}px`))}}componentDidLoad(){this.observer&&this.observer.takeRecords(),u(this)}disconnectedCallback(){this.observer.disconnect(),this.observer=null,this.mq.removeListener(this.handleMediaQueryChange),this.mq=null,this.matchesBreakpoint=!0,c(this)}copyHeadingsToCells(){const t=this.element.querySelectorAll(this.headingSelector),e=this.element.querySelectorAll("tbody tr"),i=Array.from(t).map((t=>t.textContent.trim()));e.forEach((t=>{t.querySelectorAll("td").forEach(((t,e)=>{if(i[e]){const a=t.querySelector(".duet-table-cell-heading");if(!a||a.textContent!==i[e]){null==a||a.remove();const n=document.createElement("span");n.textContent=i[e],n.classList.add("duet-table-cell-heading"),n.setAttribute("aria-hidden","true"),n.inert=!0,t.prepend(n)}}}))}))}render(){return t(a,{key:"f7fa5871fe4bbfc89ec3683ad0d4d9824fb9347a",class:{[`duet-table-${this.variation}`]:!0,"duet-table-flattened":!this.matchesBreakpoint,"duet-table-sticky":this.matchesBreakpoint&&this.sticky,"duet-table-scrollable":"none-scrollable"===this.breakpoint,"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme,"duet-table-hide-head-visually":this.hideHeadVisually}},t("slot",{key:"0bdd203be920ca5f48f82473ce69f63d0ee3aa86"}))}get element(){return n(this)}static get watchers(){return{language:["watchLanguageStateHandler"]}}};var J=[{type:"default",system_message:"unknown error",message:{fi:"Tapahtui tuntematon virhe, ole hyvä ja yritä uudelleen.",sv:"Ett okänt fel uppstod, försök igen.",en:"An unknown error occured, please try again."}},{type:"400",system_message:"Bad Request: The server could not understand the request due to invalid syntax.",message:{fi:"Tiedostoa ei hyväksytty.",sv:"Servern avvisade din fil.",en:"The server rejected your file."}},{type:"401",system_message:"Not Authenticated: The client must authenticate itself to get the requested response...",message:{fi:"Vain kirjautunut käyttäjä voi lähettää tiedostoja.",sv:"Du måste vara inloggad för att ladda upp filer.",en:"You need to be logged in to upload files."}},{type:"403",system_message:"No Access: The client does not have access rights to the content.",message:{fi:"Ei oikeuksia lähettää tiedostoja.",sv:"Du har inte rätt åtkomsträttigheter för att ladda upp filer.",en:"You do not have the correct access rights to upload files."}},{type:"413",system_message:"Payload too large",message:{fi:"Tiedosto oli liian vastaanotettavaksi.",sv:"Filen var för stor för servern att hantera.",en:"The file was to large for the server to handle."}},{type:"415",system_message:"Unsupported media type",message:{fi:"Tiedoston tyyppi oli väärä.",sv:"Servern avvisade filen eftersom den hade fel typ.",en:"The server rejected the file because it had the wrong type."}},{type:"429",system_message:"Too many request from same address",message:{fi:"Liian monta yritystä, ole hyvä ja yritä myöhemmin uudelleen.",sv:"Servern har fått många förfrågningar från dig, försök igen senare.",en:"The server has received to many request from you, please try again later."}},{type:"500",system_message:"Internal Server Error",message:{fi:"Palvelin ilmoitti tuntemattomasta virheestä ja lataus epäonnistui.",sv:"Servern rapporterade ett okänt fel och uppladdningen misslyckades.",en:"The server reported an unknown error and the upload failed."}},{type:"duet-upload-100",system_message:"File extension not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den type.",en:"You cannot upload files with that extension."}},{type:"duet-upload-001",system_message:"File transfer failed",message:{fi:"Tiedoston lähetys keskeytyi, ole hyvä ja yritä uudelleen.",sv:"Din anslutning till servern avbröts, försök igen.",en:"Your connection to the server was interrupted, try again."}},{type:"duet-upload-101",system_message:"File mimetype not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den typ.",en:"You cannot upload files of that type."}},{type:"duet-upload-201",system_message:"File is too large",message:{fi:"Tiedosto on liian iso.",sv:"Filen är större än tillåtet.",en:"The file is larger than permitted."}},{type:"duet-upload-202",system_message:"The combined size of all files is too large",message:{fi:"Tiedostojen yhteenlaskettu koko on liian iso.",sv:"Du har nått den maximala kombinerade filstorleken.",en:"You have reached the maximum combined filesize."}},{type:"duet-upload-203",system_message:"Files to upload exceed total byte size limit",message:{fi:"Yritit lisätä tiedostoja, jotka ylittäisivät suurimman sallitun yhteenlasketun koon.",sv:"Du försökte lägga till filer som skulle överskrida den maximala kombinerade storleken.",en:"You tried to add files that would exceed the maximum combined size."}},{type:"duet-upload-301",system_message:"The maximum file limit has been reached",message:{fi:"Liitteiden maksimimäärä saavutettu.",sv:"Maximalt antal bilagor har uppnåtts.",en:"Maximum number of attachments reached."}},{type:"duet-upload-302",system_message:"Files to upload exceeds limits",message:{fi:"Et voi lähettää enempää kuin enimmäismäärän liitteitä.",sv:"Du kan inte ladda upp fler än det maximala antalet bilagor.",en:"You can't upload more than maximum number of attachments."}}];const X={fi:"Liiteluettelo",sv:"Lista över bilagor",en:"Attachments list"},K=({label:e,categoryLabel:i})=>t("div",{class:"items-header",tabindex:"-1","aria-label":p(X)},i&&t("duet-heading",{class:"category-header",border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none","aria-hidden":"true"},p(i)),t("duet-heading",{class:{"filename-header":!0,"no-category":!i},border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none","aria-hidden":"true"},p(e))),G=(t,e,i)=>{const{allowedMimetypes:a,allowedExtensions:n,maxBytes:s}=e;let o=!1,d=H("default",i);if(t){const{name:e,type:r,size:l}=t,h=((t,e)=>{if(!e||!t)return!0;const i=e.split(",");let a=!1;return i.forEach((e=>{const i=e.split("/"),n=t.split("/");i[0]!==n[0]||i[1]!==n[1]&&"*"!==i[1]||(a=!0)})),a})(r,a),u="all"===n||""===n||" "===n||void 0===n||((t,e)=>{if(!e)return!0;const i=t.split(".");return e.split(",").includes(i[i.length-1])})(e.toLowerCase(),n),c=((t,e)=>!e||!t||e>=t)(l,s);h||(d=H("duet-upload-101",i)),u||(d=H("duet-upload-100",i)),c||(d=H("duet-upload-201",i)),o=h&&u&&c}else o=!1;return{valid:o,errorMessage:o?void 0:p(d.message),errorSystem:o?void 0:d.system_message,errorType:o?void 0:d.type}},Q=({payload:t,options:e,onFailure:i,onSuccess:a,onProgress:n})=>{const{type:s="POST",xhr:o,uri:d,argument:r=null,headers:l=null}=e;o.open(s,`${d}${r||""}`,!0);const{data:h,name:u}=t;return l&&Object.keys(l).forEach((t=>{o.setRequestHeader(t,l[t])})),"POST"===s&&(o.onreadystatechange=()=>{o.readyState===XMLHttpRequest.DONE&&o.status>=200&&o.status<300&&a(o,u,o.status),o.readyState===XMLHttpRequest.DONE&&o.status>=300&&o.status<999&&i(o,u,o.status)},n(u)),o.send(h),o},Z=class{constructor(a){e(this,a),this.duetChange=i(this,"duetChange",3),this.duetBlur=i(this,"duetBlur",7),this.duetFocus=i(this,"duetFocus",7),this.duetReady=i(this,"duetReady",7),this.duetDone=i(this,"duetDone",3),this.duetState=i(this,"duetState",3),this.duetDelete=i(this,"duetDelete",3),this.duetCancel=i(this,"duetCancel",3),this.duetProgress=i(this,"duetProgress",3),this.duetUpload=i(this,"duetUpload",3),this.linkClick=i(this,"linkClick",3),this.tick=Date.now(),this.external=!1,this.middleware=null,this.deferUpload=!1,this.hideButton=!1,this.actions=[{icon:"action-delete",color:"color-danger",size:"x-small",background:"gray-lightest",name:"delete",map:["success","failure"],label:{fi:"Poista tiedosto",en:"Delete the file",sv:"Ta bort filen"}},{icon:"navigation-close",color:"primary",size:"x-small",background:"gray-lightest",name:"cancel",map:["inprogress","pending"],label:{fi:"Keskeytä lähetys",en:"Cancel the upload",sv:"Stop överföringen"}}],this.showLinks=!1,this.statusLabelDefaults={fi:{inProgress:"Lähetetään {filesUploaded}, yhteensä lähetettävänä {filesTotal}.",inProgressWithErrors:"Lähetetään {filesInProgress}, lähetetty {filesUploaded}, yhteensä lähetettävänä {filesTotal}, {filesWithErrors} epäonnistui",done:"Lähetys valmis, {filesTotal} lisätty onnistuneesti",doneWithErrors:"Lähetys valmis, {filesUploaded} lisätty onnistuneesti, {filesWithErrors} epäonnistui",files:"tiedostoa",file:"tiedosto"},sv:{inProgress:"Laddar upp {filesUploaded} av {filesTotal}",inProgressWithErrors:"Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",done:"Uppladdningen slutförd, {filesTotal} har lagts till",doneWithErrors:"Uppladdningen slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",files:"filer",file:"fil"},en:{inProgress:"Uploading {filesUploaded} of {filesTotal}",inProgressWithErrors:"Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",done:"Upload completed, {filesTotal} added successfully",doneWithErrors:"Upload completed, {filesUploaded} added successfully, {filesWithErrors} failed.",files:"files",file:"file"}},this.statusMessageLabel=p(this.statusLabelDefaults),this.buttonLabelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add an attachment"},this.buttonLabel=p(this.buttonLabelDefaults),this.accessibleButtonLabel=void 0,this.theme="",this.disabled=!1,this.margin="auto",this.required=!1,this.alignment="middle",this.hideGroups=!1,this.files=new Map,this.valid=!this.required,this.labelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add attachments"},this.label=p(this.labelDefaults),this.descriptionDefaults={en:"You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",sv:"Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",fi:"Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena."},this.description=p(this.descriptionDefaults),this.fileListEmptyDefaults={fi:"Ei vielä lisättyjä tiedostoja.",sv:"Inga filer har lagts till ännu.",en:"No files added yet."},this.fileListEmpty=p(this.fileListEmptyDefaults),this.error="",this.errorCodes=J,this.maxBytes=2e8,this.maxBytesTotal=void 0,this.maxFiles=99,this.allowedExtensions="all",this.allowedMimetypes="",this.multiple=!0,this.limitSelection=!1,this.hideCancelButton=!1,this.captionOnBottom=!1,this.showUploadedItemsHeader=!1,this.uploadedItemsHeaderLabel={fi:"Ladattu tiedosto",sv:"Lägg till en bilaga",en:"Uploaded file"},this.headerHeadingLevel="h3",this.hideHeader=!1,this.emitEvent=!1,this.actionButtonTitles={cancel:!1,delete:!1},this.renameDuplicates=!1,this.buttonId=A("DuetButton"),this.labelId=A("DuetLabel"),this.uploadId=A("DuetUpload"),this.filesInProgress=new Map,this.fileMaxReached=!1,this.bytesMaxReached=!1,this.filesToUploadExceedsLimit=!1,this.filesToUploadTotalSizeIsAboveMax=!1,this.internalStatusMessageLabel=void 0,this.itemRefs=new Map,this.DefaultGroups={inprogress:"inprogress",success:"success",pending:"pending",failure:"failure"},this.groups=[{id:this.DefaultGroups.success,label:{fi:"Valmiit tiedostot",sv:"Files success",en:"Files success"}},{id:this.DefaultGroups.failure,label:{fi:"Tiedostot, joissa on virheitä",sv:"Filer med fel",en:"Files with errors"}},{id:this.DefaultGroups.inprogress,label:{fi:"Kesken olevat tiedostot",sv:"Filer inprogress",en:"Files inprogress"}},{id:this.DefaultGroups.pending,label:{en:"Files to upload",sv:"Filer att ladda",fi:"Ladattavat tiedostot"}}],this.kick=r((()=>{this.tick=Date.now()}),30),this.categoryLabel={en:"Category",sv:"Filtyp",fi:"Tiedostotyyppi"},this.listenForActionEvents=()=>{this.element.addEventListener("duetActionEvent",(t=>{const e=t.detail,{action:i,id:a,originalEvent:n}=e;switch(i){case"delete":this.onDelete(a,n);break;case"cancel":this.onCancel(a,n)}}))},this.verifyValidity=()=>{const{invalid:t,valid:e}=this.getFilesAsArray(),i=this.valid;this.valid=0===t.length&&0!==e.length,this.valid!==i&&this.duetState.emit({originalEvent:void 0,data:{valid:this.valid,from:"componentWillRender"},component:"duet-upload"})},this.getGroupFromItemData=t=>t.valid&&100===t.progress?this.DefaultGroups.success:t.progress>0&&100!==t.progress?this.DefaultGroups.inprogress:t.valid?t.pending?this.DefaultGroups.pending:t.group?t.group:"none":this.DefaultGroups.failure,this.mapFilesToUploadItems=(e,i,a,n)=>i===this.DefaultGroups.success?t("duet-upload-item",{theme:this.theme,actions:this.getActions(i,n),type:"success",data:e,showLinks:this.showLinks,linkClickEvent:this.emitEvent?this.linkClick:void 0,categoryLabel:this.categoryLabel,label:this.uploadedItemsHeaderLabel,showCategory:a,buttonTitles:this.processedButtonTitles,ref:t=>{this.itemRefs.set(e.uid,t)}}):i===this.DefaultGroups.inprogress?t("duet-upload-item",{theme:this.theme,actions:this.getActions(i,n),type:"inprogress",data:e,showLinks:this.showLinks,categoryLabel:this.categoryLabel,label:this.uploadedItemsHeaderLabel,showCategory:a,buttonTitles:this.processedButtonTitles,ref:t=>{this.itemRefs.set(e.uid,t)}}):i===this.DefaultGroups.pending?t("duet-upload-item",{theme:this.theme,actions:this.getActions(i,n),type:"pending",data:e,showLinks:this.showLinks,categoryLabel:this.categoryLabel,label:this.uploadedItemsHeaderLabel,showCategory:a,buttonTitles:this.processedButtonTitles,ref:t=>{this.itemRefs.set(e.uid,t)}}):i===this.DefaultGroups.failure?t("duet-upload-item",{theme:this.theme,actions:this.getActions(i,n),type:"failure",data:e,showLinks:this.showLinks,errorCodes:this.errorCodes,categoryLabel:this.categoryLabel,label:this.uploadedItemsHeaderLabel,showCategory:a,buttonTitles:this.processedButtonTitles,ref:t=>{this.itemRefs.set(e.uid,t)}}):e.group?e.html:"none",this.genHashName=()=>Date.now().toString(36)+Math.random(),this.updateValueInMap=(t,e,i,a=!0)=>{try{const a=this.files.get(t);a[e]=i,this.files.set(t,a),this.external&&"url"!==e&&this.trackProgress(t,"uploaded"===e)}catch(t){}a&&this.kick()},this.updateProgress=(t,e)=>{t.lengthComputable?(i=>{this.updateValueInMap(e,"progress",i),this.onProgress(e,i,t)})(t.loaded/t.total*100):console.log("cant read progress")},this.trackProgress=(t,e=!1)=>{e?this.filesInProgress.delete(t):this.filesInProgress.set(t,"inprogress"),0===this.filesInProgress.size&&this.onDone()},this.getFilesAsArray=()=>{const t=[],e=[];return this.files.forEach((i=>{i.valid&&!i.deleted?t.push(i):i.valid||i.deleted||e.push(i)})),{valid:t,invalid:e}},this.resetFormFields=()=>{this.nativeInput.value=""},this.startUpload=async(t,e)=>{const{bytesMaxReached:i,fileMaxReached:a}=this.validateTotals();i||a?this.kick():(this.metaData=e,this.nativeInput.click(),this.onUpload(t,e),t.stopPropagation(),t.preventDefault())},this.transferComplete=t=>{this.updateValueInMap(t,"progress",100,!1),this.trackProgress(t,!0)},this.transferDone=(t,e,i)=>{this.updateValueInMap(e,"status",i,!1),this.updateValueInMap(e,"uploaded",!0,!1);try{const i=JSON.parse(t.response);this.updateValueInMap(e,"url",i.url)}catch(t){this.updateValueInMap(e,"url",null),console.error("Server did not respond with expected response {url: string}")}},this.transferDoneWithFailure=(t,e,i)=>{try{const{error:i}=JSON.parse(t.response);this.updateValueInMap(e,"error",{message:i.message,type:i.type},!1)}catch(t){console.error("Server did not respond with expected response error:{message: string, type: int}"),this.updateValueInMap(e,"error",{type:i},!1)}this.updateValueInMap(e,"valid",!1,!0)},this.transferFailed=t=>{this.updateValueInMap(t,"error",B("duet-upload-001",this.errorCodes))},this.transferCanceled=t=>{this.files.delete(t),this.validateTotals(t),this.kick()},this.validateTotals=t=>{const e=((t,e)=>{let i=0;return!!(e&&(this.files.forEach((t=>{t.valid&&t.size&&(i+=t.size)})),i>=e))})(0,this.maxBytesTotal),i=((t,e)=>{let i=0;return!!(e&&(this.files.forEach((t=>{t.valid&&i++})),i>=e))})(0,this.maxFiles);return e&&t&&this.updateValueInMap(t,"error",B("duet-upload-202",this.errorCodes),!1),i&&t&&this.updateValueInMap(t,"error",B("duet-upload-301",this.errorCodes),!1),this.bytesMaxReached=e,this.fileMaxReached=i,{bytesMaxReached:e,fileMaxReached:i}},this.uploadFile=async(t,e=!1,i)=>{!e&&this.deferUpload?(this.updateValueInMap(t.item.name,"pending",!0,!1),this.updateValueInMap(t.item.name,"group","pending",!0)):e&&(this.updateValueInMap(t.item.name,"pending",!1,!1),this.updateValueInMap(t.item.name,"group",void 0,!0));try{if(!this.deferUpload||e){const e=new FormData;e.append("file",t.item),i&&e.append("key",i),e.append("uid",t.uid),e.append("name",t.item.name),e.append("metadata",JSON.stringify({uid:t.uid,url:this.uri,size:t.item.size,meta:t.meta})),t.xhr=await this.makeXHRPostRequest(e)}}catch(e){this.updateValueInMap(t.item.name,"valid",!1,!1)}},this.uploadPendingFiles=()=>{for(const[t,e]of Array.from(this.files.entries()))"pending"===e.group&&!0===e.pending&&this.uploadFile(e,!0,t)},this.getItemFromUID=t=>{for(const[e,i]of Array.from(this.files.entries()))if(i.uid===t)return{value:i,key:e};return null},this.handleExternalUploadButton=(t,e)=>{this.externalUploadButton&&(this.externalUploadButton.disabled=!(!t&&!e))},this.onDelete=(t,e)=>{const i=this.getItemFromUID(t).key,a=this.files.get(i);this.files.delete(i);const{bytesMaxReached:n,fileMaxReached:s}=this.validateTotals();this.handleExternalUploadButton(n,s),this.kick(),this.duetDelete.emit({originalEvent:e,data:{deletion:a},component:"duet-upload"}),this.external||a.pending||this.makeXHRDeleteRequest(a),this.resetFormFields()},this.onCancel=(t,e)=>{const i=this.getItemFromUID(t).key,a=this.files.get(i);this.files.delete(i);const{bytesMaxReached:n,fileMaxReached:s}=this.validateTotals();if(this.handleExternalUploadButton(n,s),!this.external){const{xhr:t}=a;t&&t.abort()}this.kick(),this.resetFormFields(),this.duetCancel.emit({originalEvent:e,data:{cancelled:a},component:"duet-upload"})},this.onUpload=(t,e)=>{this.duetUpload.emit({originalEvent:t,metaData:e,component:"duet-upload"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,component:"duet-upload"})},this.onProgress=(t,e,i)=>{this.duetChange.emit({originalEvent:i,data:{key:t,percentComplete:e},component:"duet-upload"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,component:"duet-upload"})},this.onReady=()=>{this.duetReady.emit({component:"duet-upload"})},this.onDone=()=>{this.duetDone.emit({component:"duet-upload",data:{files:this.files}})},this.filterMap=()=>{const t=Array.from(this.files.values()),e=[],i=[],a=[],n=[];let s=!1;return t.forEach((t=>{const o=this.getGroupFromItemData(t);t.meta&&t.meta.badges&&(s=!0),o===this.DefaultGroups.success?n.push({uid:t.uid,data:t}):o===this.DefaultGroups.inprogress?e.push({uid:t.uid,data:t}):o===this.DefaultGroups.pending?a.push({uid:t.uid,data:t}):o===this.DefaultGroups.failure?i.push({uid:t.uid,data:t}):t.group&&e.push({uid:t.uid,data:t})})),{pending:a,failure:i,success:n,inprogress:e,hasCategory:s}},this.getActions=(t,e)=>e.filter((e=>e.map.includes(t))),this.renderUploadedItems=()=>{this.itemRefs.clear();const e=this.filterMap(),i=e.hasCategory,a=this.hideCancelButton?this.actions.filter((t=>"cancel"!==t.name)):this.actions,n=this.groups.map((n=>{const o=e[n.id];if(null==o?void 0:o.length)return t(s,null,!this.hideGroups&&t(K,{categoryLabel:i?this.categoryLabel:void 0,label:n.label}),o.map((t=>this.mapFilesToUploadItems(t.data,n.id,i,a))))}));return t(s,null,this.showUploadedItemsHeader&&t(K,{categoryLabel:i?this.categoryLabel:void 0,label:this.uploadedItemsHeaderLabel}),n)}}watchValidHandler(t,e){t!==e&&this.kick()}componentWillLoad(){this.internalStatusMessageLabel="string"==typeof this.statusMessageLabel?b(this.groups):this.statusMessageLabel,o(this),this.listenForActionEvents(),this.onReady(),this.externalUploadButton=document.querySelector(`#${this.externalUploadButtonId}`),this.processedButtonTitles=W(this.actionButtonTitles)}componentWillRender(){this.verifyValidity()}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async upload(t){const{bytesMaxReached:e,fileMaxReached:i}=this.validateTotals();if(e||i)return this.handleExternalUploadButton(e,i),void this.kick();this.metaData=t,this.nativeInput.click()}async uploadPending(){this.uploadPendingFiles()}async refresh(){this.kick(),await this.setFocus()}async getFiles(){return!(!this.files||0===this.files.size)&&this.getFilesAsArray()}async updateValue(t,e,i){this.updateValueInMap(t,e,i)}async focusActionButton(t){var e;await(null===(e=this.itemRefs.get(t))||void 0===e?void 0:e.focusActionButton())}render(){const e=this.identifier||this.uploadId,i=Math.round((this.maxBytesTotal?this.maxBytesTotal:this.maxBytes*this.maxFiles)/1024/1024),n=Math.round(this.maxBytes/1024/1024);let o=this.description.replace(/{maxfiles}/g,this.maxFiles.toString());return o=o.replace(/{maxbytes}/g,`${n.toString()} MB`),o=o.replace(/{maxbytestotal}/g,`${i.toString()} MB`),o=o.replace(/{filetypes}/g,this.allowedExtensions.split(",").join(", ")),this.externalUploadButton&&(this.externalUploadButton.accessibleLabel=`${this.externalUploadButton.innerText}. ${o}`),t(a,{key:"855e27e55645747625669bf080e6f65423b9bbf0",class:{"duet-m-0":"none"===this.margin}},t("duet-fieldset",{key:"89d6b1b88260ccb7ffa2f4a3130fdf74d904e048","label-heading-level":this.headerHeadingLevel,"label-hidden":this.hideHeader,label:this.label},t("slot",{key:"10b9cdc44bd94871f538a9299ea6252f4375a864",name:"header"}),!this.files.size&&t("duet-empty-state",{key:"924905b1aafa76175b93f12dd6e7d7ac8ac5b5e3",id:this.labelId,part:this.identifier?`${this.identifier}-empty-state`:"duet-upload-empty-state",icon:"messaging-attachment"},t("duet-paragraph",{key:"f744c2afdb520cd0e69a15c0a942f6ecd8e30b75",margin:"none"},this.fileListEmpty)),!!this.files.size&&t("slot",{key:"da55dafcb732e24b895185995040decfe40382c6",name:"fileheader"}),!!this.files.size&&t("duet-upload-aria-status",{key:"199e78733f262f857124540bbd055e7c6cbcaf6a",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&&t("slot",{key:"d6327694548a1ee39188af3935c67d0a6eaead79",name:"filefooter"}),t("slot",{key:"718e1e5d1f7041d2d596ada75a717942b74999f6",name:"uploadfooter"}),this.captionOnBottom&&t("duet-caption",{key:"d15f3fd09b07de11dc1f725bc9ee344889b6445f",margin:"none",size:"small"},t("div",{key:"1e4e1c3a29338fa3339cd2de701ba3c776c1166a",class:"upload-bottom-caption"},o)),t("slot",{key:"90f1e8de4c8359df2b8dded1bf5211857ce48a79",name:"afterfooter"}),!this.hideButton&&t(s,{key:"431fb04536068eefdf974fc34f89f56e712674c9"},t("duet-spacer",{key:"c98d3f3e0f06d17b1b86ab40486a663ef8c6a75e",size:"large"}),t("duet-button",{key:"1f057848bdacb5e69ef63e2bfdc81e216271f455",id:this.buttonId,onClick:this.startUpload,"accessible-controls":e,disabled:this.fileMaxReached,"accessible-label":this.accessibleButtonLabel||`${this.buttonLabel}. ${o}`,"accessible-owns":e,size:"small",variation:"secondary",fixed:!0,icon:"action-add-circle",part:this.identifier?`${this.identifier}-button-upload`:"duet-upload-button-upload"},this.buttonLabel)),(this.fileMaxReached||this.bytesMaxReached||this.filesToUploadExceedsLimit||this.filesToUploadTotalSizeIsAboveMax)&&t(s,{key:"8169162805d7ec3a093344e09a4bd9241c1b9c58"},t("duet-spacer",{key:"0f6500a4ada6c4b3c73f6524bf224ee1d79f0ae6",size:"medium"}),t("duet-alert",{key:"8bbc63eb777fa98ff0f797d970d66835ac6155a5",part:this.identifier?`${this.identifier}-error-notification`:"duet-upload-error-notification"},this.fileMaxReached&&B("duet-upload-301",this.errorCodes),this.bytesMaxReached&&B("duet-upload-202",this.errorCodes),this.filesToUploadExceedsLimit&&B("duet-upload-302",this.errorCodes),this.filesToUploadTotalSizeIsAboveMax&&B("duet-upload-203",this.errorCodes))),t("duet-visually-hidden",{key:"5fb70459ca757cc24041ce6e01414165ba6497b5","aria-hidden":"true"},t("input",{key:"808b15c23e12cf691f85e48e1a03106409b81565",ref:t=>{this.nativeInput=t},accept:this.limitSelection?`${this.allowedMimetypes},${this.allowedExtensions}`:void 0,onBlur:this.onBlur,onFocus:this.onFocus,onChange:t=>this.onChange(t),type:"file",class:{"duet-upload":!0},disabled:this.disabled,"aria-hidden":"true",required:this.required,name:this.name,id:this.identifier,multiple:this.multiple,tabIndex:-1}))))}makeXHRPostRequest(t){const e=new XMLHttpRequest,i=t.get("name");e.upload.addEventListener("progress",(t=>{this.updateProgress(t,i)})),e.upload.addEventListener("load",(()=>{this.transferComplete(i)})),e.upload.addEventListener("error",(()=>{this.transferFailed(i)})),e.upload.addEventListener("abort",(()=>{this.transferCanceled(i)}));let a={payload:{data:t,name:i},options:{type:"POST",uri:this.uri,xhr:e,argument:null,headers:void 0},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};return this.middleware&&(a=this.middleware(a)),Q(a)}makeXHRDeleteRequest(t){const{uid:e,item:i}=t,a=new XMLHttpRequest;let n={payload:{data:null,name},options:{type:"DELETE",xhr:a,uri:this.uri,argument:`?key=${e}&name=${i.name}`,headers:{"x-fileuid":e,"x-filename":i.name}},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};return this.middleware&&(n=this.middleware(n)),Q(n)}escapeSpecialCharacters(t){return(t+"").replace(/[\\"'(){}\[\]*?$^+]/g,"\\$&").replace(/\u0000/g,"\\0")}getRenamedFileName(t,e){const i=new RegExp(`${this.escapeSpecialCharacters(t)} \\(\\d+\\).${e}`),a=Array.from(this.files.entries()).map((t=>{const[e,i]=t;return e})).filter((a=>i.test(a)||a===`${t}.${e}`)).sort(((t,e)=>t.split(".").slice(0,-1).join(".")>e.split(".").slice(0,-1).join(".")?1:-1)).pop().split(".").slice(0,-1).join(".");if(a===t)return`${t} (1).${e}`;const n=parseInt(a.split("(").pop().slice(0,-1));return`${t} (${n+1}).${e}`}renameFiles(t){return t.map((t=>{if(this.files.get(t.name)){const e=t.name.split("."),i=e.pop(),a=e.join("."),n=this.getRenamedFileName(a,i);return new File([t],n,{type:t.type,lastModified:t.lastModified})}return t}))}async onChange(t){var e;let i=Array.from(null===(e=this.nativeInput)||void 0===e?void 0:e.files);if(this.filesToUploadExceedsLimit=!1,this.files.size+i.length>this.maxFiles)return this.filesToUploadExceedsLimit=!0,void this.kick();if(this.filesToUploadTotalSizeIsAboveMax=!1,((t,e,i)=>{let a=0;return!!(i&&(this.files.forEach((t=>{t.valid&&t.size&&(a+=t.size)})),e.forEach((t=>{t.size&&(a+=t.size)})),a>=i))})(0,i,this.maxBytesTotal))return this.filesToUploadTotalSizeIsAboveMax=!0,void this.kick();if(i){this.renameDuplicates&&(i=this.renameFiles(i));for(const t of i){const{valid:e,errorMessage:i,errorType:a,errorSystem:n}=G(t,{maxBytes:this.maxBytes,allowedExtensions:this.allowedExtensions,allowedMimetypes:this.allowedMimetypes},this.errorCodes),s={uid:this.genHashName(),item:t,size:t.size,meta:this.metaData,uploaded:!1,valid:e,error:{type:e?void 0:a,message:e?void 0:i,system_message:e?void 0:n},progress:0,deleted:!1,xhr:!1,url:!1};this.files.set(t.name,s),e&&!this.external?await this.uploadFile(s):e&&this.external?(this.updateValueInMap(s.item.name,"pending",!0,!1),this.updateValueInMap(s.item.name,"group","pending",!0)):e||this.updateValueInMap(t.name,"valid",!1,!0),this.kick()}}this.resetFormFields(),this.metaData=void 0,this.duetChange.emit({originalEvent:t,data:{files:this.files},component:"duet-upload"})}get element(){return n(this)}static get watchers(){return{valid:["watchValidHandler"]}}};Z.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}::slotted([slot=header]){margin-bottom:16px}::slotted([slot=fileheader]){margin:16px 0 0 0}::slotted([slot=filefooter]){margin-top:16px}::slotted([slot=uploadfooter]){margin-top:20px}.duet-upload{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-upload-item-size{font-size:0.75rem;font-weight:400}.duet-upload-filelist{margin-bottom:25px}.duet-upload-filelist-empty{display:flex;align-items:center;justify-content:center;width:100%;height:75px;margin:0 auto;font-size:1rem;font-weight:400;background-color:rgb(245, 248, 250)}.duet-upload-filelist-empty-label{font-size:1rem;font-weight:400}.duet-upload-editable-table-header-hidden{display:none}.duet-upload-editable-table tbody .duet-upload-editable-table-data{padding:0 !important;border:0}.duet-upload-editable-table duet-editable-table tfoot,.duet-upload-editable-table duet-editable-table thead{display:none}.duet-upload-editable-table duet-editable-table .duet-editable-table-content{padding-right:0 !important;padding-left:0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td{padding:1rem 0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child{padding-right:0 !important}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending{position:relative}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress{position:absolute;bottom:0;width:100%}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button),.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button){border:0}duet-paragraph::part(duet-paragraph){word-break:break-word}duet-editable-table tfoot{display:none}.upload-bottom-caption{margin-top:12px;margin-bottom:16px;line-height:1.4rem}.items-header{display:none;flex-direction:row;margin-bottom:0}@media (min-width: 36em){.items-header{display:flex}}.items-header:not(:last-child),.items-header:not(:first-child){margin-top:12px}.items-header .category-header{width:35%}.items-header .filename-header{width:65%}.items-header .filename-header.no-category{width:100%}.upload-item-row{display:flex;flex-direction:column;gap:16px;align-content:center;align-items:center;padding:16px 0 16px 0;border-bottom:1px solid rgb(212, 223, 229)}@media (min-width: 36em){.upload-item-row{flex-direction:row;gap:10px}}.upload-item-row .item-categories{width:100%}@media (min-width: 36em){.upload-item-row .item-categories{width:35%}}.upload-item-row .item-name{position:relative;bottom:2px;width:100%;text-align:left}@media (min-width: 36em){.upload-item-row .item-name{width:50%}.upload-item-row .item-name.no-category{width:85%}}.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:block}@media (min-width: 36em){.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:none}}.upload-item-row .item-actions{width:100%;margin-left:-8px;text-align:left}@media (min-width: 36em){.upload-item-row .item-actions{width:15%;padding-top:0;margin-left:auto;text-align:right}}.upload-item-row .duet-upload-item-name duet-icon{position:relative;top:4px}.upload-item-row .duet-upload-item-name duet-progress{display:block;margin-top:16px}";export{I as duet_editable_table,V as duet_table,Z as duet_upload}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,h as e,H as o,g as a}from"./p-CjRTMlgs.js";import{n as r}from"./p-vVCYtBMj.js";import{a as i}from"./p-BWvtXbhA.js";import{i as d}from"./p-Bt_DCuTi.js";import{g as n}from"./p-DmZj36y3.js";import{g as u,c as l,d as s}from"./p-CcCc0HYj.js";import"./p-DvwKrUS6.js";import"./p-qH1epSqB.js";import"./p-C6E9F6QT.js";const c=class{constructor(e){t(this,e),this.theme="",this.variation="default",this.active=!1,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessiblePopup="false",this.accessibleLabelExternalDefaults=i,this.accessibleLabelExternal=u(this.accessibleLabelExternalDefaults),this.external=!1,this.badge=!1}componentWillLoad(){d(this)}connectedCallback(){l(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){s(this)}async setFocus(t){setTimeout((()=>this.itemElement.focus(t)),200)}render(){const t=this.url?"a":"button",a="primary"===this.variation||"negative"===this.variation||"turva"===this.theme&&"secondary"===this.variation?"primary":"secondary"===this.variation?"secondary":"default";return e(o,{key:"eb26d2d4b6bca30e6ca4f6badc1235aba9bceba5",role:"listitem"},this.badge&&e("duet-indicator",{key:"06e7cc4489109e59e3a86c4ba511ca82c92c81ac",variation:"change"}),e(t,{key:"294b46d5c03f9e4468a109de050f6f5d5e6db5ae",target:this.url?this.external?"_blank":"_self":null,ref:t=>this.itemElement=t,class:{"duet-toolbar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active,[a]:!0},href:this.url,role:"a"===t?"link":"button","aria-current":this.active?"true":"false","aria-label":this.url&&n(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,rel:this.external?"noopener":void 0},this.leadingIcon&&e("div",{key:"cfb375b91d12501eb3bb14c0d8dab4898c225b1b",class:"duet-toolbar-icon"},e("duet-icon",{key:"2d4505d93051cc291345aaa8f7fd75254e0f9f13",size:"x-small",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),this.badge&&e("div",{key:"6d4deb63928fa9484fd2d36bb3b63bc31ca09de0",class:"duet-toolbar-badge"})),e("slot",{key:"487e4a04766617cac63c99949c3900049358fec9"}),(this.trailingIcon||this.url&&this.external)&&e("div",{key:"bf9cb805c54b16cb6fa0f0c4d79af8214efcdbb7",class:"duet-toolbar-icon"},e("duet-icon",{key:"ea4fb89649c146496bbc68c383483851fa9ea171",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!(!this.url||!this.external),rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.url&&this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"}),this.badge&&"action-arrow-down-small"!==this.trailingIcon&&e("div",{key:"6faf269ca79bd58c526ec509fad3fad42791c660",class:"duet-toolbar-badge"}))))}get element(){return a(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;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;white-space:nowrap;text-decoration:none;cursor:pointer}.duet-toolbar-item:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva,.duet-theme-turva2 .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva2{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-item .duet-toolbar-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.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:focus,.duet-toolbar-item.secondary:focus{outline:2px solid;outline-offset:-4px;outline-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);transform:translateY(1px);transition:300ms ease}.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)}duet-indicator{top:4px;left:16px;z-index:1}duet-indicator:has(+.duet-toolbar-item .duet-toolbar-icon){left:36px}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:not(.primary){color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:hover{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:hover:not(.primary){color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:hover.primary{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-item.active.duet-theme-turva::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-toolbar-item.active.duet-theme-turva:not(.primary){color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-item.active.duet-theme-turva.primary{background:rgba(23, 42, 59, 0.2)}';export{c as duet_toolbar_item}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as a,g as i}from"./p-CjRTMlgs.js";import{i as o}from"./p-Bt_DCuTi.js";import{a as n,c as d,d as r}from"./p-CcCc0HYj.js";import"./p-C6E9F6QT.js";const c=class{constructor(t){e(this,t),this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"},this.language=n(),this.theme="",this.margin="auto",this.buttonIcon="form-date"}componentWillLoad(){o(this)}connectedCallback(){d(this)}disconnectedCallback(){r(this)}render(){const e="turva"===this.theme?"turva":"default";return t(a,{key:"a29a3dab2ac7fb3079f2c1a159af7f4e7b5c226b",class:{"duet-m-0":"none"===this.margin}},t("div",{key:"14753b1f4fc3901aa2285d438c612e66619fabb5",class:{"duet-contact-card":!0,"duet-theme-turva":"turva"===this.theme},role:"group","aria-label":this.name},this.image?t("img",{class:"image",src:this.image,alt:this.name}):t("div",null),t("div",{key:"dc77c6904966d2b6438391dd2c827832ffe86325"},this.name&&t("duet-heading",{key:"a10e331782d05726446653615ba8effbb1de3257",class:"name",level:"h3",margin:"none",theme:e},this.name),this.description&&t("duet-paragraph",{key:"3f49dc9a8933eb5551f259e2dcca7f434f8e5082",class:"description",margin:"none",theme:e},this.description),this.email&&t("div",{key:"99ad9df72533f48e298153aeadf18cb50e37d1e9",class:"email"},t("duet-icon",{key:"cbe804f4877e52df6f678ace315efe098b3ef914",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:e}),t("duet-link",{key:"e909d9bc1096700ef5fb6d7a1e87c499d585d4dd",url:`mailto:${this.email}`,accessibleLabel:`Email: ${this.email}`,theme:e},this.email)),this.phone&&t("div",{key:"fe217c26608f2f461999844a3a00fe335c1e4509",class:"phone"},t("duet-icon",{key:"1194445745ecb176f6fcc39a18c3e233921524d9",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:e}),t("duet-link",{key:"b83e145b7909c3ef697932ff1cf95d223d4a4b14",url:`tel:${this.phone}`,accessibleLabel:`${this.phoneLabel[this.language]}: ${this.phone}`,theme:e},this.phone))),this.buttonUrl&&this.buttonText&&t("div",{key:"fdb27957cd0b60be23e8b4df7f062da5cc3eafc1",class:"call-to-action"},t("duet-button",{key:"f7cd81b4f2712057ee507a9f0f01e59121e7960e",variation:"default",icon:this.buttonIcon,fixed:!0,margin:"none",url:this.buttonUrl,theme:e},this.buttonText)),t("div",{key:"b3a716a438e7793ef194ae0b1067d926b75e0925"}),t("slot",{key:"3d4bea81e03b40457deb9fd0731c14a9b80d465e"})))}get element(){return i(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}:host(.duet-theme-turva2) .duet-contact-card.duet-theme-turva{color:rgb(23, 42, 59)}';export{c as duet_contact_card}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as r,g as a}from"./p-CjRTMlgs.js";import{i as o}from"./p-Bt_DCuTi.js";import{g as d}from"./p-CcCc0HYj.js";import{g as i}from"./p-Df3Doz7n.js";import"./p-C6E9F6QT.js";import"./p-Bh9dkusU.js";const b=class{constructor(t){e(this,t),this.observers=[],this.breadcrumbsAriaLabel=d({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"}),this.theme="",this.variation="header",this.color=""}componentWillLoad(){o(this),this.children=Array.from(this.element.children)}connectedCallback(){Array.from(this.element.children).forEach((e=>{const t=new MutationObserver((()=>this.children=Array.from(this.element.children)));t.observe(e,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.observers=[...this.observers,t]}))}disconnectedCallback(){this.observers.forEach((e=>e.disconnect())),this.observers=[]}render(){const e=i(this.color);return t(r,{key:"36f67b82a722d5c4017bb4cec37fd7149572d264"},t("nav",{key:"f8fe3f4e521969a60d9428a354a88152171613ec","aria-label":this.breadcrumbsAriaLabel,class:{"duet-breadcrumbs":!0,"duet-theme-turva":"turva"===this.theme,[this.variation]:!0}},t("div",{key:"78f711e9262e47c989705552d2ab75e65ae17fbe",class:"container"},t("div",{key:"bfc70b5d984cc57ef2591f4a3ecf452db9ae0ed6",role:"list",class:"list",style:{color:e}},t("slot",{key:"96e85ea897f84aef0111f41d1e91ac2a263e8d66"})),t("div",{key:"b99f56d5dba834d934872b86fcb8e46205ae3084",class:"bottom-border bottom-border--container"})),t("div",{key:"1d96cf880260a6fa1fb39cbc0e76e7b5df8f208c",class:"bottom-border bottom-border--nav"})))}get element(){return a(this)}};b.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.duet-breadcrumbs{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px 0 20px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:0;align-items:center;justify-content:flex-start;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 75, 129)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(212, 223, 229)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(126, 2, 35)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(8, 42, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}:host(.duet-theme-turva2) .duet-breadcrumbs.duet-theme-turva.header{color:rgb(23, 42, 59);background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-breadcrumbs.duet-theme-turva.header ol duet-breadcrumb[href]:hover{color:rgb(126, 2, 35)}:host(.duet-theme-turva2) .duet-breadcrumbs.duet-theme-turva.footer{background:rgb(230, 23, 64)}';export{b as duet_breadcrumbs}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as i,g as a}from"./p-CjRTMlgs.js";import{n as o}from"./p-vVCYtBMj.js";import{a as s}from"./p-BWvtXbhA.js";import{i as n}from"./p-Bt_DCuTi.js";import{g as l}from"./p-DmZj36y3.js";import{g as r,c as d,d as c}from"./p-CcCc0HYj.js";import"./p-DvwKrUS6.js";import"./p-qH1epSqB.js";import"./p-C6E9F6QT.js";const u=class{constructor(t){e(this,t),this.theme="",this.targetLanguage=void 0,this.active=!1,this.href="#",this.icon=void 0,this.size="inherit",this.caret=!1,this.menuItem=!1,this.accessibleLabelExternalDefaults=s,this.accessibleLabelExternal=r(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){n(this)}connectedCallback(){d(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){c(this)}render(){return t(i,{key:"eca2104ff848dfd3c52bab08c4377d19e374d13d"},t("a",{key:"9915adbb807d80081d2d791f36926a5b8a6b2a3e",target:this.href?this.external?"_blank":"_self":null,class:{"duet-slideout-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active,[this.size]:!0},href:this.href,"aria-current":this.active?"true":"false",lang:this.targetLanguage,hreflang:this.targetLanguage,"aria-label":this.href&&l(this)||this.accessibleLabel,rel:this.external?"noopener":void 0},this.icon&&t("duet-icon",{key:"eabe8fda17546094fafc6fa4a253e05c63fc1938",name:this.icon,color:"secondary",size:this.menuItem?"x-small":"small",margin:"none"}),t("div",{key:"98d30980e7ac325c36be8bb86b788d60cd36831d",class:"label"},t("span",{key:"7f96584e0ee24069a7cc9afc2649d3a0a7fe8758"},t("span",{key:"2b844eb1ae6ff0f7215e7979776c673e6f1accfb",class:"label-container"},t("span",{key:"d6de09afc6dbb0cfd6855f98e34c6b7b0b2c6421",class:"label-content"},t("slot",{key:"ef0c11c80556e88596d115ef534f86cc044362f8"})),this.external&&t("duet-icon",{key:"ffe4c9d8a90105199e4a79702847705f958adf00",class:"external-icon",theme:this.theme,name:o.title,margin:"none",size:"auto",color:"currentColor"})),t("slot",{key:"d329594665a0964175ea0872747342f4e070227d",name:"description"})),this.caret&&t("duet-icon",{key:"aafabb173724e1a6b736f289a7d76582f03f78c4",name:"action-arrow-right",color:"secondary",size:"x-small",margin:"none"}))))}get element(){return a(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva,.duet-theme-turva2 .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-slideout-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active .label-content::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:"";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1rem;font-weight:600}.duet-slideout-link.large{font-size:1.25rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:8px;align-items:center;justify-content:space-between;width:100%}.duet-slideout-link .label-container{display:flex;gap:8px;align-items:center;justify-content:flex-start;width:100%}.duet-slideout-link .external-icon{width:10px;height:10px}.duet-slideout-link.medium .external-icon,.duet-slideout-link.large .external-icon{width:12px;height:12px}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(98, 121, 138)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(113, 118, 132)}:host(.duet-theme-turva2) .duet-slideout-link.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-slideout-link.duet-theme-turva.active .label-content::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) slot[name=description]::slotted(*){color:rgb(23, 42, 59)}';export{u as duet_slideout_link}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as r,g as a}from"./p-CjRTMlgs.js";import{g as i}from"./p-DvwKrUS6.js";import{i as o}from"./p-Bt_DCuTi.js";import{s,u as n}from"./p-Db8rvjPI.js";var c,d,l=i(d?c:(d=1,c={title:"action-arrow-right-small",tags:"action arrow right small caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>'}));const u=class{constructor(t){e(this,t),this.theme="",this.href="",this.icon="arrow-right-small-icon",this.iconSize="x-small",this.hasSlottedContent=!1}componentWillLoad(){o(this)}connectedCallback(){s(this),this.hasSlottedContent=Array.from(this.element.childNodes).length>0}disconnectedCallback(){n(this)}render(){const e=this.href?"a":"span";return t(r,{key:"bee5edcaaa257aef537393e9620b269c242dff1d",role:"listitem"},t("div",{key:"fe46fa6ccf1f40968db1b82d27b11c5a5a450594",class:"container"},"arrow-right-small-icon"===this.icon&&t("duet-icon",{key:"0f01a2a92376855fc341815886b031498a5085fd",class:"duet-breadrumbs-arrow",size:"auto",icon:l.svg,margin:"none",color:"currentColor"}),t(e,{key:"cffeeca1d48de91945115a38bfcb1ae5efe702db",class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme,"icon-only":this.icon&&!this.hasSlottedContent},href:this.href||void 0,"aria-label":this.accessibleLabel||this.element.textContent,"aria-current":this.href?void 0:"page"},"arrow-right-small-icon"!==this.icon&&this.icon&&[t("duet-icon",{key:"ee27c63d28c4c9187a8242a811532322749f94fd",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&t("duet-spacer",{key:"e0a220aa059a782dc8716f9fcda3e945bc048f40",size:"x-small",direction:"horizontal"})],t("slot",{key:"86454db36ecfe921c4b1719f1d9b7807da79a272"}))))}get element(){return a(this)}};u.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:list-item;width:auto}.container{display:flex;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;padding:10px 8px;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-breadcrumb:focus,:host(.user-is-tabbing) .duet-breadcrumb:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-breadcrumb:focus,:host(.user-is-tabbing) .duet-breadcrumb:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}";export{u as duet_breadcrumb}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as o,g as a}from"./p-CjRTMlgs.js";import{i as n}from"./p-Bt_DCuTi.js";const i=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.open=!1,this.icon=void 0,this.onClick=()=>{this.open=!this.open}}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){n(this),this.element.querySelectorAll("duet-slideout-link").forEach((e=>{e.menuItem=!0}))}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"74023ff3094ea4e1867ae58690abaa3f338053e7"},t("div",{key:"0a0de8be47b2d48bc9f0c1564d458af29ee2e05f",class:{"duet-slideout-panel-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open}},t("button",{key:"887b98839351d36434969447057013fd8e7614ed",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active,"duet-theme-turva":"turva"===this.theme},onClick:this.onClick},this.icon&&t("duet-icon",{key:"a3d25c295dd87dd7d7427c08776e74f93ff06539",name:this.icon,size:"small",margin:"none",color:"secondary"}),t("span",{key:"f5721ac3bf32dc5d3a02c06c3945169f5191b8bf",class:"label"},t("slot",{key:"408ea11afbdc9705cf7d972f6173ba5215f06bec",name:"label"}),t("duet-icon",{key:"eba692bfd3ada8bbfdbe9eb6e51a01054f6f919a",class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),t("div",{key:"13c263ac376bd1b412ba8c57aec55504da08557d",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open,"duet-theme-turva":"turva"===this.theme}},t("slot",{key:"f582b50dca9e8127b6c4f0b6f9507f74f337ce7d"}))))}get element(){return a(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-slideout-panel-dropdown button:focus,.duet-slideout-panel-dropdown button:focus.duet-theme-turva,.duet-theme-turva2 .duet-slideout-panel-dropdown button:focus,.duet-slideout-panel-dropdown button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;visibility:visible;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 36px;overflow-y:auto;scrollbar-width:none;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{visibility:hidden;max-height:0;padding:0;overflow:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) slot{color:rgb(23, 42, 59)}';export{i as duet_slideout_panel_dropdown}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,h as e,g as i}from"./p-CjRTMlgs.js";import{i as r}from"./p-Bt_DCuTi.js";import{s as o,u as a}from"./p-Db8rvjPI.js";import{a as d,g as n,c as s,d as u}from"./p-CcCc0HYj.js";import{a as c}from"./p-BVgBUIYF.js";import"./p-C6E9F6QT.js";import"./p-DvwKrUS6.js";const h=class{constructor(e){t(this,e),this.language=d(),this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"},this.accessibleLabelUnread=n(this.accessibleLabelUnreadDefaults,this.language),this.url="#",this.date="",this.highlight=!1,this.external=!1,this.theme=""}componentWillLoad(){r(this)}connectedCallback(){s(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"}),o(this)}disconnectedCallback(){u(this),a(this)}async setFocus(t){this.linkElement.focus(t)}render(){return e("div",{key:"7e4e38752baee0c65e84c4edfa1ea6225daef0a9",role:"listitem",class:{"duet-notification":!0,"duet-notification-highlight":this.highlight,"duet-theme-turva":"turva"===this.theme}},e("a",{key:"d533b34bab8bed57448b132fdcfd7913da27d165",ref:t=>this.linkElement=t,href:this.url,target:this.external?"_blank":"_self"},e("div",{key:"9fd48a6483ee03a967abd2deca506a49eda9910c",class:"duet-notification-container"},e("div",{key:"0a647e9111eb00ae4268e20b72e248edcf211ab5",class:"duet-indicator-container"},this.highlight&&e("duet-indicator",{key:"61edc87a1995f7ebe37cefff3869dab6a3840d58",variation:"new","accessible-label":this.accessibleLabelUnread})),e("div",{key:"461dfcbff675bba86b0e66901b44f272e34b5619",class:"duet-notification-content"},e("slot",{key:"84fbc735b2ee2b129360419aa2d7a310a4b2895b"})),e("div",{key:"0bd791445a03f66f304fdb094200d95e409fcf09",class:"duet-notification-date"},this.date))))}get element(){return i(this)}};h.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;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;padding-bottom:0;cursor:pointer}:host(:first-of-type) .duet-notification{border-top-left-radius:var(--notification-border-top-radius, 8px);border-top-right-radius:var(--notification-border-top-radius, 8px)}:host(:last-of-type) .duet-notification{border-bottom:0;border-bottom-right-radius:var(--notification-border-bottom-radius, 8px);border-bottom-left-radius:var(--notification-border-bottom-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{outline:2px solid;outline-offset:-2px;outline-color:rgba(0, 119, 179, 0.8);z-index:1}.duet-theme-turva :host(.user-is-tabbing) .duet-notification:focus-within,:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-notification:focus-within,:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-notification-container{position:relative;display:flex;padding-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-indicator-container{position:relative;width:10px;margin-top:6px;margin-left:6px}.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{padding:16px;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{padding-bottom:0;border-bottom-style:none}}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}:host(.duet-theme-turva2) .duet-notification.duet-theme-turva{color:rgb(23, 42, 59);border-bottom-color:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-notification-badge.duet-theme-turva{background:rgb(230, 23, 64)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-notification:hover.duet-theme-turva{background:rgb(253, 247, 242)}}";const l=class{constructor(e){t(this,e),this.isOpen=!1,this.icon="",this.label="Label",this.language=d(),this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"},this.accessibleLabelNotifications=n(this.accessibleLabelNotificationsDefaults),this.badge=!1,this.theme="",this.direction="left",this.handleKeyDown=t=>{this.isOpen&&27===t.keyCode&&this.close()},this.toggleMenu=t=>{t.stopPropagation(),this.isOpen?this.close():this.open()},this.updateNotificationState=()=>{this.hasNotifications=this.element.children.length>0}}componentWillLoad(){r(this),this.updateNotificationState()}connectedCallback(){this.observer=new MutationObserver(this.updateNotificationState),this.observer.observe(this.element,{childList:!0}),o(this)}disconnectedCallback(){this.observer.disconnect(),this.observer=null,a(this)}handleClickFocusOutside(t){this.isOpen&&!this.element.contains(t.target)&&this.close(!1)}async setFocus(t){this.drawerButtonEl.focus(t)}async open(){const t=this.element.closest("duet-header");t&&t.closeMenus(),this.isOpen=!0,this.drawerContentEl.scrollTop=0}async close(t=!0){this.isOpen=!1,t&&this.setFocus({preventScroll:!0})}render(){return e("div",{key:"d4fa93920c2ed5c6dbde47edb4a06376a78c168d",class:{"duet-drawer":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:this.handleKeyDown},e("button",{key:"91cf715c35fa62f878e0f48052db7e949451ffd5",ref:t=>this.drawerButtonEl=t,type:"button",class:{"duet-drawer-toggle":!0,"duet-theme-turva":"turva"===this.theme},id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&e("div",{key:"3d590c90c7879a63935be538952e2680d4f86bfe",class:"duet-drawer-icon"},e("duet-icon",{key:"2772c893d000888882576b557b5c440a1f3c4c05",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&e("duet-indicator",{key:"cfaf4ba17a8c84ca5c4111afc7e9f7a2f9c212ec",variation:"change"})),e("span",{key:"3482261cfcde71451f58ee0834e396c4b28c2116",class:"duet-drawer-label"},this.label),e("div",{key:"a9701f65c33155543085e7fc9c295c901f99d104",class:"duet-drawer-caret"},e("duet-icon",{key:"71ea296b4ebbc97281106f896ec07c5d30c6932f",margin:"none",size:"auto",icon:c.svg,color:"currentColor"}))),e("div",{key:"6bef1c7a6d6cd6edfc6d2668ffa62e8e69f1bbd9",id:"duet-drawer-content",class:{"duet-drawer-content":!0,"duet-drawer-right":"right"===this.direction,"duet-drawer-left":"left"===this.direction,"duet-drawer-open":this.isOpen},ref:t=>this.drawerContentEl=t},this.hasNotifications?e("div",{role:"list"},e("slot",null)):e("duet-empty-state",{size:"small"},e("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))}get element(){return i(this)}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;text-overflow:ellipsis;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:48px;color:rgb(8, 42, 77);text-align:left;white-space:nowrap;text-decoration:none;-webkit-appearance:none;appearance:none;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-drawer-toggle:focus,:host(.user-is-tabbing) .duet-drawer-toggle:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-drawer-toggle:focus,:host(.user-is-tabbing) .duet-drawer-toggle:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{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-color:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:hover{color:rgb(0, 75, 129)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(113, 118, 132)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:rgb(0, 119, 179);transform:translateY(3px);transition:300ms ease}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 75, 129);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(113, 118, 132);border-color:rgb(245, 247, 250)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transform:translateY(-50%);transform-origin:50% 50%;transition:300ms ease}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(212, 223, 229)}@media (min-width: 62em){.duet-drawer-content{--notification-border-top-radius:0;--notification-border-bottom-radius:4px;position:absolute;top:100%;z-index:600;display:block;visibility:hidden;width:450px;max-height:420px;padding-left:0;overflow-y:auto;background-color:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0;transition:300ms ease}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle{color:rgb(23, 42, 59);border-color:rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true],:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(140, 0, 30);border-color:rgb(245, 246, 247)}';export{h as duet_notification,l as duet_notification_drawer}