@duetds/components 9.2.9 → 9.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (650) hide show
  1. package/hydrate/index.js +169 -159
  2. package/lib/cjs/{a11y-utils-1aed38e5.js → a11y-utils-38cc728a.js} +1 -1
  3. package/lib/cjs/{app-globals-f1966275.js → app-globals-f0563ef8.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  10. package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +7 -7
  13. package/lib/cjs/duet-card.cjs.entry.js +2 -2
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-chip_3.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  19. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +9 -4
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-footer.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  31. package/lib/cjs/duet-hero.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-icon.cjs.entry.js +4 -4
  33. package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
  34. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  44. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +4 -4
  46. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +46 -46
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  56. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  58. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
  63. package/lib/cjs/duet-slideout.cjs.entry.js +19 -16
  64. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
  70. package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
  71. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  79. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  83. package/lib/cjs/duet.cjs.js +3 -3
  84. package/lib/cjs/{errorcodes.utils-3668bb19.js → errorcodes.utils-54949f8e.js} +1 -1
  85. package/lib/cjs/{focus-utils-a099fd23.js → focus-utils-c89eb692.js} +1 -1
  86. package/lib/cjs/{index-2a0a8850.js → index-5f032552.js} +1 -1
  87. package/lib/cjs/{language-utils-4e60880e.js → language-utils-a8e10789.js} +1 -1
  88. package/lib/cjs/loader.cjs.js +3 -3
  89. package/lib/cjs/{slot-utils-3e7ba5fe.js → slot-utils-b995682a.js} +1 -1
  90. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  91. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  92. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  93. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  94. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  95. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  96. package/lib/collection/components/duet-date-picker/duet-date-picker.js +5 -0
  97. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  98. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  99. package/lib/collection/components/duet-link/duet-link.css +16 -12
  100. package/lib/collection/components/duet-link/duet-link.js +2 -2
  101. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  102. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  103. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  104. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  105. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  106. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  107. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  108. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  109. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  110. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  111. package/lib/collection/components/duet-scrollable/duet-scrollable.css +44 -1
  112. package/lib/collection/components/duet-scrollable/duet-scrollable.js +61 -8
  113. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  114. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  115. package/lib/collection/components/duet-slideout/duet-slideout.js +15 -12
  116. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  117. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  118. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  119. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  120. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  121. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  122. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  123. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  124. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  125. package/lib/collection/components/duet-tab-group/duet-tab-group.css +66 -56
  126. package/lib/collection/components/duet-tab-group/duet-tab-group.js +39 -40
  127. package/lib/collection/components/duet-table/duet-table.js +2 -2
  128. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  129. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  130. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  131. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  132. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  133. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  134. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  135. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  136. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  137. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  138. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  139. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  140. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  141. package/lib/dist-custom-elements/duet-alert.js +1 -1
  142. package/lib/dist-custom-elements/duet-badge.js +1 -1
  143. package/lib/dist-custom-elements/duet-banner.js +3 -3
  144. package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
  145. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  146. package/lib/dist-custom-elements/duet-button.js +1 -1
  147. package/lib/dist-custom-elements/duet-callout.js +4 -4
  148. package/lib/dist-custom-elements/duet-caption.js +1 -1
  149. package/lib/dist-custom-elements/duet-card.js +3 -3
  150. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  151. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  152. package/lib/dist-custom-elements/duet-chip.js +1 -1
  153. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  154. package/lib/dist-custom-elements/duet-choice.js +4 -4
  155. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  156. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  157. package/lib/dist-custom-elements/duet-contact-card.js +10 -10
  158. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  159. package/lib/dist-custom-elements/duet-date-picker.js +18 -13
  160. package/lib/dist-custom-elements/duet-divider.js +1 -1
  161. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  162. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  163. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  164. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  165. package/lib/dist-custom-elements/duet-footer.js +7 -7
  166. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  167. package/lib/dist-custom-elements/duet-grid.js +1 -1
  168. package/lib/dist-custom-elements/duet-header.js +8 -8
  169. package/lib/dist-custom-elements/duet-heading.js +1 -1
  170. package/lib/dist-custom-elements/duet-hero.js +9 -9
  171. package/lib/dist-custom-elements/duet-icon.js +1 -1
  172. package/lib/dist-custom-elements/duet-input.js +1 -1
  173. package/lib/dist-custom-elements/duet-label.js +1 -1
  174. package/lib/dist-custom-elements/duet-layout.js +1 -1
  175. package/lib/dist-custom-elements/duet-link.js +1 -1
  176. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  177. package/lib/dist-custom-elements/duet-list.js +1 -1
  178. package/lib/dist-custom-elements/duet-logo.js +1 -1
  179. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  180. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  181. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  182. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  183. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  184. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  185. package/lib/dist-custom-elements/duet-modal.js +8 -8
  186. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  187. package/lib/dist-custom-elements/duet-nav.js +2 -2
  188. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  189. package/lib/dist-custom-elements/duet-notification.js +4 -4
  190. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  191. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  192. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  193. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  194. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  195. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  196. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  197. package/lib/dist-custom-elements/duet-progress.js +1 -1
  198. package/lib/dist-custom-elements/duet-promo-card.js +5 -5
  199. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  200. package/lib/dist-custom-elements/duet-radio.js +1 -1
  201. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  202. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  203. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  204. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  205. package/lib/dist-custom-elements/duet-select.js +1 -1
  206. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  207. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  208. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  209. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  210. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  211. package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
  212. package/lib/dist-custom-elements/duet-slideout.js +18 -15
  213. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  214. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  215. package/lib/dist-custom-elements/duet-step.js +4 -4
  216. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  217. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  218. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  219. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  220. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  221. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  222. package/lib/dist-custom-elements/duet-tab-group.js +40 -83
  223. package/lib/dist-custom-elements/duet-tab.js +1 -1
  224. package/lib/dist-custom-elements/duet-table.js +1 -1
  225. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  226. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  227. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  228. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  229. package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
  230. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  231. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  232. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  233. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  234. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  235. package/lib/dist-custom-elements/duet-tray.js +5 -5
  236. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  237. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  238. package/lib/dist-custom-elements/duet-upload.js +21 -21
  239. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  240. package/lib/dist-custom-elements/index.js +1 -1
  241. package/lib/dist-custom-elements/{p-2943089f.js → p-076fca2d.js} +1 -1
  242. package/lib/dist-custom-elements/{p-a8b3fd4c.js → p-09a8f668.js} +3 -3
  243. package/lib/dist-custom-elements/{p-27cbc339.js → p-0a4ff31b.js} +3 -3
  244. package/lib/dist-custom-elements/{p-e0f85f88.js → p-0bc2e3ae.js} +8 -8
  245. package/lib/dist-custom-elements/{p-9cf3b4f1.js → p-0f7f0a83.js} +3 -3
  246. package/lib/dist-custom-elements/{p-41502808.js → p-103cc7c5.js} +2 -2
  247. package/lib/dist-custom-elements/{p-35123857.js → p-15b2b51c.js} +6 -6
  248. package/lib/dist-custom-elements/{p-44708612.js → p-1a5288a4.js} +1 -1
  249. package/lib/dist-custom-elements/{p-da5b8ec9.js → p-1c379414.js} +2 -2
  250. package/lib/dist-custom-elements/{p-179d56b4.js → p-21dd7bb6.js} +1 -1
  251. package/lib/dist-custom-elements/{p-41fdac81.js → p-24b8aa06.js} +4 -4
  252. package/lib/dist-custom-elements/{p-e1b88b31.js → p-26deaac9.js} +1 -1
  253. package/lib/dist-custom-elements/{p-cbaff5a0.js → p-26e23171.js} +1 -1
  254. package/lib/dist-custom-elements/{p-9dffb45b.js → p-293decb6.js} +1 -1
  255. package/lib/dist-custom-elements/{p-5cdebc59.js → p-3e4b714a.js} +1 -1
  256. package/lib/dist-custom-elements/{p-31ff9a51.js → p-3f0c498c.js} +10 -10
  257. package/lib/dist-custom-elements/{p-987a4fd4.js → p-500bd959.js} +2 -2
  258. package/lib/dist-custom-elements/{p-582aa1ce.js → p-50aa1b2f.js} +1 -1
  259. package/lib/dist-custom-elements/{p-56ee56e2.js → p-59ebdad5.js} +1 -1
  260. package/lib/dist-custom-elements/{p-34c882ce.js → p-645e6264.js} +5 -5
  261. package/lib/dist-custom-elements/{p-d77d6afd.js → p-65e4b6d6.js} +5 -5
  262. package/lib/dist-custom-elements/{p-ca75b999.js → p-6a6e776c.js} +4 -4
  263. package/lib/dist-custom-elements/{p-e618b914.js → p-6ae31cd8.js} +1 -1
  264. package/lib/dist-custom-elements/{p-4231dbd3.js → p-8611f263.js} +3 -3
  265. package/lib/dist-custom-elements/{p-0a644195.js → p-9881577b.js} +3 -3
  266. package/lib/dist-custom-elements/{p-d52cb82b.js → p-9f4351bc.js} +1 -1
  267. package/lib/dist-custom-elements/{p-fc46d383.js → p-a031995e.js} +2 -2
  268. package/lib/dist-custom-elements/{p-788e7d41.js → p-ae1777be.js} +2 -2
  269. package/lib/dist-custom-elements/{p-1fd154eb.js → p-b056c1ad.js} +3 -3
  270. package/lib/dist-custom-elements/{p-30ef22d9.js → p-ca5d8fa3.js} +1 -1
  271. package/lib/dist-custom-elements/{p-3c793d69.js → p-ca6bc272.js} +23 -14
  272. package/lib/dist-custom-elements/{p-686a6241.js → p-d0239f13.js} +1 -1
  273. package/lib/dist-custom-elements/{p-b98a40e8.js → p-d2bcbefe.js} +5 -5
  274. package/lib/dist-custom-elements/{p-e0764308.js → p-d90fe5ac.js} +1 -1
  275. package/lib/dist-custom-elements/{p-bc7fed2d.js → p-dd451078.js} +4 -4
  276. package/lib/dist-custom-elements/{p-e3666c32.js → p-e0d2a491.js} +5 -5
  277. package/lib/dist-custom-elements/{p-27514d04.js → p-e26bca4a.js} +12 -12
  278. package/lib/dist-custom-elements/{p-aeb538c5.js → p-eb6d9b73.js} +1 -1
  279. package/lib/dist-custom-elements/{p-db694b95.js → p-fa300b37.js} +5 -5
  280. package/lib/duet/duet.esm.js +1 -1
  281. package/lib/duet/duet.js +1 -1
  282. package/lib/duet/{p-b08f6621.system.entry.js → p-0017a15a.system.entry.js} +1 -1
  283. package/lib/duet/{p-c52eb9c5.system.entry.js → p-01de4654.system.entry.js} +1 -1
  284. package/lib/duet/{p-cd4b600e.entry.js → p-047159d2.entry.js} +1 -1
  285. package/lib/duet/p-0acda711.entry.js +4 -0
  286. package/lib/duet/{p-e0b68336.js → p-0c6b088d.js} +1 -1
  287. package/lib/duet/{p-33f7ec65.system.entry.js → p-0c8b9fd2.system.entry.js} +1 -1
  288. package/lib/duet/{p-9af7b9a3.system.entry.js → p-0f5503a2.system.entry.js} +1 -1
  289. package/lib/duet/{p-6567d9e7.entry.js → p-0f764899.entry.js} +1 -1
  290. package/lib/duet/{p-634bdce1.system.entry.js → p-10225f3d.system.entry.js} +1 -1
  291. package/lib/duet/{p-17a0b9f0.entry.js → p-10fb8b25.entry.js} +1 -1
  292. package/lib/duet/{p-7095502e.system.entry.js → p-12b94807.system.entry.js} +1 -1
  293. package/lib/duet/{p-8460d964.system.entry.js → p-13b1bb75.system.entry.js} +1 -1
  294. package/lib/duet/{p-d4154247.system.entry.js → p-1465c813.system.entry.js} +2 -2
  295. package/lib/duet/{p-7a96d3cb.system.entry.js → p-14baa983.system.entry.js} +2 -2
  296. package/lib/duet/{p-ce80a61c.system.entry.js → p-163ab70d.system.entry.js} +1 -1
  297. package/lib/duet/{p-3d12da02.entry.js → p-17bd04ab.entry.js} +1 -1
  298. package/lib/duet/{p-8531be0e.system.entry.js → p-1888d7bd.system.entry.js} +1 -1
  299. package/lib/duet/{p-b0aa75eb.entry.js → p-19ec7d46.entry.js} +1 -1
  300. package/lib/duet/{p-097d4fff.entry.js → p-19edf223.entry.js} +1 -1
  301. package/lib/duet/{p-9c82d287.system.entry.js → p-1cbcf5d9.system.entry.js} +1 -1
  302. package/lib/duet/{p-d5e2dabf.system.entry.js → p-1d29fe4b.system.entry.js} +1 -1
  303. package/lib/duet/{p-bf50a961.system.entry.js → p-1d8cf919.system.entry.js} +1 -1
  304. package/lib/duet/{p-2c313d1c.system.entry.js → p-214685e0.system.entry.js} +1 -1
  305. package/lib/duet/{p-4eb71381.system.entry.js → p-21e73322.system.entry.js} +1 -1
  306. package/lib/duet/{p-f87348b7.entry.js → p-225414c1.entry.js} +1 -1
  307. package/lib/duet/{p-45b3c99c.entry.js → p-22f68da5.entry.js} +1 -1
  308. package/lib/duet/{p-7b1066d0.entry.js → p-23006691.entry.js} +1 -1
  309. package/lib/duet/p-254631c5.system.js +4 -0
  310. package/lib/duet/{p-94ebe910.system.entry.js → p-25cff77e.system.entry.js} +1 -1
  311. package/lib/duet/{p-125956b8.system.entry.js → p-273dbbb5.system.entry.js} +1 -1
  312. package/lib/duet/{p-4c23b366.entry.js → p-281b423a.entry.js} +1 -1
  313. package/lib/duet/{p-878bc7fd.system.entry.js → p-29deabf7.system.entry.js} +1 -1
  314. package/lib/duet/{p-bcf290ee.system.entry.js → p-2ac13531.system.entry.js} +1 -1
  315. package/lib/duet/{p-1dac7dde.entry.js → p-2d416c79.entry.js} +1 -1
  316. package/lib/duet/{p-d2fc331f.system.entry.js → p-2d9731a6.system.entry.js} +1 -1
  317. package/lib/duet/{p-e836a2fd.entry.js → p-31537378.entry.js} +1 -1
  318. package/lib/duet/{p-f39a5889.entry.js → p-315faa77.entry.js} +1 -1
  319. package/lib/duet/{p-a7cf1f52.entry.js → p-31df3a7c.entry.js} +1 -1
  320. package/lib/duet/{p-0818208c.entry.js → p-324b5653.entry.js} +1 -1
  321. package/lib/duet/{p-c3f14636.entry.js → p-3559f6ef.entry.js} +1 -1
  322. package/lib/duet/{p-c13bc1aa.entry.js → p-35cdeac0.entry.js} +1 -1
  323. package/lib/duet/{p-673e8fdb.entry.js → p-36e9597f.entry.js} +1 -1
  324. package/lib/duet/{p-704e7a2d.js → p-37a1842f.js} +1 -1
  325. package/lib/duet/{p-90a1356f.system.entry.js → p-38562cfa.system.entry.js} +1 -1
  326. package/lib/duet/{p-d5efb6ee.entry.js → p-392e3c46.entry.js} +1 -1
  327. package/lib/duet/{p-c931d61e.system.entry.js → p-3a43c761.system.entry.js} +1 -1
  328. package/lib/duet/{p-f8941b12.entry.js → p-3bfd7c5f.entry.js} +1 -1
  329. package/lib/duet/{p-6a4078d9.entry.js → p-3e89d4a2.entry.js} +1 -1
  330. package/lib/duet/{p-c0b18150.system.entry.js → p-3eb3cb80.system.entry.js} +1 -1
  331. package/lib/duet/p-4367d56e.entry.js +4 -0
  332. package/lib/duet/{p-f01bfd7d.entry.js → p-465ebe1e.entry.js} +1 -1
  333. package/lib/duet/{p-20385aa0.entry.js → p-48689e64.entry.js} +1 -1
  334. package/lib/duet/{p-8b5a8d90.entry.js → p-48bcb3d6.entry.js} +1 -1
  335. package/lib/duet/p-48de990a.system.entry.js +4 -0
  336. package/lib/duet/{p-2a42806a.entry.js → p-492a4834.entry.js} +1 -1
  337. package/lib/duet/{p-942beef5.entry.js → p-49e05ba7.entry.js} +1 -1
  338. package/lib/duet/{p-0d7c518f.system.entry.js → p-4cf28f01.system.entry.js} +1 -1
  339. package/lib/duet/{p-743d5076.entry.js → p-4d685c3b.entry.js} +1 -1
  340. package/lib/duet/{p-11938523.system.entry.js → p-514c62a2.system.entry.js} +2 -2
  341. package/lib/duet/{p-c1fd4366.system.entry.js → p-5489d30d.system.entry.js} +1 -1
  342. package/lib/duet/{p-85d2cb85.entry.js → p-5838b436.entry.js} +1 -1
  343. package/lib/duet/p-5a043b53.system.js +4 -0
  344. package/lib/duet/{p-797959a3.js → p-5a4b011d.js} +1 -1
  345. package/lib/duet/{p-2b005714.entry.js → p-5ad46180.entry.js} +1 -1
  346. package/lib/duet/{p-756012c1.system.entry.js → p-5c03a84e.system.entry.js} +1 -1
  347. package/lib/duet/{p-13348dc5.entry.js → p-60f61794.entry.js} +1 -1
  348. package/lib/duet/{p-632b25ab.entry.js → p-6417e4b6.entry.js} +1 -1
  349. package/lib/duet/{p-4c67cf58.system.entry.js → p-65dbb3e1.system.entry.js} +1 -1
  350. package/lib/duet/{p-169dba92.system.entry.js → p-6ba8bd37.system.entry.js} +1 -1
  351. package/lib/duet/{p-1cb4cfb0.system.entry.js → p-6c9477fc.system.entry.js} +1 -1
  352. package/lib/duet/{p-71697275.entry.js → p-6d1ca645.entry.js} +1 -1
  353. package/lib/duet/{p-d57995c3.system.entry.js → p-6f537912.system.entry.js} +2 -2
  354. package/lib/duet/{p-ebce5a71.entry.js → p-6f9f0c6e.entry.js} +1 -1
  355. package/lib/duet/{p-99cec344.system.entry.js → p-71b1e594.system.entry.js} +1 -1
  356. package/lib/duet/{p-b8af6681.system.entry.js → p-720529cc.system.entry.js} +1 -1
  357. package/lib/duet/{p-e3187da9.entry.js → p-742c7b8d.entry.js} +1 -1
  358. package/lib/duet/{p-b2dc3ec5.system.entry.js → p-7510af57.system.entry.js} +1 -1
  359. package/lib/duet/{p-d997c94d.system.entry.js → p-76bacd25.system.entry.js} +1 -1
  360. package/lib/duet/p-77f74d88.entry.js +4 -0
  361. package/lib/duet/{p-938e773d.entry.js → p-79237081.entry.js} +1 -1
  362. package/lib/duet/{p-daf6306d.entry.js → p-7996208d.entry.js} +1 -1
  363. package/lib/duet/p-7a87c974.system.js +4 -0
  364. package/lib/duet/{p-147f10c9.system.js → p-7f3eb980.system.js} +1 -1
  365. package/lib/duet/{p-b5267584.system.entry.js → p-7fa32b1f.system.entry.js} +1 -1
  366. package/lib/duet/p-7fd0927e.js +4 -0
  367. package/lib/duet/{p-52f8f777.system.entry.js → p-859afdaf.system.entry.js} +1 -1
  368. package/lib/duet/p-85f7d22f.entry.js +4 -0
  369. package/lib/duet/{p-86937a4f.system.js → p-8623cfcd.system.js} +1 -1
  370. package/lib/duet/{p-f63bcbe4.system.entry.js → p-87f5ae8d.system.entry.js} +1 -1
  371. package/lib/duet/{p-059808fa.system.entry.js → p-8855bfe0.system.entry.js} +1 -1
  372. package/lib/duet/p-8883e167.entry.js +4 -0
  373. package/lib/duet/{p-d3faaec1.system.entry.js → p-893e4173.system.entry.js} +1 -1
  374. package/lib/duet/{p-23539e31.entry.js → p-8948d34c.entry.js} +1 -1
  375. package/lib/duet/{p-bd078fb9.entry.js → p-8d94afc8.entry.js} +1 -1
  376. package/lib/duet/p-90205019.js +4 -0
  377. package/lib/duet/{p-4d884205.system.entry.js → p-9091ce0a.system.entry.js} +1 -1
  378. package/lib/duet/{p-e6cecb5b.entry.js → p-939f51b7.entry.js} +1 -1
  379. package/lib/duet/{p-58ac0a69.system.entry.js → p-983aadb5.system.entry.js} +1 -1
  380. package/lib/duet/p-9a415196.system.entry.js +4 -0
  381. package/lib/duet/{p-ae08a640.system.entry.js → p-9a9cdcbc.system.entry.js} +1 -1
  382. package/lib/duet/{p-d8c08960.entry.js → p-9b22831e.entry.js} +1 -1
  383. package/lib/duet/{p-563a915a.system.entry.js → p-9d7d485a.system.entry.js} +1 -1
  384. package/lib/duet/{p-12a1c87b.system.entry.js → p-9edaccac.system.entry.js} +1 -1
  385. package/lib/duet/{p-fd1e6395.system.entry.js → p-9f2b6edc.system.entry.js} +1 -1
  386. package/lib/duet/{p-04e2930d.entry.js → p-a0a244ec.entry.js} +1 -1
  387. package/lib/duet/{p-a11a6a2b.entry.js → p-a21270e6.entry.js} +1 -1
  388. package/lib/duet/{p-76be6fee.system.entry.js → p-a24667c5.system.entry.js} +1 -1
  389. package/lib/duet/{p-58e8c466.entry.js → p-a2a7292b.entry.js} +1 -1
  390. package/lib/duet/{p-b99f9291.entry.js → p-a34ee4ce.entry.js} +1 -1
  391. package/lib/duet/{p-69e53b8f.system.entry.js → p-a45443fc.system.entry.js} +1 -1
  392. package/lib/duet/{p-69abbcc3.entry.js → p-a5ff6e84.entry.js} +1 -1
  393. package/lib/duet/{p-e5094a62.entry.js → p-a66b420b.entry.js} +1 -1
  394. package/lib/duet/{p-5318f4a4.entry.js → p-a8ce88be.entry.js} +1 -1
  395. package/lib/duet/{p-b186cd46.system.entry.js → p-a97fb686.system.entry.js} +1 -1
  396. package/lib/duet/{p-078bd3de.system.entry.js → p-a9b1590a.system.entry.js} +1 -1
  397. package/lib/duet/{p-ef2c7339.entry.js → p-aa61993f.entry.js} +1 -1
  398. package/lib/duet/{p-b2bd659d.entry.js → p-ac42fcb6.entry.js} +1 -1
  399. package/lib/duet/{p-234b17c8.system.entry.js → p-ae6bfe73.system.entry.js} +1 -1
  400. package/lib/duet/{p-436d69a7.entry.js → p-af9ac93b.entry.js} +1 -1
  401. package/lib/duet/{p-2bb7cef1.system.entry.js → p-b0a55166.system.entry.js} +1 -1
  402. package/lib/duet/{p-75a15db7.entry.js → p-b12864a6.entry.js} +1 -1
  403. package/lib/duet/{p-f5d9f207.entry.js → p-b2ad40f7.entry.js} +1 -1
  404. package/lib/duet/{p-42221153.system.entry.js → p-b42fd418.system.entry.js} +1 -1
  405. package/lib/duet/{p-fb33a00b.entry.js → p-b46d4e86.entry.js} +1 -1
  406. package/lib/duet/{p-06cf46f0.entry.js → p-b568e84d.entry.js} +1 -1
  407. package/lib/duet/p-b5e8f815.system.js +4 -0
  408. package/lib/duet/{p-c69a864c.entry.js → p-b632be58.entry.js} +1 -1
  409. package/lib/duet/{p-403ec083.system.entry.js → p-b6495dbd.system.entry.js} +1 -1
  410. package/lib/duet/{p-7a6e818c.system.entry.js → p-b6d16859.system.entry.js} +1 -1
  411. package/lib/duet/{p-162f70ad.entry.js → p-b7edb17c.entry.js} +1 -1
  412. package/lib/duet/{p-5882bf88.entry.js → p-ba080938.entry.js} +1 -1
  413. package/lib/duet/{p-552d1aa7.system.js → p-bdaef893.system.js} +1 -1
  414. package/lib/duet/{p-f9650289.system.entry.js → p-be3fca92.system.entry.js} +1 -1
  415. package/lib/duet/{p-d529e4af.js → p-c09655fd.js} +1 -1
  416. package/lib/duet/{p-e1fd4e97.system.entry.js → p-c0a9340c.system.entry.js} +1 -1
  417. package/lib/duet/{p-14ed128d.system.entry.js → p-c10a844d.system.entry.js} +1 -1
  418. package/lib/duet/{p-6e32c522.entry.js → p-c11c0880.entry.js} +1 -1
  419. package/lib/duet/{p-b0aa4a8a.entry.js → p-c2144e1f.entry.js} +1 -1
  420. package/lib/duet/{p-94d704ae.system.entry.js → p-c2bc3d86.system.entry.js} +1 -1
  421. package/lib/duet/{p-9f28952d.entry.js → p-c4f5b4f7.entry.js} +1 -1
  422. package/lib/duet/{p-ec011d95.system.entry.js → p-c513bc13.system.entry.js} +1 -1
  423. package/lib/duet/{p-6894e687.entry.js → p-c5566578.entry.js} +1 -1
  424. package/lib/duet/{p-c8f7d9d3.system.entry.js → p-c9cc7d75.system.entry.js} +1 -1
  425. package/lib/duet/{p-ffde5714.system.entry.js → p-cbe4a5ad.system.entry.js} +1 -1
  426. package/lib/duet/{p-cd31c677.entry.js → p-cc23fb9f.entry.js} +1 -1
  427. package/lib/duet/{p-7d6179ea.entry.js → p-ccde45f7.entry.js} +1 -1
  428. package/lib/duet/{p-66c65992.system.js → p-ceee80d1.system.js} +1 -1
  429. package/lib/duet/{p-5ea8b4bb.system.entry.js → p-d28a3a7e.system.entry.js} +1 -1
  430. package/lib/duet/{p-73659d2d.entry.js → p-d6b7b986.entry.js} +1 -1
  431. package/lib/duet/{p-6e338ac0.system.entry.js → p-d7001319.system.entry.js} +1 -1
  432. package/lib/duet/{p-3c478108.system.entry.js → p-d9e1b3df.system.entry.js} +1 -1
  433. package/lib/duet/{p-52de50b8.entry.js → p-da2d558a.entry.js} +1 -1
  434. package/lib/duet/{p-e86b07e5.system.entry.js → p-da3908cd.system.entry.js} +1 -1
  435. package/lib/duet/{p-74401674.entry.js → p-dc811f77.entry.js} +1 -1
  436. package/lib/duet/{p-43eeccca.system.entry.js → p-dcb22be5.system.entry.js} +1 -1
  437. package/lib/duet/{p-4ad6d392.js → p-dd5e5db6.js} +1 -1
  438. package/lib/duet/p-de31a9f5.entry.js +4 -0
  439. package/lib/duet/{p-205b9010.entry.js → p-e0022cfc.entry.js} +1 -1
  440. package/lib/duet/{p-36438374.entry.js → p-e2afb7f0.entry.js} +1 -1
  441. package/lib/duet/{p-97f634e1.entry.js → p-e73cd5a7.entry.js} +1 -1
  442. package/lib/duet/{p-123c93f8.system.entry.js → p-e9026620.system.entry.js} +1 -1
  443. package/lib/duet/{p-7e729fbf.system.entry.js → p-ec48bbea.system.entry.js} +1 -1
  444. package/lib/duet/{p-7465710b.system.entry.js → p-ed206f51.system.entry.js} +1 -1
  445. package/lib/duet/{p-11e288bb.system.entry.js → p-ed305ed8.system.entry.js} +1 -1
  446. package/lib/duet/{p-9538a904.system.entry.js → p-ed40ae71.system.entry.js} +1 -1
  447. package/lib/duet/{p-e0196f25.system.entry.js → p-eeb44a07.system.entry.js} +1 -1
  448. package/lib/duet/{p-6caf072b.entry.js → p-efdf87ff.entry.js} +1 -1
  449. package/lib/duet/{p-7c6cd306.entry.js → p-f452ef8f.entry.js} +1 -1
  450. package/lib/duet/{p-73304214.system.entry.js → p-f6fc3eb4.system.entry.js} +1 -1
  451. package/lib/duet/{p-18dd747e.system.entry.js → p-fb17aa5d.system.entry.js} +1 -1
  452. package/lib/duet/p-fcbc54db.entry.js +4 -0
  453. package/lib/duet/{p-ba631aec.entry.js → p-fd442fd4.entry.js} +1 -1
  454. package/lib/duet/{p-1be7d87f.system.entry.js → p-fe4f50d2.system.entry.js} +2 -2
  455. package/lib/esm/{a11y-utils-04363b01.js → a11y-utils-1a10d7d6.js} +1 -1
  456. package/lib/esm/{app-globals-0f61eba8.js → app-globals-9e106ae0.js} +1 -1
  457. package/lib/esm/duet-action-button.entry.js +2 -2
  458. package/lib/esm/duet-alert.entry.js +3 -3
  459. package/lib/esm/duet-badge.entry.js +3 -3
  460. package/lib/esm/duet-banner.entry.js +2 -2
  461. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  462. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  463. package/lib/esm/duet-button_2.entry.js +2 -2
  464. package/lib/esm/duet-callout.entry.js +4 -4
  465. package/lib/esm/duet-caption_4.entry.js +7 -7
  466. package/lib/esm/duet-card.entry.js +2 -2
  467. package/lib/esm/duet-checkbox.entry.js +1 -1
  468. package/lib/esm/duet-checkmark.entry.js +3 -3
  469. package/lib/esm/duet-chip_3.entry.js +3 -3
  470. package/lib/esm/duet-choice_2.entry.js +3 -3
  471. package/lib/esm/duet-collapsible.entry.js +2 -2
  472. package/lib/esm/duet-combobox.entry.js +3 -3
  473. package/lib/esm/duet-contact-card.entry.js +4 -4
  474. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  475. package/lib/esm/duet-date-picker.entry.js +9 -4
  476. package/lib/esm/duet-divider_2.entry.js +1 -1
  477. package/lib/esm/duet-editable-table_3.entry.js +7 -7
  478. package/lib/esm/duet-empty-state.entry.js +1 -1
  479. package/lib/esm/duet-fieldset.entry.js +5 -5
  480. package/lib/esm/duet-file-chooser.entry.js +1 -1
  481. package/lib/esm/duet-footer.entry.js +3 -3
  482. package/lib/esm/duet-grid_2.entry.js +1 -1
  483. package/lib/esm/duet-header_2.entry.js +2 -2
  484. package/lib/esm/duet-hero.entry.js +3 -3
  485. package/lib/esm/duet-icon.entry.js +4 -4
  486. package/lib/esm/duet-input_2.entry.js +3 -3
  487. package/lib/esm/duet-layout.entry.js +2 -2
  488. package/lib/esm/duet-list_2.entry.js +3 -3
  489. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  490. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  491. package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
  492. package/lib/esm/duet-menu-bar-item.entry.js +6 -6
  493. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  494. package/lib/esm/duet-menu-bar.entry.js +2 -2
  495. package/lib/esm/duet-modal.entry.js +4 -4
  496. package/lib/esm/duet-multiselect.entry.js +3 -3
  497. package/lib/esm/duet-nav.entry.js +2 -2
  498. package/lib/esm/duet-notification_2.entry.js +4 -4
  499. package/lib/esm/duet-number-input.entry.js +3 -3
  500. package/lib/esm/duet-overlay.entry.js +1 -1
  501. package/lib/esm/duet-page-heading.entry.js +3 -3
  502. package/lib/esm/duet-pagination_2.entry.js +2 -2
  503. package/lib/esm/duet-progress.entry.js +2 -2
  504. package/lib/esm/duet-promo-card.entry.js +4 -4
  505. package/lib/esm/duet-radio_2.entry.js +2 -2
  506. package/lib/esm/duet-range-slider.entry.js +1 -1
  507. package/lib/esm/duet-scrollable_3.entry.js +46 -46
  508. package/lib/esm/duet-section-layout.entry.js +4 -4
  509. package/lib/esm/duet-select.entry.js +2 -2
  510. package/lib/esm/duet-shaped-image.entry.js +3 -3
  511. package/lib/esm/duet-show-more.entry.js +2 -2
  512. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  513. package/lib/esm/duet-slideout-link.entry.js +3 -3
  514. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
  515. package/lib/esm/duet-slideout-panel.entry.js +10 -10
  516. package/lib/esm/duet-slideout.entry.js +19 -16
  517. package/lib/esm/duet-step_2.entry.js +1 -1
  518. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  519. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
  520. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  521. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  522. package/lib/esm/duet-submenu-bar.entry.js +6 -6
  523. package/lib/esm/duet-textarea.entry.js +3 -3
  524. package/lib/esm/duet-toggle.entry.js +1 -1
  525. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  526. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
  527. package/lib/esm/duet-toolbar-item.entry.js +7 -7
  528. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  529. package/lib/esm/duet-toolbar.entry.js +3 -3
  530. package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
  531. package/lib/esm/duet-tooltip.entry.js +2 -2
  532. package/lib/esm/duet-tray.entry.js +4 -4
  533. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  534. package/lib/esm/duet-upload-item.entry.js +5 -5
  535. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  536. package/lib/esm/duet.js +4 -4
  537. package/lib/esm/{errorcodes.utils-5a95a5fc.js → errorcodes.utils-832816c4.js} +1 -1
  538. package/lib/esm/{focus-utils-84af9803.js → focus-utils-cc7c5bc4.js} +1 -1
  539. package/lib/esm/{index-b817a517.js → index-fe90c21e.js} +1 -1
  540. package/lib/esm/{language-utils-a9addcce.js → language-utils-1bb1769b.js} +1 -1
  541. package/lib/esm/loader.js +4 -4
  542. package/lib/esm/{slot-utils-227cbc2f.js → slot-utils-48c8377c.js} +1 -1
  543. package/lib/esm-es5/{a11y-utils-04363b01.js → a11y-utils-1a10d7d6.js} +1 -1
  544. package/lib/esm-es5/{app-globals-0f61eba8.js → app-globals-9e106ae0.js} +1 -1
  545. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  546. package/lib/esm-es5/duet-alert.entry.js +1 -1
  547. package/lib/esm-es5/duet-badge.entry.js +1 -1
  548. package/lib/esm-es5/duet-banner.entry.js +1 -1
  549. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  550. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  551. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  552. package/lib/esm-es5/duet-callout.entry.js +1 -1
  553. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  554. package/lib/esm-es5/duet-card.entry.js +1 -1
  555. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  556. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  557. package/lib/esm-es5/duet-chip_3.entry.js +1 -1
  558. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  559. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  560. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  561. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  562. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  563. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  564. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  565. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  566. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  567. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  568. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  569. package/lib/esm-es5/duet-footer.entry.js +1 -1
  570. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  571. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  572. package/lib/esm-es5/duet-hero.entry.js +2 -2
  573. package/lib/esm-es5/duet-icon.entry.js +1 -1
  574. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  575. package/lib/esm-es5/duet-layout.entry.js +1 -1
  576. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  577. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  578. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  579. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  580. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  581. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  582. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  583. package/lib/esm-es5/duet-modal.entry.js +1 -1
  584. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  585. package/lib/esm-es5/duet-nav.entry.js +1 -1
  586. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  587. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  588. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  589. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  590. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  591. package/lib/esm-es5/duet-progress.entry.js +1 -1
  592. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  593. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  594. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  595. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  596. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  597. package/lib/esm-es5/duet-select.entry.js +1 -1
  598. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  599. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  600. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  601. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  602. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  603. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  604. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  605. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  606. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  607. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  608. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  609. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  610. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  611. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  612. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  613. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  614. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  615. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  616. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  617. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  618. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  620. package/lib/esm-es5/duet-tray.entry.js +1 -1
  621. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  622. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  623. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  624. package/lib/esm-es5/duet.js +1 -1
  625. package/lib/esm-es5/{errorcodes.utils-5a95a5fc.js → errorcodes.utils-832816c4.js} +1 -1
  626. package/lib/esm-es5/focus-utils-cc7c5bc4.js +4 -0
  627. package/lib/esm-es5/{index-b817a517.js → index-fe90c21e.js} +1 -1
  628. package/lib/esm-es5/{language-utils-a9addcce.js → language-utils-1bb1769b.js} +1 -1
  629. package/lib/esm-es5/loader.js +1 -1
  630. package/lib/esm-es5/{slot-utils-227cbc2f.js → slot-utils-48c8377c.js} +1 -1
  631. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +8 -0
  632. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -4
  633. package/lib/types/components.d.ts +10 -4
  634. package/package.json +4 -4
  635. package/lib/duet/p-3486c6fa.entry.js +0 -4
  636. package/lib/duet/p-359ead5c.js +0 -4
  637. package/lib/duet/p-458aa9e4.system.js +0 -4
  638. package/lib/duet/p-5eeb7b2d.entry.js +0 -4
  639. package/lib/duet/p-6bf7a08b.entry.js +0 -4
  640. package/lib/duet/p-843849be.entry.js +0 -4
  641. package/lib/duet/p-92cab50b.entry.js +0 -4
  642. package/lib/duet/p-a3ba5c07.system.js +0 -4
  643. package/lib/duet/p-af7a3e34.entry.js +0 -4
  644. package/lib/duet/p-b6168e65.system.entry.js +0 -4
  645. package/lib/duet/p-b8fdcb18.js +0 -4
  646. package/lib/duet/p-b9cbad06.entry.js +0 -4
  647. package/lib/duet/p-c54f089f.system.entry.js +0 -4
  648. package/lib/duet/p-f4cd41f2.system.js +0 -4
  649. package/lib/duet/p-fdba72a7.system.js +0 -4
  650. package/lib/esm-es5/focus-utils-84af9803.js +0 -4
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- const t="duet",e={cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.1.3"};var n=Object.defineProperty,l={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},o=new WeakMap,s=t=>o.get(t),i=(t,e)=>o.set(e.t=t,e),r=(t,e)=>e in t,c=(t,e)=>(0,console.error)(t,e),f=new Map,u=new Map,a="s-id",d="c-id",h="slot-fb{display:contents}slot-fb[hidden]{display:none}",$="http://www.w3.org/1999/xlink",p="undefined"!=typeof window?window:{},m=p.document||{head:{}},v={l:0,o:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},b=t=>Promise.resolve(t),y=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),w=!1,g=[],j=[],O=(t,e)=>n=>{t.push(n),w||(w=!0,e&&4&v.l?E(k):v.raf(k))},S=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){c(t)}t.length=0},k=()=>{S(g),S(j),(w=g.length>0)&&v.raf(k)},E=t=>b().then(t),x=O(j,!0),C={},I=t=>"object"==(t=typeof t)||"function"===t;function M(t){var e,n,l;return null!=(l=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,e)=>{for(var l in e)n(t,l,{get:e[l],enumerable:!0})})({},{err:()=>A,map:()=>N,ok:()=>R,unwrap:()=>U,unwrapErr:()=>F});var R=t=>({isOk:!0,isErr:!1,value:t}),A=t=>({isOk:!1,isErr:!0,value:t});function N(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>R(t))):R(n)}if(t.isErr)return A(t.value);throw"should never get here"}var P,T,D,U=t=>{if(t.isOk)return t.value;throw t.value},F=t=>{if(t.isErr)return t.value;throw t.value},H=(t,e,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof t&&!I(l))&&(l+=""),i&&r?c[c.length-1].i+=l:c.push(i?L(null,l):l),r=i)};if(f(n),e){e.key&&(o=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,W);const u=L(t,null);return u.u=e,c.length>0&&(u.h=c),u.$=o,u.p=s,u},L=(t,e)=>({l:0,m:t,i:e,v:null,h:null,u:null,$:null,p:null}),_={},W={forEach:(t,e)=>t.map(B).forEach(e),map:(t,e)=>t.map(B).map(e).map(V)},B=t=>({vattrs:t.u,vchildren:t.h,vkey:t.$,vname:t.p,vtag:t.m,vtext:t.i}),V=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),H(t.vtag,e,...t.vchildren||[])}const e=L(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.$=t.vkey,e.p=t.vname,e},q=(t,e,n,l,o,s)=>{if(n!==l){let i=r(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,o=z(n),s=z(l);t["s-si"]&&s.indexOf(t["s-si"])<0&&s.push(t["s-si"]),e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===e){for(const e in n)l&&null!=l[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in l)n&&l[e]===n[e]||(e.includes("-")?t.style.setProperty(e,l[e]):t.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&l(t);else if(i||"o"!==e[0]||"n"!==e[1]){const r=I(l);if((i||r&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[e]=l;else{const o=null==l?"":l;"list"===e?i=!1:null!=n&&t[e]==o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,f=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(e)||(f?t.removeAttributeNS($,e):t.removeAttribute(e)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?t.setAttributeNS($,e,l):t.setAttribute(e,l))}else if(e="-"===e[2]?e.slice(3):r(p,c)?c.slice(2):c[2]+e.slice(3),n||l){const o=e.endsWith(J);e=e.replace(K,""),n&&v.rel(t,e,n,o),l&&v.ael(t,e,l,o)}}},G=/\s/,z=t=>("object"==typeof t&&"baseVal"in t&&(t=t.baseVal),t?t.split(G):[]),J="Capture",K=RegExp(J+"$"),Q=(t,e,n)=>{const l=11===e.v.nodeType&&e.v.host?e.v.host:e.v,o=t&&t.u||C,s=e.u||C;for(const t of X(Object.keys(o)))t in s||q(l,t,o[t],void 0,n,e.l);for(const t of X(Object.keys(s)))q(l,t,o[t],s[t],n,e.l)};function X(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Y=!1,Z=!1,tt=!1,et=!1,nt=(t,e,n,l)=>{var o;const s=e.h[n];let i,r,c,f=0;if(Y||(tt=!0,"slot"===s.m&&(P&&l.classList.add(P+"-s"),s.l|=s.h?2:1)),null!==s.i)i=s.v=m.createTextNode(s.i);else if(1&s.l)i=s.v=m.createTextNode("");else{if(et||(et="svg"===s.m),i=s.v=m.createElementNS(et?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Y&&2&s.l?"slot-fb":s.m),et&&"foreignObject"===s.m&&(et=!1),Q(null,s,et),!!i.getRootNode().querySelector("body")&&null!=P&&i["s-si"]!==P&&i.classList.add(i["s-si"]=P),vt(i,l),s.h)for(f=0;f<s.h.length;++f)r=nt(t,s,f,i),r&&i.appendChild(r);"svg"===s.m?et=!1:"foreignObject"===i.tagName&&(et=!0)}return i["s-hn"]=D,3&s.l&&(i["s-sr"]=!0,i["s-cr"]=T,i["s-sn"]=s.p||"",i["s-rf"]=null==(o=s.u)?void 0:o.ref,c=t&&t.h&&t.h[n],c&&c.m===s.m&&t.v&&lt(t.v,!1)),i},lt=(t,e)=>{v.l|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const l=n[t];l["s-hn"]!==D&&l["s-ol"]&&(pt(ct(l),l,rt(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,tt=!0),e&&lt(l,e)}v.l&=-2},ot=(t,e,n,l,o,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===D&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=nt(null,n,o,t),i&&(l[o].v=i,pt(r,i,rt(e))))},st=(t,e,n)=>{for(let l=e;l<=n;++l){const e=t[l];if(e){const t=e.v;$t(e),t&&(Z=!0,t["s-ol"]?t["s-ol"].remove():lt(t,!0),t.remove())}}},it=(t,e,n=!1)=>!(t.m!==e.m||("slot"===t.m?"j"in t&&n&&8!==t.v.nodeType||t.p!==e.p:!n&&t.$!==e.$)),rt=t=>t&&t["s-ol"]||t,ct=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,ft=(t,e,n=!1)=>{const l=e.v=t.v,o=t.h,s=e.h,i=e.m,r=e.i;let c;null===r?(et="svg"===i||"foreignObject"!==i&&et,("slot"!==i||Y)&&Q(t,e,et),null!==o&&null!==s?((t,e,n,l,o=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=e.length-1,d=e[0],h=e[a],$=l.length-1,p=l[0],m=l[$];for(;r<=a&&c<=$;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==p)p=l[++c];else if(null==m)m=l[--$];else if(it(d,p,o))ft(d,p,o),d=e[++r],p=l[++c];else if(it(h,m,o))ft(h,m,o),h=e[--a],m=l[--$];else if(it(d,m,o))"slot"!==d.m&&"slot"!==m.m||lt(d.v.parentNode,!1),ft(d,m,o),pt(t,d.v,h.v.nextSibling),d=e[++r],m=l[--$];else if(it(h,p,o))"slot"!==d.m&&"slot"!==m.m||lt(h.v.parentNode,!1),ft(h,p,o),pt(t,h.v,d.v),h=e[--a],p=l[++c];else{for(f=-1,u=r;u<=a;++u)if(e[u]&&null!==e[u].$&&e[u].$===p.$){f=u;break}f>=0?(i=e[f],i.m!==p.m?s=nt(e&&e[c],n,f,t):(ft(i,p,o),e[f]=void 0,s=i.v),p=l[++c]):(s=nt(e&&e[c],n,c,t),p=l[++c]),s&&pt(ct(d.v),s,rt(d.v))}r>a?ot(t,null==l[$+1]?null:l[$+1].v,n,l,c,$):c>$&&st(e,r,a)})(l,o,e,s,n):null!==s?(null!==t.i&&(l.textContent=""),ot(l,null,e,s,0,s.length-1)):!n&&null!==o&&st(o,0,o.length-1),et&&"svg"===i&&(et=!1)):(c=l["s-cr"])?c.parentNode.textContent=r:t.i!==r&&(l.data=r)},ut=t=>{const e=t.__childNodes||t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const l of e)if(l!==t)if(l["s-hn"]!==t["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){t.hidden=!0;break}}else if(n===l["s-sn"]&&(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim())){t.hidden=!0;break}}ut(t)}},at=[],dt=t=>{let e,n,l;const o=t.__childNodes||t.childNodes;for(const t of o){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const o=t["s-sn"];for(l=n.length-1;l>=0;l--)if(e=n[l],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(ht(e,o)){let n=at.find((t=>t.O===e));Z=!0,e["s-sn"]=e["s-sn"]||o,n?(n.O["s-sh"]=t["s-hn"],n.S=t):(e["s-sh"]=t["s-hn"],at.push({S:t,O:e})),e["s-sr"]&&at.map((t=>{ht(t.O,e["s-sn"])&&(n=at.find((t=>t.O===e)),n&&!t.S&&(t.S=n.S))}))}else at.some((t=>t.O===e))||at.push({O:e})}1===t.nodeType&&dt(t)}},ht=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,$t=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map($t)},pt=(t,e,n)=>{const l=null==t?void 0:t.insertBefore(e,n);return vt(e,t),l},mt=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...mt(t.parentElement)),e},vt=(t,e,n=!1)=>{var l;if(t&&e&&1===t.nodeType){const o=new Set(mt(e).filter(Boolean));if(o.size&&(null==(l=t.classList)||l.add(...t["s-scs"]=Array.from(o)),t["s-ol"]||n))for(const e of Array.from(t.__childNodes||t.childNodes))vt(e,t,!0)}},bt=t=>{class e extends Array{item(t){return this[t]}}let n=globalThis.Node&&Object.getOwnPropertyDescriptor(Node.prototype,"childNodes");n||(n=Object.getOwnPropertyDescriptor(t,"childNodes")),n&&Object.defineProperty(t,"__childNodes",n);let l=Object.getOwnPropertyDescriptor(Element.prototype,"children");l||(l=Object.getOwnPropertyDescriptor(t,"children")),l&&Object.defineProperty(t,"__children",l),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),n&&Object.defineProperty(t,"childNodes",{get(){var t,n;if(!v.l||!(null==(t=s(this))?void 0:t.l)||!(1&v.l)&&2&(null==(n=s(this))?void 0:n.l)){const t=new e,n=wt(this.__childNodes);return t.push(...n),t}return e.from(this.__childNodes)}})},yt=(t,e,n,l)=>{let o;if(t["s-ol"]&&t["s-ol"].isConnected?o=t["s-ol"]:(o=document.createTextNode(""),o["s-nr"]=t),!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,i=n?s.__prepend||s.prepend:s.__appendChild||s.appendChild;if(void 0!==l){o["s-oo"]=l;const t=[o];(s.__childNodes||s.childNodes).forEach((e=>{e["s-nr"]&&t.push(e)})),t.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<e["s-oo"]?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),t.forEach((t=>i.call(s,t)))}else i.call(s,o);t["s-ol"]=o,t["s-sh"]=e["s-hn"]},wt=t=>{const e=[];for(let n=0;n<t.length;n++){const l=t[n]["s-nr"];l&&l.isConnected&&e.push(l)}return e},gt=(t,e,n,l,o,s,i,r=[])=>{let c,f,u,a;const h=o["s-sc"];if(1===s.nodeType){if(c=s.getAttribute(d),c&&(f=c.split("."),f[0]===i||"0"===f[0])){u=Ot({l:0,k:f[0],j:f[1],C:f[2],I:f[3],m:s.tagName.toLowerCase(),v:s,u:{class:s.className}}),e.push(u),s.removeAttribute(d),t.h||(t.h=[]);const o=u.v.getAttribute("s-sn");"string"==typeof o&&("slot-fb"===u.m&&St(o,f[2],u,s,t,e,n,l,r),u.v["s-sn"]=o,u.v.removeAttribute("s-sn")),void 0!==u.I&&(t.h[u.I]=u),h&&(s["s-si"]=h),t=u,l&&"0"===u.C&&(l[u.I]=u.v)}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)gt(t,e,n,l,o,s.shadowRoot.childNodes[a],i,r);const $=s.__childNodes||s.childNodes;for(a=$.length-1;a>=0;a--)gt(t,e,n,l,o,$[a],i,r)}else if(8===s.nodeType)f=s.nodeValue.split("."),(f[1]===i||"0"===f[1])&&(c=f[0],u=Ot({k:f[1],j:f[2],C:f[3],I:f[4]||"0",v:s,u:null,h:null,$:null,p:null,m:null,i:null}),"t"===c?(u.v=s.nextSibling,u.v&&3===u.v.nodeType&&(u.i=u.v.textContent,e.push(u),s.remove(),i===u.k&&(t.h||(t.h=[]),t.h[u.I]=u),l&&"0"===u.C&&(l[u.I]=u.v))):"c"===c?(u.v=s.nextSibling,u.v&&8===u.v.nodeType&&(e.push(u),s.remove())):u.k===i&&("s"===c?(u.m="slot",St(s["s-sn"]=u.p=f[5]||"",f[2],u,s,t,e,n,l,r)):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.m){const e=L(null,s.textContent);e.v=s,e.I="0",t.h=[e]}return t},jt=(t,e)=>{if(1===t.nodeType){const n=t[a]||t.getAttribute(a);n&&e.set(n,t);let l=0;if(t.shadowRoot)for(;l<t.shadowRoot.childNodes.length;l++)jt(t.shadowRoot.childNodes[l],e);const o=t.__childNodes||t.childNodes;for(l=0;l<o.length;l++)jt(o[l],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Ot=t=>({l:0,k:null,j:null,C:null,I:"0",v:null,u:null,h:null,$:null,p:null,m:null,i:null,...t});function St(t,e,n,l,o,s,i,r,c){l["s-sr"]=!0;const f=(null==o?void 0:o.v)?o.v["s-id"]||o.v.getAttribute("s-id"):"";if(r){const s=n.v=m.createElement(n.m);n.p&&n.v.setAttribute("name",t),f&&f!==n.k?o.v.insertBefore(s,o.v.children[0]):l.parentNode.insertBefore(n.v,l),kt(c,e,t,l,n.k),l.remove(),"0"===n.C&&(r[n.I]=n.v)}else{const i=n.v,r=f&&f!==n.k&&o.v.shadowRoot;kt(c,e,t,l,r?f:n.k),r&&o.v.insertBefore(i,o.v.children[0]),s.push(n)}i.push(n),o.h||(o.h=[]),o.h[n.I]=n}var kt=(t,e,n,l,o)=>{let s=l.nextSibling;for(t[e]=t[e]||[];s&&((s.getAttribute&&s.getAttribute("slot")||s["s-sn"])===n||""===n&&!s["s-sn"]&&(8===s.nodeType&&1!==s.nodeValue.indexOf(".")||3===s.nodeType));)s["s-sn"]=n,t[e].push({slot:l,node:s,hostId:o}),s=s.nextSibling},Et=(t,e)=>null==t||I(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,xt=t=>s(t).$hostElement$,Ct=(t,e,n)=>{const l=xt(t);return{emit:t=>It(l,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},It=(t,e,n)=>{const l=v.ce(e,n);return t.dispatchEvent(l),l},Mt=new WeakMap,Rt=(t,e)=>{var n;const l=At(e),o=u.get(l);if(t=11===t.nodeType?t:m,o)if("string"==typeof o){let s,i=Mt.get(t=t.head||t);if(i||Mt.set(t,i=new Set),!i.has(l)){if(t.host&&(s=t.querySelector(`[sty-id="${l}"]`)))s.innerHTML=o;else{s=m.createElement("style"),s.innerHTML=o;const l=null!=(n=v.M)?n:M(m);if(null!=l&&s.setAttribute("nonce",l),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,n)}else if("host"in t)if(y){const e=new CSSStyleSheet;e.replaceSync(o),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=o+e.innerHTML:t.prepend(s)}else t.append(s);1&e.l&&"HEAD"!==t.nodeName&&t.insertBefore(s,null)}4&e.l&&(s.innerHTML+=h),i&&i.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]);return l},At=t=>"sc-"+t.R,Nt=(t,e)=>{e&&!t.A&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.A=e)))},Pt=(t,e)=>{if(t.l|=16,!(4&t.l))return Nt(t,t.N),x((()=>Tt(t,e)));t.l|=512},Tt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e&&(t.l|=256,t.P&&(t.P.map((([t,e])=>Wt(n,t,e))),t.P=void 0),l=Wt(n,"componentWillLoad")),l=Dt(l,(()=>Wt(n,"componentWillRender"))),Dt(l,(()=>Ft(t,n,e)))},Dt=(t,e)=>Ut(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Ut=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ft=async(t,e,n)=>{var l;const o=t.$hostElement$,s=o["s-rc"];n&&(t=>{const e=t.T,n=t.$hostElement$,l=e.l,o=Rt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(t);Ht(t,e,o,n),s&&(s.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(l=o["s-p"])?l:[],n=()=>Lt(t);0===e.length?n():(Promise.all(e).then(n),t.l|=4,e.length=0)}},Ht=(t,e,n,l)=>{try{e=e.render(),t.l&=-17,t.l|=2,((t,e,n=!1)=>{var l,o,s,i;const r=t.$hostElement$,c=t.T,f=t.D||L(null,null),u=(t=>t&&t.m===_)(e)?e:H(null,null,e);if(D=r.tagName,c.U&&(u.u=u.u||{},c.U.map((([t,e])=>u.u[e]=r[t]))),n&&u.u)for(const t of Object.keys(u.u))r.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(u.u[t]=r[t]);if(u.m=null,u.l|=4,t.D=u,u.v=f.v=r.shadowRoot||r,P=r["s-sc"],Y=!!(1&c.l),T=r["s-cr"],Z=!1,ft(f,u,n),v.l|=1,tt){dt(u.v);for(const t of at){const e=t.O;if(!e["s-ol"]){const t=m.createTextNode("");t["s-nr"]=e,pt(e.parentNode,e["s-ol"]=t,e)}}for(const t of at){const e=t.O,r=t.S;if(r){const t=r.parentNode;let n=r.nextSibling;{let s=null==(l=e["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===e["s-sn"]&&t===l.parentNode){for(l=l.nextSibling;l===e||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),pt(t,e,n),1===e.nodeType&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}Z&&ut(u.v),v.l&=-2,at.length=0,T=void 0})(t,e,l)}catch(e){c(e,t.$hostElement$)}return null},Lt=t=>{const e=t.$hostElement$,n=t.t,l=t.N;Wt(n,"componentDidRender"),64&t.l?Wt(n,"componentDidUpdate"):(t.l|=64,Bt(e),Wt(n,"componentDidLoad"),t.F(e),l||_t()),t.H(e),t.A&&(t.A(),t.A=void 0),512&t.l&&E((()=>Pt(t,!1))),t.l&=-517},_t=()=>{Bt(m.documentElement),E((()=>It(p,"appload",{detail:{namespace:t}})))},Wt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){c(t)}},Bt=t=>t.classList.add("hydrated"),Vt=(t,e,n,l)=>{const o=s(t);if(!o)throw Error(`Couldn't find host element for "${l.R}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=o.$hostElement$,r=o.L.get(e),f=o.l,u=o.t;if(n=Et(n,l._[e][0]),(!(8&f)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(o.L.set(e,n),u)){if(l.W&&128&f){const t=l.W[e];t&&t.map((t=>{try{u[t](n,r,e)}catch(t){c(t,i)}}))}2==(18&f)&&Pt(o,!1)}},qt=(t,e,n)=>{var l,o;const i=t.prototype;if(e._||e.W||t.watchers){t.watchers&&!e.W&&(e.W=t.watchers);const r=Object.entries(null!=(l=e._)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&n&&32&l)if(2048&l){if(1&n&&2048&l&&(Object.defineProperty(i,t,{get(){const e=s(this),n=e?e.t:i;if(n)return n[t]},configurable:!0,enumerable:!0}),4096&l)){const n=Object.getOwnPropertyDescriptor(i,t).set;Object.defineProperty(i,t,{set(l){const o=s(this);if(n){const s=o.$hostElement$[t];return!o.L.get(t)&&s&&o.L.set(t,s),n.call(this,Et(l,e._[t][0])),void Vt(this,t,o.$hostElement$[t],e)}if(!o)return;const i=()=>{const n=o.t[t];!o.L.get(t)&&n&&o.L.set(t,n),o.t[t]=Et(l,e._[t][0]),Vt(this,t,o.t[t],e)};o.t?i():o.B.then((()=>i()))}})}}else Object.defineProperty(i,t,{get(){return((t,e)=>s(this).L.get(e))(0,t)},set(n){Vt(this,t,n,e)},configurable:!0,enumerable:!0});else 1&n&&64&l&&Object.defineProperty(i,t,{value(...e){var n;const l=s(this);return null==(n=null==l?void 0:l.V)?void 0:n.then((()=>{var n;return null==(n=l.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;i.attributeChangedCallback=function(t,l,o){v.jmp((()=>{var r;const c=n.get(t);if(this.hasOwnProperty(c))o=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const n=s(this),i=null==n?void 0:n.l;if(i&&!(8&i)&&128&i&&o!==l){const s=n.t,i=null==(r=e.W)?void 0:r[t];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,o,l,t)}))}return}}const f=Object.getOwnPropertyDescriptor(i,c);f.get&&!f.set||(this[c]=(null!==o||"boolean"!=typeof this[c])&&o)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=e.W)?o:{}),...r.filter((([t,e])=>15&e[0])).map((([t,l])=>{var o;const s=l[1]||t;return n.set(s,t),512&l[0]&&(null==(o=e.U)||o.push([t,s])),s}))]))}}return t},Gt=t=>{Wt(t,"connectedCallback")},zt=t=>{if(!(1&v.l)){const e=s(t),n=e.T,l=()=>{};if(1&e.l)Yt(t,e,n.q),(null==e?void 0:e.t)?Gt(e.t):(null==e?void 0:e.B)&&e.B.then((()=>Gt(e.t)));else{let l;if(e.l|=1,l=t.getAttribute(a),l){if(1&n.l){const e=Rt(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}else if(2&n.l){const e=At(n);t["s-sc"]=e}((t,e,n,l)=>{const o=t.shadowRoot,s=[],i=[],r=o?[]:null,c=L(e,null);c.v=t,v.G||jt(m.body,v.G=new Map),t[a]=n,t.removeAttribute(a),l.D=gt(c,s,[],r,t,t,n,i);let f=0;const u=s.length;let d;for(;f<u;f++){d=s[f];const n=d.k+"."+d.j,l=v.G.get(n),i=d.v;o||(i["s-hn"]=e.toUpperCase(),"slot"===d.m&&(i["s-cr"]=t["s-cr"])),l&&l.isConnected&&(o&&""===l["s-en"]&&l.parentNode.insertBefore(i,l.nextSibling),l.parentNode.removeChild(l),o||(i["s-oo"]=parseInt(d.j))),v.G.delete(n)}const h=[];let $=0;const p=i.length;let b,y,w,g;for(;$<p;$++)if(b=i[$],b&&b.length)for(w=b.length,y=0;y<w;y++){if(g=b[y],h[g.hostId]||(h[g.hostId]=v.G.get(g.hostId)),!h[g.hostId])continue;const t=h[g.hostId];t.shadowRoot&&o||(g.slot["s-cr"]=t["s-cr"],g.slot["s-cr"]=!g.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0],yt(g.node,g.slot,!1,g.node["s-oo"])),t.shadowRoot&&g.node.parentElement!==t&&t.appendChild(g.node)}if(o){let e=0;const n=r.length;for(;e<n;e++)o.appendChild(r[e]);Array.from(t.childNodes).forEach((t=>{8===t.nodeType&&"string"!=typeof t["s-sn"]&&t.parentNode.removeChild(t)}))}l.$hostElement$=t})(t,n.R,l,e)}l||12&n.l&&Jt(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Nt(e,e.N=n);break}}n._&&Object.entries(n._).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),E((()=>(async(t,e,n)=>{let l;if(!(32&e.l)){if(e.l|=32,n.J){const t=(t=>{const e=t.R.replace(/-/g,"_"),n=t.J;if(!n)return;const l=f.get(n);return l?l[e]:import(`./${n}.entry.js`).then((t=>(f.set(n,t),t[e])),c)
4
+ const t="duet",e={cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.1.5"};var n=Object.defineProperty,l={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},o=new WeakMap,s=t=>o.get(t),i=(t,e)=>o.set(e.t=t,e),r=(t,e)=>e in t,c=(t,e)=>(0,console.error)(t,e),f=new Map,u=new Map,a="s-id",d="c-id",h="slot-fb{display:contents}slot-fb[hidden]{display:none}",$="http://www.w3.org/1999/xlink",p="undefined"!=typeof window?window:{},m=p.document||{head:{}},v={l:0,o:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},b=t=>Promise.resolve(t),y=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),w=!1,g=[],j=[],O=(t,e)=>n=>{t.push(n),w||(w=!0,e&&4&v.l?E(k):v.raf(k))},S=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){c(t)}t.length=0},k=()=>{S(g),S(j),(w=g.length>0)&&v.raf(k)},E=t=>b().then(t),x=O(j,!0),C={},I=t=>"object"==(t=typeof t)||"function"===t;function M(t){var e,n,l;return null!=(l=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,e)=>{for(var l in e)n(t,l,{get:e[l],enumerable:!0})})({},{err:()=>A,map:()=>N,ok:()=>R,unwrap:()=>U,unwrapErr:()=>F});var R=t=>({isOk:!0,isErr:!1,value:t}),A=t=>({isOk:!1,isErr:!0,value:t});function N(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>R(t))):R(n)}if(t.isErr)return A(t.value);throw"should never get here"}var P,T,D,U=t=>{if(t.isOk)return t.value;throw t.value},F=t=>{if(t.isErr)return t.value;throw t.value},H=(t,e,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof t&&!I(l))&&(l+=""),i&&r?c[c.length-1].i+=l:c.push(i?L(null,l):l),r=i)};if(f(n),e){e.key&&(o=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,W);const u=L(t,null);return u.u=e,c.length>0&&(u.h=c),u.$=o,u.p=s,u},L=(t,e)=>({l:0,m:t,i:e,v:null,h:null,u:null,$:null,p:null}),_={},W={forEach:(t,e)=>t.map(B).forEach(e),map:(t,e)=>t.map(B).map(e).map(V)},B=t=>({vattrs:t.u,vchildren:t.h,vkey:t.$,vname:t.p,vtag:t.m,vtext:t.i}),V=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),H(t.vtag,e,...t.vchildren||[])}const e=L(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.$=t.vkey,e.p=t.vname,e},q=(t,e,n,l,o,s)=>{if(n!==l){let i=r(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,o=z(n),s=z(l);t["s-si"]&&s.indexOf(t["s-si"])<0&&s.push(t["s-si"]),e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===e){for(const e in n)l&&null!=l[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in l)n&&l[e]===n[e]||(e.includes("-")?t.style.setProperty(e,l[e]):t.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&l(t);else if(i||"o"!==e[0]||"n"!==e[1]){const r=I(l);if((i||r&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[e]=l;else{const o=null==l?"":l;"list"===e?i=!1:null!=n&&t[e]==o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,f=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(e)||(f?t.removeAttributeNS($,e):t.removeAttribute(e)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?t.setAttributeNS($,e,l):t.setAttribute(e,l))}else if(e="-"===e[2]?e.slice(3):r(p,c)?c.slice(2):c[2]+e.slice(3),n||l){const o=e.endsWith(J);e=e.replace(K,""),n&&v.rel(t,e,n,o),l&&v.ael(t,e,l,o)}}},G=/\s/,z=t=>("object"==typeof t&&"baseVal"in t&&(t=t.baseVal),t?t.split(G):[]),J="Capture",K=RegExp(J+"$"),Q=(t,e,n)=>{const l=11===e.v.nodeType&&e.v.host?e.v.host:e.v,o=t&&t.u||C,s=e.u||C;for(const t of X(Object.keys(o)))t in s||q(l,t,o[t],void 0,n,e.l);for(const t of X(Object.keys(s)))q(l,t,o[t],s[t],n,e.l)};function X(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Y=!1,Z=!1,tt=!1,et=!1,nt=(t,e,n,l)=>{var o;const s=e.h[n];let i,r,c,f=0;if(Y||(tt=!0,"slot"===s.m&&(P&&l.classList.add(P+"-s"),s.l|=s.h?2:1)),null!==s.i)i=s.v=m.createTextNode(s.i);else if(1&s.l)i=s.v=m.createTextNode("");else{if(et||(et="svg"===s.m),i=s.v=m.createElementNS(et?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Y&&2&s.l?"slot-fb":s.m),et&&"foreignObject"===s.m&&(et=!1),Q(null,s,et),!!i.getRootNode().querySelector("body")&&null!=P&&i["s-si"]!==P&&i.classList.add(i["s-si"]=P),vt(i,l),s.h)for(f=0;f<s.h.length;++f)r=nt(t,s,f,i),r&&i.appendChild(r);"svg"===s.m?et=!1:"foreignObject"===i.tagName&&(et=!0)}return i["s-hn"]=D,3&s.l&&(i["s-sr"]=!0,i["s-cr"]=T,i["s-sn"]=s.p||"",i["s-rf"]=null==(o=s.u)?void 0:o.ref,c=t&&t.h&&t.h[n],c&&c.m===s.m&&t.v&&lt(t.v,!1)),i},lt=(t,e)=>{v.l|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const l=n[t];l["s-hn"]!==D&&l["s-ol"]&&(pt(ct(l),l,rt(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,tt=!0),e&&lt(l,e)}v.l&=-2},ot=(t,e,n,l,o,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===D&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=nt(null,n,o,t),i&&(l[o].v=i,pt(r,i,rt(e))))},st=(t,e,n)=>{for(let l=e;l<=n;++l){const e=t[l];if(e){const t=e.v;$t(e),t&&(Z=!0,t["s-ol"]?t["s-ol"].remove():lt(t,!0),t.remove())}}},it=(t,e,n=!1)=>!(t.m!==e.m||("slot"===t.m?"j"in t&&n&&8!==t.v.nodeType||t.p!==e.p:!n&&t.$!==e.$)),rt=t=>t&&t["s-ol"]||t,ct=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,ft=(t,e,n=!1)=>{const l=e.v=t.v,o=t.h,s=e.h,i=e.m,r=e.i;let c;null===r?(et="svg"===i||"foreignObject"!==i&&et,("slot"!==i||Y)&&Q(t,e,et),null!==o&&null!==s?((t,e,n,l,o=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=e.length-1,d=e[0],h=e[a],$=l.length-1,p=l[0],m=l[$];for(;r<=a&&c<=$;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==p)p=l[++c];else if(null==m)m=l[--$];else if(it(d,p,o))ft(d,p,o),d=e[++r],p=l[++c];else if(it(h,m,o))ft(h,m,o),h=e[--a],m=l[--$];else if(it(d,m,o))"slot"!==d.m&&"slot"!==m.m||lt(d.v.parentNode,!1),ft(d,m,o),pt(t,d.v,h.v.nextSibling),d=e[++r],m=l[--$];else if(it(h,p,o))"slot"!==d.m&&"slot"!==m.m||lt(h.v.parentNode,!1),ft(h,p,o),pt(t,h.v,d.v),h=e[--a],p=l[++c];else{for(f=-1,u=r;u<=a;++u)if(e[u]&&null!==e[u].$&&e[u].$===p.$){f=u;break}f>=0?(i=e[f],i.m!==p.m?s=nt(e&&e[c],n,f,t):(ft(i,p,o),e[f]=void 0,s=i.v),p=l[++c]):(s=nt(e&&e[c],n,c,t),p=l[++c]),s&&pt(ct(d.v),s,rt(d.v))}r>a?ot(t,null==l[$+1]?null:l[$+1].v,n,l,c,$):c>$&&st(e,r,a)})(l,o,e,s,n):null!==s?(null!==t.i&&(l.textContent=""),ot(l,null,e,s,0,s.length-1)):!n&&null!==o&&st(o,0,o.length-1),et&&"svg"===i&&(et=!1)):(c=l["s-cr"])?c.parentNode.textContent=r:t.i!==r&&(l.data=r)},ut=t=>{const e=t.__childNodes||t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const l of e)if(l!==t)if(l["s-hn"]!==t["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){t.hidden=!0;break}}else if(n===l["s-sn"]&&(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim())){t.hidden=!0;break}}ut(t)}},at=[],dt=t=>{let e,n,l;const o=t.__childNodes||t.childNodes;for(const t of o){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const o=t["s-sn"];for(l=n.length-1;l>=0;l--)if(e=n[l],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(ht(e,o)){let n=at.find((t=>t.O===e));Z=!0,e["s-sn"]=e["s-sn"]||o,n?(n.O["s-sh"]=t["s-hn"],n.S=t):(e["s-sh"]=t["s-hn"],at.push({S:t,O:e})),e["s-sr"]&&at.map((t=>{ht(t.O,e["s-sn"])&&(n=at.find((t=>t.O===e)),n&&!t.S&&(t.S=n.S))}))}else at.some((t=>t.O===e))||at.push({O:e})}1===t.nodeType&&dt(t)}},ht=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,$t=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map($t)},pt=(t,e,n)=>{const l=null==t?void 0:t.insertBefore(e,n);return vt(e,t),l},mt=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...mt(t.parentElement)),e},vt=(t,e,n=!1)=>{var l;if(t&&e&&1===t.nodeType){const o=new Set(mt(e).filter(Boolean));if(o.size&&(null==(l=t.classList)||l.add(...t["s-scs"]=Array.from(o)),t["s-ol"]||n))for(const e of Array.from(t.__childNodes||t.childNodes))vt(e,t,!0)}},bt=t=>{class e extends Array{item(t){return this[t]}}let n=globalThis.Node&&Object.getOwnPropertyDescriptor(Node.prototype,"childNodes");n||(n=Object.getOwnPropertyDescriptor(t,"childNodes")),n&&Object.defineProperty(t,"__childNodes",n);let l=Object.getOwnPropertyDescriptor(Element.prototype,"children");l||(l=Object.getOwnPropertyDescriptor(t,"children")),l&&Object.defineProperty(t,"__children",l),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),n&&Object.defineProperty(t,"childNodes",{get(){var t,n;if(!v.l||!(null==(t=s(this))?void 0:t.l)||!(1&v.l)&&2&(null==(n=s(this))?void 0:n.l)){const t=new e,n=wt(this.__childNodes);return t.push(...n),t}return e.from(this.__childNodes)}})},yt=(t,e,n,l)=>{let o;if(t["s-ol"]&&t["s-ol"].isConnected?o=t["s-ol"]:(o=document.createTextNode(""),o["s-nr"]=t),!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,i=n?s.__prepend||s.prepend:s.__appendChild||s.appendChild;if(void 0!==l){o["s-oo"]=l;const t=[o];(s.__childNodes||s.childNodes).forEach((e=>{e["s-nr"]&&t.push(e)})),t.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<e["s-oo"]?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),t.forEach((t=>i.call(s,t)))}else i.call(s,o);t["s-ol"]=o,t["s-sh"]=e["s-hn"]},wt=t=>{const e=[];for(let n=0;n<t.length;n++){const l=t[n]["s-nr"];l&&l.isConnected&&e.push(l)}return e},gt=(t,e,n,l,o,s,i,r=[])=>{let c,f,u,a;const h=o["s-sc"];if(1===s.nodeType){if(c=s.getAttribute(d),c&&(f=c.split("."),f[0]===i||"0"===f[0])){u=Ot({l:0,k:f[0],j:f[1],C:f[2],I:f[3],m:s.tagName.toLowerCase(),v:s,u:{class:s.className}}),e.push(u),s.removeAttribute(d),t.h||(t.h=[]);const o=u.v.getAttribute("s-sn");"string"==typeof o&&("slot-fb"===u.m&&St(o,f[2],u,s,t,e,n,l,r),u.v["s-sn"]=o,u.v.removeAttribute("s-sn")),void 0!==u.I&&(t.h[u.I]=u),h&&(s["s-si"]=h),t=u,l&&"0"===u.C&&(l[u.I]=u.v)}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)gt(t,e,n,l,o,s.shadowRoot.childNodes[a],i,r);const $=s.__childNodes||s.childNodes;for(a=$.length-1;a>=0;a--)gt(t,e,n,l,o,$[a],i,r)}else if(8===s.nodeType)f=s.nodeValue.split("."),(f[1]===i||"0"===f[1])&&(c=f[0],u=Ot({k:f[1],j:f[2],C:f[3],I:f[4]||"0",v:s,u:null,h:null,$:null,p:null,m:null,i:null}),"t"===c?(u.v=s.nextSibling,u.v&&3===u.v.nodeType&&(u.i=u.v.textContent,e.push(u),s.remove(),i===u.k&&(t.h||(t.h=[]),t.h[u.I]=u),l&&"0"===u.C&&(l[u.I]=u.v))):"c"===c?(u.v=s.nextSibling,u.v&&8===u.v.nodeType&&(e.push(u),s.remove())):u.k===i&&("s"===c?(u.m="slot",St(s["s-sn"]=u.p=f[5]||"",f[2],u,s,t,e,n,l,r)):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.m){const e=L(null,s.textContent);e.v=s,e.I="0",t.h=[e]}return t},jt=(t,e)=>{if(1===t.nodeType){const n=t[a]||t.getAttribute(a);n&&e.set(n,t);let l=0;if(t.shadowRoot)for(;l<t.shadowRoot.childNodes.length;l++)jt(t.shadowRoot.childNodes[l],e);const o=t.__childNodes||t.childNodes;for(l=0;l<o.length;l++)jt(o[l],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Ot=t=>({l:0,k:null,j:null,C:null,I:"0",v:null,u:null,h:null,$:null,p:null,m:null,i:null,...t});function St(t,e,n,l,o,s,i,r,c){l["s-sr"]=!0;const f=(null==o?void 0:o.v)?o.v["s-id"]||o.v.getAttribute("s-id"):"";if(r){const s=n.v=m.createElement(n.m);n.p&&n.v.setAttribute("name",t),f&&f!==n.k?o.v.insertBefore(s,o.v.children[0]):l.parentNode.insertBefore(n.v,l),kt(c,e,t,l,n.k),l.remove(),"0"===n.C&&(r[n.I]=n.v)}else{const i=n.v,r=f&&f!==n.k&&o.v.shadowRoot;kt(c,e,t,l,r?f:n.k),r&&o.v.insertBefore(i,o.v.children[0]),s.push(n)}i.push(n),o.h||(o.h=[]),o.h[n.I]=n}var kt=(t,e,n,l,o)=>{let s=l.nextSibling;for(t[e]=t[e]||[];s&&((s.getAttribute&&s.getAttribute("slot")||s["s-sn"])===n||""===n&&!s["s-sn"]&&(8===s.nodeType&&1!==s.nodeValue.indexOf(".")||3===s.nodeType));)s["s-sn"]=n,t[e].push({slot:l,node:s,hostId:o}),s=s.nextSibling},Et=(t,e)=>null==t||I(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,xt=t=>s(t).$hostElement$,Ct=(t,e,n)=>{const l=xt(t);return{emit:t=>It(l,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},It=(t,e,n)=>{const l=v.ce(e,n);return t.dispatchEvent(l),l},Mt=new WeakMap,Rt=(t,e)=>{var n;const l=At(e),o=u.get(l);if(t=11===t.nodeType?t:m,o)if("string"==typeof o){let s,i=Mt.get(t=t.head||t);if(i||Mt.set(t,i=new Set),!i.has(l)){if(t.host&&(s=t.querySelector(`[sty-id="${l}"]`)))s.innerHTML=o;else{s=m.createElement("style"),s.innerHTML=o;const l=null!=(n=v.M)?n:M(m);if(null!=l&&s.setAttribute("nonce",l),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,n)}else if("host"in t)if(y){const e=new CSSStyleSheet;e.replaceSync(o),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=o+e.innerHTML:t.prepend(s)}else t.append(s);1&e.l&&"HEAD"!==t.nodeName&&t.insertBefore(s,null)}4&e.l&&(s.innerHTML+=h),i&&i.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]);return l},At=t=>"sc-"+t.R,Nt=(t,e)=>{e&&!t.A&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.A=e)))},Pt=(t,e)=>{if(t.l|=16,!(4&t.l))return Nt(t,t.N),x((()=>Tt(t,e)));t.l|=512},Tt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e&&(t.l|=256,t.P&&(t.P.map((([t,e])=>Wt(n,t,e))),t.P=void 0),l=Wt(n,"componentWillLoad")),l=Dt(l,(()=>Wt(n,"componentWillRender"))),Dt(l,(()=>Ft(t,n,e)))},Dt=(t,e)=>Ut(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Ut=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ft=async(t,e,n)=>{var l;const o=t.$hostElement$,s=o["s-rc"];n&&(t=>{const e=t.T,n=t.$hostElement$,l=e.l,o=Rt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(t);Ht(t,e,o,n),s&&(s.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(l=o["s-p"])?l:[],n=()=>Lt(t);0===e.length?n():(Promise.all(e).then(n),t.l|=4,e.length=0)}},Ht=(t,e,n,l)=>{try{e=e.render(),t.l&=-17,t.l|=2,((t,e,n=!1)=>{var l,o,s,i;const r=t.$hostElement$,c=t.T,f=t.D||L(null,null),u=(t=>t&&t.m===_)(e)?e:H(null,null,e);if(D=r.tagName,c.U&&(u.u=u.u||{},c.U.map((([t,e])=>u.u[e]=r[t]))),n&&u.u)for(const t of Object.keys(u.u))r.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(u.u[t]=r[t]);if(u.m=null,u.l|=4,t.D=u,u.v=f.v=r.shadowRoot||r,P=r["s-sc"],Y=!!(1&c.l),T=r["s-cr"],Z=!1,ft(f,u,n),v.l|=1,tt){dt(u.v);for(const t of at){const e=t.O;if(!e["s-ol"]){const t=m.createTextNode("");t["s-nr"]=e,pt(e.parentNode,e["s-ol"]=t,e)}}for(const t of at){const e=t.O,r=t.S;if(r){const t=r.parentNode;let n=r.nextSibling;{let s=null==(l=e["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===e["s-sn"]&&t===l.parentNode){for(l=l.nextSibling;l===e||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),pt(t,e,n),1===e.nodeType&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}Z&&ut(u.v),v.l&=-2,at.length=0,T=void 0})(t,e,l)}catch(e){c(e,t.$hostElement$)}return null},Lt=t=>{const e=t.$hostElement$,n=t.t,l=t.N;Wt(n,"componentDidRender"),64&t.l?Wt(n,"componentDidUpdate"):(t.l|=64,Bt(e),Wt(n,"componentDidLoad"),t.F(e),l||_t()),t.H(e),t.A&&(t.A(),t.A=void 0),512&t.l&&E((()=>Pt(t,!1))),t.l&=-517},_t=()=>{Bt(m.documentElement),E((()=>It(p,"appload",{detail:{namespace:t}})))},Wt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){c(t)}},Bt=t=>t.classList.add("hydrated"),Vt=(t,e,n,l)=>{const o=s(t);if(!o)throw Error(`Couldn't find host element for "${l.R}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=o.$hostElement$,r=o.L.get(e),f=o.l,u=o.t;if(n=Et(n,l._[e][0]),(!(8&f)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(o.L.set(e,n),u)){if(l.W&&128&f){const t=l.W[e];t&&t.map((t=>{try{u[t](n,r,e)}catch(t){c(t,i)}}))}2==(18&f)&&Pt(o,!1)}},qt=(t,e,n)=>{var l,o;const i=t.prototype;if(e._||e.W||t.watchers){t.watchers&&!e.W&&(e.W=t.watchers);const r=Object.entries(null!=(l=e._)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&n&&32&l)if(2048&l){if(1&n&&2048&l&&(Object.defineProperty(i,t,{get(){const e=s(this),n=e?e.t:i;if(n)return n[t]},configurable:!0,enumerable:!0}),4096&l)){const n=Object.getOwnPropertyDescriptor(i,t).set;Object.defineProperty(i,t,{set(l){const o=s(this);if(n){const s=o.$hostElement$[t];return!o.L.get(t)&&s&&o.L.set(t,s),n.call(this,Et(l,e._[t][0])),void Vt(this,t,o.$hostElement$[t],e)}if(!o)return;const i=()=>{const n=o.t[t];!o.L.get(t)&&n&&o.L.set(t,n),o.t[t]=Et(l,e._[t][0]),Vt(this,t,o.t[t],e)};o.t?i():o.B.then((()=>i()))}})}}else Object.defineProperty(i,t,{get(){return((t,e)=>s(this).L.get(e))(0,t)},set(n){Vt(this,t,n,e)},configurable:!0,enumerable:!0});else 1&n&&64&l&&Object.defineProperty(i,t,{value(...e){var n;const l=s(this);return null==(n=null==l?void 0:l.V)?void 0:n.then((()=>{var n;return null==(n=l.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;i.attributeChangedCallback=function(t,l,o){v.jmp((()=>{var r;const c=n.get(t);if(this.hasOwnProperty(c))o=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const n=s(this),i=null==n?void 0:n.l;if(i&&!(8&i)&&128&i&&o!==l){const s=n.t,i=null==(r=e.W)?void 0:r[t];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,o,l,t)}))}return}}const f=Object.getOwnPropertyDescriptor(i,c);f.get&&!f.set||(this[c]=(null!==o||"boolean"!=typeof this[c])&&o)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=e.W)?o:{}),...r.filter((([t,e])=>15&e[0])).map((([t,l])=>{var o;const s=l[1]||t;return n.set(s,t),512&l[0]&&(null==(o=e.U)||o.push([t,s])),s}))]))}}return t},Gt=t=>{Wt(t,"connectedCallback")},zt=t=>{if(!(1&v.l)){const e=s(t),n=e.T,l=()=>{};if(1&e.l)Yt(t,e,n.q),(null==e?void 0:e.t)?Gt(e.t):(null==e?void 0:e.B)&&e.B.then((()=>Gt(e.t)));else{let l;if(e.l|=1,l=t.getAttribute(a),l){if(1&n.l){const e=Rt(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}else if(2&n.l){const e=At(n);t["s-sc"]=e}((t,e,n,l)=>{const o=t.shadowRoot,s=[],i=[],r=o?[]:null,c=L(e,null);c.v=t,v.G||jt(m.body,v.G=new Map),t[a]=n,t.removeAttribute(a),l.D=gt(c,s,[],r,t,t,n,i);let f=0;const u=s.length;let d;for(;f<u;f++){d=s[f];const n=d.k+"."+d.j,l=v.G.get(n),i=d.v;o||(i["s-hn"]=e.toUpperCase(),"slot"===d.m&&(i["s-cr"]=t["s-cr"])),l&&l.isConnected&&(o&&""===l["s-en"]&&l.parentNode.insertBefore(i,l.nextSibling),l.parentNode.removeChild(l),o||(i["s-oo"]=parseInt(d.j))),v.G.delete(n)}const h=[];let $=0;const p=i.length;let b,y,w,g;for(;$<p;$++)if(b=i[$],b&&b.length)for(w=b.length,y=0;y<w;y++){if(g=b[y],h[g.hostId]||(h[g.hostId]=v.G.get(g.hostId)),!h[g.hostId])continue;const t=h[g.hostId];t.shadowRoot&&o||(g.slot["s-cr"]=t["s-cr"],g.slot["s-cr"]=!g.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0],yt(g.node,g.slot,!1,g.node["s-oo"])),t.shadowRoot&&g.node.parentElement!==t&&t.appendChild(g.node)}if(o){let e=0;const n=r.length;for(;e<n;e++)o.appendChild(r[e]);Array.from(t.childNodes).forEach((t=>{8===t.nodeType&&"string"!=typeof t["s-sn"]&&t.parentNode.removeChild(t)}))}l.$hostElement$=t})(t,n.R,l,e)}l||12&n.l&&Jt(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Nt(e,e.N=n);break}}n._&&Object.entries(n._).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),E((()=>(async(t,e,n)=>{let l;if(!(32&e.l)){if(e.l|=32,n.J){const t=(t=>{const e=t.R.replace(/-/g,"_"),n=t.J;if(!n)return;const l=f.get(n);return l?l[e]:import(`./${n}.entry.js`).then((t=>(f.set(n,t),t[e])),c)
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};l=await t,e()}else l=t;if(!l)throw Error(`Constructor for "${n.R}#${e.K}" was not found`);l.isProxied||(n.W=l.watchers,qt(l,n,2),l.isProxied=!0);const o=()=>{};e.l|=8;try{new l(e)}catch(t){c(t)}e.l&=-9,e.l|=128,o(),Gt(e.t)}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128));if(l&&l.style){let t;"string"==typeof l.style&&(t=l.style);const e=At(n);if(!u.has(e)){const l=()=>{};((t,e,n)=>{let l=u.get(t);y&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,u.set(t,l)})(e,t,!!(1&n.l)),l()}}}const o=e.N,s=()=>Pt(e,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(t,e,n)))}l()}},Jt=t=>{const e=t["s-cr"]=m.createComment("");e["s-cn"]=!0,pt(t,e,t.firstChild)},Kt=t=>{Wt(t,"disconnectedCallback")},Qt=(t,e={})=>{var n;const l=[],i=e.exclude||[],r=p.customElements,c=m.head,f=c.querySelector("meta[charset]"),u=m.createElement("style"),a=[];let d,$=!0;Object.assign(v,e),v.o=new URL(e.resourcesUrl||"./",m.baseURI).href,v.l|=2;let b=!1;if(t.map((t=>{t[1].map((e=>{var n;const c={l:e[0],R:e[1],_:e[2],q:e[3]};4&c.l&&(b=!0),c._=e[2],c.q=e[3],c.U=[],c.W=null!=(n=e[4])?n:{};const f=c.R,u=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={l:0,$hostElement$:t,T:e,L:new Map};n.V=new Promise((t=>n.H=t)),n.B=new Promise((t=>n.F=t)),t["s-p"]=[],t["s-rc"]=[],o.set(t,n)})(t=this,c),1&c.l)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.R}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open",delegatesFocus:!!(16&c.l)})}connectedCallback(){const t=s(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Yt(this,t,c.q)),d&&(clearTimeout(d),d=null),$?a.push(this):v.jmp((()=>zt(this)))}disconnectedCallback(){v.jmp((()=>(async()=>{if(!(1&v.l)){const t=s(this);t.X&&(t.X.map((t=>t())),t.X=void 0),(null==t?void 0:t.t)?Kt(t.t):(null==t?void 0:t.B)&&t.B.then((()=>Kt(t.t)))}})()))}componentOnReady(){return s(this).B}};bt(u.prototype),c.J=t[0],i.includes(f)||r.get(f)||(l.push(f),r.define(f,qt(u,c,1)))}))})),l.length>0&&(b&&(u.textContent+=h),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(n=v.M)?n:M(m);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,f?f.nextSibling:c.firstChild)}$=!1,a.length?a.map((t=>t.connectedCallback())):v.jmp((()=>d=setTimeout(_t,30)))},Xt=(t,e)=>e,Yt=(t,e,n)=>{n&&n.map((([n,l,o])=>{const s=te(t,n),i=Zt(e,o),r=ee(n);v.ael(s,l,i,r),(e.X=e.X||[]).push((()=>v.rel(s,l,i,r)))}))},Zt=(t,e)=>n=>{var l;try{256&t.l?null==(l=t.t)||l[e](n):(t.P=t.P||[]).push([e,n])}catch(t){c(t)}},te=(t,e)=>4&e?m:8&e?p:16&e?m.body:t,ee=t=>({passive:!!(1&t),capture:!!(2&t)}),ne=t=>v.M=t;export{l as B,e as E,Xt as F,_ as H,t as N,Qt as b,Ct as c,m as d,xt as g,H as h,b as p,i as r,ne as s}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as a,H as o,g as t}from"./p-797959a3.js";import{i as r}from"./p-aaa7a7bd.js";import{h as d,c as i}from"./p-4ad6d392.js";import{g as n}from"./p-10c530d1.js";import"./p-1004af75.js";const s=class{constructor(a){e(this,a),this.theme="",this.margin="auto",this.backgroundColor="",this.textColor="secondary",this.image="",this.headingLevel="h3",this.url=void 0}componentWillLoad(){r(this),this.hasPreHeadingSlot=d(this.element,"pre-heading"),this.hasHeadingSlot=d(this.element,"heading"),this.hasDescriptionSlot=d(this.element,"description"),this.hasActionSlot=d(this.element,"action"),i(this.element,"heading","span"),i(this.element,"description","span")}async setFocus(e){this.url&&this.aOrDivElement&&this.aOrDivElement.focus(e)}render(){const e=n(this.backgroundColor,this.theme);return a(o,{key:"c1a1de7dff739a9682d326b8d95ebc1a6b654116",class:{"duet-m-0":"none"===this.margin}},a("aside",{key:"ca9a98e6b0fd507a266e7df4ea2c9f633c025e94",class:{"duet-promo-card":!0,"duet-theme-turva":"turva"===this.theme,"no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:{backgroundColor:e||"none"}},a(this.url?"a":"div",{key:"ecd0f55f11b5ab945cb5f8731bfcdf0f9896329f",href:this.url,class:"content-wrapper",ref:e=>this.aOrDivElement=e},a("img",{key:"5e172fe31a4f2f5f2a1a332fa8d8b5a1cbf3d01e",class:"image",src:this.image,alt:"",role:"presentation"}),a("div",{key:"0dd4c9c41fea8db65956d2c844fb78a97ab279ef",class:"content"},this.hasPreHeadingSlot&&a("div",{key:"2d89e751682632487cfcefcdce063886070711a1",class:"pre-heading"},a("slot",{key:"0e4a51c40d95dd0080de19cd45bf70e117f4a131",name:"pre-heading"})),this.hasHeadingSlot&&a("div",{key:"72a74b257a084c3ddf7e7285da10875c21db8790",class:"heading"},a("duet-heading",{key:"b34a76dad87e9726296d775f3145b2c7b640bee4",theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},a("span",{key:"3fd56ffd4b2600856059091709f347f689e8a017"},a("slot",{key:"ce33481480a296bc9884ed1de8b77e31232b0f23",name:"heading"})))),this.hasDescriptionSlot&&a("div",{key:"a3c2f1b7a9bc92599183ce1ea8aabebd0849b30b",class:"description"},a("duet-paragraph",{key:"2e90a512af33afbf6635faa626ff038d3beb2034",theme:this.theme,margin:"none",color:this.textColor},a("span",{key:"0d774578043b823e14e314169fdcde5d4a4f002d"},a("slot",{key:"2da893d28fe769d4d5b9bc46104be41223eb96d8",name:"description"})))),this.hasActionSlot&&a("div",{key:"b20a53961de0cf3392ab726634262978ecb3a6f1",class:"action"},a("slot",{key:"1221939ab0a8061182f7b648c104ad75ae6f36b4",name:"action"}))))))}get element(){return t(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(8, 42, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}';export{s as duet_promo_card}
4
+ import{r as e,h as a,H as o,g as t}from"./p-5a4b011d.js";import{i as r}from"./p-aaa7a7bd.js";import{h as i,c as d}from"./p-dd5e5db6.js";import{g as n}from"./p-10c530d1.js";import"./p-1004af75.js";const s=class{constructor(a){e(this,a),this.theme="",this.margin="auto",this.backgroundColor="",this.textColor="secondary",this.image="",this.headingLevel="h3",this.url=void 0}componentWillLoad(){r(this),this.hasPreHeadingSlot=i(this.element,"pre-heading"),this.hasHeadingSlot=i(this.element,"heading"),this.hasDescriptionSlot=i(this.element,"description"),this.hasActionSlot=i(this.element,"action"),d(this.element,"heading","span"),d(this.element,"description","span")}async setFocus(e){this.url&&this.aOrDivElement&&this.aOrDivElement.focus(e)}render(){const e=n(this.backgroundColor,this.theme);return a(o,{key:"f83619ce28610acafbc66c1d8392f8c452051c67",class:{"duet-m-0":"none"===this.margin}},a("aside",{key:"8f5ff8b80126c9189aeb1ab0be3d96e242194f8a",class:{"duet-promo-card":!0,"duet-theme-turva":"turva"===this.theme,"no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:{backgroundColor:e||"none"}},a(this.url?"a":"div",{key:"0008fcd8728643f6b15f1d26545c09fdef9caf9b",href:this.url,class:"content-wrapper",ref:e=>this.aOrDivElement=e},a("img",{key:"3f059c57eddc0062c1a64a0c24d9c3d37662d030",class:"image",src:this.image,alt:"",role:"presentation"}),a("div",{key:"87fdc0add050a058c55ad6b17c3317c078fce453",class:"content"},this.hasPreHeadingSlot&&a("div",{key:"21c7ee0d339ec3326172f97fc1e8163d6bfce4e0",class:"pre-heading"},a("slot",{key:"6704480172514877730a1f71ef0b340b15f9abb1",name:"pre-heading"})),this.hasHeadingSlot&&a("div",{key:"e46822a4208488ff40a45205585127183cf5504c",class:"heading"},a("duet-heading",{key:"a1f3cfdbe8a21fa11934a97966055f06c6c3165c",theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},a("span",{key:"d9d5a0fbd035137c65b26eaaef8d53856a9fd54f"},a("slot",{key:"6e47d85c740fb9524d99c8abc7c0ba5b36743d50",name:"heading"})))),this.hasDescriptionSlot&&a("div",{key:"c017d68455e4c071e9b6897096f688dcbe18c639",class:"description"},a("duet-paragraph",{key:"d1ec5a43ab5839892ae94b3b63728d455961bee9",theme:this.theme,margin:"none",color:this.textColor},a("span",{key:"15aeea47848cb9c0ba17d99359e321b96d00a485"},a("slot",{key:"3aa7cb4344044cc7b2bf73aaafe60eb23bfb5f66",name:"description"})))),this.hasActionSlot&&a("div",{key:"9125fab50390a9c9f220f8f3c54f241ba3ee5c09",class:"action"},a("slot",{key:"c56834545acbb95eee257f0ed422f50e80af67c8",name:"action"}))))))}get element(){return t(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(8, 42, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}';export{s as duet_promo_card}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-552d1aa7.system.js","./p-e216bea4.system.js","./p-86937a4f.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,a,i,n,d,o,c,s;return{setters:[function(e){t=e.r;a=e.h;i=e.H;n=e.g},function(e){d=e.i},function(e){o=e.a;c=e.c;s=e.d},function(){}],execute:function(){var r='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}: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}';var m=r;var l=e("duet_contact_card",function(){function e(e){t(this,e);this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"};this.language=o();this.theme="";this.margin="auto";this.image=undefined;this.name=undefined;this.description=undefined;this.email=undefined;this.phone=undefined;this.buttonText=undefined;this.buttonIcon="form-date";this.buttonUrl=undefined}e.prototype.componentWillLoad=function(){d(this)};e.prototype.connectedCallback=function(){c(this)};e.prototype.disconnectedCallback=function(){s(this)};e.prototype.render=function(){var e=this.theme==="turva";var t=e?"turva":"default";return a(i,{key:"710493f629c7d9cac46f490f0dee228f7242a95c",class:{"duet-m-0":this.margin==="none"}},a("div",{key:"6ebe03954a2fa70044934971a113f2799d883a61",class:{"duet-contact-card":true,"duet-theme-turva":this.theme==="turva"},role:"group","aria-label":this.name},this.image?a("img",{class:"image",src:this.image,alt:this.name}):a("div",null),a("div",{key:"38bd574fe717f2d7b57c74cde6d5ac57f148b23c"},this.name&&a("duet-heading",{key:"72ef2682da855b8cb86c2537843b864121b1529b",class:"name",level:"h3",margin:"none",theme:t},this.name),this.description&&a("duet-paragraph",{key:"b657102818b5864f82ddc9de07ff4c910024e46f",class:"description",margin:"none",theme:t},this.description),this.email&&a("div",{key:"310a665ff9dad389ea89c74bcda6b5b637513eca",class:"email"},a("duet-icon",{key:"0d15be99d190d285cead78ef5a1356ce88802e21",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:t}),a("duet-link",{key:"67e957450d29245d930ca9b8366cdc421c95b5a0",url:"mailto:".concat(this.email),accessibleLabel:"Email: ".concat(this.email),theme:t},this.email)),this.phone&&a("div",{key:"3c7f8dbef0143be61c6da4e5c5aaf50036a5a795",class:"phone"},a("duet-icon",{key:"107635e97ef8980ce1f9d91cc7c0a20132967d50",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:t}),a("duet-link",{key:"30993d3b47125ecd85527fd664596deb5b1e6c55",url:"tel:".concat(this.phone),accessibleLabel:"".concat(this.phoneLabel[this.language],": ").concat(this.phone),theme:t},this.phone))),this.buttonUrl&&this.buttonText&&a("div",{key:"08e0710a040f7775d7a8b2c61b5e803212b1a344",class:"call-to-action"},a("duet-button",{key:"33b3f9f83c8b98df670211fa786bc91e1daeb33f",variation:"default",icon:this.buttonIcon,fixed:true,margin:"none",url:this.buttonUrl,theme:t},this.buttonText)),a("div",{key:"6bd3ab22e2e630bc6de6fd7f841f2b0fd658cc95"}),a("slot",{key:"ddcf2048393c89dbc94c29254ee703829cdc08a2"})))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());l.style=m}}}));
4
+ System.register(["./p-bdaef893.system.js","./p-e216bea4.system.js","./p-8623cfcd.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,a,i,n,d,o,c,s;return{setters:[function(e){t=e.r;a=e.h;i=e.H;n=e.g},function(e){d=e.i},function(e){o=e.a;c=e.c;s=e.d},function(){}],execute:function(){var r='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}: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}';var m=r;var l=e("duet_contact_card",function(){function e(e){t(this,e);this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"};this.language=o();this.theme="";this.margin="auto";this.image=undefined;this.name=undefined;this.description=undefined;this.email=undefined;this.phone=undefined;this.buttonText=undefined;this.buttonIcon="form-date";this.buttonUrl=undefined}e.prototype.componentWillLoad=function(){d(this)};e.prototype.connectedCallback=function(){c(this)};e.prototype.disconnectedCallback=function(){s(this)};e.prototype.render=function(){var e=this.theme==="turva";var t=e?"turva":"default";return a(i,{key:"71daad66c023075159b00d6dc104eab79c4b160d",class:{"duet-m-0":this.margin==="none"}},a("div",{key:"acf3ea2fa7c3cdd7e0363a19a18a60d74d393a6c",class:{"duet-contact-card":true,"duet-theme-turva":this.theme==="turva"},role:"group","aria-label":this.name},this.image?a("img",{class:"image",src:this.image,alt:this.name}):a("div",null),a("div",{key:"196c215165b051901fe5d4f2052da20c5ca455f2"},this.name&&a("duet-heading",{key:"0007ee7244e68c15517bb124c7b78f9d4e6c6dd3",class:"name",level:"h3",margin:"none",theme:t},this.name),this.description&&a("duet-paragraph",{key:"3f59b617f8c2f6b37d6c82ce48faac52e06f7cb2",class:"description",margin:"none",theme:t},this.description),this.email&&a("div",{key:"fb3b0b7fac964d9e8c8362392645f0c8c1bc87df",class:"email"},a("duet-icon",{key:"893fabcc55e9b009d431952357e1fede755e61fb",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:t}),a("duet-link",{key:"7677f46f07ff869d2056aa234934991adcda3eff",url:"mailto:".concat(this.email),accessibleLabel:"Email: ".concat(this.email),theme:t},this.email)),this.phone&&a("div",{key:"c06e9f451420ef3e92664dd46e8ed78dd2bd5f74",class:"phone"},a("duet-icon",{key:"ebc081064f01efb5e3ea31fc8d8782bd22bbcef0",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:t}),a("duet-link",{key:"5eef45c250e181259b3452eb21d6ef619db8aa9a",url:"tel:".concat(this.phone),accessibleLabel:"".concat(this.phoneLabel[this.language],": ").concat(this.phone),theme:t},this.phone))),this.buttonUrl&&this.buttonText&&a("div",{key:"d5cec8afd4d4288052f14f20204f0b934663e4b4",class:"call-to-action"},a("duet-button",{key:"946e16a6a6648d433e59cb91ff1742c7804b84dc",variation:"default",icon:this.buttonIcon,fixed:true,margin:"none",url:this.buttonUrl,theme:t},this.buttonText)),a("div",{key:"34a2419381529d6a2800016e5b899b92ca196674"}),a("slot",{key:"33b9196a872c10dd4bfd5533cb6663b06aeb2692"})))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());l.style=m}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as r}from"./p-797959a3.js";import{i as a}from"./p-aaa7a7bd.js";const c=class{constructor(t){e(this,t),this.theme="",this.checked=!1,this.presentationOnly=!1,this.center=!1,this.type="checkbox"}componentWillLoad(){a(this)}render(){return t(r,{key:"c27233d217d6300b031461ab116340e1c584066c",class:{"duet-theme-turva":"turva"===this.theme}},t("div",{key:"19290a374763929d9ddf126e675956ff3aaed52e",role:this.presentationOnly?"presentation":null,class:{checked:this.checked}},t("div",{key:"faac346948b9a766a35bb35ad9865fca24efaba0",class:{"duet-checkmark-container":!0,center:this.center,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{key:"4d79344b9b2bf72c06fa51d0134c4ae0255d6a59",class:"duet-checkmark"}))))}};c.style=".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(181, 198, 208) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";export{c as duet_checkmark}
4
+ import{r as e,h as t,H as r}from"./p-5a4b011d.js";import{i as a}from"./p-aaa7a7bd.js";const c=class{constructor(t){e(this,t),this.theme="",this.checked=!1,this.presentationOnly=!1,this.center=!1,this.type="checkbox"}componentWillLoad(){a(this)}render(){return t(r,{key:"67101b52a09890cf734e9d0595e4350a4663b054",class:{"duet-theme-turva":"turva"===this.theme}},t("div",{key:"84bb0da3c2fbc1c656b9e58cf82793c9331c4515",role:this.presentationOnly?"presentation":null,class:{checked:this.checked}},t("div",{key:"4a002ef944ff1f7ba5098696377c3d329e4a2cb8",class:{"duet-checkmark-container":!0,center:this.center,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{key:"c84aa3c64106bdc10cc6dbcef72202d6f7865e57",class:"duet-checkmark"}))))}};c.style=".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(181, 198, 208) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";export{c as duet_checkmark}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{h as t,r as e,c as i,H as a,g as d,F as s}from"./p-797959a3.js";import{i as l}from"./p-aaa7a7bd.js";import{f as o,d as n}from"./p-9e371678.js";import{i as r}from"./p-a1b7f2a0.js";import{a as h,c as u,d as b,g as p,s as c}from"./p-d529e4af.js";import{p as m,s as f}from"./p-1004af75.js";import{b as g,a as y}from"./p-10c530d1.js";import{c as v}from"./p-5e59e970.js";import{p as x}from"./p-9c3c64b9.js";import{g as k,a as w}from"./p-b8fdcb18.js";const T=({data:e,groupId:i,alignment:a})=>{const d=`duet-editable-table duet-editable-table-content-${i}`;return"string"==typeof e?t("td",{innerHTML:e,class:d,part:`${i}content`,style:{verticalAlign:a}}):t("td",{class:d,part:`${i}content`,style:{verticalAlign:a}},e)},L=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.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:d,key:s}=t;this.duetTableToggle.emit({sort_order:i,index:d,direction:a,key:s,component:"duet-editable-table",originalEvent:e})},this.handleKeyDown=(t,e)=>{r(e)&&this.toggleColumn(t,e)},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}componentWillLoad(){l(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(){b(this)}createLabel(e){const{sort_order:i,direction:a,index:d,label:s}=e,l=p(s);return this.sortable?t("span",{class:"duet-table-label","data-index":d},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)},l)):l}getSortedColumns(){return[...this.columns].sort(o(["index"]))}getRowSortOrder(){return[...this.columns].sort(o(["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(o(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(T,{data:i[e.key]?i[e.key]:i.item,groupId:this.groupId})})),this.actions&&this.renderActions(i,a))))}render(){return t(a,{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",{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",{role:this.accessibleRole},t("caption",null,t("slot",{name:"tcaption"})),t("thead",null,this.hasHeadSlotFirst&&t("tr",null,t("td",{class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{name:"thead-first"}))),this.renderTableHeader(),this.hasHeadSlotLast&&t("tr",null,t("td",{class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{name:"thead-last"})))),t("tbody",null,this.renderTableBody()),this.hasFootSlot&&t("tfoot",null,t("tr",null,t("td",{class:"duet-editable-table-footer-menu",colSpan:99},t("slot",{name:"tfoot"})))))))}get element(){return d(this)}};L.style=".sc-duet-editable-table-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-editable-table-actions-menu.sc-duet-editable-table{position:relative;padding:0 !important;margin:0}.duet-editable-table-actions-menu-button.sc-duet-editable-table{position:relative;right:-16px;float:right;padding:0}.duet-editable-table-actions-menu-icon.sc-duet-editable-table .duet-icon.sc-duet-editable-table{max-width:16px;max-height:16px}.duet-editable-table-row.duet-table-action-row.sc-duet-editable-table .duet-text-right.sc-duet-editable-table{text-align:right}.duet-editable-table-header.sc-duet-editable-table tr.sc-duet-editable-table .duet-editable-table-header-hidden.sc-duet-editable-table{padding:0 !important;font-size:0;border-bottom:0}";const S={none:0,"with-links":16*parseFloat(m),"without-links":16*parseFloat(f)},E=class{constructor(t){e(this,t),this.headingSelector="thead tr > :not(*.duet-editable-table-actions-menu)",this.handleMediaQueryChange=t=>{this.matchesBreakpoint=g.includes(this.breakpoint)?!t.matches:t.matches},this.matchesBreakpoint=!0,this.language=h(),this.theme=void 0,this.margin="auto",this.variation="striped",this.sticky=!1,this.stickyDistance="with-links",this.breakpoint="small",this.hideHeadVisually=!1}watchLanguageStateHandler(t,e){t!==e&&setTimeout((()=>this.copyHeadingsToCells()),50)}connectedCallback(){this.mq=matchMedia("none"===this.breakpoint||"none-scrollable"===this.breakpoint?"all":y[this.breakpoint]),this.mq.addEventListener("change",n(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),this.observer=new MutationObserver((()=>n(this.copyHeadingsToCells(),50))),this.observer.observe(this.element,{childList:!0,subtree:!0})}componentWillLoad(){if(l(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=S[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,b(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 d=document.createElement("span");d.textContent=i[e],d.classList.add("duet-table-cell-heading"),d.setAttribute("aria-hidden","true"),d.inert=!0,t.prepend(d)}}}))}))}render(){return t(a,{key:"d456405a2d68a4f177b88081425e960ba63045b9",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:"4f00b379d883a78ed082245fb9b6b8096e52ab94"}))}get element(){return d(this)}static get watchers(){return{language:["watchLanguageStateHandler"]}}};E.style='duet-table{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;font-variant-numeric:tabular-nums}duet-table table,duet-table thead,duet-table tbody,duet-table tfoot,duet-table th,duet-table td,duet-table tr{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}duet-table.duet-m-0{margin:0 !important}duet-table table{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;text-align:left;border-spacing:0;border-collapse:separate}duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead,duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead *{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}duet-table.duet-theme-turva table{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}duet-table td{-webkit-hyphens:auto;hyphens:auto;color:rgb(8, 42, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(98, 121, 138);text-align:left}duet-table.duet-theme-turva th{color:rgb(143, 147, 158)}duet-table tbody th{font-weight:600;color:rgb(8, 42, 77)}duet-table.duet-theme-turva tbody th{color:rgb(23, 28, 58)}duet-table .duet-table-action-row td:last-child{justify-self:end;padding-right:20px !important;white-space:nowrap}duet-table span.duet-table-cell-heading{display:none}.duet-table-flattened table,.duet-table-flattened thead,.duet-table-flattened tbody,.duet-table-flattened tfoot,.duet-table-flattened th,.duet-table-flattened td,.duet-table-flattened tr{display:block}.duet-table-flattened thead tr{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-table-flattened td{line-height:1.25}.duet-table-flattened td:not(:last-child){margin-bottom:16px !important}.duet-table-flattened td span.duet-table-cell-heading{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-table-flattened.duet-theme-turva td span.duet-table-cell-heading{color:rgb(23, 28, 58)}.duet-table-flattened tbody td,.duet-table-flattened tbody th,.duet-table-flattened tfoot td{padding:0 !important;text-align:left !important}.duet-table-flattened tbody th{font-weight:600;line-height:1.25;color:rgb(98, 121, 138);text-align:left}.duet-table-sticky thead th{position:sticky;top:0;background:rgb(255, 255, 255)}.duet-table-striped td,.duet-table-striped th{padding:20px !important}@media (max-width: 35.9375em){.duet-table-striped td,.duet-table-striped th{padding:20px 12px !important}}.duet-table-striped tbody th{background:rgb(255, 255, 255)}.duet-table-striped.duet-table-sticky thead th{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(222, 224, 228)}.duet-table-striped tbody:not(:first-of-type) th{padding-top:40px !important}.duet-table-striped tbody:only-of-type tr:nth-of-type(odd){background:rgba(4, 81, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(4, 81, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tfoot td{border-top:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(222, 224, 228)}.duet-table-striped.duet-table-flattened tbody:not(:first-of-type) th{padding-top:20px !important}.duet-table-striped.duet-table-flattened tr{padding:20px !important}.duet-table-striped.duet-table-flattened tfoot td{border-top:0}.duet-table-striped.duet-table-flattened tfoot tr{border-top:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(222, 224, 228)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(98, 121, 138)}.duet-table-fixed th:first-child,.duet-table-minimal th:first-child,.duet-table-plain th:first-child{padding-left:0 !important}.duet-table-fixed th:last-child,.duet-table-minimal th:last-child,.duet-table-plain th:last-child{padding-right:0 !important}.duet-theme-turva.duet-table-fixed th,.duet-theme-turva.duet-table-minimal th,.duet-theme-turva.duet-table-plain th{border-bottom-color:rgb(113, 118, 132)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(212, 223, 229)}.duet-theme-turva.duet-table-fixed tbody th,.duet-theme-turva.duet-table-minimal tbody th,.duet-theme-turva.duet-table-plain tbody th{border-bottom-color:rgb(222, 224, 228)}.duet-table-fixed td,.duet-table-minimal td,.duet-table-plain td{padding:16px !important}.duet-table-fixed td:first-child,.duet-table-minimal td:first-child,.duet-table-plain td:first-child{padding-left:0 !important}.duet-table-fixed td:last-child,.duet-table-minimal td:last-child,.duet-table-plain td:last-child{padding-right:0 !important}.duet-table-fixed tbody td,.duet-table-minimal tbody td,.duet-table-plain tbody td{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-table-fixed tbody td,.duet-theme-turva.duet-table-minimal tbody td,.duet-theme-turva.duet-table-plain tbody td{border-bottom-color:rgb(222, 224, 228)}.duet-table-flattened.duet-table-fixed tbody:first-of-type th,.duet-table-flattened.duet-table-minimal tbody:first-of-type th,.duet-table-flattened.duet-table-plain tbody:first-of-type th{padding-top:0 !important}.duet-table-flattened.duet-table-fixed td,.duet-table-flattened.duet-table-minimal td,.duet-table-flattened.duet-table-plain td,.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{border-bottom:0}.duet-table-flattened.duet-table-fixed tr,.duet-table-flattened.duet-table-minimal tr,.duet-table-flattened.duet-table-plain tr{padding:20px 0 !important}.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{padding-top:20px !important}.duet-table-flattened.duet-table-fixed tfoot td,.duet-table-flattened.duet-table-minimal tfoot td,.duet-table-flattened.duet-table-plain tfoot td{margin-bottom:4px !important}.duet-table-flattened.duet-table-fixed tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-minimal tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-plain tbody:not(:only-of-type) tr:first-child{border-bottom:0}.duet-table-plain.duet-table-flattened tbody tr{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(222, 224, 228)}.duet-table-minimal tbody tr,.duet-table-minimal tbody tr td{vertical-align:top;border-bottom:0 none}.duet-table-minimal tbody tr:last-of-type,.duet-table-minimal tbody tr:last-of-type td{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-minimal.duet-table-flattened tbody tr,.duet-table-minimal.duet-table-flattened tbody tr td{border-bottom:0 none}.duet-table-minimal.duet-table-flattened tbody tr td[data-heading]::before{display:none}.duet-table-minimal.duet-table-flattened tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-fixed table{table-layout:fixed}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td,.duet-table-fixed tbody tr td:first-child{padding:4px !important;vertical-align:text-bottom;border-bottom:0 none}.duet-table-fixed thead{display:none}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td{border-bottom:0 none}.duet-table-fixed:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-scrollable{position:relative;width:100%;overflow-x:auto;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%;background-repeat:no-repeat;background-attachment:local, local, scroll, scroll;background-size:100px 100%, 100px 100%, 12px 100%, 12px 100%}.duet-table-selected-column{background:rgba(0, 119, 179, 0.08)}.duet-theme-turva .duet-table-selected-column{background:rgba(113, 118, 132, 0.08)}.duet-table-sortable tbody tr td:first-child,.duet-table-sortable thead tr th:first-child{padding:20px}.duet-table-sortable:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-actions table{table-layout:auto}.duet-table-actions thead th:last-child{width:1px;white-space:nowrap}.duet-editable-table-table.duet-table-flattened tr{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:10px}.duet-editable-table-table.duet-table-flattened tr.duet-table-action-row td:last-child::before{padding:0;content:""}.duet-editable-table-table.duet-table-flattened td{grid-column:1/2}.duet-editable-table-table.duet-table-flattened td:first-child{grid-row:1;grid-column:1}.duet-editable-table-table.duet-table-flattened td:last-child{grid-row:1;grid-column:2}';const 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."}}],$={fi:"Liiteluettelo",sv:"Lista över bilagor",en:"Attachments list"},M=({label:e,categoryLabel:i})=>t("div",{class:"items-header",tabindex:"-1","aria-label":p($)},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))),z=(t,e,i)=>{const{allowedMimetypes:a,allowedExtensions:d,maxBytes:s}=e;let l=!1,o=k("default",i);if(t){const{name:e,type:n,size:r}=t,h=((t,e)=>{if(!e||!t)return!0;const i=e.split(",");let a=!1;return i.forEach((e=>{const i=e.split("/"),d=t.split("/");i[0]!==d[0]||i[1]!==d[1]&&"*"!==i[1]||(a=!0)})),a})(n,a),u="all"===d||""===d||" "===d||void 0===d||((t,e)=>{if(!e)return!0;const i=t.split(".");return e.split(",").includes(i[i.length-1])})(e.toLowerCase(),d),b=((t,e)=>!e||!t||e>=t)(r,s);h||(o=k("duet-upload-101",i)),u||(o=k("duet-upload-100",i)),b||(o=k("duet-upload-201",i)),l=h&&u&&b}else l=!1;return{valid:l,errorMessage:l?void 0:p(o.message),errorSystem:l?void 0:o.system_message,errorType:l?void 0:o.type}},F=({payload:t,options:e,onFailure:i,onSuccess:a,onProgress:d})=>{const{type:s="POST",xhr:l,uri:o,argument:n=null,headers:r=null}=e;l.open(s,`${o}${n||""}`,!0);const{data:h,name:u}=t;return r&&Object.keys(r).forEach((t=>{l.setRequestHeader(t,r[t])})),"POST"===s&&(l.onreadystatechange=()=>{l.readyState===XMLHttpRequest.DONE&&l.status>=200&&l.status<300&&a(l,u,l.status),l.readyState===XMLHttpRequest.DONE&&l.status>=300&&l.status<999&&i(l,u,l.status)},d(u)),l.send(h),l},C=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.buttonId=v("DuetButton"),this.labelId=v("DuetLabel"),this.uploadId=v("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.kick=n((()=>{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:d}=e;switch(i){case"delete":this.onDelete(a,d);break;case"cancel":this.onCancel(a,d)}}))},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,d)=>i===this.DefaultGroups.success?t("duet-upload-item",{theme:this.theme,actions:this.getActions(i,d),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,d),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,d),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,d),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",w("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",w("duet-upload-202",this.errorCodes),!1),i&&t&&this.updateValueInMap(t,"error",w("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:d,fileMaxReached:s}=this.validateTotals();this.handleExternalUploadButton(d,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:d,fileMaxReached:s}=this.validateTotals();if(this.handleExternalUploadButton(d,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=[],d=[];let s=!1;return t.forEach((t=>{const l=this.getGroupFromItemData(t);t.meta&&t.meta.badges&&(s=!0),l===this.DefaultGroups.success?d.push({uid:t.uid,data:t}):l===this.DefaultGroups.inprogress?e.push({uid:t.uid,data:t}):l===this.DefaultGroups.pending?a.push({uid:t.uid,data:t}):l===this.DefaultGroups.failure?i.push({uid:t.uid,data:t}):t.group&&e.push({uid:t.uid,data:t})})),{pending:a,failure:i,success:d,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,d=this.groups.map((d=>{const l=e[d.id];if(null==l?void 0:l.length)return t(s,null,!this.hideGroups&&t(M,{categoryLabel:i?this.categoryLabel:void 0,label:d.label}),l.map((t=>this.mapFilesToUploadItems(t.data,d.id,i,a))))}));return t(s,null,this.showUploadedItemsHeader&&t(M,{categoryLabel:i?this.categoryLabel:void 0,label:this.uploadedItemsHeaderLabel}),d)},this.tick=Date.now(),this.accessibleActiveDescendant=void 0,this.accessibleDescribedBy=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,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.uri=void 0,this.showLinks=!1,this.caption=void 0,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.identifier=void 0,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.name=void 0,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.value=void 0,this.externalUploadButtonId=void 0,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.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"}}]}watchValidHandler(t,e){t!==e&&this.kick()}componentWillLoad(){this.internalStatusMessageLabel="string"==typeof this.statusMessageLabel?c(this.groups):this.statusMessageLabel,l(this),this.listenForActionEvents(),this.onReady(),this.externalUploadButton=document.querySelector(`#${this.externalUploadButtonId}`),this.processedButtonTitles=x(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),d=Math.round(this.maxBytes/1024/1024);let l=this.description.replace(/{maxfiles}/g,this.maxFiles.toString());return l=l.replace(/{maxbytes}/g,`${d.toString()} MB`),l=l.replace(/{maxbytestotal}/g,`${i.toString()} MB`),l=l.replace(/{filetypes}/g,this.allowedExtensions.split(",").join(", ")),this.externalUploadButton&&(this.externalUploadButton.accessibleLabel=`${this.externalUploadButton.innerText}. ${l}`),t(a,{key:"44b4a9f8f0e99182d1db74ed7e2fb3237d90ed71",class:{"duet-m-0":"none"===this.margin}},t("duet-fieldset",{key:"2231a57d1b606059e90c7406f24258d4b844cbe0","label-heading-level":this.headerHeadingLevel,"label-hidden":this.hideHeader,label:this.label},t("slot",{key:"bb0e091ee3d4c96715018d1fc836d6cd5f938c75",name:"header"}),!this.files.size&&t("duet-empty-state",{key:"d988bc2f8b6a4efc418a65b3ee575095b97ae06a",id:this.labelId,part:this.identifier?`${this.identifier}-empty-state`:"duet-upload-empty-state",icon:"messaging-attachment"},t("duet-paragraph",{key:"b274a3b81132a5119c47bd365bbdd77f08280c17",margin:"none"},this.fileListEmpty)),!!this.files.size&&t("slot",{key:"5a2377d31360af5cbdae90130677853613899ec5",name:"fileheader"}),!!this.files.size&&t("duet-upload-aria-status",{key:"6fe002a8a312e6e067321c07e0b50ed786fd8dc3",invalid:this.getFilesAsArray().invalid.length,valid:this.getFilesAsArray().valid.length,inprogress:this.filesInProgress.size,total:this.files.size,statusMessageLabel:this.internalStatusMessageLabel}),!!this.files.size&&this.renderUploadedItems(),!!this.files.size&&t("slot",{key:"730c164e68660c49ce18f8fec5d8f184a640bcd9",name:"filefooter"}),t("slot",{key:"303c2be9f728196dc157cd29a39a926ca9951a88",name:"uploadfooter"}),this.captionOnBottom&&t("duet-caption",{key:"d0e088aa37d8b789b3dc4efa9e070c74746877d0",margin:"none",size:"small"},t("div",{key:"e3ab58aaacb792a297bcc56154073c9289dd1c32",class:"upload-bottom-caption"},l)),t("slot",{key:"5a6d988ce4deff649f20207813758e023eb3d817",name:"afterfooter"}),!this.hideButton&&t(s,{key:"86a890e223fb900e2420ea45564f8c4c484ddc8a"},t("duet-spacer",{key:"fdf03610301bb1368fb28db909a35e10320df054",size:"large"}),t("duet-button",{key:"be03dc2d96b961dc22d63bf0bf4e1128e4c813d4",id:this.buttonId,onClick:this.startUpload,"accessible-controls":e,disabled:this.fileMaxReached,"accessible-label":this.accessibleButtonLabel||`${this.buttonLabel}. ${l}`,"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:"86937ba57803f4ca6379dcab097cf0d08d0962d7"},t("duet-spacer",{key:"64e72354abfe4dad9e6c1d430e89900b38c50dec",size:"medium"}),t("duet-alert",{key:"02be9578a9bf4afdcda8ff3a9d280525a39e430c",part:this.identifier?`${this.identifier}-error-notification`:"duet-upload-error-notification"},this.fileMaxReached&&w("duet-upload-301",this.errorCodes),this.bytesMaxReached&&w("duet-upload-202",this.errorCodes),this.filesToUploadExceedsLimit&&w("duet-upload-302",this.errorCodes),this.filesToUploadTotalSizeIsAboveMax&&w("duet-upload-203",this.errorCodes))),t("duet-visually-hidden",{key:"619dec515fc6147867da776c79f883d54a2ba9d3","aria-hidden":"true"},t("input",{key:"8e13ce6903fa6218b0e56035416dcddd154317a2",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)),F(a)}makeXHRDeleteRequest(t){const{uid:e,item:i}=t,a=new XMLHttpRequest;let d={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&&(d=this.middleware(d)),F(d)}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 d=parseInt(a.split("(").pop().slice(0,-1));return`${t} (${d+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("."),d=this.getRenamedFileName(a,i);return new File([t],d,{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:d}=z(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:d},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 d(this)}static get watchers(){return{valid:["watchValidHandler"]}}};C.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::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;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.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{L as duet_editable_table,E as duet_table,C as duet_upload}
4
+ import{h as t,r as e,c as i,H as a,g as d,F as s}from"./p-5a4b011d.js";import{i as l}from"./p-aaa7a7bd.js";import{f as o,d as n}from"./p-9e371678.js";import{i as r}from"./p-a1b7f2a0.js";import{a as h,c as u,d as b,g as p,s as c}from"./p-c09655fd.js";import{p as m,s as f}from"./p-1004af75.js";import{b as g,a as y}from"./p-10c530d1.js";import{c as v}from"./p-5e59e970.js";import{p as x}from"./p-9c3c64b9.js";import{g as k,a as w}from"./p-7fd0927e.js";const T=({data:e,groupId:i,alignment:a})=>{const d=`duet-editable-table duet-editable-table-content-${i}`;return"string"==typeof e?t("td",{innerHTML:e,class:d,part:`${i}content`,style:{verticalAlign:a}}):t("td",{class:d,part:`${i}content`,style:{verticalAlign:a}},e)},L=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.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:d,key:s}=t;this.duetTableToggle.emit({sort_order:i,index:d,direction:a,key:s,component:"duet-editable-table",originalEvent:e})},this.handleKeyDown=(t,e)=>{r(e)&&this.toggleColumn(t,e)},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}componentWillLoad(){l(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(){b(this)}createLabel(e){const{sort_order:i,direction:a,index:d,label:s}=e,l=p(s);return this.sortable?t("span",{class:"duet-table-label","data-index":d},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)},l)):l}getSortedColumns(){return[...this.columns].sort(o(["index"]))}getRowSortOrder(){return[...this.columns].sort(o(["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(o(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(T,{data:i[e.key]?i[e.key]:i.item,groupId:this.groupId})})),this.actions&&this.renderActions(i,a))))}render(){return t(a,{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",{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",{role:this.accessibleRole},t("caption",null,t("slot",{name:"tcaption"})),t("thead",null,this.hasHeadSlotFirst&&t("tr",null,t("td",{class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{name:"thead-first"}))),this.renderTableHeader(),this.hasHeadSlotLast&&t("tr",null,t("td",{class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{name:"thead-last"})))),t("tbody",null,this.renderTableBody()),this.hasFootSlot&&t("tfoot",null,t("tr",null,t("td",{class:"duet-editable-table-footer-menu",colSpan:99},t("slot",{name:"tfoot"})))))))}get element(){return d(this)}};L.style=".sc-duet-editable-table-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-editable-table-actions-menu.sc-duet-editable-table{position:relative;padding:0 !important;margin:0}.duet-editable-table-actions-menu-button.sc-duet-editable-table{position:relative;right:-16px;float:right;padding:0}.duet-editable-table-actions-menu-icon.sc-duet-editable-table .duet-icon.sc-duet-editable-table{max-width:16px;max-height:16px}.duet-editable-table-row.duet-table-action-row.sc-duet-editable-table .duet-text-right.sc-duet-editable-table{text-align:right}.duet-editable-table-header.sc-duet-editable-table tr.sc-duet-editable-table .duet-editable-table-header-hidden.sc-duet-editable-table{padding:0 !important;font-size:0;border-bottom:0}";const S={none:0,"with-links":16*parseFloat(m),"without-links":16*parseFloat(f)},E=class{constructor(t){e(this,t),this.headingSelector="thead tr > :not(*.duet-editable-table-actions-menu)",this.handleMediaQueryChange=t=>{this.matchesBreakpoint=g.includes(this.breakpoint)?!t.matches:t.matches},this.matchesBreakpoint=!0,this.language=h(),this.theme=void 0,this.margin="auto",this.variation="striped",this.sticky=!1,this.stickyDistance="with-links",this.breakpoint="small",this.hideHeadVisually=!1}watchLanguageStateHandler(t,e){t!==e&&setTimeout((()=>this.copyHeadingsToCells()),50)}connectedCallback(){this.mq=matchMedia("none"===this.breakpoint||"none-scrollable"===this.breakpoint?"all":y[this.breakpoint]),this.mq.addEventListener("change",n(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),this.observer=new MutationObserver((()=>n(this.copyHeadingsToCells(),50))),this.observer.observe(this.element,{childList:!0,subtree:!0})}componentWillLoad(){if(l(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=S[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,b(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 d=document.createElement("span");d.textContent=i[e],d.classList.add("duet-table-cell-heading"),d.setAttribute("aria-hidden","true"),d.inert=!0,t.prepend(d)}}}))}))}render(){return t(a,{key:"e378254253a226b9edcee4bd3a64283ad15673b2",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:"b338423743800018d8f1b19ae20ca8c0a4bd5c36"}))}get element(){return d(this)}static get watchers(){return{language:["watchLanguageStateHandler"]}}};E.style='duet-table{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;font-variant-numeric:tabular-nums}duet-table table,duet-table thead,duet-table tbody,duet-table tfoot,duet-table th,duet-table td,duet-table tr{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}duet-table.duet-m-0{margin:0 !important}duet-table table{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;text-align:left;border-spacing:0;border-collapse:separate}duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead,duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead *{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}duet-table.duet-theme-turva table{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}duet-table td{-webkit-hyphens:auto;hyphens:auto;color:rgb(8, 42, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(98, 121, 138);text-align:left}duet-table.duet-theme-turva th{color:rgb(143, 147, 158)}duet-table tbody th{font-weight:600;color:rgb(8, 42, 77)}duet-table.duet-theme-turva tbody th{color:rgb(23, 28, 58)}duet-table .duet-table-action-row td:last-child{justify-self:end;padding-right:20px !important;white-space:nowrap}duet-table span.duet-table-cell-heading{display:none}.duet-table-flattened table,.duet-table-flattened thead,.duet-table-flattened tbody,.duet-table-flattened tfoot,.duet-table-flattened th,.duet-table-flattened td,.duet-table-flattened tr{display:block}.duet-table-flattened thead tr{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-table-flattened td{line-height:1.25}.duet-table-flattened td:not(:last-child){margin-bottom:16px !important}.duet-table-flattened td span.duet-table-cell-heading{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-table-flattened.duet-theme-turva td span.duet-table-cell-heading{color:rgb(23, 28, 58)}.duet-table-flattened tbody td,.duet-table-flattened tbody th,.duet-table-flattened tfoot td{padding:0 !important;text-align:left !important}.duet-table-flattened tbody th{font-weight:600;line-height:1.25;color:rgb(98, 121, 138);text-align:left}.duet-table-sticky thead th{position:sticky;top:0;background:rgb(255, 255, 255)}.duet-table-striped td,.duet-table-striped th{padding:20px !important}@media (max-width: 35.9375em){.duet-table-striped td,.duet-table-striped th{padding:20px 12px !important}}.duet-table-striped tbody th{background:rgb(255, 255, 255)}.duet-table-striped.duet-table-sticky thead th{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(222, 224, 228)}.duet-table-striped tbody:not(:first-of-type) th{padding-top:40px !important}.duet-table-striped tbody:only-of-type tr:nth-of-type(odd){background:rgba(4, 81, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(4, 81, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tfoot td{border-top:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(222, 224, 228)}.duet-table-striped.duet-table-flattened tbody:not(:first-of-type) th{padding-top:20px !important}.duet-table-striped.duet-table-flattened tr{padding:20px !important}.duet-table-striped.duet-table-flattened tfoot td{border-top:0}.duet-table-striped.duet-table-flattened tfoot tr{border-top:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(222, 224, 228)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(98, 121, 138)}.duet-table-fixed th:first-child,.duet-table-minimal th:first-child,.duet-table-plain th:first-child{padding-left:0 !important}.duet-table-fixed th:last-child,.duet-table-minimal th:last-child,.duet-table-plain th:last-child{padding-right:0 !important}.duet-theme-turva.duet-table-fixed th,.duet-theme-turva.duet-table-minimal th,.duet-theme-turva.duet-table-plain th{border-bottom-color:rgb(113, 118, 132)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(212, 223, 229)}.duet-theme-turva.duet-table-fixed tbody th,.duet-theme-turva.duet-table-minimal tbody th,.duet-theme-turva.duet-table-plain tbody th{border-bottom-color:rgb(222, 224, 228)}.duet-table-fixed td,.duet-table-minimal td,.duet-table-plain td{padding:16px !important}.duet-table-fixed td:first-child,.duet-table-minimal td:first-child,.duet-table-plain td:first-child{padding-left:0 !important}.duet-table-fixed td:last-child,.duet-table-minimal td:last-child,.duet-table-plain td:last-child{padding-right:0 !important}.duet-table-fixed tbody td,.duet-table-minimal tbody td,.duet-table-plain tbody td{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-table-fixed tbody td,.duet-theme-turva.duet-table-minimal tbody td,.duet-theme-turva.duet-table-plain tbody td{border-bottom-color:rgb(222, 224, 228)}.duet-table-flattened.duet-table-fixed tbody:first-of-type th,.duet-table-flattened.duet-table-minimal tbody:first-of-type th,.duet-table-flattened.duet-table-plain tbody:first-of-type th{padding-top:0 !important}.duet-table-flattened.duet-table-fixed td,.duet-table-flattened.duet-table-minimal td,.duet-table-flattened.duet-table-plain td,.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{border-bottom:0}.duet-table-flattened.duet-table-fixed tr,.duet-table-flattened.duet-table-minimal tr,.duet-table-flattened.duet-table-plain tr{padding:20px 0 !important}.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{padding-top:20px !important}.duet-table-flattened.duet-table-fixed tfoot td,.duet-table-flattened.duet-table-minimal tfoot td,.duet-table-flattened.duet-table-plain tfoot td{margin-bottom:4px !important}.duet-table-flattened.duet-table-fixed tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-minimal tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-plain tbody:not(:only-of-type) tr:first-child{border-bottom:0}.duet-table-plain.duet-table-flattened tbody tr{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(222, 224, 228)}.duet-table-minimal tbody tr,.duet-table-minimal tbody tr td{vertical-align:top;border-bottom:0 none}.duet-table-minimal tbody tr:last-of-type,.duet-table-minimal tbody tr:last-of-type td{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-minimal.duet-table-flattened tbody tr,.duet-table-minimal.duet-table-flattened tbody tr td{border-bottom:0 none}.duet-table-minimal.duet-table-flattened tbody tr td[data-heading]::before{display:none}.duet-table-minimal.duet-table-flattened tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-fixed table{table-layout:fixed}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td,.duet-table-fixed tbody tr td:first-child{padding:4px !important;vertical-align:text-bottom;border-bottom:0 none}.duet-table-fixed thead{display:none}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td{border-bottom:0 none}.duet-table-fixed:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-scrollable{position:relative;width:100%;overflow-x:auto;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%;background-repeat:no-repeat;background-attachment:local, local, scroll, scroll;background-size:100px 100%, 100px 100%, 12px 100%, 12px 100%}.duet-table-selected-column{background:rgba(0, 119, 179, 0.08)}.duet-theme-turva .duet-table-selected-column{background:rgba(113, 118, 132, 0.08)}.duet-table-sortable tbody tr td:first-child,.duet-table-sortable thead tr th:first-child{padding:20px}.duet-table-sortable:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-actions table{table-layout:auto}.duet-table-actions thead th:last-child{width:1px;white-space:nowrap}.duet-editable-table-table.duet-table-flattened tr{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:10px}.duet-editable-table-table.duet-table-flattened tr.duet-table-action-row td:last-child::before{padding:0;content:""}.duet-editable-table-table.duet-table-flattened td{grid-column:1/2}.duet-editable-table-table.duet-table-flattened td:first-child{grid-row:1;grid-column:1}.duet-editable-table-table.duet-table-flattened td:last-child{grid-row:1;grid-column:2}';const 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."}}],$={fi:"Liiteluettelo",sv:"Lista över bilagor",en:"Attachments list"},M=({label:e,categoryLabel:i})=>t("div",{class:"items-header",tabindex:"-1","aria-label":p($)},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))),z=(t,e,i)=>{const{allowedMimetypes:a,allowedExtensions:d,maxBytes:s}=e;let l=!1,o=k("default",i);if(t){const{name:e,type:n,size:r}=t,h=((t,e)=>{if(!e||!t)return!0;const i=e.split(",");let a=!1;return i.forEach((e=>{const i=e.split("/"),d=t.split("/");i[0]!==d[0]||i[1]!==d[1]&&"*"!==i[1]||(a=!0)})),a})(n,a),u="all"===d||""===d||" "===d||void 0===d||((t,e)=>{if(!e)return!0;const i=t.split(".");return e.split(",").includes(i[i.length-1])})(e.toLowerCase(),d),b=((t,e)=>!e||!t||e>=t)(r,s);h||(o=k("duet-upload-101",i)),u||(o=k("duet-upload-100",i)),b||(o=k("duet-upload-201",i)),l=h&&u&&b}else l=!1;return{valid:l,errorMessage:l?void 0:p(o.message),errorSystem:l?void 0:o.system_message,errorType:l?void 0:o.type}},F=({payload:t,options:e,onFailure:i,onSuccess:a,onProgress:d})=>{const{type:s="POST",xhr:l,uri:o,argument:n=null,headers:r=null}=e;l.open(s,`${o}${n||""}`,!0);const{data:h,name:u}=t;return r&&Object.keys(r).forEach((t=>{l.setRequestHeader(t,r[t])})),"POST"===s&&(l.onreadystatechange=()=>{l.readyState===XMLHttpRequest.DONE&&l.status>=200&&l.status<300&&a(l,u,l.status),l.readyState===XMLHttpRequest.DONE&&l.status>=300&&l.status<999&&i(l,u,l.status)},d(u)),l.send(h),l},C=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.buttonId=v("DuetButton"),this.labelId=v("DuetLabel"),this.uploadId=v("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.kick=n((()=>{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:d}=e;switch(i){case"delete":this.onDelete(a,d);break;case"cancel":this.onCancel(a,d)}}))},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,d)=>i===this.DefaultGroups.success?t("duet-upload-item",{theme:this.theme,actions:this.getActions(i,d),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,d),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,d),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,d),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",w("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",w("duet-upload-202",this.errorCodes),!1),i&&t&&this.updateValueInMap(t,"error",w("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:d,fileMaxReached:s}=this.validateTotals();this.handleExternalUploadButton(d,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:d,fileMaxReached:s}=this.validateTotals();if(this.handleExternalUploadButton(d,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=[],d=[];let s=!1;return t.forEach((t=>{const l=this.getGroupFromItemData(t);t.meta&&t.meta.badges&&(s=!0),l===this.DefaultGroups.success?d.push({uid:t.uid,data:t}):l===this.DefaultGroups.inprogress?e.push({uid:t.uid,data:t}):l===this.DefaultGroups.pending?a.push({uid:t.uid,data:t}):l===this.DefaultGroups.failure?i.push({uid:t.uid,data:t}):t.group&&e.push({uid:t.uid,data:t})})),{pending:a,failure:i,success:d,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,d=this.groups.map((d=>{const l=e[d.id];if(null==l?void 0:l.length)return t(s,null,!this.hideGroups&&t(M,{categoryLabel:i?this.categoryLabel:void 0,label:d.label}),l.map((t=>this.mapFilesToUploadItems(t.data,d.id,i,a))))}));return t(s,null,this.showUploadedItemsHeader&&t(M,{categoryLabel:i?this.categoryLabel:void 0,label:this.uploadedItemsHeaderLabel}),d)},this.tick=Date.now(),this.accessibleActiveDescendant=void 0,this.accessibleDescribedBy=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,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.uri=void 0,this.showLinks=!1,this.caption=void 0,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.identifier=void 0,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.name=void 0,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.value=void 0,this.externalUploadButtonId=void 0,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.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"}}]}watchValidHandler(t,e){t!==e&&this.kick()}componentWillLoad(){this.internalStatusMessageLabel="string"==typeof this.statusMessageLabel?c(this.groups):this.statusMessageLabel,l(this),this.listenForActionEvents(),this.onReady(),this.externalUploadButton=document.querySelector(`#${this.externalUploadButtonId}`),this.processedButtonTitles=x(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),d=Math.round(this.maxBytes/1024/1024);let l=this.description.replace(/{maxfiles}/g,this.maxFiles.toString());return l=l.replace(/{maxbytes}/g,`${d.toString()} MB`),l=l.replace(/{maxbytestotal}/g,`${i.toString()} MB`),l=l.replace(/{filetypes}/g,this.allowedExtensions.split(",").join(", ")),this.externalUploadButton&&(this.externalUploadButton.accessibleLabel=`${this.externalUploadButton.innerText}. ${l}`),t(a,{key:"34dabb707733d49a37d7665b2ce21dac3cb69b99",class:{"duet-m-0":"none"===this.margin}},t("duet-fieldset",{key:"53da3e1d39ae3d0a72ea1e836ed84a7ed5505745","label-heading-level":this.headerHeadingLevel,"label-hidden":this.hideHeader,label:this.label},t("slot",{key:"50da1a23f5016f0666627e8455e072cfa5b96ca7",name:"header"}),!this.files.size&&t("duet-empty-state",{key:"6895fe8edf7ed8eec62bb4f141222ec699cbb00f",id:this.labelId,part:this.identifier?`${this.identifier}-empty-state`:"duet-upload-empty-state",icon:"messaging-attachment"},t("duet-paragraph",{key:"01b14bc9aef86e1044a9d4ebf56017068b10df4b",margin:"none"},this.fileListEmpty)),!!this.files.size&&t("slot",{key:"2c3b18a000bfeb370a6fc83a23fa5b534cd09b43",name:"fileheader"}),!!this.files.size&&t("duet-upload-aria-status",{key:"3b143bdded7b1feddd54867d6d4b2ed4e2d915cf",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:"85599b8ce8e5b05c80c5c3e5276356c7324bdef3",name:"filefooter"}),t("slot",{key:"425f33860900e6110a625c5c4c7da8bcc1313053",name:"uploadfooter"}),this.captionOnBottom&&t("duet-caption",{key:"881d401f134a7e3c412cd1f01bed6117f96bbc19",margin:"none",size:"small"},t("div",{key:"5e498fd2880ec86684cf3da9690b139ad05fd97f",class:"upload-bottom-caption"},l)),t("slot",{key:"a05a45a3f7efc7d767db95eeb75a5da261b08edb",name:"afterfooter"}),!this.hideButton&&t(s,{key:"0d0ff9d5fad94af744e9632125af447fd7144fd0"},t("duet-spacer",{key:"fed503af8f9301defa2f2d8f29385e28fa1a8716",size:"large"}),t("duet-button",{key:"7a4f79bf0df839531c714f39202900a25d339612",id:this.buttonId,onClick:this.startUpload,"accessible-controls":e,disabled:this.fileMaxReached,"accessible-label":this.accessibleButtonLabel||`${this.buttonLabel}. ${l}`,"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:"e649c65801873ad2a2bfa16b63b6f83249f0212b"},t("duet-spacer",{key:"da7ebf591d35cf11d0ecbb52246bf3e84feb711d",size:"medium"}),t("duet-alert",{key:"e8fdb5af79535f54f65dcf0bebb0ffe5865dc699",part:this.identifier?`${this.identifier}-error-notification`:"duet-upload-error-notification"},this.fileMaxReached&&w("duet-upload-301",this.errorCodes),this.bytesMaxReached&&w("duet-upload-202",this.errorCodes),this.filesToUploadExceedsLimit&&w("duet-upload-302",this.errorCodes),this.filesToUploadTotalSizeIsAboveMax&&w("duet-upload-203",this.errorCodes))),t("duet-visually-hidden",{key:"145eb761bd1a288de31527f8cfd1006deb6c2f4d","aria-hidden":"true"},t("input",{key:"38490151c6483827901990610b2a17ced63c27f6",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)),F(a)}makeXHRDeleteRequest(t){const{uid:e,item:i}=t,a=new XMLHttpRequest;let d={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&&(d=this.middleware(d)),F(d)}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 d=parseInt(a.split("(").pop().slice(0,-1));return`${t} (${d+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("."),d=this.getRenamedFileName(a,i);return new File([t],d,{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:d}=z(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:d},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 d(this)}static get watchers(){return{valid:["watchValidHandler"]}}};C.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::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;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.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{L as duet_editable_table,E as duet_table,C as duet_upload}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-552d1aa7.system.js"],(function(e){"use strict";var t,r,n,i;return{setters:[function(e){t=e.r;r=e.h;n=e.H;i=e.g}],execute:function(){var a=e("duet_upload_aria_status",function(){function e(e){var r=this;t(this,e);this.replacePlaceHolders=function(e){var t=function(e){return e>1?"".concat(e," ").concat(r.statusMessageLabel.files):"".concat(e," ").concat(r.statusMessageLabel.file)};return e.replace("{filesUploaded}",t(r.valid)).replace("{filesInProgress}",t(r.inprogress)).replace("{filesTotal}",t(r.total)).replace("{filesWithErrors}",t(r.invalid))};this.getStatusMessage=function(){var e=r.statusMessageLabel,t=e.done,n=e.inProgress,i=e.doneWithErrors,a=e.inProgressWithErrors;var u=r.invalid>0;var s=r.inprogress>0;var l=r.inprogress>0&&u;var f=r.valid===r.total&&!s&&!u;var c=r.valid+r.invalid===r.total&&!s;if(f){r.statusMessage=r.replacePlaceHolders(t);return}else if(l){r.statusMessage=r.replacePlaceHolders(a);return}else if(s){r.statusMessage=r.replacePlaceHolders(n);return}else if(c){r.statusMessage=r.replacePlaceHolders(i);return}return};this.statusMessage=null;this.statusMessageLabel=null;this.accessibleAriaLive="polite";this.valid=undefined;this.total=undefined;this.invalid=undefined;this.inprogress=undefined}e.prototype.watchHandler=function(e,t){if(e!==t){this.getStatusMessage()}};e.prototype.render=function(){return r(n,{key:"611ad37755190220c43a39fdcbfda6d808a0e285",role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},r("duet-visually-hidden",{key:"4a2d84541cdf2e03c057210066ef4f53a3ef6b00"},this.statusMessage))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}},enumerable:false,configurable:true});return e}())}}}));
4
+ System.register(["./p-bdaef893.system.js"],(function(e){"use strict";var t,r,n,i;return{setters:[function(e){t=e.r;r=e.h;n=e.H;i=e.g}],execute:function(){var a=e("duet_upload_aria_status",function(){function e(e){var r=this;t(this,e);this.replacePlaceHolders=function(e){var t=function(e){return e>1?"".concat(e," ").concat(r.statusMessageLabel.files):"".concat(e," ").concat(r.statusMessageLabel.file)};return e.replace("{filesUploaded}",t(r.valid)).replace("{filesInProgress}",t(r.inprogress)).replace("{filesTotal}",t(r.total)).replace("{filesWithErrors}",t(r.invalid))};this.getStatusMessage=function(){var e=r.statusMessageLabel,t=e.done,n=e.inProgress,i=e.doneWithErrors,a=e.inProgressWithErrors;var u=r.invalid>0;var s=r.inprogress>0;var f=r.inprogress>0&&u;var l=r.valid===r.total&&!s&&!u;var c=r.valid+r.invalid===r.total&&!s;if(l){r.statusMessage=r.replacePlaceHolders(t);return}else if(f){r.statusMessage=r.replacePlaceHolders(a);return}else if(s){r.statusMessage=r.replacePlaceHolders(n);return}else if(c){r.statusMessage=r.replacePlaceHolders(i);return}return};this.statusMessage=null;this.statusMessageLabel=null;this.accessibleAriaLive="polite";this.valid=undefined;this.total=undefined;this.invalid=undefined;this.inprogress=undefined}e.prototype.watchHandler=function(e,t){if(e!==t){this.getStatusMessage()}};e.prototype.render=function(){return r(n,{key:"b39f90588bbf94f860b3a3353f8cc7748d74df25",role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},r("duet-visually-hidden",{key:"b61dbf75e645b8f17ae6a72bc9304d068d3218f2"},this.statusMessage))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}},enumerable:false,configurable:true});return e}())}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-552d1aa7.system.js"],(function(e){"use strict";var t,n,a,r;return{setters:[function(e){t=e.r;n=e.h;a=e.H;r=e.g}],execute:function(){var i=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";var o=i;var p=e("duet_visually_hidden",function(){function e(e){t(this,e)}e.prototype.render=function(){return n(a,{key:"c7a016ccb63b67077c691951394fd67771f4609e",class:"duet-visually-hidden"},n("slot",{key:"c5daeaed36d95139adc5a1f68fe01123d5f301ae"}))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());p.style=o}}}));
4
+ System.register(["./p-bdaef893.system.js"],(function(e){"use strict";var t,n,a,r;return{setters:[function(e){t=e.r;n=e.h;a=e.H;r=e.g}],execute:function(){var i=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";var o=i;var p=e("duet_visually_hidden",function(){function e(e){t(this,e)}e.prototype.render=function(){return n(a,{key:"a26d430acd67a8e002cbb5d4e10fc83664ea2fc9",class:"duet-visually-hidden"},n("slot",{key:"2a9832f540a371230bc15e334e7351ef06539a6c"}))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());p.style=o}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-552d1aa7.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js"],(function(e){"use strict";var t,n,a,i,r,o;return{setters:[function(e){t=e.r;n=e.h;a=e.H;i=e.g},function(e){r=e.i},function(e){o=e.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;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:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-submenu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 75, 129)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}.duet-submenu-bar-link.active.duet-theme-turva{color:rgb(126, 2, 35)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}}.duet-submenu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-link:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}}';var b=u;var s=e("duet_submenu_bar_link",function(){function e(e){t(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined}e.prototype.componentWillLoad=function(){r(this)};e.prototype.handleEscape=function(e){if(o(e)){var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return n(a,{key:"0a4400868d61377b3ce3df2c080a0aa42ad53a8b",role:"listitem"},n("a",{key:"005d137af08a1c049d12707de80a41968e29b6fe",class:{"duet-submenu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,onKeyUp:function(t){return e.handleEscape(t)},"aria-current":this.active?"true":"false"},this.icon&&n("duet-icon",{key:"3d900e1209d6e99e2361348c9fda2b0e562987b4",class:"submenu-bar-link-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),n("span",{key:"99b597aeb8dbe29036e8e006160c86884f5e3387",class:"label"},n("slot",{key:"8c81d3eb726c6e5fd647e351f1fdeb7eab64d109"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());s.style=b}}}));
4
+ System.register(["./p-bdaef893.system.js","./p-e216bea4.system.js","./p-34d7dd10.system.js"],(function(e){"use strict";var t,n,a,i,r,o;return{setters:[function(e){t=e.r;n=e.h;a=e.H;i=e.g},function(e){r=e.i},function(e){o=e.f}],execute:function(){var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;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:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-submenu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 75, 129)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}.duet-submenu-bar-link.active.duet-theme-turva{color:rgb(126, 2, 35)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}}.duet-submenu-bar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-link:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}}';var b=u;var s=e("duet_submenu_bar_link",function(){function e(e){t(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined}e.prototype.componentWillLoad=function(){r(this)};e.prototype.handleEscape=function(e){if(o(e)){var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return n(a,{key:"9e08c272ab8cc2dd9aafbdc95544134a516910fc",role:"listitem"},n("a",{key:"8db55a81215eb0842ea3f90d224cffb3edf37ddb",class:{"duet-submenu-bar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,onKeyUp:function(t){return e.handleEscape(t)},"aria-current":this.active?"true":"false"},this.icon&&n("duet-icon",{key:"d9189db67ff4c5a2b9d80c6ec4939f6628481bac",class:"submenu-bar-link-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),n("span",{key:"bad512b87073b3f25cb22f9b72dee43d1a76b28c",class:"label"},n("slot",{key:"3afcf14180bccbbacf368d368673d863a9fdfc61"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());s.style=b}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as d,h as a,H as e,g as t}from"./p-797959a3.js";import{i}from"./p-43b89e38.js";const n=class{constructor(a){d(this,a),this.margin="auto",this.middle=!1,this.paddingBreakpoint=void 0}render(){return a(e,{key:"5a0fe7bda2f99a571bb9a91389d22bb429b92176",class:{"duet-middle":this.middle,"duet-ie":i()}},a("div",{key:"fa8ce66fb4314c7b613db9d9c8a41a6184998e6f",class:{"duet-layout-wrapper":!0,"duet-m-0":"none"===this.margin}},a("div",{key:"eec70679e3914498d52cf5fabc0b6f107afcb263",class:{"duet-layout":!0,[`padding-${this.paddingBreakpoint}`]:!!this.paddingBreakpoint}},a("section",{key:"a6816d9b522355e91cd3e226d5501b50b27ca0cc",class:"duet-main"},a("slot",{key:"be71578ddc8566d81734e0e036416767b0c42899"})))))}get element(){return t(this)}};n.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}: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}
4
+ import{r as d,h as a,H as e,g as t}from"./p-5a4b011d.js";import{i}from"./p-43b89e38.js";const n=class{constructor(a){d(this,a),this.margin="auto",this.middle=!1,this.paddingBreakpoint=void 0}render(){return a(e,{key:"880268957ee754272edd7e40e176726a591b2adb",class:{"duet-middle":this.middle,"duet-ie":i()}},a("div",{key:"5e2b1ae22d53f082ba7e458fed1d1b83db828aa6",class:{"duet-layout-wrapper":!0,"duet-m-0":"none"===this.margin}},a("div",{key:"10978c202d2ad0170dbe560f21b6ba7fb1e05bab",class:{"duet-layout":!0,[`padding-${this.paddingBreakpoint}`]:!!this.paddingBreakpoint}},a("section",{key:"153963d27cd28795bdc91750aeb4e6cc5a02f208",class:"duet-main"},a("slot",{key:"fe61fac6c0e7a60b7d922c06151ab5da69c082da"})))))}get element(){return t(this)}};n.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}: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}