@duetds/components 6.7.0 → 6.8.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 (749) hide show
  1. package/hydrate/index.d.ts +17 -16
  2. package/hydrate/index.js +282 -142
  3. package/lib/cjs/action-arrow-right-24fe06be.js +8 -0
  4. package/lib/cjs/{dom-b340f674.js → dom-c42e1019.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  6. package/lib/cjs/duet-alert.cjs.entry.js +8 -2
  7. package/lib/cjs/duet-badge.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +4 -3
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
  10. package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +23 -7
  12. package/lib/cjs/duet-card.cjs.entry.js +12 -4
  13. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  14. package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +13 -5
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-combobox.cjs.entry.js +9 -3
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +66 -0
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +5 -3
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
  25. package/lib/cjs/duet-footer.cjs.entry.js +4 -5
  26. package/lib/cjs/duet-grid_2.cjs.entry.js +5 -3
  27. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-icon.cjs.entry.js +6 -4
  30. package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-list_2.cjs.entry.js +6 -2
  33. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-menu-bar.cjs.entry.js +9 -3
  38. package/lib/cjs/duet-modal.cjs.entry.js +14 -13
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-notification_2.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
  43. package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
  44. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  46. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  47. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-slideout-lang.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
  53. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
  54. package/lib/cjs/duet-slideout-panel.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-slideout.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  63. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  71. package/lib/cjs/duet.cjs.js +15 -6
  72. package/lib/cjs/{focus-utils-0dd9281d.js → focus-utils-8777d943.js} +1 -1
  73. package/lib/cjs/{index-3d0845f0.js → index-26abcddc.js} +18 -4
  74. package/lib/cjs/loader.cjs.js +3 -3
  75. package/lib/cjs/{shadow-css-cce1abf1.js → shadow-css-6c99270e.js} +1 -1
  76. package/lib/collection/collection-manifest.json +5 -4
  77. package/lib/collection/common/index.js +1 -0
  78. package/lib/collection/common/runtime-types.js +5 -0
  79. package/lib/collection/components/duet-action-button/duet-action-button.css +10 -10
  80. package/lib/collection/components/duet-action-button/duet-action-button.js +4 -2
  81. package/lib/collection/components/duet-alert/duet-alert.css +12 -12
  82. package/lib/collection/components/duet-alert/duet-alert.js +10 -3
  83. package/lib/collection/components/duet-badge/duet-badge.css +2 -2
  84. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +16 -6
  85. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +2 -1
  86. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +11 -5
  87. package/lib/collection/components/duet-button/duet-button.css +80 -80
  88. package/lib/collection/components/duet-button/duet-button.js +10 -5
  89. package/lib/collection/components/duet-caption/duet-caption.css +4 -4
  90. package/lib/collection/components/duet-caption/duet-caption.js +2 -1
  91. package/lib/collection/components/duet-card/duet-card.css +26 -17
  92. package/lib/collection/components/duet-card/duet-card.js +40 -10
  93. package/lib/collection/components/duet-checkbox/duet-checkbox.css +19 -19
  94. package/lib/collection/components/duet-checkbox/duet-checkbox.js +6 -3
  95. package/lib/collection/components/duet-choice/duet-checkmark.css +12 -12
  96. package/lib/collection/components/duet-choice/duet-checkmark.js +1 -1
  97. package/lib/collection/components/duet-choice/duet-choice.css +74 -74
  98. package/lib/collection/components/duet-choice/duet-choice.js +8 -4
  99. package/lib/collection/components/duet-choice-group/duet-choice-group.css +46 -2
  100. package/lib/collection/components/duet-choice-group/duet-choice-group.js +32 -1
  101. package/lib/collection/components/duet-collapsible/duet-collapsible.css +9 -9
  102. package/lib/collection/components/duet-collapsible/duet-collapsible.js +6 -3
  103. package/lib/collection/components/duet-combobox/duet-combobox.css +18 -18
  104. package/lib/collection/components/duet-combobox/duet-combobox.js +31 -4
  105. package/lib/collection/components/duet-contact-card/duet-contact-card.css +85 -0
  106. package/lib/collection/components/duet-contact-card/duet-contact-card.js +263 -0
  107. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +6 -6
  108. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +2 -1
  109. package/lib/collection/components/duet-date-picker/duet-date-picker.css +56 -56
  110. package/lib/collection/components/duet-date-picker/duet-date-picker.js +8 -4
  111. package/lib/collection/components/duet-divider/duet-divider.css +2 -2
  112. package/lib/collection/components/duet-divider/duet-divider.js +2 -1
  113. package/lib/collection/components/duet-editable-table/duet-editable-table.js +13 -8
  114. package/lib/collection/components/duet-empty-state/duet-empty-state.css +4 -4
  115. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -1
  116. package/lib/collection/components/duet-fieldset/duet-fieldset.css +4 -4
  117. package/lib/collection/components/duet-footer/duet-footer.css +19 -19
  118. package/lib/collection/components/duet-footer/duet-footer.js +14 -7
  119. package/lib/collection/components/duet-grid/duet-grid.css +83 -0
  120. package/lib/collection/components/duet-grid/duet-grid.js +9 -4
  121. package/lib/collection/components/duet-grid-item/duet-grid-item.css +2 -2
  122. package/lib/collection/components/duet-grid-item/duet-grid-item.js +1 -1
  123. package/lib/collection/components/duet-header/duet-header.css +105 -105
  124. package/lib/collection/components/duet-header/duet-header.js +30 -15
  125. package/lib/collection/components/duet-heading/duet-heading.css +7 -4
  126. package/lib/collection/components/duet-heading/duet-heading.js +2 -1
  127. package/lib/collection/components/duet-hero/duet-hero.css +40 -42
  128. package/lib/collection/components/duet-hero/duet-hero.js +10 -5
  129. package/lib/collection/components/duet-icon/duet-icon.css +11 -4
  130. package/lib/collection/components/duet-icon/duet-icon.js +8 -5
  131. package/lib/collection/components/duet-input/duet-input.css +66 -66
  132. package/lib/collection/components/duet-input/duet-input.js +17 -9
  133. package/lib/collection/components/duet-label/duet-label.css +2 -2
  134. package/lib/collection/components/duet-label/duet-label.js +4 -2
  135. package/lib/collection/components/duet-layout/duet-layout.js +2 -1
  136. package/lib/collection/components/duet-link/duet-link.css +36 -9
  137. package/lib/collection/components/duet-link/duet-link.js +86 -2
  138. package/lib/collection/components/duet-list/duet-list.js +13 -5
  139. package/lib/collection/components/duet-list-item/duet-list-item.css +32 -8
  140. package/lib/collection/components/duet-logo/duet-logo.css +2 -2
  141. package/lib/collection/components/duet-logo/duet-logo.js +2 -1
  142. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +8 -8
  143. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +9 -2
  144. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +2 -2
  145. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +13 -13
  146. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +8 -8
  147. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +6 -6
  148. package/lib/collection/components/duet-modal/duet-modal.css +4 -4
  149. package/lib/collection/components/duet-modal/duet-modal.js +39 -13
  150. package/lib/collection/components/duet-multiselect/duet-multiselect.css +40 -40
  151. package/lib/collection/components/duet-multiselect/duet-multiselect.js +10 -5
  152. package/lib/collection/components/duet-nav/duet-nav.css +0 -1
  153. package/lib/collection/components/duet-notification/duet-notification.css +14 -14
  154. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +25 -25
  155. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -1
  156. package/lib/collection/components/duet-number-input/duet-number-input.css +5 -5
  157. package/lib/collection/components/duet-number-input/duet-number-input.js +8 -4
  158. package/lib/collection/components/duet-page-heading/duet-page-heading.css +4 -4
  159. package/lib/collection/components/duet-pagination/duet-pagination.js +4 -2
  160. package/lib/collection/components/duet-paragraph/duet-paragraph.css +6 -6
  161. package/lib/collection/components/duet-paragraph/duet-paragraph.js +6 -3
  162. package/lib/collection/components/duet-progress/duet-progress.css +12 -12
  163. package/lib/collection/components/duet-radio/duet-radio.css +17 -17
  164. package/lib/collection/components/duet-radio/duet-radio.js +6 -3
  165. package/lib/collection/components/duet-range-slider/duet-range-slider.css +30 -30
  166. package/lib/collection/components/duet-range-slider/duet-range-slider.js +4 -2
  167. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +1 -1
  168. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -1
  169. package/lib/collection/components/duet-select/duet-select.css +38 -38
  170. package/lib/collection/components/duet-select/duet-select.js +10 -5
  171. package/lib/collection/components/duet-slideout/duet-slideout.css +5 -5
  172. package/lib/collection/components/duet-slideout/duet-slideout.js +2 -1
  173. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
  174. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +11 -4
  175. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +1 -1
  176. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +9 -9
  177. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +5 -5
  178. package/lib/collection/components/duet-spacer/duet-spacer.js +4 -2
  179. package/lib/collection/components/duet-spinner/duet-spinner.css +3 -3
  180. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -1
  181. package/lib/collection/components/duet-step/duet-step.css +10 -10
  182. package/lib/collection/components/duet-step/duet-step.js +4 -2
  183. package/lib/collection/components/duet-stepper/duet-stepper.css +1 -1
  184. package/lib/collection/components/duet-stepper/duet-stepper.js +2 -1
  185. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +10 -10
  186. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +18 -18
  187. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +8 -8
  188. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +8 -8
  189. package/lib/collection/components/duet-tab-group/duet-tab-group.css +46 -49
  190. package/lib/collection/components/duet-tab-group/duet-tab-group.js +8 -4
  191. package/lib/collection/components/duet-table/duet-table.css +44 -33
  192. package/lib/collection/components/duet-table/duet-table.js +26 -3
  193. package/lib/collection/components/duet-textarea/duet-textarea.css +39 -39
  194. package/lib/collection/components/duet-textarea/duet-textarea.js +8 -4
  195. package/lib/collection/components/duet-toggle/duet-toggle.css +12 -12
  196. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -1
  197. package/lib/collection/components/duet-toolbar/duet-toolbar.css +4 -4
  198. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +13 -13
  199. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +8 -8
  200. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +11 -11
  201. package/lib/collection/components/duet-tooltip/duet-tooltip.css +26 -26
  202. package/lib/collection/components/duet-tooltip/duet-tooltip.js +2 -1
  203. package/lib/collection/components/duet-tray/duet-tray.css +14 -14
  204. package/lib/collection/components/duet-upload/duet-upload.css +1 -1
  205. package/lib/collection/components/duet-upload/duet-upload.js +27 -14
  206. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +2 -1
  207. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  208. package/lib/dist-custom-elements/duet-alert.js +1 -1
  209. package/lib/dist-custom-elements/duet-badge.js +1 -1
  210. package/lib/dist-custom-elements/duet-breadcrumb.js +5 -4
  211. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  212. package/lib/dist-custom-elements/duet-button.js +1 -1
  213. package/lib/dist-custom-elements/duet-caption.js +1 -1
  214. package/lib/dist-custom-elements/duet-card.js +16 -7
  215. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  216. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  217. package/lib/dist-custom-elements/duet-choice-group.js +17 -8
  218. package/lib/dist-custom-elements/duet-choice.js +7 -7
  219. package/lib/dist-custom-elements/duet-collapsible.js +4 -4
  220. package/lib/dist-custom-elements/duet-combobox.js +12 -5
  221. package/lib/dist-custom-elements/duet-contact-card.d.ts +11 -0
  222. package/lib/dist-custom-elements/duet-contact-card.js +133 -0
  223. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  224. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  225. package/lib/dist-custom-elements/duet-divider.js +1 -1
  226. package/lib/dist-custom-elements/duet-editable-table.js +1 -1
  227. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  228. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  229. package/lib/dist-custom-elements/duet-footer.js +6 -7
  230. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  231. package/lib/dist-custom-elements/duet-grid.js +1 -1
  232. package/lib/dist-custom-elements/duet-header.js +11 -11
  233. package/lib/dist-custom-elements/duet-heading.js +1 -1
  234. package/lib/dist-custom-elements/duet-hero.js +10 -10
  235. package/lib/dist-custom-elements/duet-icon.js +1 -1
  236. package/lib/dist-custom-elements/duet-input.js +1 -1
  237. package/lib/dist-custom-elements/duet-label.js +1 -1
  238. package/lib/dist-custom-elements/duet-layout.js +1 -1
  239. package/lib/dist-custom-elements/duet-link.js +1 -1
  240. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  241. package/lib/dist-custom-elements/duet-list.js +1 -1
  242. package/lib/dist-custom-elements/duet-logo.js +1 -1
  243. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  244. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  245. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  246. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  247. package/lib/dist-custom-elements/duet-menu-bar.js +11 -5
  248. package/lib/dist-custom-elements/duet-modal.js +21 -19
  249. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  250. package/lib/dist-custom-elements/duet-nav.js +1 -1
  251. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  252. package/lib/dist-custom-elements/duet-notification.js +3 -3
  253. package/lib/dist-custom-elements/duet-number-input.js +10 -10
  254. package/lib/dist-custom-elements/duet-page-heading.js +3 -3
  255. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  256. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  257. package/lib/dist-custom-elements/duet-progress.js +1 -1
  258. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  259. package/lib/dist-custom-elements/duet-radio.js +2 -2
  260. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  261. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  262. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  263. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  264. package/lib/dist-custom-elements/duet-select.js +1 -1
  265. package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
  266. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  267. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +3 -3
  268. package/lib/dist-custom-elements/duet-slideout-panel.js +5 -5
  269. package/lib/dist-custom-elements/duet-slideout.js +5 -5
  270. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  271. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  272. package/lib/dist-custom-elements/duet-step.js +5 -5
  273. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  274. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  275. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
  276. package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
  277. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  278. package/lib/dist-custom-elements/duet-tab-group.js +10 -10
  279. package/lib/dist-custom-elements/duet-tab.js +1 -1
  280. package/lib/dist-custom-elements/duet-table.js +1 -1
  281. package/lib/dist-custom-elements/duet-textarea.js +9 -9
  282. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  283. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
  284. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
  285. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
  286. package/lib/dist-custom-elements/duet-toolbar.js +2 -2
  287. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  288. package/lib/dist-custom-elements/duet-tray.js +5 -5
  289. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  290. package/lib/dist-custom-elements/duet-upload.js +20 -20
  291. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  292. package/lib/dist-custom-elements/index.d.ts +0 -86
  293. package/lib/dist-custom-elements/index.js +1 -84
  294. package/lib/dist-custom-elements/p-02a40751.js +123 -0
  295. package/lib/dist-custom-elements/p-064a8802.js +188 -0
  296. package/lib/dist-custom-elements/{p-ae149130.js → p-076c04fa.js} +3 -3
  297. package/lib/dist-custom-elements/{p-5084748e.js → p-152ee893.js} +7 -0
  298. package/lib/dist-custom-elements/p-1a45a20a.js +178 -0
  299. package/lib/dist-custom-elements/{p-4e752d2d.js → p-1f9f67e3.js} +4 -4
  300. package/lib/dist-custom-elements/{p-267801f1.js → p-27f477bd.js} +3 -3
  301. package/lib/dist-custom-elements/{p-e47da081.js → p-308a73c1.js} +18 -5
  302. package/lib/dist-custom-elements/{p-55325c49.js → p-33e00967.js} +1 -1
  303. package/lib/dist-custom-elements/{p-c9a16897.js → p-344f54cf.js} +3 -3
  304. package/lib/dist-custom-elements/{p-ad4c031f.js → p-39b4e372.js} +5 -5
  305. package/lib/dist-custom-elements/{p-13b6dd90.js → p-3c792743.js} +2 -2
  306. package/lib/dist-custom-elements/p-3e094f25.js +37 -0
  307. package/lib/dist-custom-elements/{p-f7da07ee.js → p-48e0be9b.js} +10 -10
  308. package/lib/dist-custom-elements/{p-f6a5967a.js → p-52306a3d.js} +2 -2
  309. package/lib/dist-custom-elements/{p-2b6f6cba.js → p-5b6ac919.js} +2 -2
  310. package/lib/dist-custom-elements/p-61015063.js +113 -0
  311. package/lib/{esm/shadow-css-e76e6e1c.js → dist-custom-elements/p-6ee53ac3.js} +1 -1
  312. package/lib/dist-custom-elements/p-6fa39608.js +6 -0
  313. package/lib/dist-custom-elements/p-70db80cb.js +76 -0
  314. package/lib/dist-custom-elements/{p-4e9d1f9b.js → p-7918f243.js} +1 -1
  315. package/lib/dist-custom-elements/{p-c91ba42a.js → p-7c4a2620.js} +2 -2
  316. package/lib/dist-custom-elements/{p-767cc415.js → p-7f907b5b.js} +7 -7
  317. package/lib/dist-custom-elements/{p-504f30a0.js → p-823ea8c0.js} +1 -1
  318. package/lib/dist-custom-elements/{p-c203ef96.js → p-8fc068d5.js} +2 -2
  319. package/lib/dist-custom-elements/{p-22eba43b.js → p-907402d2.js} +8 -8
  320. package/lib/dist-custom-elements/{p-7857fd92.js → p-91f5a857.js} +2 -2
  321. package/lib/dist-custom-elements/p-923a997f.js +265 -0
  322. package/lib/dist-custom-elements/{p-aa1ab20d.js → p-9b59f666.js} +3 -3
  323. package/lib/dist-custom-elements/{p-535ce3ec.js → p-9ed347f9.js} +1 -1
  324. package/lib/dist-custom-elements/p-b14db39f.js +54 -0
  325. package/lib/dist-custom-elements/{p-e36eb97d.js → p-b48f1e4d.js} +3 -3
  326. package/lib/dist-custom-elements/{p-ba2d607e.js → p-ba41b009.js} +12 -6
  327. package/lib/dist-custom-elements/{p-738bd3c5.js → p-c4d8cad0.js} +1 -1
  328. package/lib/dist-custom-elements/{p-2b3a8e8c.js → p-ca57b6a2.js} +3 -3
  329. package/lib/dist-custom-elements/{p-0d2d0d0e.js → p-e15832f2.js} +3 -3
  330. package/lib/dist-custom-elements/{p-47f3085b.js → p-ed7527c2.js} +5 -1
  331. package/lib/dist-custom-elements/{p-9d0348a4.js → p-efaad71c.js} +1 -1
  332. package/lib/dist-custom-elements/{p-756308c3.js → p-f40a2146.js} +2 -2
  333. package/lib/duet/duet.esm.js +1 -1
  334. package/lib/duet/duet.js +1 -1
  335. package/lib/duet/p-06999788.system.entry.js +4 -0
  336. package/lib/duet/{p-dbf0d77a.system.entry.js → p-06d05f65.system.entry.js} +1 -1
  337. package/lib/duet/p-09e82523.system.entry.js +4 -0
  338. package/lib/duet/p-0b711d1c.system.entry.js +4 -0
  339. package/lib/duet/{p-dd3b2f92.entry.js → p-0bf8affc.entry.js} +1 -1
  340. package/lib/duet/p-0d8f0b71.entry.js +4 -0
  341. package/lib/duet/p-10d906a0.entry.js +4 -0
  342. package/lib/duet/{p-f2c39318.entry.js → p-133bf320.entry.js} +1 -1
  343. package/lib/duet/p-1526bcd9.system.entry.js +4 -0
  344. package/lib/duet/p-188a99a6.system.entry.js +4 -0
  345. package/lib/duet/p-1cdfa320.system.entry.js +4 -0
  346. package/lib/duet/p-1de2679d.system.entry.js +4 -0
  347. package/lib/duet/p-1eb57d18.entry.js +4 -0
  348. package/lib/duet/p-1f8e5ae9.entry.js +4 -0
  349. package/lib/duet/p-1ffb06ae.system.entry.js +4 -0
  350. package/lib/duet/p-224d5bbf.system.entry.js +4 -0
  351. package/lib/duet/p-22568e46.system.entry.js +4 -0
  352. package/lib/duet/p-24fb2c26.entry.js +4 -0
  353. package/lib/duet/p-268453f2.system.entry.js +4 -0
  354. package/lib/duet/p-27796763.system.entry.js +4 -0
  355. package/lib/duet/{p-aa46e5b8.system.js → p-2938697f.system.js} +1 -1
  356. package/lib/duet/p-2d037cf4.entry.js +4 -0
  357. package/lib/duet/p-2e32575f.system.entry.js +4 -0
  358. package/lib/duet/{p-d989bb64.entry.js → p-3133c0d8.entry.js} +1 -1
  359. package/lib/duet/p-317c4aaf.entry.js +4 -0
  360. package/lib/duet/{p-e447d590.entry.js → p-3ab4aa13.entry.js} +1 -1
  361. package/lib/duet/p-3e66c4a4.system.entry.js +4 -0
  362. package/lib/duet/p-3ea21c66.system.entry.js +4 -0
  363. package/lib/duet/p-3ee8a44e.entry.js +4 -0
  364. package/lib/duet/p-4410272c.entry.js +4 -0
  365. package/lib/duet/p-45956e97.system.entry.js +4 -0
  366. package/lib/duet/p-49484735.system.entry.js +4 -0
  367. package/lib/duet/p-4a669f88.entry.js +4 -0
  368. package/lib/duet/{p-ab72659c.entry.js → p-50df7077.entry.js} +1 -1
  369. package/lib/duet/p-5264d038.entry.js +4 -0
  370. package/lib/duet/p-565e48b0.system.entry.js +4 -0
  371. package/lib/duet/{p-14b1e688.js → p-5933217a.js} +1 -1
  372. package/lib/duet/{p-54c2f367.entry.js → p-5a549387.entry.js} +1 -1
  373. package/lib/duet/{p-c1a863fa.entry.js → p-5c661590.entry.js} +1 -1
  374. package/lib/duet/p-5c7f8587.system.entry.js +4 -0
  375. package/lib/duet/p-608bd184.system.entry.js +4 -0
  376. package/lib/duet/{p-c8946e4e.entry.js → p-6533c6f5.entry.js} +1 -1
  377. package/lib/duet/{p-be3de0f9.entry.js → p-654669e3.entry.js} +1 -1
  378. package/lib/duet/p-6a82c77b.system.entry.js +4 -0
  379. package/lib/duet/p-6b276d28.entry.js +4 -0
  380. package/lib/duet/{p-393e06fc.entry.js → p-6b5135e3.entry.js} +1 -1
  381. package/lib/duet/p-6c4d4f85.entry.js +4 -0
  382. package/lib/duet/p-6d16e6f6.entry.js +4 -0
  383. package/lib/duet/p-6fa39608.js +4 -0
  384. package/lib/duet/p-70dcd397.entry.js +4 -0
  385. package/lib/duet/p-71fc5b0d.system.entry.js +4 -0
  386. package/lib/duet/p-72467078.system.entry.js +4 -0
  387. package/lib/duet/p-74d0f576.system.entry.js +4 -0
  388. package/lib/duet/{p-94aed15c.entry.js → p-76d34cb0.entry.js} +1 -1
  389. package/lib/duet/{p-eb54ff63.entry.js → p-77d1aa11.entry.js} +1 -1
  390. package/lib/duet/{p-33ef2855.system.entry.js → p-7a2b3365.system.entry.js} +1 -1
  391. package/lib/duet/p-7af51cf6.system.entry.js +4 -0
  392. package/lib/duet/p-7b855f82.system.entry.js +4 -0
  393. package/lib/duet/p-7cb63887.system.entry.js +4 -0
  394. package/lib/duet/p-7ea38691.system.entry.js +4 -0
  395. package/lib/duet/{p-f795fec5.system.entry.js → p-7fae4a26.system.entry.js} +1 -1
  396. package/lib/duet/{p-563485d2.entry.js → p-8177dde3.entry.js} +1 -1
  397. package/lib/duet/p-819d4a4e.entry.js +4 -0
  398. package/lib/duet/p-820a474b.entry.js +4 -0
  399. package/lib/duet/{p-b32f4c37.system.js → p-84ec82b2.system.js} +1 -1
  400. package/lib/duet/p-8986b6b1.entry.js +4 -0
  401. package/lib/duet/p-8bec0e9d.system.entry.js +4 -0
  402. package/lib/duet/p-8d13f689.system.entry.js +4 -0
  403. package/lib/duet/p-8ec95d2c.system.entry.js +4 -0
  404. package/lib/duet/p-8ed08ddf.system.entry.js +4 -0
  405. package/lib/duet/{p-1787fb22.entry.js → p-8fcbc008.entry.js} +1 -1
  406. package/lib/duet/p-90f9e03f.system.entry.js +4 -0
  407. package/lib/duet/p-91e8f5cd.system.entry.js +4 -0
  408. package/lib/duet/p-99628541.entry.js +4 -0
  409. package/lib/duet/p-99e5bbdc.entry.js +4 -0
  410. package/lib/duet/p-9ac03a4a.system.entry.js +4 -0
  411. package/lib/duet/{p-d56140a2.entry.js → p-9ade0707.entry.js} +1 -1
  412. package/lib/duet/p-9b905c99.system.entry.js +4 -0
  413. package/lib/duet/{p-6f0ce728.system.entry.js → p-9c2f07c6.system.entry.js} +1 -1
  414. package/lib/duet/p-9d992f8a.system.entry.js +4 -0
  415. package/lib/duet/p-9e5cf474.entry.js +4 -0
  416. package/lib/duet/{p-7c21c7b2.system.entry.js → p-a1898f56.system.entry.js} +1 -1
  417. package/lib/duet/p-a6147e56.system.entry.js +4 -0
  418. package/lib/duet/p-a8dc08e8.system.js +4 -0
  419. package/lib/duet/{p-2c74f36a.entry.js → p-acd1b6b5.entry.js} +1 -1
  420. package/lib/duet/p-aefa4b69.entry.js +4 -0
  421. package/lib/duet/p-af12e6cf.system.entry.js +4 -0
  422. package/lib/duet/p-b1db3006.js +1 -1
  423. package/lib/duet/p-b35b5e57.entry.js +4 -0
  424. package/lib/duet/{p-c27afab2.entry.js → p-b3c81888.entry.js} +1 -1
  425. package/lib/duet/p-b433984a.system.entry.js +4 -0
  426. package/lib/duet/p-b638b8ed.entry.js +4 -0
  427. package/lib/duet/{p-40276f4e.entry.js → p-b74131aa.entry.js} +1 -1
  428. package/lib/duet/p-b7438813.entry.js +4 -0
  429. package/lib/duet/p-b780a881.entry.js +4 -0
  430. package/lib/duet/p-bbd3b919.system.entry.js +4 -0
  431. package/lib/duet/{p-0cefe244.entry.js → p-bdfb63cd.entry.js} +1 -1
  432. package/lib/duet/{p-5c3be505.entry.js → p-bee1823d.entry.js} +1 -1
  433. package/lib/duet/p-bf1ab1eb.system.entry.js +4 -0
  434. package/lib/duet/p-bf8105a5.system.entry.js +4 -0
  435. package/lib/duet/{p-a27366e9.entry.js → p-c07eb423.entry.js} +1 -1
  436. package/lib/duet/p-c09869cd.entry.js +4 -0
  437. package/lib/duet/p-c0c65bf7.system.entry.js +4 -0
  438. package/lib/duet/p-c1028548.system.entry.js +4 -0
  439. package/lib/duet/p-c2a73338.system.entry.js +4 -0
  440. package/lib/duet/p-c3a337a2.entry.js +4 -0
  441. package/lib/duet/p-c3ce052c.entry.js +4 -0
  442. package/lib/duet/{p-4fafb7d6.entry.js → p-c5c44c35.entry.js} +1 -1
  443. package/lib/duet/{p-427cbdfe.entry.js → p-c5d84b37.entry.js} +1 -1
  444. package/lib/duet/{p-35539173.entry.js → p-c6f2b220.entry.js} +1 -1
  445. package/lib/duet/p-c9789028.system.entry.js +4 -0
  446. package/lib/duet/{p-5607a0a7.system.entry.js → p-cdad6821.system.entry.js} +1 -1
  447. package/lib/duet/{p-c6612c3f.entry.js → p-cdf08c39.entry.js} +1 -1
  448. package/lib/duet/p-d02c9f15.entry.js +4 -0
  449. package/lib/duet/p-d328f324.entry.js +4 -0
  450. package/lib/duet/{p-4be8874a.entry.js → p-d4671eab.entry.js} +1 -1
  451. package/lib/duet/p-d698e995.system.entry.js +4 -0
  452. package/lib/duet/p-d77241fe.system.entry.js +4 -0
  453. package/lib/duet/p-d97befa1.entry.js +4 -0
  454. package/lib/duet/{p-8694aa9f.entry.js → p-da274cd4.entry.js} +1 -1
  455. package/lib/duet/{p-04ca6ed4.entry.js → p-db19ddd2.entry.js} +1 -1
  456. package/lib/duet/p-db1f1851.system.entry.js +4 -0
  457. package/lib/duet/p-dbb02995.js +4 -0
  458. package/lib/duet/p-dbc22e0a.system.entry.js +4 -0
  459. package/lib/duet/p-dc4f841e.system.entry.js +4 -0
  460. package/lib/duet/p-dd994793.system.js +4 -0
  461. package/lib/duet/p-e1239725.system.entry.js +4 -0
  462. package/lib/duet/{p-39a2d6f7.system.entry.js → p-e154f21d.system.entry.js} +1 -1
  463. package/lib/duet/p-e208fd69.entry.js +4 -0
  464. package/lib/duet/p-e73ebb36.system.entry.js +4 -0
  465. package/lib/duet/{p-9285796a.system.entry.js → p-ed1085eb.system.entry.js} +1 -1
  466. package/lib/duet/p-eeaa43d1.entry.js +4 -0
  467. package/lib/duet/p-f17b0e53.entry.js +4 -0
  468. package/lib/duet/p-f1ca6939.system.entry.js +4 -0
  469. package/lib/duet/p-f6001531.entry.js +4 -0
  470. package/lib/duet/{p-5fe54705.entry.js → p-f6e69972.entry.js} +1 -1
  471. package/lib/duet/p-f7efac05.system.entry.js +4 -0
  472. package/lib/duet/p-fa648209.entry.js +4 -0
  473. package/lib/duet/p-fc800029.system.entry.js +4 -0
  474. package/lib/duet/p-fef626b8.system.entry.js +4 -0
  475. package/lib/esm/action-arrow-right-f7d56681.js +6 -0
  476. package/lib/esm/{dom-d10a1938.js → dom-ae12a113.js} +1 -1
  477. package/lib/esm/duet-action-button.entry.js +2 -2
  478. package/lib/esm/duet-alert.entry.js +8 -2
  479. package/lib/esm/duet-badge.entry.js +2 -2
  480. package/lib/esm/duet-breadcrumb.entry.js +4 -3
  481. package/lib/esm/duet-breadcrumbs.entry.js +2 -2
  482. package/lib/esm/duet-button_2.entry.js +3 -3
  483. package/lib/esm/duet-caption_4.entry.js +23 -7
  484. package/lib/esm/duet-card.entry.js +12 -4
  485. package/lib/esm/duet-checkbox.entry.js +2 -2
  486. package/lib/esm/duet-checkmark.entry.js +2 -2
  487. package/lib/esm/duet-choice_2.entry.js +13 -5
  488. package/lib/esm/duet-collapsible.entry.js +2 -2
  489. package/lib/esm/duet-combobox.entry.js +9 -3
  490. package/lib/esm/duet-contact-card.entry.js +62 -0
  491. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  492. package/lib/esm/duet-date-picker.entry.js +3 -3
  493. package/lib/esm/duet-divider_2.entry.js +2 -2
  494. package/lib/esm/duet-editable-table_3.entry.js +5 -3
  495. package/lib/esm/duet-empty-state.entry.js +2 -2
  496. package/lib/esm/duet-fieldset.entry.js +2 -2
  497. package/lib/esm/duet-footer.entry.js +3 -4
  498. package/lib/esm/duet-grid_2.entry.js +5 -3
  499. package/lib/esm/duet-header_2.entry.js +3 -3
  500. package/lib/esm/duet-hero.entry.js +2 -2
  501. package/lib/esm/duet-icon.entry.js +6 -4
  502. package/lib/esm/duet-input_2.entry.js +4 -4
  503. package/lib/esm/duet-layout.entry.js +1 -1
  504. package/lib/esm/duet-list_2.entry.js +6 -2
  505. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  506. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  507. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  508. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  509. package/lib/esm/duet-menu-bar.entry.js +9 -3
  510. package/lib/esm/duet-modal.entry.js +14 -13
  511. package/lib/esm/duet-multiselect.entry.js +2 -2
  512. package/lib/esm/duet-nav.entry.js +1 -1
  513. package/lib/esm/duet-notification_2.entry.js +3 -3
  514. package/lib/esm/duet-number-input.entry.js +2 -2
  515. package/lib/esm/duet-page-heading.entry.js +2 -2
  516. package/lib/esm/duet-pagination_2.entry.js +2 -2
  517. package/lib/esm/duet-progress.entry.js +2 -2
  518. package/lib/esm/duet-radio_2.entry.js +2 -2
  519. package/lib/esm/duet-range-slider.entry.js +2 -2
  520. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  521. package/lib/esm/duet-section-layout.entry.js +1 -1
  522. package/lib/esm/duet-select.entry.js +2 -2
  523. package/lib/esm/duet-slideout-lang.entry.js +2 -2
  524. package/lib/esm/duet-slideout-link.entry.js +3 -3
  525. package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
  526. package/lib/esm/duet-slideout-panel.entry.js +3 -3
  527. package/lib/esm/duet-slideout.entry.js +3 -3
  528. package/lib/esm/duet-step_2.entry.js +3 -3
  529. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  530. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  531. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  532. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  533. package/lib/esm/duet-textarea.entry.js +2 -2
  534. package/lib/esm/duet-toggle.entry.js +2 -2
  535. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  536. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  537. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  538. package/lib/esm/duet-toolbar.entry.js +2 -2
  539. package/lib/esm/duet-tooltip.entry.js +2 -2
  540. package/lib/esm/duet-tray.entry.js +2 -2
  541. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  542. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  543. package/lib/esm/duet.js +16 -7
  544. package/lib/esm/{focus-utils-7b317f32.js → focus-utils-8579107c.js} +1 -1
  545. package/lib/esm/{index-849c698d.js → index-1c0e9f7c.js} +18 -4
  546. package/lib/esm/loader.js +4 -4
  547. package/lib/{dist-custom-elements/p-5a17a015.js → esm/shadow-css-66bc7949.js} +1 -1
  548. package/lib/esm-es5/action-arrow-right-f7d56681.js +4 -0
  549. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  550. package/lib/esm-es5/duet-alert.entry.js +2 -2
  551. package/lib/esm-es5/duet-badge.entry.js +1 -1
  552. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  553. package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
  554. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  555. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  556. package/lib/esm-es5/duet-card.entry.js +2 -2
  557. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  558. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  559. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  560. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  561. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  562. package/lib/esm-es5/duet-contact-card.entry.js +4 -0
  563. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  564. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  565. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  566. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  567. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  568. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  569. package/lib/esm-es5/duet-footer.entry.js +2 -2
  570. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  571. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  572. package/lib/esm-es5/duet-hero.entry.js +1 -1
  573. package/lib/esm-es5/duet-icon.entry.js +2 -2
  574. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  575. package/lib/esm-es5/duet-layout.entry.js +1 -1
  576. package/lib/esm-es5/duet-list_2.entry.js +2 -2
  577. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  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-link.entry.js +1 -1
  581. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  582. package/lib/esm-es5/duet-modal.entry.js +2 -2
  583. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  584. package/lib/esm-es5/duet-nav.entry.js +1 -1
  585. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  586. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  587. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  588. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  589. package/lib/esm-es5/duet-progress.entry.js +1 -1
  590. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  591. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  592. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  593. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  594. package/lib/esm-es5/duet-select.entry.js +2 -2
  595. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  596. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  597. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  598. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  599. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  600. package/lib/esm-es5/duet-step_2.entry.js +2 -2
  601. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  602. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  603. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  604. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  605. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  606. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  607. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  608. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  609. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  610. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  611. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  612. package/lib/esm-es5/duet-tray.entry.js +1 -1
  613. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  614. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  615. package/lib/esm-es5/duet.js +1 -1
  616. package/lib/esm-es5/focus-utils-8579107c.js +4 -0
  617. package/lib/esm-es5/{index-849c698d.js → index-1c0e9f7c.js} +1 -1
  618. package/lib/esm-es5/loader.js +1 -1
  619. package/lib/types/common/index.d.ts +1 -0
  620. package/lib/types/common/runtime-types.d.ts +2 -0
  621. package/lib/types/common-types.d.ts +25 -1
  622. package/lib/types/components/duet-alert/duet-alert.d.ts +6 -0
  623. package/lib/types/components/duet-card/duet-card.d.ts +10 -2
  624. package/lib/types/components/duet-choice/duet-checkmark.d.ts +1 -2
  625. package/lib/types/components/duet-choice/duet-choice.d.ts +1 -2
  626. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +6 -1
  627. package/lib/types/components/duet-combobox/duet-combobox.d.ts +4 -0
  628. package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +64 -0
  629. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -2
  630. package/lib/types/components/duet-icon/duet-icon.d.ts +1 -1
  631. package/lib/types/components/duet-link/duet-link.d.ts +15 -1
  632. package/lib/types/components/duet-list/duet-list.d.ts +1 -1
  633. package/lib/types/components/duet-modal/duet-modal.d.ts +8 -1
  634. package/lib/types/components/duet-table/duet-table.d.ts +5 -4
  635. package/lib/types/components/duet-upload/duet-upload.d.ts +1 -2
  636. package/lib/types/components/duet-upload-aria-status/duet-upload-aria-status.d.ts +1 -8
  637. package/lib/types/components.d.ts +222 -13
  638. package/lib/types/stencil-public-runtime.d.ts +12 -12
  639. package/package.json +7 -7
  640. package/lib/dist-custom-elements/p-2228bf13.js +0 -186
  641. package/lib/dist-custom-elements/p-364cfb78.js +0 -54
  642. package/lib/dist-custom-elements/p-447ea0a6.js +0 -94
  643. package/lib/dist-custom-elements/p-85f97595.js +0 -176
  644. package/lib/dist-custom-elements/p-c0878e32.js +0 -265
  645. package/lib/dist-custom-elements/p-e201a19a.js +0 -76
  646. package/lib/dist-custom-elements/p-e38fc76d.js +0 -37
  647. package/lib/dist-custom-elements/p-e6b8ebb0.js +0 -120
  648. package/lib/duet/p-00a53506.system.entry.js +0 -4
  649. package/lib/duet/p-010cbd87.system.entry.js +0 -4
  650. package/lib/duet/p-0339a6ba.system.entry.js +0 -4
  651. package/lib/duet/p-0480457b.system.entry.js +0 -4
  652. package/lib/duet/p-0783af51.system.entry.js +0 -4
  653. package/lib/duet/p-0875374b.entry.js +0 -4
  654. package/lib/duet/p-0b08aa13.system.entry.js +0 -4
  655. package/lib/duet/p-0de644e5.entry.js +0 -4
  656. package/lib/duet/p-0f4aff17.entry.js +0 -4
  657. package/lib/duet/p-12593e03.entry.js +0 -4
  658. package/lib/duet/p-14c4c15a.system.entry.js +0 -4
  659. package/lib/duet/p-165f0e7c.system.entry.js +0 -4
  660. package/lib/duet/p-1b8a8804.system.entry.js +0 -4
  661. package/lib/duet/p-1c952867.system.entry.js +0 -4
  662. package/lib/duet/p-1e2595e2.system.entry.js +0 -4
  663. package/lib/duet/p-1eed2800.entry.js +0 -4
  664. package/lib/duet/p-2ae7d801.entry.js +0 -4
  665. package/lib/duet/p-2ae9d336.system.entry.js +0 -4
  666. package/lib/duet/p-2b1ddf25.js +0 -4
  667. package/lib/duet/p-2c170dc6.system.entry.js +0 -4
  668. package/lib/duet/p-2ca556bd.entry.js +0 -4
  669. package/lib/duet/p-2ebfba54.system.entry.js +0 -4
  670. package/lib/duet/p-31252f4a.system.entry.js +0 -4
  671. package/lib/duet/p-33f2a44e.entry.js +0 -4
  672. package/lib/duet/p-3406f73d.system.entry.js +0 -4
  673. package/lib/duet/p-35ba9699.system.entry.js +0 -4
  674. package/lib/duet/p-38547565.system.entry.js +0 -4
  675. package/lib/duet/p-396dce30.entry.js +0 -4
  676. package/lib/duet/p-3a3bd672.system.entry.js +0 -4
  677. package/lib/duet/p-3eb94a67.entry.js +0 -4
  678. package/lib/duet/p-3f45ca7b.entry.js +0 -4
  679. package/lib/duet/p-4444cfb8.system.entry.js +0 -4
  680. package/lib/duet/p-452cb659.system.entry.js +0 -4
  681. package/lib/duet/p-47f3c160.system.entry.js +0 -4
  682. package/lib/duet/p-495582a5.entry.js +0 -4
  683. package/lib/duet/p-4c699ac2.system.entry.js +0 -4
  684. package/lib/duet/p-4c6d9583.entry.js +0 -4
  685. package/lib/duet/p-52148128.entry.js +0 -4
  686. package/lib/duet/p-55cbf1e0.system.entry.js +0 -4
  687. package/lib/duet/p-5a0333a6.entry.js +0 -4
  688. package/lib/duet/p-5b5bdf1a.entry.js +0 -4
  689. package/lib/duet/p-630b0aee.system.entry.js +0 -4
  690. package/lib/duet/p-6705969f.system.entry.js +0 -4
  691. package/lib/duet/p-67e40f5a.system.entry.js +0 -4
  692. package/lib/duet/p-6fe86c6a.system.entry.js +0 -4
  693. package/lib/duet/p-7385646e.system.entry.js +0 -4
  694. package/lib/duet/p-7881585e.entry.js +0 -4
  695. package/lib/duet/p-79230071.system.entry.js +0 -4
  696. package/lib/duet/p-7a6d0da2.entry.js +0 -4
  697. package/lib/duet/p-7b0e565a.system.entry.js +0 -4
  698. package/lib/duet/p-7e177248.entry.js +0 -4
  699. package/lib/duet/p-812b157d.entry.js +0 -4
  700. package/lib/duet/p-815ba656.system.entry.js +0 -4
  701. package/lib/duet/p-81a9673b.entry.js +0 -4
  702. package/lib/duet/p-83e0a386.system.entry.js +0 -4
  703. package/lib/duet/p-88b30828.system.entry.js +0 -4
  704. package/lib/duet/p-8ce83440.system.entry.js +0 -4
  705. package/lib/duet/p-9938e39c.entry.js +0 -4
  706. package/lib/duet/p-9b062a1c.system.entry.js +0 -4
  707. package/lib/duet/p-a3eb0816.system.entry.js +0 -4
  708. package/lib/duet/p-aa915061.system.entry.js +0 -4
  709. package/lib/duet/p-aa9eef98.system.entry.js +0 -4
  710. package/lib/duet/p-ae3234af.system.entry.js +0 -4
  711. package/lib/duet/p-b0361d6a.system.entry.js +0 -4
  712. package/lib/duet/p-b55995ae.system.entry.js +0 -4
  713. package/lib/duet/p-b6d674ce.system.entry.js +0 -4
  714. package/lib/duet/p-b744dbba.system.entry.js +0 -4
  715. package/lib/duet/p-b791aabb.entry.js +0 -4
  716. package/lib/duet/p-b868a149.entry.js +0 -4
  717. package/lib/duet/p-b89a4172.entry.js +0 -4
  718. package/lib/duet/p-bbd64ff4.entry.js +0 -4
  719. package/lib/duet/p-bbf6eb36.system.entry.js +0 -4
  720. package/lib/duet/p-cbc1cdf4.system.entry.js +0 -4
  721. package/lib/duet/p-ccc3f9e9.entry.js +0 -4
  722. package/lib/duet/p-cdf070ab.system.entry.js +0 -4
  723. package/lib/duet/p-ced14b92.system.entry.js +0 -4
  724. package/lib/duet/p-d7713234.system.entry.js +0 -4
  725. package/lib/duet/p-d7ef7aa4.system.entry.js +0 -4
  726. package/lib/duet/p-da36ba6e.system.entry.js +0 -4
  727. package/lib/duet/p-da4cf292.entry.js +0 -4
  728. package/lib/duet/p-dbe40b10.entry.js +0 -4
  729. package/lib/duet/p-de57ee9e.entry.js +0 -4
  730. package/lib/duet/p-e0628a33.system.entry.js +0 -4
  731. package/lib/duet/p-e0a6ce6f.entry.js +0 -4
  732. package/lib/duet/p-e36abf9f.system.entry.js +0 -4
  733. package/lib/duet/p-eb7d40bf.system.entry.js +0 -4
  734. package/lib/duet/p-ed665738.entry.js +0 -4
  735. package/lib/duet/p-ee43b8cc.entry.js +0 -4
  736. package/lib/duet/p-eebe30a6.system.entry.js +0 -4
  737. package/lib/duet/p-f2654f02.entry.js +0 -4
  738. package/lib/duet/p-f46d2cdf.system.entry.js +0 -4
  739. package/lib/duet/p-f4c24c1a.system.entry.js +0 -4
  740. package/lib/duet/p-f74665b5.entry.js +0 -4
  741. package/lib/duet/p-f7781ab9.system.js +0 -4
  742. package/lib/duet/p-fcac77ef.entry.js +0 -4
  743. package/lib/esm-es5/focus-utils-7b317f32.js +0 -4
  744. /package/lib/duet/{p-524ad48c.system.js → p-6cf44bfa.system.js} +0 -0
  745. /package/lib/duet/{p-5a17a015.js → p-6ee53ac3.js} +0 -0
  746. /package/lib/duet/{p-49dfa097.js → p-9c159fd4.js} +0 -0
  747. /package/lib/duet/{p-43179518.system.js → p-9d9204af.system.js} +0 -0
  748. /package/lib/esm-es5/{dom-d10a1938.js → dom-ae12a113.js} +0 -0
  749. /package/lib/esm-es5/{shadow-css-e76e6e1c.js → shadow-css-66bc7949.js} +0 -0
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function r(e){try{s(i.next(e))}catch(t){o(t)}}function d(e){try{s(i["throw"](e))}catch(t){o(t)}}function s(e){e.done?n(e.value):a(e.value).then(r,d)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function d(e){return function(t){return s([e,t])}}function s(d){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,d[0]&&(n=0)),n)try{if(i=1,a&&(o=d[0]&2?a["return"]:d[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,d[1])).done)return o;if(a=0,o)d=[d[0]&2,o.value];switch(d[0]){case 0:case 1:o=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;a=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){n.label=d[1];break}if(d[0]===6&&n.label<o[1]){n.label=o[1];o=d;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(d);break}if(o[2])n.ops.pop();n.trys.pop();continue}d=t.call(e,n)}catch(s){d=[6,s];a=0}finally{i=o=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-84ec82b2.system.js","./p-33b3aba4.system.js","./p-b6d51921.system.js","./p-5d46f619.system.js","./p-dd994793.system.js","./p-053b71e6.system.js","./p-c7ae95bd.system.js","./p-2ef88161.system.js","./p-17063917.system.js"],(function(e){"use strict";var t,n,i,a,o,r,d,s,l,u,h,m,p;return{setters:[function(e){t=e.r;n=e.h;i=e.H;a=e.g;o=e.F},function(e){r=e.i},function(e){d=e.s},function(e){s=e.g},function(e){l=e.a},function(e){u=e.a},function(e){h=e.D},function(e){m=e.a;p=e.g},function(){}],execute:function(){var g=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(101, 119, 135);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}';var c=e("duet_caption",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){return n(i,{class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},n("slot",null))};return e}());c.style=g;var b='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(225, 227, 230)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(101, 119, 135)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var f=e("duet_heading",function(){function e(e){t(this,e);this.level="h2";this.margin="auto";this.visualLevel=undefined;this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e;var t=d(this.level);var i=s(this.color);return n(t,{class:(e={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-normal":this.weight==="normal","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},e[this.visualLevel?this.visualLevel:this.level]=true,e["duet-theme-turva"]=this.theme==="turva",e),style:{color:i}},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());f.style=b;var y='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}.duet-link{display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}.duet-link:hover{color:rgb(0, 77, 128);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-link:active{opacity:0.75;transition:none}.duet-link-external{position:absolute;width:20px;height:20px;margin-left:-15px}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:16px;font-weight:600;color:rgb(0, 41, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__chevron-icon{transition:300ms ease}.block:hover .block__chevron-icon{transform:translateX(4px)}';var v=e("duet_link",function(){function e(e){t(this,e);this.variation="default";this.accessibleLabel=undefined;this.language=m();this.accessibleLabelExternalDefaults=h;this.accessibleLabelExternal=p(this.accessibleLabelExternalDefaults);this.identifier=undefined;this.theme="";this.url="#";this.external=false;this.tabToLink=false;this.icon=undefined;this.padding="auto"}e.prototype.componentWillLoad=function(){r(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeLink.focus(e);return[2]}))}))};e.prototype.renderContent=function(){return n(o,null,n("slot",null),this.external&&n(o,null,"  ",n("duet-visually-hidden",null,this.accessibleLabelExternal)," ",n("span",{class:"duet-link-external"}," ",n("duet-icon",{icon:u.svg,size:"xx-small",margin:"none",color:"currentColor"}))))};e.prototype.renderGrid=function(){return n(o,null,this.icon&&n("span",{class:"block__icon"},n("duet-icon",{size:"x-small",name:this.icon,margin:"none",color:"currentColor"})),n("span",{class:"block__content"},this.renderContent()),n("span",{class:"block__chevron"},n("duet-icon",{class:"block__chevron-icon",icon:l.svg,size:"x-small",margin:"none",color:"primary-dark"})))};e.prototype.render=function(){var e;var t=this;return n(i,{class:{"duet-link-block":this.variation==="block"}},n("a",{href:this.url,class:(e={"duet-link":true,"duet-link-is-external":this.external,"duet-link-has-icon":!!this.icon,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":this.theme==="turva","duet-p-0":this.padding==="none"},e[this.padding]=true,e[this.variation]=true,e),target:this.external?"_blank":"_self","aria-label":this.accessibleLabel,id:this.identifier,ref:function(e){return t.nativeLink=e},part:"duet-link",rel:this.external?"noopener":undefined},this.variation==="block"?this.renderGrid():this.renderContent()))};Object.defineProperty(e,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});return e}());v.style=y;var x='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}::slotted(a):hover{color:rgb(0, 77, 128);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(148, 9, 37)}::slotted(a):active{opacity:0.75;transition:none}';var w=e("duet_paragraph",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e;var t=s(this.color);return n("p",{class:(e={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},e[this.variation]=true,e["duet-theme-turva"]=this.theme==="turva",e),style:{color:t},part:"duet-paragraph"},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());w.style=x}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-84ec82b2.system.js","./p-33b3aba4.system.js"],(function(e){"use strict";var n,t,o,r,i;return{setters:[function(e){n=e.r;t=e.h;o=e.H;r=e.g},function(e){i=e.i}],execute:function(){var a='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.675rem 16px;font-size:0.875rem}}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link:hover{color:rgb(0, 77, 128);background:rgb(243, 249, 252)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{color:rgb(148, 9, 37);background:rgb(228, 228, 230)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(198, 12, 48)}';var s=e("duet_submenu_bar_dropdown_link",function(){function e(e){n(this,e);this.theme="";this.href="#";this.icon=undefined;this.caret=false;this.highlight=false}e.prototype.componentWillLoad=function(){i(this)};e.prototype.render=function(){return t(o,null,t("a",{class:{"duet-submenu-bar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",highlight:this.highlight},href:this.href,role:"menuitem"},this.icon&&t("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),t("slot",null),this.caret&&t("duet-icon",{name:"action-arrow-right-small",size:"xxx-small",margin:"none"})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());s.style=a}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,h as e,F as i,g as a}from"./p-5933217a.js";import{s as r}from"./p-9052b6f5.js";import{i as s}from"./p-4ebf1618.js";import{c as o}from"./p-c1325e35.js";import{a as n,g as d}from"./p-6c05e879.js";import"./p-5a9d75e1.js";const p=2*parseFloat(r)*16,l=class{constructor(e){t(this,e),this.isTicking=!1,this.expandableId=o("DuetTray"),this.animationLoop=()=>{this.hiddenState=window.pageYOffset<p,this.isTicking=!1},this.toggleExpandable=t=>{t.preventDefault(),this.expanded=!this.expanded},this.expanded=!1,this.hiddenState=!1,this.language=n(),this.accessibleCloseLabelDefaults={fi:"Sulje",en:"Close",sv:"Stäng"},this.accessibleCloseLabel=d(this.accessibleCloseLabelDefaults,this.language),this.accessibleOpenLabelDefaults={fi:"Avaa",en:"Open",sv:"Öppna"},this.accessibleOpenLabel=d(this.accessibleOpenLabelDefaults,this.language),this.theme="",this.active=!1,this.autoHide=!0,this.responsive=!0}componentWillLoad(){s(this),this.hasAdditionalContent=!!this.element.querySelector("[slot='additional']")}getFrame(){!this.isTicking&&this.autoHide&&this.active&&(requestAnimationFrame(this.animationLoop),this.isTicking=!0)}handleBodyClick(t){this.expanded&&(this.expanded=this.element.contains(t.target))}render(){return e("div",{class:{"duet-tray":!0,"duet-tray-is-active":this.active,"duet-tray-is-hidden":this.hiddenState,"duet-tray-is-responsive":this.responsive,"duet-theme-turva":"turva"===this.theme,"duet-tray-is-expandable":this.hasAdditionalContent}},e("div",{class:"duet-tray-default-content",role:"status"},e("slot",null)),this.hasAdditionalContent&&e(i,null,e("button",{"aria-expanded":this.expanded?"true":"false","aria-controls":this.expandableId,onClick:t=>this.toggleExpandable(t),class:{"duet-tray-button":!0,"duet-tray-is-expanded":this.expanded}},e("duet-icon",{name:"action-arrow-down",size:"small",color:"currentColor",margin:"none"}),e("duet-visually-hidden",null,this.expanded?this.accessibleCloseLabel:this.accessibleOpenLabel)),e("div",{id:this.expandableId,class:{"duet-tray-expandable":!0,active:this.expanded}},e("div",{class:"duet-tray-expandable-content"},e("slot",{name:"additional"})))))}get element(){return a(this)}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tray{position:fixed;top:4rem;right:0;left:0;z-index:399;display:flex;flex-direction:column;max-height:calc(100% - 8rem);padding:16px 20px 16px 24px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);visibility:hidden;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);opacity:0;transition:opacity 600ms ease, visibility 600ms ease, transform 600ms ease;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray{padding:16px 36px}}@media (min-width: 106.25em){.duet-tray{padding:16px 52px 16px 60px}}.duet-tray:focus{outline:0}:host(.user-is-tabbing) .duet-tray:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-tray.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-tray.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-tray.duet-tray-is-active{visibility:visible;opacity:1;transform:translateY(0)}.duet-tray.duet-tray-is-hidden{visibility:hidden;opacity:0;transform:translateY(-4rem)}@media (min-width: 62em){.duet-tray.duet-tray-is-responsive{display:none !important}}.duet-tray.duet-tray-is-expandable{padding-right:66px}@media (min-width: 62em){.duet-tray.duet-tray-is-expandable{padding-right:78px}}@media (min-width: 106.25em){.duet-tray.duet-tray-is-expandable{padding-right:94px}}.duet-tray-expandable{position:relative;z-index:100;width:calc(100% + 46px);max-height:0;overflow-y:auto;visibility:hidden;opacity:0;transition:opacity 600ms ease, visibility 600ms ease, max-height 600ms ease;scrollbar-width:none}.duet-tray-expandable::-webkit-scrollbar{display:none}.duet-tray-expandable.active{max-height:500px;visibility:visible;opacity:1}.duet-tray-expandable-content{width:100%;margin-top:16px;border-top:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-tray-expandable-content{border-color:rgb(228, 228, 230)}.duet-tray-button{-webkit-user-select:none;user-select:none;padding:20px !important;position:absolute;top:-2px;right:0;z-index:200;color:rgb(0, 41, 77);text-align:center;cursor:pointer;border-radius:4px;transition:transform 300ms ease;-webkit-tap-highlight-color:transparent}@media (min-width: 62em){.duet-tray-button{margin-right:16px}}@media (min-width: 106.25em){.duet-tray-button{margin-right:36px}}.duet-theme-turva .duet-tray-button{color:rgb(23, 28, 58)}.duet-tray-button.duet-tray-is-expanded{transform:rotate(-180deg)}.duet-tray-button:focus{outline:0}:host(.user-is-tabbing) .duet-tray-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-theme-turva .duet-tray-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-tray-button:active{box-shadow:none;opacity:0.75}';export{l as duet_tray}
@@ -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 o,g as n}from"./p-14b1e688.js";import{i as a}from"./p-4ebf1618.js";const r=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.getVariant=()=>(this.element.parentElement.getAttribute("slot"),"right"),this.accessibleLabel=void 0,this.theme="",this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){a(this)}render(){return t(o,null,t("div",{class:{"duet-menu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open,[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]:!0}},t("button",{"aria-label":this.accessibleLabel,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},this.icon&&t("duet-icon",{name:this.icon,size:"x-small",margin:"none"}),t("div",{class:"label"},t("slot",{name:"label"}),t("duet-icon",{class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small"}))),t("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",null))))}get element(){return n(this)}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}@media (min-width: 62em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 16px}}@media (min-width: 76.25em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 28px}}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;min-height:5rem;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:#004d80;text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:#0077b3}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:#0077b3}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-theme-turva .duet-menu-bar-dropdown button.active{color:#c60c30}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:"";background:#0077b3;transition:300ms ease;transform:translateY(2px)}.duet-theme-turva .duet-menu-bar-dropdown button.active::after{background:#c60c30}.duet-menu-bar-dropdown .items{position:absolute;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:1rem 0;color:#00294d;background:#f3f9fc;border-radius:0 0 8px 8px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#940925}.duet-menu-bar-dropdown.duet-theme-turva button:hover{color:#c60c30}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:#c60c30}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:#c60c30}.duet-menu-bar-dropdown.duet-theme-turva .items{background:#f5f5f7}';export{r as duet_menu_bar_dropdown}
4
+ import{r as e,h as t,H as o,g as n}from"./p-5933217a.js";import{i as a}from"./p-4ebf1618.js";const r=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.getVariant=()=>(this.element.parentElement.getAttribute("slot"),"right"),this.accessibleLabel=void 0,this.theme="",this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){a(this)}render(){return t(o,null,t("div",{class:{"duet-menu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open,[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]:!0}},t("button",{"aria-label":this.accessibleLabel,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},this.icon&&t("duet-icon",{name:this.icon,size:"x-small",margin:"none"}),t("div",{class:"label"},t("slot",{name:"label"}),t("duet-icon",{class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small"}))),t("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",null))))}get element(){return n(this)}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}@media (min-width: 62em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 16px}}@media (min-width: 76.25em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 28px}}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;min-height:5rem;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-theme-turva .duet-menu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}.duet-theme-turva .duet-menu-bar-dropdown button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown .items{position:absolute;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:1rem 0;color:rgb(0, 41, 77);background:rgb(243, 249, 252);border-radius:0 0 8px 8px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(148, 9, 37)}.duet-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva .items{background:rgb(245, 245, 247)}';export{r as duet_menu_bar_dropdown}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as r,H as t}from"./p-5933217a.js";import{i as a}from"./p-4ebf1618.js";const o=class{constructor(r){e(this,r),this.theme="",this.href="",this.icon="",this.accessibleLabel=void 0}componentWillLoad(){a(this)}render(){return r(t,null,r("a",{class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme,"duet-breadcrumb-without-href":!this.href},href:this.href?this.href:void 0,"aria-label":this.accessibleLabel},this.icon&&r("duet-icon",{size:"x-small",name:this.icon,margin:"none",color:"currentColor"}),!this.icon&&r("slot",null)))}};o.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:rgb(0, 41, 77);text-decoration:none}.duet-breadcrumb:hover{color:rgb(0, 77, 128)}.duet-breadcrumb.duet-theme-turva{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-theme-turva:hover{color:rgb(148, 9, 37)}.duet-breadcrumb:focus{outline:0}.duet-breadcrumb:active{opacity:0.75}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:hover{color:rgb(0, 41, 77)}.duet-breadcrumb.duet-breadcrumb-without-href.duet-theme-turva:hover{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:active{opacity:1}";export{o as duet_breadcrumb}
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,i,e,r){function n(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,d){function a(t){try{m(r.next(t))}catch(i){d(i)}}function o(t){try{m(r["throw"](t))}catch(i){d(i)}}function m(t){t.done?e(t.value):n(t.value).then(a,o)}m((r=r.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},r,n,d,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(t){return function(i){return m([t,i])}}function m(o){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,o[0]&&(e=0)),e)try{if(r=1,n&&(d=o[0]&2?n["return"]:o[0]?n["throw"]||((d=n["return"])&&d.call(n),0):n.next)&&!(d=d.call(n,o[1])).done)return d;if(n=0,d)o=[o[0]&2,d.value];switch(o[0]){case 0:case 1:d=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;n=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(d=e.trys,d=d.length>0&&d[d.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!d||o[1]>d[0]&&o[1]<d[3])){e.label=o[1];break}if(o[0]===6&&e.label<d[1]){e.label=d[1];d=o;break}if(d&&e.label<d[2]){e.label=d[2];e.ops.push(o);break}if(d[2])e.ops.pop();e.trys.pop();continue}o=i.call(t,e)}catch(m){o=[6,m];n=0}finally{r=d=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-84ec82b2.system.js","./p-8078b081.system.js","./p-eb55ccd2.system.js","./p-33b3aba4.system.js"],(function(t){"use strict";var i,e,r,n,d,a,o,m,s,u;return{setters:[function(t){i=t.r;e=t.h;r=t.g;n=t.H},function(t){d=t.m;a=t.a;o=t.b},function(t){m=t.w;s=t.a},function(t){u=t.i}],execute:function(){var g=".sc-duet-grid-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important;width:100%;max-width:100%;height:auto}.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:row !important}@media (max-width: 22.5em){.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}@media (min-width: 36em){.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:row !important}}@media (min-width: 48em){.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:row !important}}@media (min-width: 62em){.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:row !important}}@media (min-width: 64.0625em){.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:row !important}}.duet-grid-wrap.sc-duet-grid-h{flex-wrap:wrap !important}.duet-no-stacking.sc-duet-grid-h{flex-direction:row !important}.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}@media (max-width: 35.9375em){.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 36em){.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 48em){.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 62em){.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 64.0625em){.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-align-top.duet-no-stacking.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-align-bottom.duet-no-stacking.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-align-center.duet-no-stacking.sc-duet-grid-h{align-items:center !important}.duet-grid-align-stretch.duet-no-stacking.sc-duet-grid-h{align-items:stretch !important}.duet-grid-align-baseline.duet-no-stacking.sc-duet-grid-h{align-items:baseline !important}.duet-grid-align-top.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-align-bottom.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-align-center.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:center !important}.duet-grid-align-stretch.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:stretch !important}.duet-grid-align-baseline.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:baseline !important}@media (min-width: 36em){.duet-grid-align-top.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 36em){.duet-grid-align-bottom.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 36em){.duet-grid-align-center.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:center !important}}@media (min-width: 36em){.duet-grid-align-stretch.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 36em){.duet-grid-align-baseline.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 48em){.duet-grid-align-top.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 48em){.duet-grid-align-bottom.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 48em){.duet-grid-align-center.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:center !important}}@media (min-width: 48em){.duet-grid-align-stretch.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 48em){.duet-grid-align-baseline.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 62em){.duet-grid-align-top.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 62em){.duet-grid-align-bottom.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 62em){.duet-grid-align-center.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 62em){.duet-grid-align-stretch.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 62em){.duet-grid-align-baseline.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 64.0625em){.duet-grid-align-top.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 64.0625em){.duet-grid-align-bottom.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 64.0625em){.duet-grid-align-center.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 64.0625em){.duet-grid-align-stretch.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 64.0625em){.duet-grid-align-baseline.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:baseline !important}}.duet-grid-distribution-left.sc-duet-grid-h{justify-content:flex-start !important}.duet-grid-distribution-right.sc-duet-grid-h{justify-content:flex-end !important}.duet-grid-distribution-center.sc-duet-grid-h{justify-content:center !important}.duet-grid-distribution-between.sc-duet-grid-h{justify-content:space-between !important}.duet-grid-distribution-around.sc-duet-grid-h{justify-content:space-around !important}.duet-grid-distribution-evenly.sc-duet-grid-h{justify-content:space-evenly !important}@media (max-width: 35.9375em){.duet-grid-mobile-left.sc-duet-grid-h{align-items:flex-start !important;justify-content:flex-start !important;text-align:left !important}}@media (max-width: 35.9375em){.duet-grid-mobile-center.sc-duet-grid-h{align-items:center !important;justify-content:center !important;text-align:center !important}.duet-grid-mobile-center.sc-duet-grid-h *.sc-duet-grid{text-align:center !important}}@media (max-width: 35.9375em){.duet-grid-mobile-right.sc-duet-grid-h{align-items:flex-end !important;justify-content:flex-end !important;text-align:right !important}.duet-grid-mobile-right.sc-duet-grid-h *.sc-duet-grid{text-align:right !important}}";function l(t){return t.tagName.toLowerCase()==="duet-grid-item"}var c=t("duet_grid",function(){function t(t){i(this,t);this.mql=[window.matchMedia(d.replace(/'/g,"")),window.matchMedia(a.replace(/'/g,"")),window.matchMedia(o.replace(/'/g,""))];this.distributeFormElement=false;this.responsive=false;this.breakpoint="small";this.direction="horizontal";this.alignment="top";this.distribution="default";this.mobile=""}t.prototype.outerHeight=function(t){var i=t.offsetHeight,e=window.getComputedStyle(t);return["top","bottom"].map((function(t){return parseInt(e["margin-".concat(t)])})).reduce((function(t,i){return t+i}),i)};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;var e=this;return __generator(this,(function(r){t=this.element;this.distributeFormElement=this.alignment==="form_distribute";this.mutationO=m(t,"duet-grid-item",(function(){e.updateGridItems()}));if(this.distributeFormElement){this.mutation1=s(t,"duet-input",(function(){e.updateGridItemsWithInputFields()}));for(i=0;i<this.mql.length;i++){if(this.mql[i].addEventListener){this.mql[i].addEventListener("change",this.updateGridItemsWithInputFields.bind(this))}}}this.updateGridItems();return[2]}))}))};t.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}if(this.mutation1){this.mutation1.disconnect();this.mutation1=undefined}for(var t=0;t<this.mql.length;t++){if(this.mql[t].removeEventListener){this.mql[t].removeEventListener("change",this.updateGridItemsWithInputFields.bind(this))}}};t.prototype.updateGridItems=function(){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(e){t=Array.from(this.element.children).filter(l);t.forEach((function(t){t.responsive=i.responsive;t.breakpoint=i.breakpoint}));return[2]}))}))};t.prototype.updateGridItemsWithInputFields=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e,r;var n=this;return __generator(this,(function(d){t=Array.from(this.element.children).filter(l);i=window?window.getComputedStyle(this.element).flexDirection==="column":false;e=0;r=[];t.forEach((function(t){var i=t.querySelector("span.duet-input-error");var e=i?n.outerHeight(i):0;r.push(e)}));e=Math.max.apply(Math,r);t.forEach((function(t){var r=t.querySelector("span.duet-input-error");var d=r?n.outerHeight(r):0;if(d<e&&!i){t.setAttribute("style","padding-bottom: ".concat(e-d,"px;"))}else if(d===e||i){t.setAttribute("style","padding-bottom: 0px;")}}));return[2]}))}))};t.prototype.render=function(){return e(n,{class:{"duet-grid":true,"duet-no-stacking":!this.responsive,"duet-grid-align-top":this.alignment==="top","duet-grid-align-bottom":this.alignment==="bottom"||this.alignment==="form_distribute","duet-grid-align-center":this.alignment==="center","duet-grid-align-stretch":this.alignment==="stretch","duet-grid-align-baseline":this.alignment==="baseline","duet-grid-distribution-left":this.distribution==="left","duet-grid-distribution-right":this.distribution==="right","duet-grid-distribution-center":this.distribution==="center","duet-grid-distribution-between":this.distribution==="space-between","duet-grid-distribution-around":this.distribution==="space-around","duet-grid-distribution-evenly":this.distribution==="space-evenly","duet-grid-mobile-left":this.mobile==="left","duet-grid-mobile-center":this.mobile==="center","duet-grid-mobile-right":this.mobile==="right","duet-grid-direction-horizontal":this.direction==="horizontal","duet-grid-direction-vertical":this.direction==="vertical","duet-grid-breakpoint-x-small":this.breakpoint==="x-small","duet-grid-breakpoint-small":this.breakpoint==="small","duet-grid-breakpoint-medium":this.breakpoint==="medium","duet-grid-breakpoint-large":this.breakpoint==="large","duet-grid-breakpoint-x-large":this.breakpoint==="x-large"}})};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{responsive:["updateGridItems"],breakpoint:["updateGridItems"]}},enumerable:false,configurable:true});return t}());c.style=g;var h='.sc-duet-grid-item-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;min-width:0;max-width:100%;flex:0 0 auto;padding-right:8px;padding-left:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(0, 41, 77)}.sc-duet-grid-item-h:first-child,.sc-duet-grid-item-h:first-of-type{padding-left:0}.sc-duet-grid-item-h:last-child,.sc-duet-grid-item-h:last-of-type{padding-right:0}@media (max-width: 35.9375em){.duet-grid-item-responsive.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important;padding-right:0;padding-left:0}}@media screen and (max-width: 47.9375em){.duet-grid-item-br-medium.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 47.9375em){.duet-grid-item-responsive.duet-grid-item-br-medium.sc-duet-grid-item-h{padding-right:0;padding-left:0}}@media screen and (max-width: 64em){.duet-grid-item-br-x-large.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 64em){.duet-grid-item-responsive.duet-grid-item-br-x-large.sc-duet-grid-item-h{padding-right:0;padding-left:0}}.duet-grid-item-fill.sc-duet-grid-item-h{flex:1 1 auto;width:100%}.duet-theme-turva.sc-duet-grid-item-h{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-m-0.sc-duet-grid-item-h{padding:0 !important;margin:0 !important}';var p=t("duet_grid_item",function(){function t(t){i(this,t);this.fill=false;this.maxWidth=undefined;this.minWidth=undefined;this.theme="";this.margin="auto";this.responsive=false;this.breakpoint="small"}t.prototype.componentWillLoad=function(){u(this)};t.prototype.render=function(){return e(n,{style:{"min-width":this.minWidth,"max-width":this.maxWidth},class:{"duet-m-0":this.margin==="none","duet-theme-turva":this.theme==="turva","duet-grid-item":true,"duet-grid-item-fill":this.fill,"duet-grid-item-responsive":this.responsive,"duet-grid-item-br-medium":this.breakpoint==="medium","duet-grid-item-br-x-large":this.breakpoint==="x-large"}})};return t}());p.style=h}}}));
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"3.0.35"};let n,l,s,o=!1,i=!1,c=!1,r=!1,a=!1;const f={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},u="s-id",$="sty-id",d="c-id",h="http://www.w3.org/1999/xlink",p={},m=e=>"object"==(e=typeof e)||"function"===e;function y(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,s=null,o=null,i=!1,c=!1;const r=[],a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!m(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(a(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,g);const f=w(e,null);return f.l=t,r.length>0&&(f.o=r),f.i=s,f.u=o,f},w=(e,t)=>({$:0,h:e,t,p:null,o:null,l:null,i:null,u:null}),v={},g={forEach:(e,t)=>e.map(k).forEach(t),map:(e,t)=>e.map(k).map(t).map(j)},k=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.h,vtext:e.t}),j=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},O=(e,t,n,l,s,o,i)=>{let c,r,a,f;if(1===o.nodeType){for(c=o.getAttribute(d),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(a={$:0,m:r[0],v:r[1],g:r[2],k:r[3],h:o.tagName.toLowerCase(),p:o,l:null,o:null,i:null,u:null,t:null},t.push(a),o.removeAttribute(d),e.o||(e.o=[]),e.o[a.k]=a,e=a,l&&"0"===a.g&&(l[a.k]=a.p))),f=o.childNodes.length-1;f>=0;f--)O(e,t,n,l,s,o.childNodes[f],i);if(o.shadowRoot)for(f=o.shadowRoot.childNodes.length-1;f>=0;f--)O(e,t,n,l,s,o.shadowRoot.childNodes[f],i)}else if(8===o.nodeType)r=o.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],a={$:0,m:r[1],v:r[2],g:r[3],k:r[4],p:o,l:null,o:null,i:null,u:null,h:null,t:null},"t"===c?(a.p=o.nextSibling,a.p&&3===a.p.nodeType&&(a.t=a.p.textContent,t.push(a),o.remove(),e.o||(e.o=[]),e.o[a.k]=a,l&&"0"===a.g&&(l[a.k]=a.p))):a.m===i&&("s"===c?(a.h="slot",o["s-sn"]=r[5]?a.u=r[5]:"",o["s-sr"]=!0,l&&(a.p=Me.createElement(a.h),a.u&&a.p.setAttribute("name",a.u),o.parentNode.insertBefore(a.p,o),o.remove(),"0"===a.g&&(l[a.k]=a.p)),n.push(a),e.o||(e.o=[]),e.o[a.k]=a):"r"===c&&(l?o.remove():(s["s-cr"]=o,o["s-cn"]=!0))));else if(e&&"style"===e.h){const t=w(null,o.textContent);t.p=o,t.k="0",e.o=[t]}},S=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)S(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)S(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},x=e=>ve(e).j,R=(e,t,n)=>{const l=x(e);return{emit:e=>C(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},C=(e,t,n)=>{const l=_e.ce(t,n);return e.dispatchEvent(l),l},M=new WeakMap,_=(e,t,n)=>{let l=Re.get(e);Ee&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Re.set(e,l)},I=(e,t)=>{var n;let l=N(t);const s=Re.get(l);if(e=11===e.nodeType?e:Me,s)if("string"==typeof s){let t,o=M.get(e=e.head||e);if(o||M.set(e,o=new Set),!o.has(l)){if(e.host&&(t=e.querySelector(`[${$}="${l}"]`)))t.innerHTML=s;else{t=Me.createElement("style"),t.innerHTML=s;const l=null!==(n=_e.O)&&void 0!==n?n:y(Me);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}o&&o.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l},N=e=>"sc-"+e.S,E=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),P=(e,t,n,l,s,o)=>{if(n!==l){let c=je(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,s=L(n),o=L(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(c||"o"!==t[0]||"n"!==t[1]){const a=m(l);if((c||a&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?c=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(i){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!c||4&o||s)&&!a&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):je(Ce,r)?r.slice(2):r[2]+t.slice(3),n&&_e.rel(e,t,n,!1),l&&_e.ael(e,t,l,!1)}},T=/\s/,L=e=>e?e.split(T):[],U=(e,t,n,l)=>{const s=11===t.p.nodeType&&t.p.host?t.p.host:t.p,o=e&&e.l||p,i=t.l||p;for(l in o)l in i||P(s,l,o[l],void 0,n,t.$);for(l in i)P(s,l,o[l],i[l],n,t.$)},D=(e,t,i,a)=>{const f=t.o[i];let u,$,d,h=0;if(o||(c=!0,"slot"===f.h&&(n&&a.classList.add(n+"-s"),f.$|=f.o?2:1)),null!==f.t)u=f.p=Me.createTextNode(f.t);else if(1&f.$)u=f.p=Me.createTextNode("");else{if(r||(r="svg"===f.h),u=f.p=Me.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&f.$?"slot-fb":f.h),r&&"foreignObject"===f.h&&(r=!1),U(null,f,r),null!=n&&u["s-si"]!==n&&u.classList.add(u["s-si"]=n),f.o)for(h=0;h<f.o.length;++h)$=D(e,f,h,u),$&&u.appendChild($);"svg"===f.h?r=!1:"foreignObject"===u.tagName&&(r=!0)}return u["s-hn"]=s,3&f.$&&(u["s-sr"]=!0,u["s-cr"]=l,u["s-sn"]=f.u||"",d=e&&e.o&&e.o[i],d&&d.h===f.h&&e.p&&F(e.p,!1)),u},F=(e,t)=>{_e.$|=1;const n=e.childNodes;for(let l=n.length-1;l>=0;l--){const e=n[l];e["s-hn"]!==s&&e["s-ol"]&&(V(e).insertBefore(e,H(e)),e["s-ol"].remove(),e["s-ol"]=void 0,c=!0),t&&F(e,t)}_e.$&=-2},W=(e,t,n,l,o,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===s&&(r=r.shadowRoot);o<=i;++o)l[o]&&(c=D(null,n,o,e),c&&(l[o].p=c,r.insertBefore(c,H(t))))},A=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.p,Q(l),i=!0,s["s-ol"]?s["s-ol"].remove():F(s,!0),s.remove())},B=(e,t)=>e.h===t.h&&("slot"===e.h?e.u===t.u:e.i===t.i),H=e=>e&&e["s-ol"]||e,V=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,q=(e,t)=>{const n=t.p=e.p,l=e.o,s=t.o,o=t.h,i=t.t;let c;null===i?(r="svg"===o||"foreignObject"!==o&&r,"slot"===o||U(e,t,r),null!==l&&null!==s?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,f=t.length-1,u=t[0],$=t[f],d=l.length-1,h=l[0],p=l[d];for(;i<=f&&c<=d;)if(null==u)u=t[++i];else if(null==$)$=t[--f];else if(null==h)h=l[++c];else if(null==p)p=l[--d];else if(B(u,h))q(u,h),u=t[++i],h=l[++c];else if(B($,p))q($,p),$=t[--f],p=l[--d];else if(B(u,p))"slot"!==u.h&&"slot"!==p.h||F(u.p.parentNode,!1),q(u,p),e.insertBefore(u.p,$.p.nextSibling),u=t[++i],p=l[--d];else if(B($,h))"slot"!==u.h&&"slot"!==p.h||F($.p.parentNode,!1),q($,h),e.insertBefore($.p,u.p),$=t[--f],h=l[++c];else{for(r=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].i&&t[a].i===h.i){r=a;break}r>=0?(o=t[r],o.h!==h.h?s=D(t&&t[c],n,r,e):(q(o,h),t[r]=void 0,s=o.p),h=l[++c]):(s=D(t&&t[c],n,c,e),h=l[++c]),s&&V(u.p).insertBefore(s,H(u.p))}i>f?W(e,null==l[d+1]?null:l[d+1].p,n,l,c,d):c>d&&A(t,i,f)})(n,l,t,s):null!==s?(null!==e.t&&(n.textContent=""),W(n,null,t,s,0,s.length-1)):null!==l&&A(l,0,l.length-1),r&&"svg"===o&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.t!==i&&(n.data=i)},z=e=>{const t=e.childNodes;let n,l,s,o,i,c;for(l=0,s=t.length;l<s;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(i=n["s-sn"],n.hidden=!1,o=0;o<s;o++)if(c=t[o].nodeType,t[o]["s-hn"]!==n["s-hn"]||""!==i){if(1===c&&i===t[o].getAttribute("slot")){n.hidden=!0;break}}else if(1===c||3===c&&""!==t[o].textContent.trim()){n.hidden=!0;break}z(n)}},G=[],J=e=>{let t,n,l,s,o,c,r=0;const a=e.childNodes,f=a.length;for(;r<f;r++){if(t=a[r],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],c=l.length-1;c>=0;c--)n=l[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(K(n,s)?(o=G.find((e=>e.R===n)),i=!0,n["s-sn"]=n["s-sn"]||s,o?o.C=t:G.push({C:t,R:n}),n["s-sr"]&&G.map((e=>{K(e.R,n["s-sn"])&&(o=G.find((e=>e.R===n)),o&&!e.C&&(e.C=o.C))}))):G.some((e=>e.R===n))||G.push({R:n}));1===t.nodeType&&J(t)}},K=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Q=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Q)},X=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},Y=(e,t)=>{if(e.$|=16,!(4&e.$))return X(e,e._),We((()=>Z(e,t)));e.$|=512},Z=(e,t)=>{const n=e.I;let l;return t&&(e.$|=256,e.N&&(e.N.map((([e,t])=>se(n,e,t))),e.N=null),l=se(n,"componentWillLoad")),l=oe(l,(()=>se(n,"componentWillRender"))),oe(l,(()=>ee(e,n,t)))},ee=async(e,t,n)=>{const l=e.j,s=l["s-rc"];n&&(e=>{const t=e.P,n=e.j,l=t.$,s=I(Ie&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&l&&n.classList.add(s+"-s"))})(e);te(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>ne(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},te=(e,t)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t)=>{const r=e.j,a=e.P,f=e.T||w(null,null),u=(e=>e&&e.h===v)(t)?t:b(null,null,t);if(s=r.tagName,a.L&&(u.l=u.l||{},a.L.map((([e,t])=>u.l[t]=r[e]))),u.h=null,u.$|=4,e.T=u,u.p=f.p=r.shadowRoot||r,n=r["s-sc"],l=r["s-cr"],o=Ie&&0!=(1&a.$),i=!1,q(f,u),_e.$|=1,c){let e,t,n,l,s,o;J(u.p);let i=0;for(;i<G.length;i++)e=G[i],t=e.R,t["s-ol"]||(n=Me.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<G.length;i++)if(e=G[i],t=e.R,e.C){for(l=e.C.parentNode,s=e.C.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&l===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&l!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}i&&z(u.p),_e.$&=-2,G.length=0})(e,t)}catch(r){Oe(r,e.j)}return null},ne=e=>{const t=e.j,n=e.I,l=e._;se(n,"componentDidRender"),64&e.$?se(n,"componentDidUpdate"):(e.$|=64,ie(t),se(n,"componentDidLoad"),e.U(t),l||le()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&Fe((()=>Y(e,!1))),e.$&=-517},le=()=>{ie(Me.documentElement),Fe((()=>C(Ce,"appload",{detail:{namespace:e}})))},se=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(l){Oe(l)}},oe=(e,t)=>e&&e.then?e.then(t):t(),ie=e=>e.classList.add("hydrated"),ce=(e,t,n)=>{if(t.F){e.watchers&&(t.W=e.watchers);const l=Object.entries(t.F),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ve(this).A.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ve(e),o=s.j,i=s.A.get(t),c=s.$,r=s.I;if(n=((e,t)=>null==e||m(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.A.set(t,n),r)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(l){Oe(l,o)}}))}2==(18&c)&&Y(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ve(this);return n.B.then((()=>n.I[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){_e.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.L.push([e,s]),s}))}}return e},re=e=>{se(e,"connectedCallback")},ae=e=>{if(0==(1&_e.$)){const t=ve(e),n=t.P,l=()=>{};if(1&t.$)he(e,t,n.H),re(t.I);else{let l;if(t.$|=1,l=e.getAttribute(u),l){if(Ie&&1&n.$){const t=I(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],i=s?[]:null,c=l.T=w(t,null);_e.V||S(Me.body,_e.V=new Map),e[u]=n,e.removeAttribute(u),O(c,o,[],i,e,e,n),o.map((e=>{const n=e.m+"."+e.v,l=_e.V.get(n),o=e.p;l&&Ie&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),_e.V.delete(n)})),s&&i.map((e=>{e&&s.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&fe(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){X(t,t._=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),Fe((()=>(async(e,t,n,l,s)=>{if(0==(32&t.$)){{if(t.$|=32,(s=xe(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.W=s.watchers,ce(s,n,2),s.isProxied=!0);const e=()=>{};t.$|=8;try{new s(t)}catch(c){Oe(c)}t.$&=-9,t.$|=128,e(),re(t.I)}if(s.style){let e=s.style;const t=N(n);if(!Re.has(t)){const l=()=>{};8&n.$&&(e=await __sc_import_duet("./p-5a17a015.js").then((n=>n.scopeCss(e,t,!1)))),_(t,e,!!(1&n.$)),l()}}}const o=t._,i=()=>Y(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)))}l()}},fe=e=>{const t=e["s-cr"]=Me.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},ue=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&_e.$)&&2&ve(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},$e=(e,t={})=>{var n;const l=[],s=t.exclude||[],o=Ce.customElements,i=Me.head,c=i.querySelector("meta[charset]"),r=Me.createElement("style"),a=[],f=Me.querySelectorAll(`[${$}]`);let u,d=!0,h=0;for(Object.assign(_e,t),_e.q=new URL(t.resourcesUrl||"./",Me.baseURI).href,_e.$|=2;h<f.length;h++)_(f[h].getAttribute($),E(f[h].innerHTML),!0);e.map((e=>{e[1].map((t=>{const n={$:t[0],S:t[1],F:t[2],H:t[3]};n.F=t[2],n.H=t[3],n.L=[],n.W={},!Ie&&1&n.$&&(n.$|=8);const i=n.S,c=class extends HTMLElement{constructor(e){super(e),ke(e=this,n),1&n.$&&(Ie?e.attachShadow({mode:"open",delegatesFocus:!!(16&n.$)}):"shadowRoot"in e||(e.shadowRoot=e)),ue(e,n)}connectedCallback(){u&&(clearTimeout(u),u=null),d?a.push(this):_e.jmp((()=>ae(this)))}disconnectedCallback(){_e.jmp((()=>(()=>{if(0==(1&_e.$)){const e=ve(this),t=e.I;e.G&&(e.G.map((e=>e())),e.G=void 0),se(t,"disconnectedCallback")}})()))}componentOnReady(){return ve(this).J}};n.K=e[0],s.includes(i)||o.get(i)||(l.push(i),o.define(i,ce(c,n,1)))}))}));{r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles","");const e=null!==(n=_e.O)&&void 0!==n?n:y(Me);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}d=!1,a.length?a.map((e=>e.connectedCallback())):_e.jmp((()=>u=setTimeout(le,30)))},de=(e,t)=>t,he=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=me(e,n),i=pe(t,s),c=ye(n);_e.ael(o,l,i,c),(t.G=t.G||[]).push((()=>_e.rel(o,l,i,c)))}))},pe=(e,t)=>n=>{try{256&e.$?e.I[t](n):(e.N=e.N||[]).push([t,n])}catch(l){Oe(l)}},me=(e,t)=>4&t?Me:8&t?Ce:16&t?Me.body:e,ye=e=>0!=(2&e),be=e=>_e.O=e,we=new WeakMap,ve=e=>we.get(e),ge=(e,t)=>we.set(t.I=e,t),ke=(e,t)=>{const n={$:0,j:e,P:t,A:new Map};return n.B=new Promise((e=>n.D=e)),n.J=new Promise((e=>n.U=e)),e["s-p"]=[],e["s-rc"]=[],he(e,n,t.H),we.set(e,n)},je=(e,t)=>t in e,Oe=(e,t)=>(0,console.error)(e,t),Se=new Map,xe=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Se.get(n);return l?l[t]:__sc_import_duet(`./${n}.entry.js`).then((e=>(Se.set(n,e),e[t])),Oe)
4
+ const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"3.0.37"};let n,l,s,o=!1,i=!1,c=!1,r=!1,a=!1;const f={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},u="s-id",$="sty-id",d="c-id",h="http://www.w3.org/1999/xlink",p={},m=e=>"object"==(e=typeof e)||"function"===e;function y(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,s=null,o=null,i=!1,c=!1;const r=[],a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!m(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(a(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,g);const f=w(e,null);return f.l=t,r.length>0&&(f.o=r),f.i=s,f.u=o,f},w=(e,t)=>({$:0,h:e,t,p:null,o:null,l:null,i:null,u:null}),v={},g={forEach:(e,t)=>e.map(k).forEach(t),map:(e,t)=>e.map(k).map(t).map(j)},k=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.h,vtext:e.t}),j=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},O=(e,t,n,l,s,o,i)=>{let c,r,a,f;if(1===o.nodeType){for(c=o.getAttribute(d),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(a={$:0,m:r[0],v:r[1],g:r[2],k:r[3],h:o.tagName.toLowerCase(),p:o,l:null,o:null,i:null,u:null,t:null},t.push(a),o.removeAttribute(d),e.o||(e.o=[]),e.o[a.k]=a,e=a,l&&"0"===a.g&&(l[a.k]=a.p))),f=o.childNodes.length-1;f>=0;f--)O(e,t,n,l,s,o.childNodes[f],i);if(o.shadowRoot)for(f=o.shadowRoot.childNodes.length-1;f>=0;f--)O(e,t,n,l,s,o.shadowRoot.childNodes[f],i)}else if(8===o.nodeType)r=o.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],a={$:0,m:r[1],v:r[2],g:r[3],k:r[4],p:o,l:null,o:null,i:null,u:null,h:null,t:null},"t"===c?(a.p=o.nextSibling,a.p&&3===a.p.nodeType&&(a.t=a.p.textContent,t.push(a),o.remove(),e.o||(e.o=[]),e.o[a.k]=a,l&&"0"===a.g&&(l[a.k]=a.p))):a.m===i&&("s"===c?(a.h="slot",o["s-sn"]=r[5]?a.u=r[5]:"",o["s-sr"]=!0,l&&(a.p=Me.createElement(a.h),a.u&&a.p.setAttribute("name",a.u),o.parentNode.insertBefore(a.p,o),o.remove(),"0"===a.g&&(l[a.k]=a.p)),n.push(a),e.o||(e.o=[]),e.o[a.k]=a):"r"===c&&(l?o.remove():(s["s-cr"]=o,o["s-cn"]=!0))));else if(e&&"style"===e.h){const t=w(null,o.textContent);t.p=o,t.k="0",e.o=[t]}},S=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)S(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)S(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},x=e=>ve(e).j,R=(e,t,n)=>{const l=x(e);return{emit:e=>C(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},C=(e,t,n)=>{const l=_e.ce(t,n);return e.dispatchEvent(l),l},M=new WeakMap,_=(e,t,n)=>{let l=Re.get(e);Ee&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Re.set(e,l)},I=(e,t)=>{var n;let l=N(t);const s=Re.get(l);if(e=11===e.nodeType?e:Me,s)if("string"==typeof s){let t,o=M.get(e=e.head||e);if(o||M.set(e,o=new Set),!o.has(l)){if(e.host&&(t=e.querySelector(`[${$}="${l}"]`)))t.innerHTML=s;else{t=Me.createElement("style"),t.innerHTML=s;const l=null!==(n=_e.O)&&void 0!==n?n:y(Me);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}o&&o.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l},N=e=>"sc-"+e.S,E=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),P=(e,t,n,l,s,o)=>{if(n!==l){let c=je(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,s=L(n),o=L(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(c||"o"!==t[0]||"n"!==t[1]){const a=m(l);if((c||a&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?c=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(i){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!c||4&o||s)&&!a&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):je(Ce,r)?r.slice(2):r[2]+t.slice(3),n&&_e.rel(e,t,n,!1),l&&_e.ael(e,t,l,!1)}},T=/\s/,L=e=>e?e.split(T):[],U=(e,t,n,l)=>{const s=11===t.p.nodeType&&t.p.host?t.p.host:t.p,o=e&&e.l||p,i=t.l||p;for(l in o)l in i||P(s,l,o[l],void 0,n,t.$);for(l in i)P(s,l,o[l],i[l],n,t.$)},D=(e,t,i,a)=>{const f=t.o[i];let u,$,d,h=0;if(o||(c=!0,"slot"===f.h&&(n&&a.classList.add(n+"-s"),f.$|=f.o?2:1)),null!==f.t)u=f.p=Me.createTextNode(f.t);else if(1&f.$)u=f.p=Me.createTextNode("");else{if(r||(r="svg"===f.h),u=f.p=Me.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&f.$?"slot-fb":f.h),r&&"foreignObject"===f.h&&(r=!1),U(null,f,r),null!=n&&u["s-si"]!==n&&u.classList.add(u["s-si"]=n),f.o)for(h=0;h<f.o.length;++h)$=D(e,f,h,u),$&&u.appendChild($);"svg"===f.h?r=!1:"foreignObject"===u.tagName&&(r=!0)}return u["s-hn"]=s,3&f.$&&(u["s-sr"]=!0,u["s-cr"]=l,u["s-sn"]=f.u||"",d=e&&e.o&&e.o[i],d&&d.h===f.h&&e.p&&F(e.p,!1)),u},F=(e,t)=>{_e.$|=1;const n=e.childNodes;for(let l=n.length-1;l>=0;l--){const e=n[l];e["s-hn"]!==s&&e["s-ol"]&&(V(e).insertBefore(e,H(e)),e["s-ol"].remove(),e["s-ol"]=void 0,c=!0),t&&F(e,t)}_e.$&=-2},W=(e,t,n,l,o,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===s&&(r=r.shadowRoot);o<=i;++o)l[o]&&(c=D(null,n,o,e),c&&(l[o].p=c,r.insertBefore(c,H(t))))},A=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.p,Q(l),i=!0,s["s-ol"]?s["s-ol"].remove():F(s,!0),s.remove())},B=(e,t)=>e.h===t.h&&("slot"===e.h?e.u===t.u:e.i===t.i),H=e=>e&&e["s-ol"]||e,V=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,q=(e,t)=>{const n=t.p=e.p,l=e.o,s=t.o,o=t.h,i=t.t;let c;null===i?(r="svg"===o||"foreignObject"!==o&&r,"slot"===o||U(e,t,r),null!==l&&null!==s?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,f=t.length-1,u=t[0],$=t[f],d=l.length-1,h=l[0],p=l[d];for(;i<=f&&c<=d;)if(null==u)u=t[++i];else if(null==$)$=t[--f];else if(null==h)h=l[++c];else if(null==p)p=l[--d];else if(B(u,h))q(u,h),u=t[++i],h=l[++c];else if(B($,p))q($,p),$=t[--f],p=l[--d];else if(B(u,p))"slot"!==u.h&&"slot"!==p.h||F(u.p.parentNode,!1),q(u,p),e.insertBefore(u.p,$.p.nextSibling),u=t[++i],p=l[--d];else if(B($,h))"slot"!==u.h&&"slot"!==p.h||F($.p.parentNode,!1),q($,h),e.insertBefore($.p,u.p),$=t[--f],h=l[++c];else{for(r=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].i&&t[a].i===h.i){r=a;break}r>=0?(o=t[r],o.h!==h.h?s=D(t&&t[c],n,r,e):(q(o,h),t[r]=void 0,s=o.p),h=l[++c]):(s=D(t&&t[c],n,c,e),h=l[++c]),s&&V(u.p).insertBefore(s,H(u.p))}i>f?W(e,null==l[d+1]?null:l[d+1].p,n,l,c,d):c>d&&A(t,i,f)})(n,l,t,s):null!==s?(null!==e.t&&(n.textContent=""),W(n,null,t,s,0,s.length-1)):null!==l&&A(l,0,l.length-1),r&&"svg"===o&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.t!==i&&(n.data=i)},z=e=>{const t=e.childNodes;let n,l,s,o,i,c;for(l=0,s=t.length;l<s;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(i=n["s-sn"],n.hidden=!1,o=0;o<s;o++)if(c=t[o].nodeType,t[o]["s-hn"]!==n["s-hn"]||""!==i){if(1===c&&i===t[o].getAttribute("slot")){n.hidden=!0;break}}else if(1===c||3===c&&""!==t[o].textContent.trim()){n.hidden=!0;break}z(n)}},G=[],J=e=>{let t,n,l,s,o,c,r=0;const a=e.childNodes,f=a.length;for(;r<f;r++){if(t=a[r],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],c=l.length-1;c>=0;c--)n=l[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(K(n,s)?(o=G.find((e=>e.R===n)),i=!0,n["s-sn"]=n["s-sn"]||s,o?o.C=t:G.push({C:t,R:n}),n["s-sr"]&&G.map((e=>{K(e.R,n["s-sn"])&&(o=G.find((e=>e.R===n)),o&&!e.C&&(e.C=o.C))}))):G.some((e=>e.R===n))||G.push({R:n}));1===t.nodeType&&J(t)}},K=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Q=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Q)},X=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},Y=(e,t)=>{if(e.$|=16,!(4&e.$))return X(e,e._),We((()=>Z(e,t)));e.$|=512},Z=(e,t)=>{const n=e.I;let l;return t&&(e.$|=256,e.N&&(e.N.map((([e,t])=>se(n,e,t))),e.N=null),l=se(n,"componentWillLoad")),l=oe(l,(()=>se(n,"componentWillRender"))),oe(l,(()=>ee(e,n,t)))},ee=async(e,t,n)=>{const l=e.j,s=l["s-rc"];n&&(e=>{const t=e.P,n=e.j,l=t.$,s=I(Ie&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&l&&n.classList.add(s+"-s"))})(e);te(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>ne(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},te=(e,t)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t)=>{const r=e.j,a=e.P,f=e.T||w(null,null),u=(e=>e&&e.h===v)(t)?t:b(null,null,t);if(s=r.tagName,a.L&&(u.l=u.l||{},a.L.map((([e,t])=>u.l[t]=r[e]))),u.h=null,u.$|=4,e.T=u,u.p=f.p=r.shadowRoot||r,n=r["s-sc"],l=r["s-cr"],o=Ie&&0!=(1&a.$),i=!1,q(f,u),_e.$|=1,c){let e,t,n,l,s,o;J(u.p);let i=0;for(;i<G.length;i++)e=G[i],t=e.R,t["s-ol"]||(n=Me.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<G.length;i++)if(e=G[i],t=e.R,e.C){for(l=e.C.parentNode,s=e.C.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&l===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&l!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}i&&z(u.p),_e.$&=-2,G.length=0})(e,t)}catch(r){Oe(r,e.j)}return null},ne=e=>{const t=e.j,n=e.I,l=e._;se(n,"componentDidRender"),64&e.$?se(n,"componentDidUpdate"):(e.$|=64,ie(t),se(n,"componentDidLoad"),e.U(t),l||le()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&Fe((()=>Y(e,!1))),e.$&=-517},le=()=>{ie(Me.documentElement),Fe((()=>C(Ce,"appload",{detail:{namespace:e}})))},se=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(l){Oe(l)}},oe=(e,t)=>e&&e.then?e.then(t):t(),ie=e=>e.classList.add("hydrated"),ce=(e,t,n)=>{if(t.F){e.watchers&&(t.W=e.watchers);const l=Object.entries(t.F),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ve(this).A.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ve(e),o=s.j,i=s.A.get(t),c=s.$,r=s.I;if(n=((e,t)=>null==e||m(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.A.set(t,n),r)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(l){Oe(l,o)}}))}2==(18&c)&&Y(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ve(this);return n.B.then((()=>n.I[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){_e.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.L.push([e,s]),s}))}}return e},re=e=>{se(e,"connectedCallback")},ae=e=>{if(0==(1&_e.$)){const t=ve(e),n=t.P,l=()=>{};if(1&t.$)he(e,t,n.H),re(t.I);else{let l;if(t.$|=1,l=e.getAttribute(u),l){if(Ie&&1&n.$){const t=I(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],i=s?[]:null,c=l.T=w(t,null);_e.V||S(Me.body,_e.V=new Map),e[u]=n,e.removeAttribute(u),O(c,o,[],i,e,e,n),o.map((e=>{const n=e.m+"."+e.v,l=_e.V.get(n),o=e.p;l&&Ie&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),_e.V.delete(n)})),s&&i.map((e=>{e&&s.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&fe(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){X(t,t._=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),Fe((()=>(async(e,t,n,l,s)=>{if(0==(32&t.$)){{if(t.$|=32,(s=xe(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.W=s.watchers,ce(s,n,2),s.isProxied=!0);const e=()=>{};t.$|=8;try{new s(t)}catch(c){Oe(c)}t.$&=-9,t.$|=128,e(),re(t.I)}if(s.style){let e=s.style;const t=N(n);if(!Re.has(t)){const l=()=>{};8&n.$&&(e=await __sc_import_duet("./p-6ee53ac3.js").then((n=>n.scopeCss(e,t,!1)))),_(t,e,!!(1&n.$)),l()}}}const o=t._,i=()=>Y(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)))}l()}},fe=e=>{const t=e["s-cr"]=Me.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},ue=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&_e.$)&&2&ve(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},$e=(e,t={})=>{var n;const l=[],s=t.exclude||[],o=Ce.customElements,i=Me.head,c=i.querySelector("meta[charset]"),r=Me.createElement("style"),a=[],f=Me.querySelectorAll(`[${$}]`);let u,d=!0,h=0;for(Object.assign(_e,t),_e.q=new URL(t.resourcesUrl||"./",Me.baseURI).href,_e.$|=2;h<f.length;h++)_(f[h].getAttribute($),E(f[h].innerHTML),!0);e.map((e=>{e[1].map((t=>{const n={$:t[0],S:t[1],F:t[2],H:t[3]};n.F=t[2],n.H=t[3],n.L=[],n.W={},!Ie&&1&n.$&&(n.$|=8);const i=n.S,c=class extends HTMLElement{constructor(e){super(e),ke(e=this,n),1&n.$&&(Ie?e.attachShadow({mode:"open",delegatesFocus:!!(16&n.$)}):"shadowRoot"in e||(e.shadowRoot=e)),ue(e,n)}connectedCallback(){u&&(clearTimeout(u),u=null),d?a.push(this):_e.jmp((()=>ae(this)))}disconnectedCallback(){_e.jmp((()=>(()=>{if(0==(1&_e.$)){const e=ve(this),t=e.I;e.G&&(e.G.map((e=>e())),e.G=void 0),se(t,"disconnectedCallback")}})()))}componentOnReady(){return ve(this).J}};n.K=e[0],s.includes(i)||o.get(i)||(l.push(i),o.define(i,ce(c,n,1)))}))}));{r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles","");const e=null!==(n=_e.O)&&void 0!==n?n:y(Me);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}d=!1,a.length?a.map((e=>e.connectedCallback())):_e.jmp((()=>u=setTimeout(le,30)))},de=(e,t)=>t,he=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=me(e,n),i=pe(t,s),c=ye(n);_e.ael(o,l,i,c),(t.G=t.G||[]).push((()=>_e.rel(o,l,i,c)))}))},pe=(e,t)=>n=>{try{256&e.$?e.I[t](n):(e.N=e.N||[]).push([t,n])}catch(l){Oe(l)}},me=(e,t)=>4&t?Me:8&t?Ce:16&t?Me.body:e,ye=e=>0!=(2&e),be=e=>_e.O=e,we=new WeakMap,ve=e=>we.get(e),ge=(e,t)=>we.set(t.I=e,t),ke=(e,t)=>{const n={$:0,j:e,P:t,A:new Map};return n.B=new Promise((e=>n.D=e)),n.J=new Promise((e=>n.U=e)),e["s-p"]=[],e["s-rc"]=[],he(e,n,t.H),we.set(e,n)},je=(e,t)=>t in e,Oe=(e,t)=>(0,console.error)(e,t),Se=new Map,xe=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Se.get(n);return l?l[t]:__sc_import_duet(`./${n}.entry.js`).then((e=>(Se.set(n,e),e[t])),Oe)
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Re=new Map,Ce="undefined"!=typeof window?window:{},Me=Ce.document||{head:{}},_e={$:0,q:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},Ie=(()=>(Me.head.attachShadow+"").indexOf("[native")>-1)(),Ne=e=>Promise.resolve(e),Ee=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Pe=[],Te=[],Le=(e,t)=>n=>{e.push(n),a||(a=!0,t&&4&_e.$?Fe(De):_e.raf(De))},Ue=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){Oe(t)}e.length=0},De=()=>{Ue(Pe),Ue(Te),(a=Pe.length>0)&&_e.raf(De)},Fe=e=>Ne().then(e),We=Le(Te,!0);export{f as B,t as E,de as F,v as H,e as N,_e as a,$e as b,R as c,Me as d,x as g,b as h,Ne as p,ge as r,be as s,Ce as w}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as i,h as e,F as a,H as n,g as s}from"./p-14b1e688.js";import{i as r}from"./p-4ebf1618.js";import{c as o}from"./p-c1325e35.js";import{d as h}from"./p-0b3f675e.js";import{k as l,l as p,d,b as u,a as c,c as g,m,n as b}from"./p-f077c646.js";import{g as v,a as k,c as f,d as w}from"./p-6c05e879.js";import"./p-5a9d75e1.js";const y=class{constructor(e){t(this,e),this.duetPageChange=i(this,"duetPageChange",3),this.listId=o("duet-pagination-list"),this.actionChain=async(t,i)=>{if(0===t)this.current=1;else if(i!==t){const i=Math.ceil(t/this.visibleItems)-1;i!==this.internalSectionIndex&&(this.internalSectionIndex=i,await this.setFocus())}return!0},this.emitPageEvent=h(((t,i)=>{const e=Number(i||this.current);this.duetPageChange.emit({component:"duet-pagination",from:e*this.take,to:e*this.take+this.take,current:e,take:this.take,type:"page",originalEvent:t})}),100),this.getEnteredNumber=h((t=>{this.emitPageEvent(t,this.numbersStore),this.current=Number(this.numbersStore),this.numbersStore="",this.duetPageChange.emit({component:"duet-pagination",from:this.current*this.take,to:this.current*this.take+this.take,current:this.current,take:this.take,type:"jump",originalEvent:t})}),500),this.numbersStore="",this.totalPages=10,this.internalSectionIndex=0,this.theme="",this.jumpString="...",this.variation="default",this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number, or enter a page number when this element is in focus to jump to a page",pagination_label:"Pagination, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen, tai kirjoittaa sivunumeron, jos tämä elementti on aktiivinen, siirtymään sivulle",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida, eller skriva in sida när elementet är i fokus för att hoppa till en sida",pagination_label:"Sidutning, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}},this.accessibleLabels=v(this.accessibleLabelsDefaults),this.take=5,this.visibleItems=5,this.total=1e3,this.ariaControls="",this.current=1}watchPropTotalHandler(){return this.calculatePageTake(),!0}watchStateHandler(t,i){return this.actionChain(t,i)}componentWillLoad(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1,this.calculatePageTake(),r(this)}componentWillRender(){0!==this.internalSectionIndex&&this.internalSectionIndex!==this.totalPages&&this.calculatePageTake()}componentDidRender(){this.setFocus()}calculatePageTake(){this.totalPages=Math.ceil(this.total/this.take)}async onMouseHandler(t,i){t.preventDefault(),t.stopPropagation(),this.current=this.current+i,this.emitPageEvent(t)}async onKeyboardDown(t){let i=this.current;(d(t)||u(t))&&i--,(c(t)||g(t))&&i++,l(t)&&i<=this.totalPages&&(this.current=i,this.emitPageEvent(t)),p(t)&&this.shouldDisplayNavigation()&&(this.numbersStore=this.numbersStore+t.key,Number(this.numbersStore)>this.totalPages&&(this.numbersStore=this.totalPages+""),this.getEnteredNumber(t))}async setFocus(){const t=this.nativeNav.querySelector("li.duet-pagination-item-is-active duet-button");t&&await t.setFocus()}pageClickHandler(t){t.preventDefault();const i=Number(t.target.getAttribute("data-id"));this.current=i,this.emitPageEvent({},i)}sectionClickHandler(t,i){t.preventDefault();let e=this.internalSectionIndex+i;e*(this.take*this.visibleItems)>this.total&&(e=this.internalSectionIndex),this.internalSectionIndex=e>=0?e:0}jumpToStart(t){t.preventDefault(),this.internalSectionIndex=0,this.current=1,this.emitPageEvent(t)}jumpToEnd(t){t.preventDefault(),this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1),this.current=this.totalPages,this.emitPageEvent(t)}renderPageNumbers(){const t=[];let i=this.internalSectionIndex*this.visibleItems;do{if(i++,i>this.totalPages)break;t.push(e("li",{class:{"duet-pagination-item":!0,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},e("duet-button",{class:{"duet-pagination-link":!0},color:i!==this.current?"turva"!==this.theme?"secondary":"secondary-turva":"turva"!==this.theme?"primary":"primary-turva","data-id":i,"center-text":!0,variation:"plain",margin:"none",accessibleLabel:`${this.accessibleLabels.go_to} ${i}`,onClick:t=>this.pageClickHandler(t),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":!0},i))))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t}shouldDisplayNavigation(){return"compact"!==this.variation&&!(2*this.visibleItems>this.total/this.take)}render(){return e(n,{onKeyDown:t=>this.onKeyboardDown(t)},e("nav",{role:"navigation","aria-labelledby":this.accessibleLabelledBy?`${this.accessibleLabelledBy} ${this.listId}`:this.listId,"aria-describedby":this.accessibleDescribedBy?`${this.accessibleDescribedBy} ${this.listId}`:this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:t=>this.nativeNav=t,"aria-controls":this.ariaControls,class:{"duet-pagination-nav":!0,[`duet-pagination-variation-${this.variation}`]:!0}},""!==this.numbersStore&&e("div",{"aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":`${this.accessibleLabels.jump_to} ${this.numbersStore}`,part:"navigation-overlay"},e("duet-badge",{theme:this.theme},"jump to page : ",this.numbersStore)),e("ol",{id:this.listId,class:{"duet-pagination":!0,"duet-pagination-is-dimmed":""!==this.numbersStore},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:0===this.internalSectionIndex&&this.current<=1,"data-direction":"back",onClick:t=>this.onMouseHandler(t,-1),"accessible-label":this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme})),0!==this.internalSectionIndex&&this.shouldDisplayNavigation()&&e(a,null,e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:"turva"!==this.theme?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),theme:this.theme},e("div",{class:"duet-pagination-page-number"},"1"))),e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,-1),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"...")))),this.renderPageNumbers(),this.internalSectionIndex*(this.visibleItems+2)<this.totalPages&&this.shouldDisplayNavigation()&&e(a,null,e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,1),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"..."))),e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),theme:this.theme},e("div",{class:"duet-pagination-page-number"},this.totalPages)))),e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,onClick:t=>this.onMouseHandler(t,1),"icon-name":"action-arrow-right-small",theme:this.theme})))))}get element(){return s(this)}static get watchers(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"]}}};y.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:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}";const x=class{constructor(e){t(this,e),this.duetRangeStepUpdate=i(this,"duetRangeStepUpdate",7),this.leftBn=o("duetRangeStepper-left"),this.rightBn=o("duetRangeStepper-right"),this.handleClick=(t,i)=>{t.preventDefault(),this.stepIndex+=i,this.clampStepIndex(),this.handleStepClick(t)},this.language=k(),this.theme="",this.stepIndex=1,this.stepSize=50,this.total=1e3,this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}},this.ariaLabels=v(this.ariaLabelsDefaults),this.ariaControls=""}watchLanguageStateHandler(t,i){t!==i&&this.ariaLabels===this.ariaLabelsDefaults[i]&&(this.ariaLabels=v(this.ariaLabelsDefaults,t))}watchStepIndexStateHandler(t){this.element.shadowRoot.childElementCount>0&&(t<=1?(this.leftBnRef.setAttribute("disabled",""),this.rightBnRef.focus()):this.leftBnRef.removeAttribute("disabled"),t>=this.total/this.stepSize?(this.rightBnRef.setAttribute("disabled",""),this.leftBnRef.focus()):this.rightBnRef.removeAttribute("disabled"))}watchStepSizeStateHandler(t,i){t!==i&&this.stepIndex*t>this.total&&(this.stepIndex=Math.ceil(this.total/t))}handleStepClick(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})}componentWillLoad(){r(this),this.clampStepIndex()}componentDidLoad(){this.watchStepIndexStateHandler(this.stepIndex)}connectedCallback(){f(this)}disconnectedCallback(){w(this)}clampStepIndex(){this.stepIndex<1?this.stepIndex=1:this.stepIndex*this.stepSize>this.total&&(this.stepIndex=Math.ceil(this.total/this.stepSize))}getFrom(){return Math.floor((this.stepIndex-1)*this.stepSize)+1}getTo(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)}generateStepSize(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))}async onKeyboardDown(t){let i=this.stepIndex,e=1;(d(t)||u(t)||m(t))&&(i--,e=-1,this.leftBnRef.focus()),(c(t)||g(t)||b(t))&&(i++,e=1),l(t)&&i>0&&i*this.stepSize<=this.total&&this.handleClick(t,e)}render(){return e("div",{class:{"duet-range-stepper":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:t=>this.onKeyboardDown(t),"aria-controls":this.ariaControls},e("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),e("duet-action-button",{class:"duet-range-step-button duet-range-step-minus",onClick:t=>this.handleClick(t,-1),id:this.leftBn,"accessible-label":this.ariaLabels.previous_increment,ref:t=>this.leftBnRef=t,part:"navigation-arrow",iconName:"action-arrow-left-small"}),e("duet-action-button",{class:"duet-range-step-button duet-range-step-plus",onClick:t=>this.handleClick(t,1),"accessible-label":this.ariaLabels.next_increment,id:this.rightBn,ref:t=>this.rightBnRef=t,part:"navigation-arrow",iconName:"action-arrow-right-small"}))}get element(){return s(this)}static get watchers(){return{language:["watchLanguageStateHandler"],stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}}};x.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:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:#00294d}.duet-range-stepper ::part(button){border:0}";export{y as duet_pagination,x as duet_range_stepper}
4
+ import{r as t,c as i,h as e,F as a,H as n,g as s}from"./p-5933217a.js";import{i as r}from"./p-4ebf1618.js";import{c as o}from"./p-c1325e35.js";import{d as h}from"./p-0b3f675e.js";import{k as l,l as p,d,b as u,a as c,c as g,m,n as b}from"./p-f077c646.js";import{g as v,a as k,c as f,d as w}from"./p-6c05e879.js";import"./p-5a9d75e1.js";const y=class{constructor(e){t(this,e),this.duetPageChange=i(this,"duetPageChange",3),this.listId=o("duet-pagination-list"),this.actionChain=async(t,i)=>{if(0===t)this.current=1;else if(i!==t){const i=Math.ceil(t/this.visibleItems)-1;i!==this.internalSectionIndex&&(this.internalSectionIndex=i,await this.setFocus())}return!0},this.emitPageEvent=h(((t,i)=>{const e=Number(i||this.current);this.duetPageChange.emit({component:"duet-pagination",from:e*this.take,to:e*this.take+this.take,current:e,take:this.take,type:"page",originalEvent:t})}),100),this.getEnteredNumber=h((t=>{this.emitPageEvent(t,this.numbersStore),this.current=Number(this.numbersStore),this.numbersStore="",this.duetPageChange.emit({component:"duet-pagination",from:this.current*this.take,to:this.current*this.take+this.take,current:this.current,take:this.take,type:"jump",originalEvent:t})}),500),this.numbersStore="",this.totalPages=10,this.internalSectionIndex=0,this.theme="",this.jumpString="...",this.variation="default",this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:{next_page:"Next page",previous_page:"Previous page",first_page:"First page",last_page:"Last page",jump_to:"Jump to page",go_to:"Go to page",description:"You may use arrow keys to select page number, or enter a page number when this element is in focus to jump to a page",pagination_label:"Pagination, choose a number to jump to a page",prev_section:"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",next_section:"Show next {0} page numbers, screen reader user should use arrowkeys to navigate"},fi:{next_page:"Seuraava sivu",previous_page:"Edellinen sivu",first_page:"Ensimmäinen sivu",last_page:"Viimeinen sivu",jump_to:"Siirry sivulle",go_to:"Siirry sivulle",description:"Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen, tai kirjoittaa sivunumeron, jos tämä elementti on aktiivinen, siirtymään sivulle",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",prev_section:"Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",next_section:"Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi"},sv:{next_page:"Nästa sida",previous_page:"Föregående sida",first_page:"Första sidan",last_page:"Sista sidan",jump_to:"Hoppa till sida",go_to:"Hoppa till sida",description:"Du kan använda piltangenterna för att välja sida, eller skriva in sida när elementet är i fokus för att hoppa till en sida",pagination_label:"Sidutning, välj en siffra för att hoppa till en sida",prev_section:"Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",next_section:"Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera"}},this.accessibleLabels=v(this.accessibleLabelsDefaults),this.take=5,this.visibleItems=5,this.total=1e3,this.ariaControls="",this.current=1}watchPropTotalHandler(){return this.calculatePageTake(),!0}watchStateHandler(t,i){return this.actionChain(t,i)}componentWillLoad(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1,this.calculatePageTake(),r(this)}componentWillRender(){0!==this.internalSectionIndex&&this.internalSectionIndex!==this.totalPages&&this.calculatePageTake()}componentDidRender(){this.setFocus()}calculatePageTake(){this.totalPages=Math.ceil(this.total/this.take)}async onMouseHandler(t,i){t.preventDefault(),t.stopPropagation(),this.current=this.current+i,this.emitPageEvent(t)}async onKeyboardDown(t){let i=this.current;(d(t)||u(t))&&i--,(c(t)||g(t))&&i++,l(t)&&i<=this.totalPages&&(this.current=i,this.emitPageEvent(t)),p(t)&&this.shouldDisplayNavigation()&&(this.numbersStore=this.numbersStore+t.key,Number(this.numbersStore)>this.totalPages&&(this.numbersStore=this.totalPages+""),this.getEnteredNumber(t))}async setFocus(){const t=this.nativeNav.querySelector("li.duet-pagination-item-is-active duet-button");t&&await t.setFocus()}pageClickHandler(t){t.preventDefault();const i=Number(t.target.getAttribute("data-id"));this.current=i,this.emitPageEvent({},i)}sectionClickHandler(t,i){t.preventDefault();let e=this.internalSectionIndex+i;e*(this.take*this.visibleItems)>this.total&&(e=this.internalSectionIndex),this.internalSectionIndex=e>=0?e:0}jumpToStart(t){t.preventDefault(),this.internalSectionIndex=0,this.current=1,this.emitPageEvent(t)}jumpToEnd(t){t.preventDefault(),this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1),this.current=this.totalPages,this.emitPageEvent(t)}renderPageNumbers(){const t=[];let i=this.internalSectionIndex*this.visibleItems;do{if(i++,i>this.totalPages)break;t.push(e("li",{class:{"duet-pagination-item":!0,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},e("duet-button",{class:{"duet-pagination-link":!0},color:i!==this.current?"turva"!==this.theme?"secondary":"secondary-turva":"turva"!==this.theme?"primary":"primary-turva","data-id":i,"center-text":!0,variation:"plain",margin:"none",accessibleLabel:`${this.accessibleLabels.go_to} ${i}`,onClick:t=>this.pageClickHandler(t),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":!0},i))))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t}shouldDisplayNavigation(){return"compact"!==this.variation&&!(2*this.visibleItems>this.total/this.take)}render(){return e(n,{onKeyDown:t=>this.onKeyboardDown(t)},e("nav",{role:"navigation","aria-labelledby":this.accessibleLabelledBy?`${this.accessibleLabelledBy} ${this.listId}`:this.listId,"aria-describedby":this.accessibleDescribedBy?`${this.accessibleDescribedBy} ${this.listId}`:this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:t=>this.nativeNav=t,"aria-controls":this.ariaControls,class:{"duet-pagination-nav":!0,[`duet-pagination-variation-${this.variation}`]:!0}},""!==this.numbersStore&&e("div",{"aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":`${this.accessibleLabels.jump_to} ${this.numbersStore}`,part:"navigation-overlay"},e("duet-badge",{theme:this.theme},"jump to page : ",this.numbersStore)),e("ol",{id:this.listId,class:{"duet-pagination":!0,"duet-pagination-is-dimmed":""!==this.numbersStore},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-first":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:0===this.internalSectionIndex&&this.current<=1,"data-direction":"back",onClick:t=>this.onMouseHandler(t,-1),"accessible-label":this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme})),0!==this.internalSectionIndex&&this.shouldDisplayNavigation()&&e(a,null,e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:"turva"!==this.theme?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:t=>this.jumpToStart(t),theme:this.theme},e("div",{class:"duet-pagination-page-number"},"1"))),e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,-1),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"...")))),this.renderPageNumbers(),this.internalSectionIndex*(this.visibleItems+2)<this.totalPages&&this.shouldDisplayNavigation()&&e(a,null,e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}",`${this.visibleItems}`),onClick:t=>this.sectionClickHandler(t,1),theme:this.theme},e("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"..."))),e("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},e("duet-button",{class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:"turva"!==this.theme?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:t=>this.jumpToEnd(t),theme:this.theme},e("div",{class:"duet-pagination-page-number"},this.totalPages)))),e("li",{class:{"duet-pagination-page-button":!0,"duet-pagination-button-last":!0},role:"menuitem",part:"navigation-arrow"},e("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,onClick:t=>this.onMouseHandler(t,1),"icon-name":"action-arrow-right-small",theme:this.theme})))))}get element(){return s(this)}static get watchers(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"]}}};y.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:inline-block;margin:0 auto}.duet-pagination-nav{position:relative}.duet-pagination ::part(button){border:0}.duet-pagination,.duet-pagination li{display:flex;flex-wrap:wrap;gap:0.1rem;align-items:center}.duet-pagination-item-is-active .duet-pagination-page-number{border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:2px}.duet-pagination duet-button{width:30px;min-width:36px;font-weight:600;text-decoration:none;border-left-width:0}.duet-pagination-overlay{position:absolute;top:1rem;z-index:300;width:100%;text-align:center}.duet-pagination.duet-pagination-is-dimmed{opacity:0.5}";const x=class{constructor(e){t(this,e),this.duetRangeStepUpdate=i(this,"duetRangeStepUpdate",7),this.leftBn=o("duetRangeStepper-left"),this.rightBn=o("duetRangeStepper-right"),this.handleClick=(t,i)=>{t.preventDefault(),this.stepIndex+=i,this.clampStepIndex(),this.handleStepClick(t)},this.language=k(),this.theme="",this.stepIndex=1,this.stepSize=50,this.total=1e3,this.ariaLabelsDefaults={en:{next_increment:"Next range increment",previous_increment:"Previous range increment",x_of_y:"{0}–{1} of {2}"},fi:{next_increment:"Seuraava välillä",previous_increment:"Edellinen välillä",x_of_y:"{0}–{1} / {2}"},sv:{next_increment:"Nästa intervall",previous_increment:"Föregående intervall",x_of_y:"{0}–{1} av {2}"}},this.ariaLabels=v(this.ariaLabelsDefaults),this.ariaControls=""}watchLanguageStateHandler(t,i){t!==i&&this.ariaLabels===this.ariaLabelsDefaults[i]&&(this.ariaLabels=v(this.ariaLabelsDefaults,t))}watchStepIndexStateHandler(t){this.element.shadowRoot.childElementCount>0&&(t<=1?(this.leftBnRef.setAttribute("disabled",""),this.rightBnRef.focus()):this.leftBnRef.removeAttribute("disabled"),t>=this.total/this.stepSize?(this.rightBnRef.setAttribute("disabled",""),this.leftBnRef.focus()):this.rightBnRef.removeAttribute("disabled"))}watchStepSizeStateHandler(t,i){t!==i&&this.stepIndex*t>this.total&&(this.stepIndex=Math.ceil(this.total/t))}handleStepClick(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})}componentWillLoad(){r(this),this.clampStepIndex()}componentDidLoad(){this.watchStepIndexStateHandler(this.stepIndex)}connectedCallback(){f(this)}disconnectedCallback(){w(this)}clampStepIndex(){this.stepIndex<1?this.stepIndex=1:this.stepIndex*this.stepSize>this.total&&(this.stepIndex=Math.ceil(this.total/this.stepSize))}getFrom(){return Math.floor((this.stepIndex-1)*this.stepSize)+1}getTo(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)}generateStepSize(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))}async onKeyboardDown(t){let i=this.stepIndex,e=1;(d(t)||u(t)||m(t))&&(i--,e=-1,this.leftBnRef.focus()),(c(t)||g(t)||b(t))&&(i++,e=1),l(t)&&i>0&&i*this.stepSize<=this.total&&this.handleClick(t,e)}render(){return e("div",{class:{"duet-range-stepper":!0,"duet-theme-turva":"turva"===this.theme},onKeyDown:t=>this.onKeyboardDown(t),"aria-controls":this.ariaControls},e("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),e("duet-action-button",{class:"duet-range-step-button duet-range-step-minus",onClick:t=>this.handleClick(t,-1),id:this.leftBn,"accessible-label":this.ariaLabels.previous_increment,ref:t=>this.leftBnRef=t,part:"navigation-arrow",iconName:"action-arrow-left-small"}),e("duet-action-button",{class:"duet-range-step-button duet-range-step-plus",onClick:t=>this.handleClick(t,1),"accessible-label":this.ariaLabels.next_increment,id:this.rightBn,ref:t=>this.rightBnRef=t,part:"navigation-arrow",iconName:"action-arrow-right-small"}))}get element(){return s(this)}static get watchers(){return{language:["watchLanguageStateHandler"],stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}}};x.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:inline-block;margin:0 auto}.duet-range-stepper{display:flex;flex-wrap:wrap;gap:0;align-items:baseline;justify-content:center;min-width:30px;min-height:30px;font-weight:600;text-decoration:none;border-left-width:0}.duet-range-stepper{white-space:nowrap}.duet-range-stepper .duet-range-step-counter{font-weight:600;color:rgb(0, 41, 77)}.duet-range-stepper ::part(button){border:0}";export{y as duet_pagination,x as duet_range_stepper}
@@ -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 i,g as a}from"./p-14b1e688.js";import{m as n}from"./p-c4d8cad0.js";import{i as o}from"./p-4ebf1618.js";const r=class{constructor(t){e(this,t),this.mql=[window.matchMedia(n.replace(/'/g,""))],this.boundMqlFunctions=[],this.changeIconSize=()=>{this.iconSize=this.mql[0].matches?"x-small":"small"},this.iconSize="x-small",this.theme="",this.active=!1,this.href="#",this.icon=void 0}componentWillLoad(){o(this)}connectedCallback(){this.changeIconSize();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}render(){return t(i,null,t("a",{class:{"duet-menu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href},this.icon&&t("duet-icon",{size:this.iconSize,name:this.icon,margin:"none"}),t("slot",null)))}get element(){return a(this)}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:#0077b3}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:#0077b3;transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:#c60c30}.duet-menu-bar-link.active.duet-theme-turva::after{background:#c60c30}@media (min-width: 62em){.duet-menu-bar-link:hover{color:#0077b3}.duet-menu-bar-link:hover.duet-theme-turva{color:#c60c30}}';export{r as duet_menu_bar_link}
4
+ import{r as e,h as t,H as i,g as a}from"./p-5933217a.js";import{m as n}from"./p-c4d8cad0.js";import{i as r}from"./p-4ebf1618.js";const o=class{constructor(t){e(this,t),this.mql=[window.matchMedia(n.replace(/'/g,""))],this.boundMqlFunctions=[],this.changeIconSize=()=>{this.iconSize=this.mql[0].matches?"x-small":"small"},this.iconSize="x-small",this.theme="",this.active=!1,this.href="#",this.icon=void 0}componentWillLoad(){r(this)}connectedCallback(){this.changeIconSize();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}render(){return t(i,null,t("a",{class:{"duet-menu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href},this.icon&&t("duet-icon",{size:this.iconSize,name:this.icon,margin:"none"}),t("slot",null)))}get element(){return a(this)}};o.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';export{o as duet_menu_bar_link}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ System.register(["./p-84ec82b2.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-2ef88161.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var r,s,a,t,i,o,n;return{setters:[function(e){r=e.r;s=e.h;a=e.H;t=e.g},function(e){i=e.i},function(e){o=e.c},function(e){n=e.g},function(){}],execute:function(){var p="*,*::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:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;min-height:1px;}.duet-progress .progress-bar{position:relative;display:block;width:100%;height:inherit;min-height:1px;background-color:rgb(243, 249, 252);border-radius:0;box-shadow:none}.duet-theme-turva .duet-progress .progress-bar{background-color:rgb(252, 243, 244)}.duet-progress .progress-bar>span{display:block;height:inherit;text-indent:-9999px;background-color:rgb(0, 119, 179);border-radius:0}.duet-theme-turva .duet-progress .progress-bar>span{background-color:rgb(198, 12, 48)}.duet-progress progress[value]{display:flex;width:100%;height:inherit;min-height:1px;color:rgb(0, 119, 179);border:0 none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.duet-theme-turva .duet-progress progress[value]{color:rgb(198, 12, 48)}.duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(243, 249, 252);border-radius:0}.duet-theme-turva .duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(252, 243, 244)}.duet-progress progress[value]::-webkit-progress-value{background-color:rgb(0, 119, 179);background-size:35px 20px, 100% 100%, 100% 100%;border-radius:0;-webkit-animation:animate-stripes 5s linear infinite;animation:animate-stripes 5s linear infinite}.duet-theme-turva .duet-progress progress[value]::-webkit-progress-value{background-color:rgb(198, 12, 48)}.duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(243, 249, 252)}.duet-theme-turva .duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(252, 243, 244)}";var d=e("duet_progress",function(){function e(e){r(this,e);this.progressId=o("DuetProgress");this.progressLabelId=o("DuetProgressLabel");this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabel=undefined;this.accessibleLabelUploadDefaults={fi:["lähetys valmis","lähetys käynnissä"],sv:["Uppladdningen är klar","Uppladdning pågår"],en:["upload completed","upload in progress"]};this.accessibleLabelUpload=n(this.accessibleLabelUploadDefaults);this.progress=0;this.caption=undefined;this.height="10px";this.theme=""}e.prototype.componentWillLoad=function(){i(this)};e.prototype.render=function(){return s(a,null,s("div",{"aria-live":this.accessibleLabel?"polite":"off","aria-hidden":this.accessibleLabel?"false":"true","aria-atomic":"true",style:{height:this.height},id:this.progressId,class:{"duet-progress":true,"duet-progress-done":this.progress===100,"duet-progress-start":this.progress===0,"duet-progress-inprogress":this.progress<99&&this.progress!==0,"duet-theme-turva":this.theme==="turva"}},s("duet-visually-hidden",null,s("label",{htmlFor:this.progressLabelId},this.progress!==0&&s("span",null,this.accessibleLabel,", ",this.accessibleLabelUpload[this.progress<99?1:0]))),this.caption&&s("div",{class:"duet-progress-caption"},s("span",null,this.caption)),s("progress",{id:this.progressLabelId,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,role:"progressbar",value:this.progress,max:"100","aria-valuemin":"0","aria-valuemax":"100"},s("div",{class:"progress-bar"},s("span",{style:{width:"".concat(this.progress,"%;")}},"Progress: ",this.progress,"%")))))};Object.defineProperty(e.prototype,"element",{get:function(){return t(this)},enumerable:false,configurable:true});return e}());d.style=p}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,u){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{l(u.next(e))}catch(t){a(t)}}function s(e){try{l(u["throw"](e))}catch(t){a(t)}}function l(e){e.done?n(e.value):i(e.value).then(r,s)}l((u=u.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},u,i,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return l([e,t])}}function l(s){if(u)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(n=0)),n)try{if(u=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(l){s=[6,l];i=0}finally{u=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-84ec82b2.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-51721695.system.js","./p-2ef88161.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var t,n,u,i,a,r,s,l,o,c,d,b,h,p,m;return{setters:[function(e){t=e.r;n=e.c;u=e.h;i=e.H;a=e.g},function(e){r=e.i},function(e){s=e.c},function(e){l=e.a;o=e.b;c=e.c;d=e.d;b=e.e},function(e){h=e.a;p=e.b;m=e.g},function(){}],execute:function(){var f={title:"action-add",tags:"action add plus",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>'};var v={title:"action-subtract",tags:"action subtract minus remove delete cancel",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>'};function g(e,t){var n;if(typeof e==="string"){var u=e.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");if(t){u=y(u,t,false)}u=u.replace(/\s+/g,"");u=u.replace(/(?!^-?\d*\.{0,1}\d+$)/g,"");n=parseFloat(u)}if(typeof e==="number"){n=parseFloat(String(e))}if(!isNaN(Number(n))){return Number(n)}if(e===null||e===undefined){return null}throw new Error("Invalid value passed to SafeParseFloat")}function y(e,t,n){if(n===void 0){n=false}var u;var i=new Intl.NumberFormat(t).format(1/2).replace(/[0-9]/g,"");var a=new Intl.NumberFormat("en-US").format(1/2).replace(/[0-9]/g,"");var r=new Intl.NumberFormat(t).format(1e3).replace(/[0-9]/g,"");var s=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");u=e.replace(i,"DECIMALSEPARATOR");if(n){u=u.replace(r,"THOUSANDSEPARATOR")}else{u=u.replace(r,"")}u=u.replace("DECIMALSEPARATOR",a);u=u.replace("THOUSANDSEPARATOR",s);return u}var x=function(e,t){return Math.round(e/t)*t};var w=function(e,t,n){return Math.min(Math.max(e,t),n)};var D='*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-number-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2;box-shadow:0 0 0 2px rgb(0, 119, 179)}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{box-shadow:0 0 0 2px rgb(23, 28, 58)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid rgb(207, 210, 212)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(207, 210, 212, 0.2) 0%, rgba(207, 210, 212, 0.2) 1px, rgba(207, 210, 212, 0.1) 1px, rgba(207, 210, 212, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:"";background:rgb(225, 227, 230)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(207, 207, 209, 0.2) 0%, rgba(207, 207, 209, 0.2) 1px, rgba(207, 207, 209, 0.1) 1px, rgba(207, 207, 209, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(228, 228, 230)}';var A=e("duet_number_input",function(){function e(e){var u=this;t(this,e);this.duetChange=n(this,"duetChange",3);this.duetInput=n(this,"duetInput",3);this.duetBlur=n(this,"duetBlur",7);this.duetFocus=n(this,"duetFocus",7);this.inputId=s("DuetInput");this.handleFocus=function(){u.focusedValue=u.value};this.handleKeyDown=function(e){if(l(e)||o(e)){u.add(e)}else if(c(e)||d(e)){u.subtract(e)}else if(b(e)){u.clearValue()}};this.handleChange=function(e){var t=e.target;if(t&&t.value){var n=g(t.value,u.locale);if(isNaN(n)||n==null){n=u.min||0}u.setValue(n);u.duetInput.emit({component:"duet-number-input",originalEvent:e,value:g(u.value,u.locale).toString(),valueAsNumber:n})}else{u.duetInput.emit({component:"duet-number-input",originalEvent:e,value:null,valueAsNumber:null})}};this.handleBlur=function(e){var t=e.target;if(!t){return}if(t.value){var n=g(t.value,u.locale);if(u.rounding){n=x(n,u.step)}n=w(n,u.min,u.max);if(n!==g(u.value,u.locale)||n!==g(u.focusedValue,u.locale)){u.setValue(n);u.emitChange(e)}}u.duetChange.emit({originalEvent:e,value:null,valueAsNumber:null,component:"duet-number-input"})};this.emitChange=function(e){var t=g(u.value,u.locale);u.duetChange.emit({originalEvent:e,value:t.toString(),valueAsNumber:t,component:"duet-number-input"})};this.localizeValue=function(e){return e.toLocaleString(u.locale)};this.setValue=function(e){u.value=u.localizeValue(e);u.duetInputElement.value="".concat(u.value," ").concat(u.unit)};this.add=function(e){if(e){e.preventDefault()}var t=g(u.value,u.locale);if(t===u.max){return}var n=t==null?u.min:t+u.step;if(n%u.step!==0){var i=n%u.step;n-=i}var a=w(n,u.min,u.max);u.value=u.localizeValue(a);u.emitChange(e)};this.subtract=function(e){if(e){e.preventDefault()}var t=g(u.value,u.locale);if(t===u.min){return}var n=t-u.step;if(n%u.step!==0){var i=u.step-n%u.step;n+=i}n=w(n,u.min,u.max);u.value=u.localizeValue(n);u.emitChange(e)};this.language=h();this.locale=p(this.language).locale;this.unit=p(this.language).money;this.focusedValue=undefined;this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"};this.accessibleLive=m(this.accessibleLiveDefaults,this.language);this.accessibleLiveEnabled=true;this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"};this.accessibleAdd=m(this.accessibleAddDefaults,this.language);this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"};this.accessibleSubtract=m(this.accessibleSubtractDefaults,this.language);this.theme="";this.margin="auto";this.expand=false;this.identifier=undefined;this.min=0;this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"};this.label=m(this.labelDefaults,this.language);this.labelHidden=false;this.max=1e6;this.name=undefined;this.error="";this.tooltip="";this.step=5e3;this.rounding=true;this.role=undefined;this.disabled=false;this.required=false;this.value=undefined}e.prototype.componentWillLoad=function(){r(this);if(this.value){this.value=this.localizeValue(g(this.value,this.locale))}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.duetInputElement.setFocus(e);return[2]}))}))};e.prototype.clearValue=function(){this.value=null;this.duetInputElement.value=""};e.prototype.formatAnnouncement=function(){var e=g(this.value,this.locale);if(e==null){return""}return this.accessibleLive.replace("{current}",e.toString(10))};e.prototype.render=function(){var e=this;var t=this.identifier||this.inputId;var n="".concat(this.localizeValue(this.max)," ").concat(this.unit).length;var a=g(this.value,this.locale);return u(i,{class:{"duet-theme-turva":this.theme==="turva","duet-expand":this.expand,"duet-m-0":this.margin==="none"}},u("div",{class:"duet-number-container"},u("duet-input",{ref:function(t){return e.duetInputElement=t},onDuetChange:function(t){return e.handleChange(t)},onDuetFocus:this.handleFocus,onDuetBlur:function(t){return e.handleBlur(t)},onKeyDown:function(t){return e.handleKeyDown(t)},label:this.label,value:this.value?"".concat(this.value," ").concat(this.unit):"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":a!=null?a:"",maxlength:n,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:t,theme:this.theme,margin:"none",expand:true,numericKeyboard:true,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},u("div",{class:{"duet-number-buttons":true,"duet-no-label":this.labelHidden}},u("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":a==null||a===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},u("duet-visually-hidden",null,this.accessibleSubtract," ",this.step),u("duet-icon",{icon:v.svg,size:"small",margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary"})),u("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":a===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},u("duet-visually-hidden",null,this.accessibleAdd," ",this.step),u("duet-icon",{icon:f.svg,size:"small",margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&u("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());A.style=D}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as e,H as i,g as a}from"./p-14b1e688.js";import{i as d}from"./p-704245ef.js";const n=class{constructor(e){t(this,e),this.margin="auto",this.middle=!1}render(){return e(i,{class:{"duet-middle":this.middle,"duet-ie":d()}},e("div",{class:{"duet-layout":!0,"duet-m-0":"none"===this.margin}},e("section",{class:"duet-main"},e("slot",null))))}get element(){return a(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{position:relative;padding:0 16px;margin:48px auto 36px}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@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}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}";export{n as duet_section_layout}
4
+ import{r as t,h as e,H as a,g as i}from"./p-5933217a.js";import{i as d}from"./p-704245ef.js";const n=class{constructor(e){t(this,e),this.margin="auto",this.middle=!1}render(){return e(a,{class:{"duet-middle":this.middle,"duet-ie":d()}},e("div",{class:{"duet-layout":!0,"duet-m-0":"none"===this.margin}},e("section",{class:"duet-main"},e("slot",null))))}get element(){return i(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{position:relative;padding:0 16px;margin:48px auto 36px}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@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}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}";export{n as duet_section_layout}
@@ -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 i,g as o}from"./p-14b1e688.js";import{i as n}from"./p-4ebf1618.js";const a=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.theme="",this.open=!1}componentWillLoad(){n(this)}render(){return t(i,null,t("div",{class:{"duet-submenu-bar":!0,"duet-theme-turva":"turva"===this.theme},role:"menubar"},t("button",{"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},t("div",{class:"label"},t("slot",{name:"label"}),t("duet-icon",{class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small"}))),t("div",{role:"menu",id:"menu","aria-labelledby":"button","aria-expanded":this.open?"true":"false",class:{items:!0,hidden:!this.open}},t("slot",null))))}get element(){return o(this)}};a.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;width:100%}:host slot::slotted(duet-submenu-bar-link),:host slot::slotted(duet-submenu-bar-dropdown){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot::slotted(duet-submenu-bar-link),:host([open]) slot::slotted(duet-submenu-bar-dropdown){top:0;opacity:1}@media (min-width: 62em){:host slot::slotted(duet-submenu-bar-link),:host slot::slotted(duet-submenu-bar-dropdown){position:relative;top:auto;opacity:1;transition:none}}.duet-submenu-bar{position:relative;background:#f3f9fc}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid #cde5f1}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:#00294d}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .items{position:absolute;z-index:399;width:100%;max-height:1000px;visibility:visible;background:#f3f9fc;border-bottom:1px solid #cfd2d4;transition:300ms ease}.duet-submenu-bar .items.hidden{max-height:0;overflow:hidden;visibility:hidden;border-bottom:0 solid #cfd2d4;transition:300ms ease}@media (min-width: 62em){.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;max-height:unset;overflow:visible;visibility:visible;border:0;transition:none}}.duet-submenu-bar.duet-theme-turva{background:#f5f5f7;border-bottom:1px solid #e4e4e6}.duet-submenu-bar.duet-theme-turva .items{background:#f5f5f7}';export{a as duet_submenu_bar}
4
+ import{r as e,h as t,H as i,g as o}from"./p-5933217a.js";import{i as n}from"./p-4ebf1618.js";const a=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.theme="",this.open=!1}componentWillLoad(){n(this)}render(){return t(i,null,t("div",{class:{"duet-submenu-bar":!0,"duet-theme-turva":"turva"===this.theme},role:"menubar"},t("button",{"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},t("div",{class:"label"},t("slot",{name:"label"}),t("duet-icon",{class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small"}))),t("div",{role:"menu",id:"menu","aria-labelledby":"button","aria-expanded":this.open?"true":"false",class:{items:!0,hidden:!this.open}},t("slot",null))))}get element(){return o(this)}};a.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;width:100%}:host slot::slotted(duet-submenu-bar-link),:host slot::slotted(duet-submenu-bar-dropdown){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot::slotted(duet-submenu-bar-link),:host([open]) slot::slotted(duet-submenu-bar-dropdown){top:0;opacity:1}@media (min-width: 62em){:host slot::slotted(duet-submenu-bar-link),:host slot::slotted(duet-submenu-bar-dropdown){position:relative;top:auto;opacity:1;transition:none}}.duet-submenu-bar{position:relative;background:rgb(243, 249, 252)}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(205, 229, 241)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .items{position:absolute;z-index:399;width:100%;max-height:1000px;visibility:visible;background:rgb(243, 249, 252);border-bottom:1px solid rgb(207, 210, 212);transition:300ms ease}.duet-submenu-bar .items.hidden{max-height:0;overflow:hidden;visibility:hidden;border-bottom:0 solid rgb(207, 210, 212);transition:300ms ease}@media (min-width: 62em){.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;max-height:unset;overflow:visible;visibility:visible;border:0;transition:none}}.duet-submenu-bar.duet-theme-turva{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 245, 247)}';export{a as duet_submenu_bar}
@@ -0,0 +1,4 @@
1
+ var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var a=0,n=r.length,o;a<n;a++){if(o||!(a in r)){if(!o)o=Array.prototype.slice.call(r,0,a);o[a]=r[a]}}return e.concat(o||Array.prototype.slice.call(r))};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-84ec82b2.system.js","./p-33b3aba4.system.js","./p-2ef88161.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var r,t,a,n,o,i,s;return{setters:[function(e){r=e.r;t=e.h;a=e.F;n=e.H;o=e.g},function(e){i=e.i},function(e){s=e.g},function(){}],execute:function(){var l={title:"action-arrow-right-small",tags:"action arrow right small caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>'};var c='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-breadcrumbs{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs ol{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 16px;color:rgb(0, 41, 77);list-style:none;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}@media (min-width: 62em){.duet-breadcrumbs ol{padding:10px 36px}}.duet-breadcrumbs ol li{font-weight:400}.duet-breadcrumbs ol li:last-of-type{font-weight:600}.duet-breadcrumbs.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-breadcrumbs.duet-theme-turva ol{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-breadcrumbs .duet-breadrumbs-arrow{display:inherit;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}.duet-breadcrumbs .hide{display:none}';var u=e("duet_breadcrumbs",function(){function e(e){r(this,e);this.observers=[];this.breadcrumbsAriaLabel=s({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme=""}e.prototype.componentWillLoad=function(){i(this);this.children=Array.from(this.element.children)};e.prototype.connectedCallback=function(){var e=this;Array.from(this.element.children).forEach((function(r){var t=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));t.observe(r,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[t],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){return t(n,null,t("nav",{"aria-label":this.breadcrumbsAriaLabel,class:{"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"}},t("ol",null,this.children.map((function(e,r){return t(a,null,r>0&&t("li",{"aria-hidden":"true"},t("duet-icon",{class:"duet-breadrumbs-arrow",size:"auto",icon:l.svg,margin:"none",color:"currentColor"})),t("li",{innerHTML:e.outerHTML}),t("div",{class:"hide"},t("slot",null)))})))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());u.style=c}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{h as t,r as e,c as a,H as i,g as s}from"./p-5933217a.js";import{i as d}from"./p-4ebf1618.js";import{f as l,d as o}from"./p-0b3f675e.js";import{i as n}from"./p-f077c646.js";import{g as r,s as u}from"./p-6c05e879.js";import{q as h,s as b}from"./p-9052b6f5.js";import{b as p}from"./p-79a9746e.js";import{c as m}from"./p-c1325e35.js";import{p as c}from"./p-5a9d75e1.js";const g=({data:e,groupId:a,alignment:i})=>{const s=`duet-editable-table duet-editable-table-content-${a}`;return"string"==typeof e?t("td",{innerHTML:e,class:s,part:`${a}content`,style:{verticalAlign:i}}):t("td",{class:s,part:`${a}content`,style:{verticalAlign:i}},e)},f=class{constructor(t){e(this,t),this.duetTableToggle=a(this,"duetTableToggle",7),this.duetMenuClick=a(this,"duetMenuClick",7),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:a,direction:i,index:s,key:d}=t;this.duetTableToggle.emit({sort_order:a,index:s,direction:i,key:d,component:"duet-editable-table",originalEvent:e})},this.handleKeyDown=(t,e)=>{n(e)&&this.toggleColumn(t,e)},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}componentWillLoad(){d(this)}createLabel(e){const{sort_order:a,direction:i,index:s,label:d}=e,l=r(d);return this.sortable?t("span",{class:"duet-table-label","data-index":s},t("duet-button",{size:"small",icon:a&&1===i?"action-arrow-down-small":a&&-1===i?"action-arrow-up-small":"action-subtract-small","icon-size":"medium-small","accessible-label":r(this.sortableDefaultLabel),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(l(["index"]))}getRowSortOrder(){return[...this.columns].sort(l(["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 a=this.createLabel(e);return""!==a?t("th",{scope:"col"},a):t("td",null)}})),this.actions&&t("th",{scope:"col",class:"duet-table-action-header-heading"},this.actions&&t("duet-visually-hidden",null,r(this.actionColumnLabel))))}renderActions(e,a){if(this.actions)return t("td",{class:"duet-text-right"},this.actions.map((i=>t("duet-action-button",{actionMeta:Object.assign({},(null==e?void 0:e.meta)||{},{index:a}),actionId:(null==e?void 0:e.uid)||(null==e?void 0:e.id)||null,actionName:i.name,theme:this.theme,iconName:i.icon,iconColor:i.color,iconSize:i.size,background:i.background,"accessible-label":`${r(i.label)} ${e.name||""}`}))))}renderTableBody(){const e=this.getSortedColumns(),a=this.getRowSortOrder();return[...this.rows].sort(l(a)).map(((a,i)=>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(a.meta)},e.map((e=>{if(!1!==e.display)return t(g,{data:a[e.key]?a[e.key]:a.item,groupId:this.groupId})})),this.actions&&this.renderActions(a,i))))}render(){return t(i,{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},t("table",{role:this.accessibleRole},t("caption",null,t("slot",{name:"tcaption"})),t("thead",null,t("tr",null,t("td",{class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{name:"thead-first"}))),this.renderTableHeader(),t("tr",null,t("td",{class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{name:"thead-last"})))),t("tbody",null,this.renderTableBody()),t("tfoot",null,t("tr",null,t("th",{class:"duet-editable-table-footer-menu",colSpan:99},t("slot",{name:"tfoot"})))))))}get element(){return s(this)}};f.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 y={none:0,"with-links":16*parseFloat(h),"without-links":16*parseFloat(b)},v=class{constructor(t){e(this,t),this.headingSelector="thead tr > :not(*.duet-editable-table-actions-menu)",this.handleMediaQueryChange=t=>{this.matchesBreakpoint=t.matches},this.matchesBreakpoint=!0,this.theme=void 0,this.margin="auto",this.variation="striped",this.sticky=!1,this.stickyDistance="with-links",this.breakpoint="small",this.hideHeadVisually=!1}connectedCallback(){this.mq=matchMedia("none"===this.breakpoint||"none-scrollable"===this.breakpoint?"all":p[this.breakpoint]),this.mq.addEventListener("change",o(this.handleMediaQueryChange,50)),this.handleMediaQueryChange(this.mq),this.observer=new MutationObserver((()=>o(this.copyHeadingsToCells(),50))),this.observer.observe(this.element,{childList:!0,subtree:!0})}componentWillLoad(){if(d(this),this.copyHeadingsToCells(),this.sticky&&"none-scrollable"===this.breakpoint&&console.warn('[DUET WARNING]: sticky and breakpoint="none-scrollable" are incompatible. Scrollable takes precedence'),this.sticky){const t=y[this.stickyDistance];this.element.querySelectorAll(this.headingSelector).forEach((e=>e.style.top=`${t}px`))}}componentDidLoad(){this.observer&&this.observer.takeRecords()}disconnectedCallback(){this.observer.disconnect(),this.observer=null,this.mq.removeListener(this.handleMediaQueryChange),this.mq=null,this.matchesBreakpoint=!0}copyHeadingsToCells(){const t=this.element.querySelectorAll(this.headingSelector),e=this.element.querySelectorAll("tbody tr"),a=Array.from(t).map((t=>t.textContent.trim()));e.forEach((t=>{t.querySelectorAll("td").forEach(((t,e)=>{a[e]&&(t.dataset.heading=a[e])}))}))}render(){return t(i,{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",null))}get element(){return s(this)}};v.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(0, 41, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}duet-table.duet-theme-turva th{color:rgb(116, 116, 117)}duet-table tbody th{font-weight:600;color:rgb(0, 41, 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-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 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(101, 119, 135);text-align:left}.duet-table-flattened td[data-heading]::before{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(0, 41, 77);content:attr(data-heading)}.duet-table-flattened.duet-theme-turva td[data-heading]::before{color:rgb(23, 28, 58)}.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(225, 227, 230)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(228, 228, 230)}.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(0, 80, 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(0, 80, 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(225, 227, 230)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(228, 228, 230)}.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(225, 227, 230)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(228, 228, 230)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(101, 119, 135)}.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(68, 68, 69)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(225, 227, 230)}.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(228, 228, 230)}.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(225, 227, 230)}.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(228, 228, 230)}.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(225, 227, 230)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(228, 228, 230)}.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(225, 227, 230)}.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(225, 227, 230)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.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(225, 227, 230)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.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(68, 68, 69, 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(225, 227, 230)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.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 x=[{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-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."}}],k=(t,e)=>{let a={type:void 0,system_message:void 0,message:void 0};return a=(e=c(e)).filter((e=>e.type==t))[0],a||(a=e.filter((t=>"default"===t.type))[0]),a},w=(t,e)=>{const a=k(t,e),i=r(a.message);return""!==i&&i?i:a.system_message},z=({data:e,errorCodes:a})=>{const{item:i,error:s}=e,{name:d}=i,{type:l}=s;return t("span",{class:"duet-upload-item-error",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),t("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},w(l,a)))},T=({progress:e,name:a})=>t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),a,t("br",null),t("duet-progress",{progress:Math.ceil(e),"aria-hidden":!0})),S=({name:e})=>t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),e),E=({data:e,showLinks:a})=>{const{item:i,size:s,uploaded:d,url:l,meta:o}=e,{name:n}=i,r=t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),n),u=t("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",((t,e=2)=>{if(0===t)return"0 Bytes";const a=e<0?0:e,i=Math.floor(Math.log(t)/Math.log(1024));return parseFloat((t/Math.pow(1024,i)).toFixed(a))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][i]})(s),")"),h=t("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},d&&l&&a?t("duet-link",{url:l,external:!0},r):r,t("duet-spacer",{size:"xx-small",direction:"horizontal"}),u),b=o&&o.badges?t("span",null,t("duet-spacer",{size:"xx-small"}),o.badges.map((e=>t("duet-badge",{color:"primary"},e)))):void 0;return t("span",{class:"duet-upload-item-success"},t("div",null,h),b)},j=(t,e,a)=>{const{allowedMimetypes:i,allowedExtensions:s,maxBytes:d}=e;let l=!1,o=k("default",a);if(t){const{name:e,type:n,size:r}=t,u=((t,e)=>{if(!e||!t)return!0;const a=e.split(",");let i=!1;return a.forEach((e=>{const a=e.split("/"),s=t.split("/");a[0]!==s[0]||a[1]!==s[1]&&"*"!==a[1]||(i=!0)})),i})(n,i),h="all"===s||""===s||" "===s||void 0===s||((t,e)=>{if(!e)return!0;const a=t.split(".");return e.split(",").includes(a[a.length-1])})(e.toLowerCase(),s),b=((t,e)=>!e||!t||e>=t)(r,d);u||(o=k("duet-upload-101",a)),h||(o=k("duet-upload-100",a)),b||(o=k("duet-upload-201",a)),l=u&&h&&b}else l=!1;return{valid:l,errorMessage:l?void 0:r(o.message),errorSystem:l?void 0:o.system_message,errorType:l?void 0:o.type}},M=({payload:t,options:e,onFailure:a,onSuccess:i,onProgress:s})=>{const{type:d="POST",xhr:l,uri:o,argument:n=null,headers:r=null}=e;l.open(d,`${o}${n||""}`,!0);const{data:u,name:h}=t;return r&&Object.keys(r).forEach((t=>{l.setRequestHeader(t,r[t])})),"POST"===d&&(l.onreadystatechange=()=>{l.readyState===XMLHttpRequest.DONE&&l.status>=200&&l.status<300&&i(l,h,l.status),l.readyState===XMLHttpRequest.DONE&&l.status>=300&&l.status<999&&a(l,h,l.status)},s(h)),l.send(u),l},F=class{constructor(i){e(this,i),this.duetChange=a(this,"duetChange",3),this.duetBlur=a(this,"duetBlur",7),this.duetFocus=a(this,"duetFocus",7),this.duetReady=a(this,"duetReady",7),this.duetDone=a(this,"duetDone",3),this.duetState=a(this,"duetState",3),this.duetDelete=a(this,"duetDelete",3),this.duetCancel=a(this,"duetCancel",3),this.duetProgress=a(this,"duetProgress",3),this.duetUpload=a(this,"duetUpload",3),this.buttonId=m("DuetButton"),this.labelId=m("DuetLabel"),this.uploadId=m("DuetUpload"),this.filesInProgress=new Map,this.fileMaxReached=!1,this.bytesMaxReached=!1,this.internalStatusMessageLabel=void 0,this.DefaultGroups={inprogress:"inprogress",success:"success",pending:"pending",failure:"failure"},this.kick=o((()=>{this.tick=Date.now()}),30),this.listenForActionEvents=()=>{this.element.addEventListener("duetActionEvent",(t=>{const e=t.detail,{action:a,id:i,originalEvent:s}=e;switch(a){case"delete":this.onDelete(i,s);break;case"cancel":this.onCancel(i,s)}}))},this.verifyValidity=()=>{const{invalid:t,valid:e}=this.getFilesAsArray(),a=this.valid;this.valid=0===t.length&&0!==e.length,this.valid!==a&&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.getItemHTMLFromItemData=(e,a)=>a===this.DefaultGroups.success?t(E,{data:e,showLinks:this.showLinks}):a===this.DefaultGroups.inprogress?t(T,{progress:e.progress,name:e.item.name}):a===this.DefaultGroups.pending?t(S,{name:e.item.name}):a===this.DefaultGroups.failure?t(z,{data:e,errorCodes:this.errorCodes}):e.group?e.html:"none",this.genHashName=()=>Date.now().toString(36)+Math.random(),this.updateValueInMap=(t,e,a,i=!0)=>{try{const i=this.files.get(t);i[e]=a,this.files.set(t,i)}catch(s){}i&&this.kick()},this.updateProgress=(t,e)=>{t.lengthComputable?(a=>{this.updateValueInMap(e,"progress",a),this.onProgress(e,a,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((a=>{a.valid&&!a.deleted?t.push(a):a.valid||a.deleted||e.push(a)})),{valid:t,invalid:e}},this.resetFormFields=()=>{this.nativeInput.value=""},this.startUpload=async(t,e)=>{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,a)=>{this.updateValueInMap(e,"status",a,!1),this.updateValueInMap(e,"uploaded",!0,!1);try{const a=JSON.parse(t.response);this.updateValueInMap(e,"url",a.url)}catch(i){this.updateValueInMap(e,"url",null),console.error("Server did not respond with expected response {url: string}")}},this.transferDoneWithFailure=(t,e,a)=>{try{const{error:a}=JSON.parse(t.response);this.updateValueInMap(e,"error",{message:a.message,type:a.type},!1)}catch(i){console.error("Server did not respond with expected response error:{message: string, type: int}"),this.updateValueInMap(e,"error",{type:a},!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 a=0;return!!(e&&(this.files.forEach((t=>{t.valid&&t.size&&(a+=t.size)})),a>e))})(0,this.maxBytesTotal),a=((t,e)=>{let a=0;return!!(e&&(this.files.forEach((t=>{t.valid&&a++})),a>e))})(0,this.maxFiles);return e&&t&&this.updateValueInMap(t,"error",w("duet-upload-202",this.errorCodes),!1),a&&t&&this.updateValueInMap(t,"error",w("duet-upload-301",this.errorCodes),!1),this.bytesMaxReached=e,this.fileMaxReached=a,{bytesMaxReached:e,fileMaxReached:a}},this.uploadFile=async(t,e=!1,a)=>{!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),a&&e.append("key",a),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(i){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,a]of Array.from(this.files.entries()))if(a.uid===t)return{value:a,key:e};return null},this.onDelete=(t,e)=>{const a=this.getItemFromUID(t).key,i=this.files.get(a);this.files.delete(a),this.validateTotals(),this.kick(),this.duetDelete.emit({originalEvent:e,data:{deletion:i},component:"duet-upload"}),this.external||i.pending||this.makeXHRDeleteRequest(i),this.resetFormFields()},this.onCancel=(t,e)=>{const a=this.getItemFromUID(t).key,i=this.files.get(a);if(this.files.delete(a),this.external)this.kick();else{const{xhr:t}=i;t&&t.abort()}this.resetFormFields(),this.duetCancel.emit({originalEvent:e,data:{cancelled:i},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,a)=>{this.duetChange.emit({originalEvent:a,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=[],a=[],i=[],s=[];return t.forEach((t=>{const d=this.getGroupFromItemData(t),l=this.getItemHTMLFromItemData(t,d);d===this.DefaultGroups.success?s.push({uid:t.uid,item:l,group:d,name:t.item.name}):d===this.DefaultGroups.inprogress?e.push({uid:t.uid,item:l,group:d,name:t.item.name}):d===this.DefaultGroups.pending?i.push({uid:t.uid,item:l,group:d,name:t.item.name}):d===this.DefaultGroups.failure?a.push({uid:t.uid,item:l,group:d,name:t.item.name}):t.group&&e.push({uid:t.uid,item:l,group:t.group,name:t.item.name})})),{pending:i,failure:a,success:s,inprogress:e}},this.getColumns=t=>[{sort_order:1,direction:-1,index:0,key:t.id,label:t.label}],this.getActions=t=>this.actions.filter((e=>e.map.includes(t))),this.renderEditableTableGroups=()=>{const e=this.filterMap();return this.groups.map((a=>{const i=e[a.id];if(null==i?void 0:i.length)return t("duet-table",{variation:"plain",breakpoint:"none",role:"log",margin:this.hideGroups?"none":"auto"},t("table",{class:"duet-upload-editable-table"},t("thead",{class:"duet-upload-editable-table-header"},t("tr",null,t("th",{class:{"duet-upload-editable-table-header-hidden":this.hideGroups}},this.hideGroups?t("duet-visually-hidden",null,r(a.label)):r(a.label)))),t("tbody",null,t("tr",null,t("td",{class:"duet-upload-editable-table-data"},t("duet-editable-table",{breakpoint:"none",variation:"plain",groupId:a.id,columns:this.getColumns(a),actions:this.getActions(a.id),margin:"none",rows:i}))))))}))},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} lähetettävästä {filesTotal} tiedostosta",inProgressWithErrors:"Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä",done:"Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti",doneWithErrors:"Lähetys valmis, {filesUploaded} tiedostoa on lähetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheitä",files:"tiedostot",file:"tiedosto"},sv:{inProgress:"Adding {filesUploaded} of {filesTotal}",inProgressWithErrors:"Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",done:"Alla {filesTotal} har lagts till",doneWithErrors:"Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",files:"filer",file:"fil"},en:{inProgress:"Adding {filesUploaded} of {filesTotal}",inProgressWithErrors:"Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",done:"All {filesTotal} added successfully",doneWithErrors:"Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors",files:"File",file:"file"}},this.statusMessageLabel=r(this.statusLabelDefaults),this.buttonLabelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add an attachment"},this.buttonLabel=r(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=r(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=r(this.descriptionDefaults),this.fileListEmptyDefaults={fi:"Ei vielä lisättyjä tiedostoja.",sv:"Inga filer har lagts till ännu.",en:"No files added yet."},this.fileListEmpty=r(this.fileListEmptyDefaults),this.error="",this.errorCodes=x,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.value=void 0,this.groups=[{id:this.DefaultGroups.pending,label:{en:"Files to upload",sv:"Filer att ladda",fi:"Ladattavat tiedostot"}},{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"}}]}watchValidHandler(t,e){t!==e&&this.kick()}componentWillLoad(){this.internalStatusMessageLabel="string"==typeof this.statusMessageLabel?u(this.groups):this.statusMessageLabel,d(this),this.listenForActionEvents(),this.onReady()}componentWillRender(){this.verifyValidity()}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async upload(t){await this.setFocus(),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,a){this.updateValueInMap(t,e,a)}render(){const e=this.identifier||this.uploadId,a=Math.round((this.maxBytesTotal?this.maxBytesTotal:this.maxBytes*this.maxFiles)/1024/1024),s=Math.round(this.maxBytes/1024/1024);let d=this.description.replace(/{maxfiles}/g,this.maxFiles.toString());return d=d.replace(/{maxbytes}/g,`${s.toString()} MB`),d=d.replace(/{maxbytestotal}/g,`${a.toString()} MB`),d=d.replace(/{filetypes}/g,this.allowedExtensions.split(",").join(", ")),t(i,{class:{"duet-m-0":"none"===this.margin}},t("duet-fieldset",{label:this.label,caption:d},t("slot",{name:"header"}),!this.files.size&&t("duet-label",{part:this.identifier?`${this.identifier}-empty-state`:"duet-upload-empty-state",theme:"turva"===this.theme?"turva":"default",size:"small",class:{"duet-upload-filelist-empty":!this.files.size,"duet-upload-filelist":!0,"duet-upload-filelist-filled":this.files.size},id:this.labelId,for:e},t("span",{class:{"duet-upload-filelist-empty-label":!this.files.size}},this.fileListEmpty)),!!this.files.size&&t("slot",{name:"fileheader"}),!!this.files.size&&t("duet-upload-aria-status",{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.renderEditableTableGroups(),!!this.files.size&&t("slot",{name:"filefooter"}),t("duet-spacer",{size:"large"}),!this.hideButton&&t("duet-button",{id:this.buttonId,onClick:this.startUpload,"accessible-controls":e,disabled:this.fileMaxReached,"accessible-label":this.accessibleButtonLabel,"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),t("duet-spacer",{size:"medium"}),(this.fileMaxReached||this.bytesMaxReached)&&t("duet-alert",{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)),t("duet-spacer",{size:"medium"}),t("duet-visually-hidden",{"aria-hidden":"true"},t("input",{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,a=t.get("name");e.upload.addEventListener("progress",(t=>{this.updateProgress(t,a)})),e.upload.addEventListener("load",(()=>{this.transferComplete(a)})),e.upload.addEventListener("error",(()=>{this.transferFailed(a)})),e.upload.addEventListener("abort",(()=>{this.transferCanceled(a)}));let i={payload:{data:t,name:a},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&&(i=this.middleware(i)),M(i)}makeXHRDeleteRequest(t){const{uid:e,item:a}=t,i=new XMLHttpRequest;let s={payload:{data:null,name},options:{type:"DELETE",xhr:i,uri:this.uri,argument:`?key=${e}&name=${a.name}`,headers:{"x-fileuid":e,"x-filename":a.name}},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};return this.middleware&&(s=this.middleware(s)),M(s)}async onChange(t){var e;const a=Array.from(null===(e=this.nativeInput)||void 0===e?void 0:e.files);if(a)for(const i of a){const{valid:t,errorMessage:e,errorType:a,errorSystem:s}=j(i,{maxBytes:this.maxBytes,allowedExtensions:this.allowedExtensions,allowedMimetypes:this.allowedMimetypes},this.errorCodes),d={uid:this.genHashName(),item:i,size:i.size,meta:this.metaData,uploaded:!1,valid:t,error:{type:t?void 0:a,message:t?void 0:e,system_message:t?void 0:s},progress:0,deleted:!1,xhr:!1,url:!1};this.files.set(i.name,d);const{bytesMaxReached:l,fileMaxReached:o}=this.validateTotals(i.name);l||o?this.updateValueInMap(i.name,"valid",!1,!1):t&&!this.external?await this.uploadFile(d):t&&this.external?(this.updateValueInMap(d.item.name,"pending",!0,!1),this.updateValueInMap(d.item.name,"group","pending",!0)):t||this.updateValueInMap(i.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 s(this)}static get watchers(){return{valid:["watchValidHandler"]}}};F.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}.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-upload-editable-table .duet-upload-item-name duet-icon{position:relative;top:2px}duet-paragraph::part(duet-paragraph){word-break:break-word}";export{f as duet_editable_table,v as duet_table,F as duet_upload}