@duetds/components 8.6.4 → 8.6.6

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 (637) hide show
  1. package/hydrate/index.js +55 -26
  2. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +7 -4
  11. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-footer.cjs.entry.js +18 -17
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-multiselect.cjs.entry.js +33 -6
  42. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-popup-menu.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  63. package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  79. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  83. package/lib/cjs/duet.cjs.js +2 -2
  84. package/lib/cjs/{focus-utils-56f2d983.js → focus-utils-042be20b.js} +1 -1
  85. package/lib/cjs/{index-b77ebc31.js → index-23e333f6.js} +1 -1
  86. package/lib/cjs/loader.cjs.js +2 -2
  87. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  88. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  89. package/lib/collection/components/duet-banner/duet-banner.js +1 -1
  90. package/lib/collection/components/duet-button/duet-button.js +5 -5
  91. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  92. package/lib/collection/components/duet-card/duet-card.js +3 -3
  93. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  94. package/lib/collection/components/duet-chip/duet-chip.js +6 -6
  95. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  96. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  97. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  98. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  99. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  100. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  101. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  102. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  103. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  104. package/lib/collection/components/duet-footer/duet-footer.css +23 -78
  105. package/lib/collection/components/duet-footer/duet-footer.e2e.js +14 -15
  106. package/lib/collection/components/duet-footer/duet-footer.js +30 -32
  107. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  108. package/lib/collection/components/duet-header/duet-header.js +15 -15
  109. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  110. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  111. package/lib/collection/components/duet-input/duet-input.js +8 -8
  112. package/lib/collection/components/duet-label/duet-label.js +2 -2
  113. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  114. package/lib/collection/components/duet-list/duet-list.js +3 -3
  115. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  116. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  117. package/lib/collection/components/duet-modal/duet-modal.js +4 -4
  118. package/lib/collection/components/duet-multiselect/duet-multiselect.css +12 -0
  119. package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +39 -0
  120. package/lib/collection/components/duet-multiselect/duet-multiselect.js +65 -11
  121. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  122. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  123. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  124. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  125. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  126. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  127. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  128. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  129. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  130. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  131. package/lib/collection/components/duet-select/duet-select.js +5 -5
  132. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  133. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  134. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  135. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  136. package/lib/collection/components/duet-step/duet-step.js +2 -2
  137. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  138. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  139. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  140. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  141. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  142. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  143. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  144. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  145. package/lib/dist-custom-elements/duet-alert.js +1 -1
  146. package/lib/dist-custom-elements/duet-badge.js +1 -1
  147. package/lib/dist-custom-elements/duet-banner.js +3 -3
  148. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  149. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  150. package/lib/dist-custom-elements/duet-button.js +1 -1
  151. package/lib/dist-custom-elements/duet-callout.js +2 -2
  152. package/lib/dist-custom-elements/duet-caption.js +1 -1
  153. package/lib/dist-custom-elements/duet-card.js +3 -3
  154. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  155. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  156. package/lib/dist-custom-elements/duet-chip.js +1 -1
  157. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  158. package/lib/dist-custom-elements/duet-choice.js +4 -4
  159. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  160. package/lib/dist-custom-elements/duet-combobox.js +12 -12
  161. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  162. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  163. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  164. package/lib/dist-custom-elements/duet-divider.js +1 -1
  165. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  166. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  167. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  168. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  169. package/lib/dist-custom-elements/duet-footer.js +41 -22
  170. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  171. package/lib/dist-custom-elements/duet-grid.js +1 -1
  172. package/lib/dist-custom-elements/duet-header.js +8 -8
  173. package/lib/dist-custom-elements/duet-heading.js +1 -1
  174. package/lib/dist-custom-elements/duet-hero.js +9 -9
  175. package/lib/dist-custom-elements/duet-icon.js +1 -1
  176. package/lib/dist-custom-elements/duet-input.js +1 -1
  177. package/lib/dist-custom-elements/duet-label.js +1 -1
  178. package/lib/dist-custom-elements/duet-layout.js +1 -1
  179. package/lib/dist-custom-elements/duet-link.js +1 -1
  180. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  181. package/lib/dist-custom-elements/duet-list.js +1 -1
  182. package/lib/dist-custom-elements/duet-logo.js +1 -1
  183. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  184. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  185. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  186. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  187. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  188. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  189. package/lib/dist-custom-elements/duet-modal.js +8 -8
  190. package/lib/dist-custom-elements/duet-multiselect.js +44 -15
  191. package/lib/dist-custom-elements/duet-nav.js +1 -1
  192. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  193. package/lib/dist-custom-elements/duet-notification.js +2 -2
  194. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  195. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  196. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  197. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  198. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  199. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  200. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  201. package/lib/dist-custom-elements/duet-progress.js +1 -1
  202. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  203. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  204. package/lib/dist-custom-elements/duet-radio.js +1 -1
  205. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  206. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  207. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  208. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  209. package/lib/dist-custom-elements/duet-select.js +1 -1
  210. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  211. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  212. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  213. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  214. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  215. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  216. package/lib/dist-custom-elements/duet-slideout.js +3 -3
  217. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  218. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  219. package/lib/dist-custom-elements/duet-step.js +4 -4
  220. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  221. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  222. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  223. package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
  224. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  225. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  226. package/lib/dist-custom-elements/duet-tab-group.js +13 -13
  227. package/lib/dist-custom-elements/duet-tab.js +1 -1
  228. package/lib/dist-custom-elements/duet-table.js +1 -1
  229. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  230. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  231. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  232. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  233. package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
  234. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  235. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  236. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  237. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  238. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  239. package/lib/dist-custom-elements/duet-tray.js +3 -3
  240. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  241. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  242. package/lib/dist-custom-elements/duet-upload.js +19 -19
  243. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  244. package/lib/dist-custom-elements/index.js +1 -1
  245. package/lib/dist-custom-elements/{p-449019b6.js → p-09fed0c7.js} +1 -1
  246. package/lib/dist-custom-elements/{p-6ac13d84.js → p-0df3de19.js} +1 -1
  247. package/lib/dist-custom-elements/{p-7b97ad08.js → p-10cfa2a0.js} +10 -10
  248. package/lib/dist-custom-elements/{p-e98f9bb0.js → p-12b8938d.js} +1 -1
  249. package/lib/dist-custom-elements/{p-a4a10570.js → p-16f48cf0.js} +2 -2
  250. package/lib/dist-custom-elements/{p-43fc089a.js → p-1bab7558.js} +10 -10
  251. package/lib/dist-custom-elements/{p-1e9f6125.js → p-1c4ec089.js} +1 -1
  252. package/lib/dist-custom-elements/{p-29926f8a.js → p-296aa9f5.js} +1 -1
  253. package/lib/dist-custom-elements/{p-9ca3437c.js → p-45469b60.js} +1 -1
  254. package/lib/dist-custom-elements/{p-1a8d1a11.js → p-4fc377f6.js} +1 -1
  255. package/lib/dist-custom-elements/{p-d1815d2a.js → p-6c3fb452.js} +1 -1
  256. package/lib/dist-custom-elements/{p-b6322d8d.js → p-6ccb6291.js} +1 -1
  257. package/lib/dist-custom-elements/{p-45fd4d84.js → p-6d05127a.js} +2 -2
  258. package/lib/dist-custom-elements/{p-d72fa71c.js → p-6e2cb1f7.js} +1 -1
  259. package/lib/dist-custom-elements/{p-b29a25ab.js → p-7042df06.js} +1 -1
  260. package/lib/dist-custom-elements/{p-01c62feb.js → p-74045091.js} +1 -1
  261. package/lib/dist-custom-elements/{p-27b6f57b.js → p-7aecc5f8.js} +2 -2
  262. package/lib/dist-custom-elements/{p-c8415e2f.js → p-8718ac36.js} +2 -2
  263. package/lib/dist-custom-elements/{p-18552e4e.js → p-9333ad1f.js} +5 -5
  264. package/lib/dist-custom-elements/{p-ef51ec63.js → p-97bc8883.js} +2 -2
  265. package/lib/dist-custom-elements/{p-b676c88c.js → p-a6ca6837.js} +1 -1
  266. package/lib/dist-custom-elements/{p-c76bd205.js → p-b056943d.js} +1 -1
  267. package/lib/dist-custom-elements/{p-43967022.js → p-b29a4ecf.js} +1 -1
  268. package/lib/dist-custom-elements/{p-4779e8e0.js → p-b5c8a564.js} +1 -1
  269. package/lib/dist-custom-elements/{p-82302a93.js → p-c12ad8fe.js} +5 -5
  270. package/lib/dist-custom-elements/{p-4b31300c.js → p-c1f7645d.js} +2 -2
  271. package/lib/dist-custom-elements/{p-f47e755d.js → p-c59e4377.js} +5 -5
  272. package/lib/dist-custom-elements/{p-23e23ced.js → p-cf59c4d9.js} +1 -1
  273. package/lib/dist-custom-elements/{p-ce969139.js → p-d2ec2399.js} +1 -1
  274. package/lib/dist-custom-elements/{p-d8932b2b.js → p-d389686a.js} +8 -8
  275. package/lib/dist-custom-elements/{p-3f85f7b8.js → p-d8d5aa01.js} +6 -6
  276. package/lib/dist-custom-elements/{p-20b3fa1e.js → p-dcb28cc1.js} +4 -4
  277. package/lib/dist-custom-elements/{p-9490b060.js → p-dee2eee3.js} +1 -1
  278. package/lib/dist-custom-elements/{p-ecaba4be.js → p-ea821fd6.js} +3 -3
  279. package/lib/dist-custom-elements/{p-971b25c0.js → p-eb5db5c3.js} +1 -1
  280. package/lib/dist-custom-elements/{p-f40596e9.js → p-ec2e63c1.js} +3 -3
  281. package/lib/dist-custom-elements/{p-29b18cdf.js → p-f8fcb31f.js} +6 -3
  282. package/lib/duet/duet.esm.js +1 -1
  283. package/lib/duet/duet.js +1 -1
  284. package/lib/duet/{p-51e3af7b.system.entry.js → p-00035e73.system.entry.js} +1 -1
  285. package/lib/duet/{p-f42f7738.system.entry.js → p-0081e9cc.system.entry.js} +1 -1
  286. package/lib/duet/{p-84b95df0.system.entry.js → p-011fffe0.system.entry.js} +1 -1
  287. package/lib/duet/{p-c493cd2e.entry.js → p-0176f77a.entry.js} +1 -1
  288. package/lib/duet/{p-01e99d98.entry.js → p-040e28f6.entry.js} +1 -1
  289. package/lib/duet/{p-54c848f2.system.entry.js → p-05743cd3.system.entry.js} +1 -1
  290. package/lib/duet/{p-25048bf8.system.entry.js → p-09124c74.system.entry.js} +1 -1
  291. package/lib/duet/{p-7de614df.system.entry.js → p-0aaeda13.system.entry.js} +1 -1
  292. package/lib/duet/{p-ce6892d9.system.entry.js → p-0ad58c69.system.entry.js} +1 -1
  293. package/lib/duet/{p-15e24bf0.entry.js → p-0c4fb3b5.entry.js} +1 -1
  294. package/lib/duet/{p-4cb5943c.entry.js → p-0e1ef69e.entry.js} +1 -1
  295. package/lib/duet/{p-5383553b.entry.js → p-10b7bb7a.entry.js} +1 -1
  296. package/lib/duet/{p-e12b461b.entry.js → p-10e06174.entry.js} +1 -1
  297. package/lib/duet/{p-8a4ba903.system.entry.js → p-1202510c.system.entry.js} +1 -1
  298. package/lib/duet/{p-f52f44d6.system.entry.js → p-131966c2.system.entry.js} +1 -1
  299. package/lib/duet/{p-d5721f0d.system.entry.js → p-13a19719.system.entry.js} +1 -1
  300. package/lib/duet/{p-afc89c50.system.entry.js → p-142124b2.system.entry.js} +1 -1
  301. package/lib/duet/{p-5dd177d8.entry.js → p-15deb1d4.entry.js} +1 -1
  302. package/lib/duet/{p-70b705ad.entry.js → p-165d0b26.entry.js} +1 -1
  303. package/lib/duet/{p-f48deed8.entry.js → p-178ed588.entry.js} +1 -1
  304. package/lib/duet/{p-60fbf60b.system.entry.js → p-1acab3d9.system.entry.js} +1 -1
  305. package/lib/duet/{p-bd0e5e20.system.entry.js → p-1ae793a6.system.entry.js} +1 -1
  306. package/lib/duet/{p-da0e9110.system.entry.js → p-1cb306c5.system.entry.js} +1 -1
  307. package/lib/duet/{p-050ffaf5.entry.js → p-1e541353.entry.js} +1 -1
  308. package/lib/duet/{p-40375e30.entry.js → p-1ff43531.entry.js} +1 -1
  309. package/lib/duet/{p-166ee660.system.entry.js → p-21206c75.system.entry.js} +1 -1
  310. package/lib/duet/{p-ee4075c2.entry.js → p-22f07cc3.entry.js} +1 -1
  311. package/lib/duet/{p-1bc74805.system.entry.js → p-27183888.system.entry.js} +1 -1
  312. package/lib/duet/{p-bca7ed02.system.entry.js → p-2904f896.system.entry.js} +1 -1
  313. package/lib/duet/{p-d72b94d2.system.entry.js → p-29bc3c02.system.entry.js} +1 -1
  314. package/lib/duet/{p-fa72c79b.system.entry.js → p-2e7d3144.system.entry.js} +1 -1
  315. package/lib/duet/{p-e4595aa7.system.entry.js → p-2f762fb3.system.entry.js} +1 -1
  316. package/lib/duet/{p-64afb6ad.system.entry.js → p-31add5c9.system.entry.js} +1 -1
  317. package/lib/duet/{p-6a1bd4d9.entry.js → p-33ce8509.entry.js} +1 -1
  318. package/lib/duet/{p-60f12cac.system.entry.js → p-358235ff.system.entry.js} +1 -1
  319. package/lib/duet/{p-257800b7.system.entry.js → p-3a112577.system.entry.js} +1 -1
  320. package/lib/duet/{p-d624e990.js → p-3add1161.js} +1 -1
  321. package/lib/duet/{p-ce01f793.system.entry.js → p-3ba657dc.system.entry.js} +1 -1
  322. package/lib/duet/{p-427b81f9.entry.js → p-3c99eda8.entry.js} +1 -1
  323. package/lib/duet/{p-a5981a39.entry.js → p-3dfa5d3d.entry.js} +1 -1
  324. package/lib/duet/{p-ec2e1d5e.entry.js → p-3e7f45ff.entry.js} +1 -1
  325. package/lib/duet/{p-3f5a19f5.entry.js → p-3f798c3c.entry.js} +1 -1
  326. package/lib/duet/{p-ee4af632.entry.js → p-3f7fbc1e.entry.js} +1 -1
  327. package/lib/duet/{p-805a3314.entry.js → p-3f8f502e.entry.js} +1 -1
  328. package/lib/duet/{p-f2279e1e.entry.js → p-3f907346.entry.js} +1 -1
  329. package/lib/duet/{p-6e3a7d3f.system.entry.js → p-406b8c7b.system.entry.js} +1 -1
  330. package/lib/duet/{p-1fc21d0d.system.entry.js → p-408e106d.system.entry.js} +1 -1
  331. package/lib/duet/{p-1f8ae410.entry.js → p-42bd1c5f.entry.js} +1 -1
  332. package/lib/duet/{p-aaf99cb9.entry.js → p-436f5706.entry.js} +1 -1
  333. package/lib/duet/{p-fa311641.system.entry.js → p-44b751db.system.entry.js} +1 -1
  334. package/lib/duet/{p-aedb1d02.entry.js → p-4875b405.entry.js} +1 -1
  335. package/lib/duet/{p-025cfc0c.entry.js → p-48ad73dd.entry.js} +1 -1
  336. package/lib/duet/{p-08379332.entry.js → p-48f1d953.entry.js} +1 -1
  337. package/lib/duet/{p-23cecf9f.entry.js → p-4b6c159b.entry.js} +1 -1
  338. package/lib/duet/{p-21f4713b.system.entry.js → p-4c45eaf2.system.entry.js} +1 -1
  339. package/lib/duet/{p-49add367.entry.js → p-4f657376.entry.js} +1 -1
  340. package/lib/duet/{p-787520f2.entry.js → p-506c6579.entry.js} +1 -1
  341. package/lib/duet/{p-a476a851.system.entry.js → p-50b5b0de.system.entry.js} +1 -1
  342. package/lib/duet/{p-a3e90064.system.entry.js → p-51d7c128.system.entry.js} +1 -1
  343. package/lib/duet/{p-67958acc.system.entry.js → p-520c2a43.system.entry.js} +2 -2
  344. package/lib/duet/{p-413838af.entry.js → p-52746bee.entry.js} +1 -1
  345. package/lib/duet/{p-7203b196.system.entry.js → p-541ce554.system.entry.js} +1 -1
  346. package/lib/duet/p-5646ba3e.system.entry.js +4 -0
  347. package/lib/duet/{p-b2bd0b07.entry.js → p-56f9b9ae.entry.js} +1 -1
  348. package/lib/duet/{p-ce69866c.entry.js → p-586b653b.entry.js} +1 -1
  349. package/lib/duet/{p-dd95c9fb.system.entry.js → p-59c57b3f.system.entry.js} +1 -1
  350. package/lib/duet/{p-52fb459a.system.entry.js → p-5ae98754.system.entry.js} +1 -1
  351. package/lib/duet/{p-08efced6.entry.js → p-5c0875c6.entry.js} +1 -1
  352. package/lib/duet/{p-7f7a7a71.entry.js → p-5c8c2bfa.entry.js} +1 -1
  353. package/lib/duet/{p-9180b8be.entry.js → p-5dd144b7.entry.js} +1 -1
  354. package/lib/duet/{p-c30b6ad6.system.entry.js → p-5e0efc8d.system.entry.js} +1 -1
  355. package/lib/duet/{p-690a8348.system.entry.js → p-5e89fbc0.system.entry.js} +1 -1
  356. package/lib/duet/{p-9644775c.system.js → p-5ffaa443.system.js} +1 -1
  357. package/lib/duet/{p-62512c7e.system.entry.js → p-6016389e.system.entry.js} +1 -1
  358. package/lib/duet/{p-fa3801ea.system.entry.js → p-6345e5b3.system.entry.js} +1 -1
  359. package/lib/duet/{p-bba9682d.system.entry.js → p-66499aef.system.entry.js} +1 -1
  360. package/lib/duet/{p-2f966c7e.entry.js → p-666529e7.entry.js} +1 -1
  361. package/lib/duet/{p-43887017.system.js → p-66970e56.system.js} +1 -1
  362. package/lib/duet/{p-ffab115e.entry.js → p-6abcbe7b.entry.js} +1 -1
  363. package/lib/duet/p-6b56757e.system.entry.js +4 -0
  364. package/lib/duet/{p-9b4a8098.system.entry.js → p-6c169c2b.system.entry.js} +1 -1
  365. package/lib/duet/{p-ff4969cc.entry.js → p-6cb486a0.entry.js} +1 -1
  366. package/lib/duet/{p-4d959a3f.system.entry.js → p-6faa8f52.system.entry.js} +1 -1
  367. package/lib/duet/{p-96ca57c0.entry.js → p-6fee4508.entry.js} +1 -1
  368. package/lib/duet/{p-1ab80c29.system.entry.js → p-70d31599.system.entry.js} +1 -1
  369. package/lib/duet/{p-9540e0a7.system.entry.js → p-73b1c053.system.entry.js} +1 -1
  370. package/lib/duet/{p-49a25bf5.entry.js → p-75b7a5cc.entry.js} +1 -1
  371. package/lib/duet/{p-de6e4f28.system.entry.js → p-7740f52d.system.entry.js} +1 -1
  372. package/lib/duet/{p-427eec46.system.entry.js → p-7a0d1b1d.system.entry.js} +1 -1
  373. package/lib/duet/{p-907787c5.system.entry.js → p-7a99b81e.system.entry.js} +1 -1
  374. package/lib/duet/{p-df345202.entry.js → p-7aa66c0d.entry.js} +1 -1
  375. package/lib/duet/{p-7bc20355.entry.js → p-7b0383ef.entry.js} +1 -1
  376. package/lib/duet/p-7d0e5e04.entry.js +4 -0
  377. package/lib/duet/{p-dc133655.entry.js → p-7e7d7e2a.entry.js} +1 -1
  378. package/lib/duet/{p-cc18e40b.system.entry.js → p-7e82df08.system.entry.js} +1 -1
  379. package/lib/duet/{p-33e25171.system.entry.js → p-7f3874bd.system.entry.js} +1 -1
  380. package/lib/duet/{p-a0954730.system.entry.js → p-7f692a32.system.entry.js} +1 -1
  381. package/lib/duet/{p-cc78a011.entry.js → p-824ffa69.entry.js} +1 -1
  382. package/lib/duet/{p-0778ccde.system.entry.js → p-85d9c410.system.entry.js} +1 -1
  383. package/lib/duet/{p-be4b69a8.system.entry.js → p-85e58a63.system.entry.js} +1 -1
  384. package/lib/duet/{p-c12d34fd.system.entry.js → p-87d9c908.system.entry.js} +1 -1
  385. package/lib/duet/{p-f1b5656c.entry.js → p-8827bd50.entry.js} +1 -1
  386. package/lib/duet/{p-622f89ff.entry.js → p-88f4f75a.entry.js} +1 -1
  387. package/lib/duet/{p-c0793903.entry.js → p-8cf2df1e.entry.js} +1 -1
  388. package/lib/duet/{p-a5bb0b7f.entry.js → p-8d391c0a.entry.js} +1 -1
  389. package/lib/duet/{p-40a7a9b0.system.entry.js → p-8dd2d2eb.system.entry.js} +1 -1
  390. package/lib/duet/{p-032e2711.entry.js → p-8eeb708e.entry.js} +1 -1
  391. package/lib/duet/{p-547bba59.entry.js → p-9328bd91.entry.js} +1 -1
  392. package/lib/duet/{p-b5595969.entry.js → p-938a8293.entry.js} +1 -1
  393. package/lib/duet/{p-8f7c7961.entry.js → p-94971206.entry.js} +1 -1
  394. package/lib/duet/p-996702da.system.js +4 -0
  395. package/lib/duet/{p-c3bda242.system.entry.js → p-99e5e103.system.entry.js} +1 -1
  396. package/lib/duet/{p-82d1fd63.system.entry.js → p-9acdb7c6.system.entry.js} +1 -1
  397. package/lib/duet/{p-71900b7d.entry.js → p-a0fff4ab.entry.js} +1 -1
  398. package/lib/duet/{p-31ad4690.system.entry.js → p-a2213fad.system.entry.js} +1 -1
  399. package/lib/duet/{p-d067ebb8.entry.js → p-a2ddc388.entry.js} +1 -1
  400. package/lib/duet/{p-6623f965.entry.js → p-a42de2c8.entry.js} +1 -1
  401. package/lib/duet/{p-20914caa.entry.js → p-a479570d.entry.js} +1 -1
  402. package/lib/duet/{p-d1d79e0c.entry.js → p-a6a5cd0d.entry.js} +1 -1
  403. package/lib/duet/{p-91677c21.entry.js → p-a7b80def.entry.js} +1 -1
  404. package/lib/duet/{p-c2c2e797.entry.js → p-a90963f2.entry.js} +1 -1
  405. package/lib/duet/{p-6d4c6665.system.entry.js → p-ad842721.system.entry.js} +1 -1
  406. package/lib/duet/{p-b781e27f.system.entry.js → p-adc701d3.system.entry.js} +1 -1
  407. package/lib/duet/p-afd2b7f1.entry.js +4 -0
  408. package/lib/duet/{p-27363096.system.entry.js → p-b32b138c.system.entry.js} +1 -1
  409. package/lib/duet/{p-9065a864.entry.js → p-b342036c.entry.js} +1 -1
  410. package/lib/duet/{p-0b7eacfc.system.entry.js → p-b417c57c.system.entry.js} +2 -2
  411. package/lib/duet/{p-f07cbc38.entry.js → p-b454e119.entry.js} +1 -1
  412. package/lib/duet/{p-2084a65f.entry.js → p-b6897920.entry.js} +1 -1
  413. package/lib/duet/{p-4c9725a9.entry.js → p-b7a1d923.entry.js} +1 -1
  414. package/lib/duet/{p-4605197f.entry.js → p-b7cae73a.entry.js} +1 -1
  415. package/lib/duet/{p-436fcaf7.entry.js → p-bbc72076.entry.js} +1 -1
  416. package/lib/duet/{p-5e59c38c.system.entry.js → p-bc3cc227.system.entry.js} +1 -1
  417. package/lib/duet/{p-1af72e95.entry.js → p-bc60fa58.entry.js} +1 -1
  418. package/lib/duet/{p-f252a415.entry.js → p-bd650916.entry.js} +1 -1
  419. package/lib/duet/{p-6f24a09e.entry.js → p-bebc0345.entry.js} +1 -1
  420. package/lib/duet/{p-2faba2ba.entry.js → p-c13b73ce.entry.js} +1 -1
  421. package/lib/duet/{p-2208faac.system.entry.js → p-c31a9505.system.entry.js} +1 -1
  422. package/lib/duet/{p-b3c41b77.system.entry.js → p-c40c350d.system.entry.js} +1 -1
  423. package/lib/duet/{p-4dfb4bf2.entry.js → p-c4539805.entry.js} +1 -1
  424. package/lib/duet/{p-080d1309.system.entry.js → p-c63faa6c.system.entry.js} +1 -1
  425. package/lib/duet/{p-b3774ea3.entry.js → p-c755eb91.entry.js} +1 -1
  426. package/lib/duet/{p-b1985704.entry.js → p-c9c6b3cb.entry.js} +1 -1
  427. package/lib/duet/{p-51adcace.system.entry.js → p-cb40eace.system.entry.js} +1 -1
  428. package/lib/duet/{p-af751e6f.entry.js → p-d6ae391a.entry.js} +1 -1
  429. package/lib/duet/{p-98ffa852.system.entry.js → p-d8cef4da.system.entry.js} +1 -1
  430. package/lib/duet/{p-6eab3859.system.entry.js → p-d95d5454.system.entry.js} +1 -1
  431. package/lib/duet/{p-43d4b538.system.entry.js → p-dce0a876.system.entry.js} +1 -1
  432. package/lib/duet/{p-0bd322cf.system.entry.js → p-de6a45f8.system.entry.js} +1 -1
  433. package/lib/duet/{p-49f79189.system.entry.js → p-dfd1ab31.system.entry.js} +1 -1
  434. package/lib/duet/{p-76a419f1.system.entry.js → p-e08d2854.system.entry.js} +1 -1
  435. package/lib/duet/{p-a7e9bc31.system.entry.js → p-e1cc5bd7.system.entry.js} +1 -1
  436. package/lib/duet/{p-de5054b6.system.entry.js → p-e2265b53.system.entry.js} +1 -1
  437. package/lib/duet/{p-83e9058b.js → p-e2d05479.js} +1 -1
  438. package/lib/duet/{p-c5f48c1c.system.entry.js → p-e44854e3.system.entry.js} +1 -1
  439. package/lib/duet/{p-e333b9fc.system.entry.js → p-e4af4d67.system.entry.js} +1 -1
  440. package/lib/duet/{p-26c5cd6f.entry.js → p-e630e96a.entry.js} +1 -1
  441. package/lib/duet/{p-5063685a.entry.js → p-e9aa4934.entry.js} +1 -1
  442. package/lib/duet/{p-62c34a4d.system.entry.js → p-eb6b85ab.system.entry.js} +1 -1
  443. package/lib/duet/{p-e7d32eaa.entry.js → p-ee604f8c.entry.js} +1 -1
  444. package/lib/duet/{p-9ad40682.entry.js → p-ef2575b8.entry.js} +1 -1
  445. package/lib/duet/{p-a64b72f5.entry.js → p-efb1ed37.entry.js} +1 -1
  446. package/lib/duet/p-f0085bde.entry.js +4 -0
  447. package/lib/duet/{p-85d58c2d.system.entry.js → p-f2549ac7.system.entry.js} +1 -1
  448. package/lib/duet/{p-c94f3167.system.entry.js → p-f6f03ed2.system.entry.js} +1 -1
  449. package/lib/duet/{p-53c64c6f.entry.js → p-f859ee68.entry.js} +1 -1
  450. package/lib/duet/{p-f0209c14.system.entry.js → p-f8e14dfe.system.entry.js} +2 -2
  451. package/lib/esm/duet-action-button.entry.js +1 -1
  452. package/lib/esm/duet-alert.entry.js +1 -1
  453. package/lib/esm/duet-badge.entry.js +1 -1
  454. package/lib/esm/duet-banner.entry.js +1 -1
  455. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  456. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  457. package/lib/esm/duet-button_2.entry.js +1 -1
  458. package/lib/esm/duet-callout.entry.js +1 -1
  459. package/lib/esm/duet-caption_4.entry.js +5 -2
  460. package/lib/esm/duet-card.entry.js +1 -1
  461. package/lib/esm/duet-checkbox.entry.js +1 -1
  462. package/lib/esm/duet-checkmark.entry.js +1 -1
  463. package/lib/esm/duet-chip.entry.js +1 -1
  464. package/lib/esm/duet-choice_2.entry.js +1 -1
  465. package/lib/esm/duet-collapsible.entry.js +1 -1
  466. package/lib/esm/duet-combobox.entry.js +1 -1
  467. package/lib/esm/duet-contact-card.entry.js +1 -1
  468. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  469. package/lib/esm/duet-date-picker.entry.js +2 -2
  470. package/lib/esm/duet-divider_2.entry.js +1 -1
  471. package/lib/esm/duet-editable-table_3.entry.js +1 -1
  472. package/lib/esm/duet-empty-state.entry.js +1 -1
  473. package/lib/esm/duet-fieldset.entry.js +1 -1
  474. package/lib/esm/duet-file-chooser.entry.js +1 -1
  475. package/lib/esm/duet-footer.entry.js +18 -17
  476. package/lib/esm/duet-grid_2.entry.js +1 -1
  477. package/lib/esm/duet-header_2.entry.js +1 -1
  478. package/lib/esm/duet-hero.entry.js +1 -1
  479. package/lib/esm/duet-icon.entry.js +1 -1
  480. package/lib/esm/duet-input_2.entry.js +1 -1
  481. package/lib/esm/duet-layout.entry.js +1 -1
  482. package/lib/esm/duet-list_2.entry.js +1 -1
  483. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  484. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  485. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  486. package/lib/esm/duet-menu-bar-item.entry.js +1 -1
  487. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  488. package/lib/esm/duet-menu-bar.entry.js +1 -1
  489. package/lib/esm/duet-modal.entry.js +2 -2
  490. package/lib/esm/duet-multiselect.entry.js +33 -6
  491. package/lib/esm/duet-nav.entry.js +1 -1
  492. package/lib/esm/duet-notification_2.entry.js +1 -1
  493. package/lib/esm/duet-number-input.entry.js +1 -1
  494. package/lib/esm/duet-overlay.entry.js +1 -1
  495. package/lib/esm/duet-page-heading.entry.js +1 -1
  496. package/lib/esm/duet-pagination_2.entry.js +1 -1
  497. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  498. package/lib/esm/duet-popup-menu.entry.js +2 -2
  499. package/lib/esm/duet-progress.entry.js +1 -1
  500. package/lib/esm/duet-promo-card.entry.js +1 -1
  501. package/lib/esm/duet-radio_2.entry.js +1 -1
  502. package/lib/esm/duet-range-slider.entry.js +1 -1
  503. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  504. package/lib/esm/duet-section-layout.entry.js +1 -1
  505. package/lib/esm/duet-select.entry.js +1 -1
  506. package/lib/esm/duet-shaped-image.entry.js +1 -1
  507. package/lib/esm/duet-show-more.entry.js +1 -1
  508. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  509. package/lib/esm/duet-slideout-link.entry.js +1 -1
  510. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  511. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  512. package/lib/esm/duet-slideout.entry.js +2 -2
  513. package/lib/esm/duet-step_2.entry.js +1 -1
  514. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  515. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  516. package/lib/esm/duet-submenu-bar-item.entry.js +1 -1
  517. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  518. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  519. package/lib/esm/duet-textarea.entry.js +1 -1
  520. package/lib/esm/duet-toggle.entry.js +1 -1
  521. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  522. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  523. package/lib/esm/duet-toolbar-item.entry.js +1 -1
  524. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  525. package/lib/esm/duet-toolbar.entry.js +1 -1
  526. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  527. package/lib/esm/duet-tooltip.entry.js +1 -1
  528. package/lib/esm/duet-tray.entry.js +1 -1
  529. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  530. package/lib/esm/duet-upload-item.entry.js +1 -1
  531. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  532. package/lib/esm/duet.js +3 -3
  533. package/lib/esm/{focus-utils-ef611bf3.js → focus-utils-707070f5.js} +1 -1
  534. package/lib/esm/{index-356c0666.js → index-b7e7a6a1.js} +1 -1
  535. package/lib/esm/loader.js +3 -3
  536. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  537. package/lib/esm-es5/duet-alert.entry.js +1 -1
  538. package/lib/esm-es5/duet-badge.entry.js +1 -1
  539. package/lib/esm-es5/duet-banner.entry.js +1 -1
  540. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  541. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  542. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  543. package/lib/esm-es5/duet-callout.entry.js +1 -1
  544. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  545. package/lib/esm-es5/duet-card.entry.js +1 -1
  546. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  547. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  548. package/lib/esm-es5/duet-chip.entry.js +1 -1
  549. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  550. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  551. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  552. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  553. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  554. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  555. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  556. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  557. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  558. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  559. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  560. package/lib/esm-es5/duet-footer.entry.js +2 -2
  561. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  562. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  563. package/lib/esm-es5/duet-hero.entry.js +1 -1
  564. package/lib/esm-es5/duet-icon.entry.js +1 -1
  565. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  566. package/lib/esm-es5/duet-layout.entry.js +1 -1
  567. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  568. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  569. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  570. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  571. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  572. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  573. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  574. package/lib/esm-es5/duet-modal.entry.js +1 -1
  575. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  576. package/lib/esm-es5/duet-nav.entry.js +1 -1
  577. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  578. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  579. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  580. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  581. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  582. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  583. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  584. package/lib/esm-es5/duet-progress.entry.js +1 -1
  585. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  586. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  587. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  588. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  589. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  590. package/lib/esm-es5/duet-select.entry.js +1 -1
  591. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  592. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  593. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  594. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  595. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  596. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  597. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  598. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  599. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  600. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  601. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  602. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  603. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  604. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  605. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  606. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  607. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  608. package/lib/esm-es5/duet-toolbar-item.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-button_2.entry.js +1 -1
  612. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  613. package/lib/esm-es5/duet-tray.entry.js +1 -1
  614. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  615. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  616. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  617. package/lib/esm-es5/duet.js +1 -1
  618. package/lib/esm-es5/focus-utils-707070f5.js +4 -0
  619. package/lib/esm-es5/{index-356c0666.js → index-b7e7a6a1.js} +1 -1
  620. package/lib/esm-es5/loader.js +1 -1
  621. package/lib/types/components/duet-footer/duet-footer.d.ts +5 -9
  622. package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +11 -1
  623. package/lib/types/components.d.ts +10 -6
  624. package/package.json +4 -4
  625. package/lib/cjs/action-new-window-50c8aed0.js +0 -11
  626. package/lib/dist-custom-elements/p-8855e26a.js +0 -8
  627. package/lib/duet/p-00685523.entry.js +0 -4
  628. package/lib/duet/p-283d802c.entry.js +0 -4
  629. package/lib/duet/p-2ae2e883.system.entry.js +0 -4
  630. package/lib/duet/p-6151635f.system.js +0 -4
  631. package/lib/duet/p-67382632.entry.js +0 -4
  632. package/lib/duet/p-8855e26a.js +0 -4
  633. package/lib/duet/p-a46b4450.system.js +0 -4
  634. package/lib/duet/p-caf153e4.system.entry.js +0 -4
  635. package/lib/esm/action-new-window-9c8f7830.js +0 -8
  636. package/lib/esm-es5/action-new-window-9c8f7830.js +0 -4
  637. package/lib/esm-es5/focus-utils-ef611bf3.js +0 -4
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,i,e,n){function a(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,s){function r(t){try{u(n.next(t))}catch(t){s(t)}}function o(t){try{u(n["throw"](t))}catch(t){s(t)}}function u(t){t.done?e(t.value):a(t.value).then(r,o)}u((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,r;return r={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(i){return u([t,i])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,o[0]&&(e=0)),e)try{if(n=1,a&&(s=o[0]&2?a["return"]:o[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,o[1])).done)return s;if(a=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;a=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){e.label=o[1];break}if(o[0]===6&&e.label<s[1]){e.label=s[1];s=o;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(o);break}if(s[2])e.ops.pop();e.trys.pop();continue}o=i.call(t,e)}catch(t){o=[6,t];a=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-9644775c.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-34d7dd10.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js","./p-c1445714.system.js","./p-c86d6786.system.js"],(function(t){"use strict";var i,e,n,a,s,r,o,u,h,l,c,d,p,f,g,m,b,v,y,_,w,k,x;return{setters:[function(t){i=t.r;e=t.c;n=t.h;a=t.F;s=t.H;r=t.g},function(t){o=t.i},function(t){u=t.c},function(t){h=t.d},function(t){l=t.k;c=t.l;d=t.d;p=t.b;f=t.a;g=t.c;m=t.m;b=t.n},function(t){v=t.g;y=t.c;_=t.d},function(t){w=t.p},function(t){k=t.b;x=t.a},function(){}],execute:function(){var S=function(t,i,e){if(t*2>i/e){return false}return true};var j='*,*::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}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{margin: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:1rem;font-weight:600 !important;line-height:1.25;color:rgb(0, 41, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{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)}';var M=t("duet_pagination",function(){function t(t){var n=this;i(this,t);this.duetPageChange=e(this,"duetPageChange",3);this.listId=u("duet-pagination-list");this.firstRenderDone=false;this.handleMediaQueryChange=function(t){n.matchesCompactBreakpoint=k.includes(n.compactBreakpoint)?t.matches:!t.matches};this.actionChain=function(t,i){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:if(!(t===0))return[3,1];this.current=1;return[3,4];case 1:if(!(t>this.totalPages))return[3,2];this.current=this.totalPages;return[3,4];case 2:if(!(i!==t))return[3,4];e=Math.ceil(t/this.visibleItems)-1;if(!(e!==this.internalSectionIndex))return[3,4];this.internalSectionIndex=e;return[4,this.setFocus()];case 3:n.sent();n.label=4;case 4:return[2,true]}}))}))};this.emitPageEvent=function(t,i){var e=Number(i||n.current);n.duetPageChange.emit({component:"duet-pagination",from:e*n.take,to:e*n.take+n.take,current:e,take:n.take,type:"page",originalEvent:t})};this.getEnteredNumber=h((function(t){n.emitPageEvent(t,n.numbersStore);n.current=Number(n.numbersStore);n.numbersStore="";n.duetPageChange.emit({component:"duet-pagination",from:n.current*n.take,to:n.current*n.take+n.take,current:n.current,take:n.take,type:"jump",originalEvent:t})}),500);this.processedPageLinks=null;this.numbersStore="";this.matchesCompactBreakpoint=false;this.totalPages=10;this.internalSectionIndex=0;this.theme="";this.disabled=false;this.variation="default";this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;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",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, 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",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, 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",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, 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.compactBreakpoint="x-small";this.ariaControls="";this.current=1;this.pageLinks=undefined}t.prototype.watchPropTotalHandler=function(){this.calculatePageTake();return true};t.prototype.watchStateHandler=function(t,i){return this.actionChain(t,i)};t.prototype.componentWillLoad=function(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1;this.calculatePageTake();o(this);this.refresh()};t.prototype.componentDidLoad=function(){this.firstRenderDone=true};t.prototype.componentWillRender=function(){if(this.internalSectionIndex!==0&&this.internalSectionIndex!==this.totalPages){this.calculatePageTake()}};t.prototype.componentDidRender=function(){if(this.firstRenderDone&&!this.processedPageLinks){this.setFocus()}};t.prototype.connectedCallback=function(){var t=this.compactBreakpoint==="none"?"all":x[this.compactBreakpoint];this.mq=matchMedia(t);this.mq.addEventListener("change",h(this.handleMediaQueryChange,50));this.handleMediaQueryChange(this.mq);y(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){this.mq.removeEventListener("change",this.handleMediaQueryChange);this.mq=null;this.matchesCompactBreakpoint=false;_(this)};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedPageLinks=w(this.pageLinks);return[2]}))}))};t.prototype.calculatePageTake=function(){this.totalPages=Math.ceil(this.total/this.take)};t.prototype.onMouseHandler=function(t,i){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.disabled){return[2]}if(!this.processedPageLinks){t.preventDefault();t.stopPropagation();this.current=this.current+i}this.emitPageEvent(t);return[2]}))}))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){if(this.disabled){return[2]}i=this.current;if(d(t)||p(t)){i--}if(f(t)||g(t)){i++}if(l(t)){if(i<=this.totalPages){this.current=i;if(this.processedPageLinks){this.emitPageEvent(t,i-1);window.open(this.processedPageLinks[i-1],"_self","")}else{this.emitPageEvent(t)}}}if(c(t)&&this.shouldDisplayNavigation()){this.numbersStore=this.numbersStore+t.key;if(Number(this.numbersStore)>this.totalPages){this.numbersStore=this.totalPages+""}this.getEnteredNumber(t)}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(e){switch(e.label){case 0:t=this.nativeNav.querySelector("[data-id='".concat(this.current,"']"));i=t;if(!i)return[3,2];return[4,t.setFocus()];case 1:i=e.sent();e.label=2;case 2:i;return[2]}}))}))};t.prototype.pageClickHandler=function(t){var i=Number(t.target.getAttribute("data-id"));if(!this.processedPageLinks){t.preventDefault();this.current=i}this.emitPageEvent(t,i)};t.prototype.selectClickHandler=function(t){t.preventDefault();var i=Number(t.target.value);this.current=i;if(this.processedPageLinks){this.emitPageEvent(t,i-1);window.open(this.processedPageLinks[i-1],"_self","")}else{this.emitPageEvent(t,i)}};t.prototype.sectionClickHandler=function(t,i){t.preventDefault();var e=this.internalSectionIndex+i;var n=this.take*this.visibleItems;if(e*n>this.total){e=this.internalSectionIndex}var a=e;this.internalSectionIndex=a>=0?a:0};t.prototype.jumpToStart=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=0;this.current=1}this.emitPageEvent(t)};t.prototype.jumpToEnd=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1);this.current=this.totalPages}this.emitPageEvent(t)};t.prototype.renderPageButton=function(t){var i=this;return n("duet-button",{disabled:this.disabled,class:{"duet-pagination-link":true},id:"page-".concat(t,"-button"),color:t!==this.current?this.theme!=="turva"?"secondary":"secondary-turva":this.theme!=="turva"?"primary":"primary-turva","data-id":t,"center-text":true,variation:"plain",margin:"none",accessibleLabel:"".concat(this.accessibleLabels.go_to," ").concat(t),onClick:function(t){return i.pageClickHandler(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:undefined},n("div",{class:"duet-pagination-page-number","aria-hidden":true},t))};t.prototype.renderPageNumbers=function(){var t=[];var i=this.internalSectionIndex*this.visibleItems;do{i++;if(i>this.totalPages){break}t.push(n("li",{class:{"duet-pagination-item":true,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},this.renderPageButton(i)))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t};t.prototype.renderSelect=function(){var t=this;var i=[];for(var e=1;e<=this.totalPages;e++){i.push({value:e.toString(),label:e.toString()})}var a=n("duet-select",{disabled:this.disabled,theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(i),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}","".concat(this.totalPages)),labelHidden:true,onDuetChange:function(i){return t.selectClickHandler(i)}});return n("li",null,a,n("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))};t.prototype.shouldDisplayNavigation=function(){if(this.variation!=="compact"&&!this.matchesCompactBreakpoint){return S(this.visibleItems,this.total,this.take)}return false};t.prototype.render=function(){var t;var i=this;return n(s,{onKeyDown:function(t){return i.onKeyboardDown(t)},class:{"duet-theme-turva":this.theme==="turva"}},n("nav",{role:"navigation","aria-labelledby":this.accessibleLabelledBy?"".concat(this.accessibleLabelledBy," ").concat(this.listId):this.listId,"aria-describedby":this.accessibleDescribedBy?"".concat(this.accessibleDescribedBy," ").concat(this.listId):this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:function(t){return i.nativeNav=t},"aria-controls":this.ariaControls,class:(t={"duet-pagination-nav":true},t["duet-pagination-variation-".concat(this.variation)]=true,t)},this.numbersStore!==""&&n("div",{"aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":"".concat(this.accessibleLabels.jump_to," ").concat(this.numbersStore),part:"navigation-overlay"},n("duet-badge",{theme:this.theme},"jump to page : ",this.numbersStore)),n("ol",{id:this.listId,class:{"duet-pagination":true,"duet-pagination-is-dimmed":this.numbersStore!==""},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.internalSectionIndex===0&&this.current<=1||this.disabled,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:function(t){return i.jumpToStart(t)},"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined})),n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:!!(this.internalSectionIndex===0&&this.current<=1||this.current<=1&&this.processedPageLinks||this.disabled),"data-direction":"back",onClick:function(t){return i.onMouseHandler(t,-1)},"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:undefined})),this.internalSectionIndex!==0&&this.shouldDisplayNavigation()&&n(a,null,n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:this.theme!=="turva"?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:function(t){return i.jumpToStart(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined},n("div",{class:"duet-pagination-page-number"},"1"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return i.sectionClickHandler(t,-1)},theme:this.theme},n("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&n(a,null,(this.internalSectionIndex+1)*this.visibleItems!==this.totalPages-1&&n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return i.sectionClickHandler(t,1)},theme:this.theme},n("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:function(t){return i.jumpToEnd(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:undefined},n("div",{class:"duet-pagination-page-number"},this.totalPages)))),n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks)||this.disabled,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:function(t){return i.onMouseHandler(t,1)},"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:undefined})),(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.disabled,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:function(t){return i.jumpToEnd(t)},"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:undefined})))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}},enumerable:false,configurable:true});return t}());M.style=j;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: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}";var N=t("duet_range_stepper",function(){function t(t){var n=this;i(this,t);this.duetRangeStepUpdate=e(this,"duetRangeStepUpdate",7);this.leftBn=u("duetRangeStepper-left");this.rightBn=u("duetRangeStepper-right");this.handleClick=function(t,i){t.preventDefault();n.stepIndex+=i;n.clampStepIndex();n.handleStepClick(t)};this.theme="";this.disabled=false;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=""}t.prototype.watchStepIndexStateHandler=function(t){if(this.leftBnRef&&this.rightBnRef){if(t<=1){if(this.element===document.activeElement){this.rightBnRef.setFocus()}this.leftBnRef.setAttribute("disabled","")}else{this.leftBnRef.removeAttribute("disabled")}if(t>=this.total/this.stepSize){if(this.element===document.activeElement){this.leftBnRef.setFocus()}this.rightBnRef.setAttribute("disabled","")}else{this.rightBnRef.removeAttribute("disabled")}}};t.prototype.watchStepSizeStateHandler=function(t,i){if(t!==i){if(this.stepIndex*t>this.total){this.stepIndex=Math.ceil(this.total/t)}this.watchStepIndexStateHandler(this.stepIndex)}};t.prototype.handleStepClick=function(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})};t.prototype.componentWillLoad=function(){o(this);this.clampStepIndex()};t.prototype.componentDidLoad=function(){this.watchStepIndexStateHandler(this.stepIndex)};t.prototype.connectedCallback=function(){y(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})};t.prototype.disconnectedCallback=function(){_(this)};t.prototype.clampStepIndex=function(){if(this.stepIndex<1){this.stepIndex=1}else if(this.stepIndex*this.stepSize>this.total){this.stepIndex=Math.ceil(this.total/this.stepSize)}};t.prototype.getFrom=function(){return Math.floor((this.stepIndex-1)*this.stepSize)+1};t.prototype.getTo=function(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)};t.prototype.generateStepSize=function(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))};t.prototype.generatePreviousIncrementLabel=function(){if(this.getFrom()===1){return""}return this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))};t.prototype.generateNextIncrementLabel=function(){if(this.getTo()===this.total){return""}return this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e;return __generator(this,(function(n){if(this.disabled){return[2]}i=this.stepIndex;e=1;if(d(t)||p(t)||m(t)){i--;e=-1;this.leftBnRef.setFocus()}if(f(t)||g(t)||b(t)){i++;e=1}if(l(t)){if(i>0&&i*this.stepSize<=this.total){this.handleClick(t,e)}}return[2]}))}))};t.prototype.render=function(){var t=this;return n("div",{class:{"duet-range-stepper":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:function(i){return t.onKeyboardDown(i)},"aria-controls":this.ariaControls},n("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),n("duet-action-button",{disabled:this.disabled,class:"duet-range-step-button duet-range-step-minus",onClick:function(i){return t.handleClick(i,-1)},id:this.leftBn,"accessible-label":"".concat(this.ariaLabels.previous_increment," ").concat(this.generatePreviousIncrementLabel()),ref:function(i){return t.leftBnRef=i},part:"navigation-arrow",iconName:"action-arrow-left-small",title:""}),n("duet-action-button",{disabled:this.disabled,class:"duet-range-step-button duet-range-step-plus",onClick:function(i){return t.handleClick(i,1)},"accessible-label":"".concat(this.ariaLabels.next_increment," ").concat(this.generateNextIncrementLabel()),id:this.rightBn,ref:function(i){return t.rightBnRef=i},part:"navigation-arrow",iconName:"action-arrow-right-small",title:""}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}},enumerable:false,configurable:true});return t}());N.style=C}}}));
4
+ */System.register(["./p-5ffaa443.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-34d7dd10.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js","./p-c1445714.system.js","./p-c86d6786.system.js"],(function(t){"use strict";var i,e,n,a,s,r,o,u,h,l,c,d,p,f,g,m,b,v,y,_,w,k,x;return{setters:[function(t){i=t.r;e=t.c;n=t.h;a=t.F;s=t.H;r=t.g},function(t){o=t.i},function(t){u=t.c},function(t){h=t.d},function(t){l=t.k;c=t.l;d=t.d;p=t.b;f=t.a;g=t.c;m=t.m;b=t.n},function(t){v=t.g;y=t.c;_=t.d},function(t){w=t.p},function(t){k=t.b;x=t.a},function(){}],execute:function(){var S=function(t,i,e){if(t*2>i/e){return false}return true};var j='*,*::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}.duet-pagination .duet-pagination-select{margin:0 4px 0 12px !important}.duet-pagination-total-pages{margin: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:1rem;font-weight:600 !important;line-height:1.25;color:rgb(0, 41, 77);text-align:left}:host(.duet-theme-turva) .duet-pagination-total-pages{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)}';var M=t("duet_pagination",function(){function t(t){var n=this;i(this,t);this.duetPageChange=e(this,"duetPageChange",3);this.listId=u("duet-pagination-list");this.firstRenderDone=false;this.handleMediaQueryChange=function(t){n.matchesCompactBreakpoint=k.includes(n.compactBreakpoint)?t.matches:!t.matches};this.actionChain=function(t,i){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:if(!(t===0))return[3,1];this.current=1;return[3,4];case 1:if(!(t>this.totalPages))return[3,2];this.current=this.totalPages;return[3,4];case 2:if(!(i!==t))return[3,4];e=Math.ceil(t/this.visibleItems)-1;if(!(e!==this.internalSectionIndex))return[3,4];this.internalSectionIndex=e;return[4,this.setFocus()];case 3:n.sent();n.label=4;case 4:return[2,true]}}))}))};this.emitPageEvent=function(t,i){var e=Number(i||n.current);n.duetPageChange.emit({component:"duet-pagination",from:e*n.take,to:e*n.take+n.take,current:e,take:n.take,type:"page",originalEvent:t})};this.getEnteredNumber=h((function(t){n.emitPageEvent(t,n.numbersStore);n.current=Number(n.numbersStore);n.numbersStore="";n.duetPageChange.emit({component:"duet-pagination",from:n.current*n.take,to:n.current*n.take+n.take,current:n.current,take:n.take,type:"jump",originalEvent:t})}),500);this.processedPageLinks=null;this.numbersStore="";this.matchesCompactBreakpoint=false;this.totalPages=10;this.internalSectionIndex=0;this.theme="";this.disabled=false;this.variation="default";this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;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",pagination_label:"Pagination, choose a number to jump to a page",select_label:"Total pages {0}, 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",pagination_label:"Sivutus, valitse sivunumero siirtyäksesi sivulle",select_label:"Sivuja yhteensä {0}, 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",pagination_label:"Paginering, välj en siffra för att hoppa till en sida",select_label:"Totalt antal sidor {0}, 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.compactBreakpoint="x-small";this.ariaControls="";this.current=1;this.pageLinks=undefined}t.prototype.watchPropTotalHandler=function(){this.calculatePageTake();return true};t.prototype.watchStateHandler=function(t,i){return this.actionChain(t,i)};t.prototype.componentWillLoad=function(){this.internalSectionIndex=Math.ceil(this.current/this.visibleItems)-1;this.calculatePageTake();o(this);this.refresh()};t.prototype.componentDidLoad=function(){this.firstRenderDone=true};t.prototype.componentWillRender=function(){if(this.internalSectionIndex!==0&&this.internalSectionIndex!==this.totalPages){this.calculatePageTake()}};t.prototype.componentDidRender=function(){if(this.firstRenderDone&&!this.processedPageLinks){this.setFocus()}};t.prototype.connectedCallback=function(){var t=this.compactBreakpoint==="none"?"all":x[this.compactBreakpoint];this.mq=matchMedia(t);this.mq.addEventListener("change",h(this.handleMediaQueryChange,50));this.handleMediaQueryChange(this.mq);y(this,{prop:"accessibleLabels",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){this.mq.removeEventListener("change",this.handleMediaQueryChange);this.mq=null;this.matchesCompactBreakpoint=false;_(this)};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedPageLinks=w(this.pageLinks);return[2]}))}))};t.prototype.calculatePageTake=function(){this.totalPages=Math.ceil(this.total/this.take)};t.prototype.onMouseHandler=function(t,i){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.disabled){return[2]}if(!this.processedPageLinks){t.preventDefault();t.stopPropagation();this.current=this.current+i}this.emitPageEvent(t);return[2]}))}))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){if(this.disabled){return[2]}i=this.current;if(d(t)||p(t)){i--}if(f(t)||g(t)){i++}if(l(t)){if(i<=this.totalPages){this.current=i;if(this.processedPageLinks){this.emitPageEvent(t,i-1);window.open(this.processedPageLinks[i-1],"_self","")}else{this.emitPageEvent(t)}}}if(c(t)&&this.shouldDisplayNavigation()){this.numbersStore=this.numbersStore+t.key;if(Number(this.numbersStore)>this.totalPages){this.numbersStore=this.totalPages+""}this.getEnteredNumber(t)}return[2]}))}))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t,i;return __generator(this,(function(e){switch(e.label){case 0:t=this.nativeNav.querySelector("[data-id='".concat(this.current,"']"));i=t;if(!i)return[3,2];return[4,t.setFocus()];case 1:i=e.sent();e.label=2;case 2:i;return[2]}}))}))};t.prototype.pageClickHandler=function(t){var i=Number(t.target.getAttribute("data-id"));if(!this.processedPageLinks){t.preventDefault();this.current=i}this.emitPageEvent(t,i)};t.prototype.selectClickHandler=function(t){t.preventDefault();var i=Number(t.target.value);this.current=i;if(this.processedPageLinks){this.emitPageEvent(t,i-1);window.open(this.processedPageLinks[i-1],"_self","")}else{this.emitPageEvent(t,i)}};t.prototype.sectionClickHandler=function(t,i){t.preventDefault();var e=this.internalSectionIndex+i;var n=this.take*this.visibleItems;if(e*n>this.total){e=this.internalSectionIndex}var a=e;this.internalSectionIndex=a>=0?a:0};t.prototype.jumpToStart=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=0;this.current=1}this.emitPageEvent(t)};t.prototype.jumpToEnd=function(t){if(!this.processedPageLinks){t.preventDefault();this.internalSectionIndex=Math.ceil(this.totalPages/this.take-1);this.current=this.totalPages}this.emitPageEvent(t)};t.prototype.renderPageButton=function(t){var i=this;return n("duet-button",{disabled:this.disabled,class:{"duet-pagination-link":true},id:"page-".concat(t,"-button"),color:t!==this.current?this.theme!=="turva"?"secondary":"secondary-turva":this.theme!=="turva"?"primary":"primary-turva","data-id":t,"center-text":true,variation:"plain",margin:"none",accessibleLabel:"".concat(this.accessibleLabels.go_to," ").concat(t),onClick:function(t){return i.pageClickHandler(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[t-1]:undefined},n("div",{class:"duet-pagination-page-number","aria-hidden":true},t))};t.prototype.renderPageNumbers=function(){var t=[];var i=this.internalSectionIndex*this.visibleItems;do{i++;if(i>this.totalPages){break}t.push(n("li",{class:{"duet-pagination-item":true,"duet-pagination-item-is-active":i===this.current},role:"menuitem"},this.renderPageButton(i)))}while(i<this.visibleItems+this.internalSectionIndex*this.visibleItems);return t};t.prototype.renderSelect=function(){var t=this;var i=[];for(var e=1;e<=this.totalPages;e++){i.push({value:e.toString(),label:e.toString()})}var a=n("duet-select",{disabled:this.disabled,theme:this.theme,class:"duet-pagination-select",variation:"compact",items:JSON.stringify(i),value:this.current.toString(),label:this.accessibleLabels.select_label.replace("{0}","".concat(this.totalPages)),labelHidden:true,onDuetChange:function(i){return t.selectClickHandler(i)}});return n("li",null,a,n("span",{class:"duet-pagination-total-pages","aria-hidden":"true"},"/ ",this.totalPages))};t.prototype.shouldDisplayNavigation=function(){if(this.variation!=="compact"&&!this.matchesCompactBreakpoint){return S(this.visibleItems,this.total,this.take)}return false};t.prototype.render=function(){var t;var i=this;return n(s,{onKeyDown:function(t){return i.onKeyboardDown(t)},class:{"duet-theme-turva":this.theme==="turva"}},n("nav",{role:"navigation","aria-labelledby":this.accessibleLabelledBy?"".concat(this.accessibleLabelledBy," ").concat(this.listId):this.listId,"aria-describedby":this.accessibleDescribedBy?"".concat(this.accessibleDescribedBy," ").concat(this.listId):this.listId,"aria-descriptions":this.accessibleDescription,"aria-details":this.accessibleDetails,ref:function(t){return i.nativeNav=t},"aria-controls":this.ariaControls,class:(t={"duet-pagination-nav":true},t["duet-pagination-variation-".concat(this.variation)]=true,t)},this.numbersStore!==""&&n("div",{"aria-live":"assertive","aria-relevant":"text",class:"duet-pagination-overlay","aria-label":"".concat(this.accessibleLabels.jump_to," ").concat(this.numbersStore),part:"navigation-overlay"},n("duet-badge",{theme:this.theme},"jump to page : ",this.numbersStore)),n("ol",{id:this.listId,class:{"duet-pagination":true,"duet-pagination-is-dimmed":this.numbersStore!==""},role:"menubar","aria-label":this.accessibleLabels.pagination_label,"aria-description":this.accessibleLabels.description},(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.internalSectionIndex===0&&this.current<=1||this.disabled,"data-direction":"back",accessibleLabel:this.accessibleLabels.first_page,title:this.accessibleLabels.first_page,onClick:function(t){return i.jumpToStart(t)},"icon-name":"action-move-to-first",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined})),n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-first":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:!!(this.internalSectionIndex===0&&this.current<=1||this.current<=1&&this.processedPageLinks||this.disabled),"data-direction":"back",onClick:function(t){return i.onMouseHandler(t,-1)},"accessible-label":this.accessibleLabels.previous_page,title:this.accessibleLabels.previous_page,"icon-name":"action-arrow-left-small",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current-2]:undefined})),this.internalSectionIndex!==0&&this.shouldDisplayNavigation()&&n(a,null,n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-back","center-text":"true",variation:"plain",color:this.theme!=="turva"?"secondary":"secondary-turva",margin:"none",accessibleLabel:this.accessibleLabels.first_page,onClick:function(t){return i.jumpToStart(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[0]:undefined},n("div",{class:"duet-pagination-page-number"},"1"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-back","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.prev_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return i.sectionClickHandler(t,-1)},theme:this.theme},n("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…")))),this.shouldDisplayNavigation()&&this.renderPageNumbers()||this.renderSelect(),(this.internalSectionIndex+1)*this.visibleItems<this.totalPages&&this.shouldDisplayNavigation()&&n(a,null,(this.internalSectionIndex+1)*this.visibleItems!==this.totalPages-1&&n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-section"},n("duet-button",{disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-dots-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.next_section.replace("{0}","".concat(this.visibleItems)),onClick:function(t){return i.sectionClickHandler(t,1)},theme:this.theme},n("div",{class:"duet-pagination-page-number","aria-hidden":"true"},"…"))),n("li",{class:"duet-pagination-item",role:"menuitem",part:"navigation-jump"},n("duet-button",{disabled:this.disabled,class:"duet-pagination-link duet-pagination-link-jump-forward","center-text":"true",color:this.theme!=="turva"?"secondary":"secondary-turva",variation:"plain",margin:"none",accessibleLabel:this.accessibleLabels.last_page,onClick:function(t){return i.jumpToEnd(t)},theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.processedPageLinks.length-1]:undefined},n("div",{class:"duet-pagination-page-number"},this.totalPages)))),n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:!!(this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.current===this.totalPages&&this.processedPageLinks)||this.disabled,class:"duet-date-dialog-next","accessible-label":this.accessibleLabels.next_page,title:this.accessibleLabels.next_page,onClick:function(t){return i.onMouseHandler(t,1)},"icon-name":"action-move-to-next",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.current]:undefined})),(this.variation==="compact"||this.matchesCompactBreakpoint)&&n("li",{class:{"duet-pagination-page-button":true,"duet-pagination-button-last":true},role:"menuitem",part:"navigation-arrow"},n("duet-action-button",{disabled:this.current===this.totalPages&&this.internalSectionIndex===Math.ceil(this.totalPages/this.visibleItems)-1||this.disabled,accessibleLabel:this.accessibleLabels.last_page,title:this.accessibleLabels.last_page,onClick:function(t){return i.jumpToEnd(t)},"icon-name":"action-move-to-last",theme:this.theme,url:this.processedPageLinks?this.processedPageLinks[this.totalPages-1]:undefined})))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{total:["watchPropTotalHandler"],current:["watchStateHandler"],pageLinks:["refresh"]}},enumerable:false,configurable:true});return t}());M.style=j;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: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}";var N=t("duet_range_stepper",function(){function t(t){var n=this;i(this,t);this.duetRangeStepUpdate=e(this,"duetRangeStepUpdate",7);this.leftBn=u("duetRangeStepper-left");this.rightBn=u("duetRangeStepper-right");this.handleClick=function(t,i){t.preventDefault();n.stepIndex+=i;n.clampStepIndex();n.handleStepClick(t)};this.theme="";this.disabled=false;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=""}t.prototype.watchStepIndexStateHandler=function(t){if(this.leftBnRef&&this.rightBnRef){if(t<=1){if(this.element===document.activeElement){this.rightBnRef.setFocus()}this.leftBnRef.setAttribute("disabled","")}else{this.leftBnRef.removeAttribute("disabled")}if(t>=this.total/this.stepSize){if(this.element===document.activeElement){this.leftBnRef.setFocus()}this.rightBnRef.setAttribute("disabled","")}else{this.rightBnRef.removeAttribute("disabled")}}};t.prototype.watchStepSizeStateHandler=function(t,i){if(t!==i){if(this.stepIndex*t>this.total){this.stepIndex=Math.ceil(this.total/t)}this.watchStepIndexStateHandler(this.stepIndex)}};t.prototype.handleStepClick=function(t){this.duetRangeStepUpdate.emit({originalEvent:t,component:"duet-range-stepper",from:this.getFrom(),to:this.getTo(),index:this.stepIndex})};t.prototype.componentWillLoad=function(){o(this);this.clampStepIndex()};t.prototype.componentDidLoad=function(){this.watchStepIndexStateHandler(this.stepIndex)};t.prototype.connectedCallback=function(){y(this,{prop:"ariaLabels",defaults:"ariaLabelsDefaults"})};t.prototype.disconnectedCallback=function(){_(this)};t.prototype.clampStepIndex=function(){if(this.stepIndex<1){this.stepIndex=1}else if(this.stepIndex*this.stepSize>this.total){this.stepIndex=Math.ceil(this.total/this.stepSize)}};t.prototype.getFrom=function(){return Math.floor((this.stepIndex-1)*this.stepSize)+1};t.prototype.getTo=function(){return Math.min(Math.floor(this.stepIndex*this.stepSize),this.total)};t.prototype.generateStepSize=function(){return this.ariaLabels.x_of_y.replace("{0}",String(this.getFrom())).replace("{1}",String(this.getTo())).replace("{2}",String(this.total))};t.prototype.generatePreviousIncrementLabel=function(){if(this.getFrom()===1){return""}return this.ariaLabels.x_of_y.replace("{0}",String(Math.max(this.getFrom()-this.stepSize,1))).replace("{1}",String(Math.min(this.getFrom()-1,this.total))).replace("{2}",String(this.total))};t.prototype.generateNextIncrementLabel=function(){if(this.getTo()===this.total){return""}return this.ariaLabels.x_of_y.replace("{0}",String(this.getTo()+1)).replace("{1}",String(Math.min(this.getTo()+this.stepSize,this.total))).replace("{2}",String(this.total))};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e;return __generator(this,(function(n){if(this.disabled){return[2]}i=this.stepIndex;e=1;if(d(t)||p(t)||m(t)){i--;e=-1;this.leftBnRef.setFocus()}if(f(t)||g(t)||b(t)){i++;e=1}if(l(t)){if(i>0&&i*this.stepSize<=this.total){this.handleClick(t,e)}}return[2]}))}))};t.prototype.render=function(){var t=this;return n("div",{class:{"duet-range-stepper":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:function(i){return t.onKeyboardDown(i)},"aria-controls":this.ariaControls},n("span",{class:"duet-range-step-counter",part:"range-numbers"},this.generateStepSize()),n("duet-action-button",{disabled:this.disabled,class:"duet-range-step-button duet-range-step-minus",onClick:function(i){return t.handleClick(i,-1)},id:this.leftBn,"accessible-label":"".concat(this.ariaLabels.previous_increment," ").concat(this.generatePreviousIncrementLabel()),ref:function(i){return t.leftBnRef=i},part:"navigation-arrow",iconName:"action-arrow-left-small",title:""}),n("duet-action-button",{disabled:this.disabled,class:"duet-range-step-button duet-range-step-plus",onClick:function(i){return t.handleClick(i,1)},"accessible-label":"".concat(this.ariaLabels.next_increment," ").concat(this.generateNextIncrementLabel()),id:this.rightBn,ref:function(i){return t.rightBnRef=i},part:"navigation-arrow",iconName:"action-arrow-right-small",title:""}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{stepIndex:["watchStepIndexStateHandler"],stepSize:["watchStepSizeStateHandler"]}},enumerable:false,configurable:true});return t}());N.style=C}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function s(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(a,s)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return c([t,e])}}function c(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(r=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-9644775c.system.js","./p-50f4bca2.system.js","./p-ae21ad57.system.js","./p-c1445714.system.js","./p-c86d6786.system.js"],(function(t){"use strict";var e,n,r,o,i,a,s,c;return{setters:[function(t){e=t.r;n=t.h;r=t.H;o=t.g},function(t){i=t.i},function(t){a=t.h;s=t.c},function(t){c=t.g},function(){}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}';var p=t("duet_promo_card",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.backgroundColor="";this.textColor="secondary";this.image="";this.headingLevel="h3";this.url=undefined}t.prototype.componentWillLoad=function(){i(this);this.hasPreHeadingSlot=a(this.element,"pre-heading");this.hasHeadingSlot=a(this.element,"heading");this.hasDescriptionSlot=a(this.element,"description");this.hasActionSlot=a(this.element,"action");s(this.element,"heading","span");s(this.element,"description","span")};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.url&&this.aOrDivElement){this.aOrDivElement.focus(t)}return[2]}))}))};t.prototype.render=function(){var t=this;var e=c(this.backgroundColor,this.theme);var o={backgroundColor:e?e:"none"};var i=this.url?"a":"div";return n(r,{class:{"duet-m-0":this.margin==="none"}},n("aside",{class:{"duet-promo-card":true,"duet-theme-turva":this.theme==="turva","no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:o},n(i,{href:this.url,class:"content-wrapper",ref:function(e){return t.aOrDivElement=e}},n("img",{class:"image",src:this.image,alt:"",role:"presentation"}),n("div",{class:"content"},this.hasPreHeadingSlot&&n("div",{class:"pre-heading"},n("slot",{name:"pre-heading"})),this.hasHeadingSlot&&n("div",{class:"heading"},n("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},n("span",null,n("slot",{name:"heading"})))),this.hasDescriptionSlot&&n("div",{class:"description"},n("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},n("span",null,n("slot",{name:"description"})))),this.hasActionSlot&&n("div",{class:"action"},n("slot",{name:"action"}))))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());p.style=d}}}));
4
+ */System.register(["./p-5ffaa443.system.js","./p-50f4bca2.system.js","./p-ae21ad57.system.js","./p-c1445714.system.js","./p-c86d6786.system.js"],(function(t){"use strict";var e,n,r,o,i,a,s,c;return{setters:[function(t){e=t.r;n=t.h;r=t.H;o=t.g},function(t){i=t.i},function(t){a=t.h;s=t.c},function(t){c=t.g},function(){}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}';var p=t("duet_promo_card",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.backgroundColor="";this.textColor="secondary";this.image="";this.headingLevel="h3";this.url=undefined}t.prototype.componentWillLoad=function(){i(this);this.hasPreHeadingSlot=a(this.element,"pre-heading");this.hasHeadingSlot=a(this.element,"heading");this.hasDescriptionSlot=a(this.element,"description");this.hasActionSlot=a(this.element,"action");s(this.element,"heading","span");s(this.element,"description","span")};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.url&&this.aOrDivElement){this.aOrDivElement.focus(t)}return[2]}))}))};t.prototype.render=function(){var t=this;var e=c(this.backgroundColor,this.theme);var o={backgroundColor:e?e:"none"};var i=this.url?"a":"div";return n(r,{class:{"duet-m-0":this.margin==="none"}},n("aside",{class:{"duet-promo-card":true,"duet-theme-turva":this.theme==="turva","no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:o},n(i,{href:this.url,class:"content-wrapper",ref:function(e){return t.aOrDivElement=e}},n("img",{class:"image",src:this.image,alt:"",role:"presentation"}),n("div",{class:"content"},this.hasPreHeadingSlot&&n("div",{class:"pre-heading"},n("slot",{name:"pre-heading"})),this.hasHeadingSlot&&n("div",{class:"heading"},n("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},n("span",null,n("slot",{name:"heading"})))),this.hasDescriptionSlot&&n("div",{class:"description"},n("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},n("span",null,n("slot",{name:"description"})))),this.hasActionSlot&&n("div",{class:"action"},n("slot",{name:"action"}))))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());p.style=d}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-9644775c.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var a,t,i,n;return{setters:[function(e){a=e.r;t=e.h;i=e.H},function(e){n=e.i}],execute:function(){var r='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}';var s=e("duet_shaped_image",function(){function e(e){a(this,e);this.theme="";this.accessibleLabel=undefined;this.margin="auto";this.src=undefined;this.rotation=7}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e={"--rotation":"".concat(this.rotation,"deg")};return t(i,{class:{"duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},t("span",{class:{"shaped-image":true},role:"img","aria-label":this.accessibleLabel,style:e},t("span",{class:"shaped-image-mask",role:"presentation"},t("span",{class:"shaped-image-img",role:"presentation",style:{backgroundImage:'url("'.concat(this.src,'")')}}))))};return e}());s.style=r}}}));
4
+ System.register(["./p-5ffaa443.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var a,t,i,n;return{setters:[function(e){a=e.r;t=e.h;i=e.H},function(e){n=e.i}],execute:function(){var r='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}';var s=e("duet_shaped_image",function(){function e(e){a(this,e);this.theme="";this.accessibleLabel=undefined;this.margin="auto";this.src=undefined;this.rotation=7}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){var e={"--rotation":"".concat(this.rotation,"deg")};return t(i,{class:{"duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},t("span",{class:{"shaped-image":true},role:"img","aria-label":this.accessibleLabel,style:e},t("span",{class:"shaped-image-mask",role:"presentation"},t("span",{class:"shaped-image-img",role:"presentation",style:{backgroundImage:'url("'.concat(this.src,'")')}}))))};return e}());s.style=r}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,i,n){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function c(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n["throw"](t))}catch(t){o(t)}}function u(t){t.done?i(t.value):r(t.value).then(c,a)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(t){return function(e){return u([t,e])}}function u(a){if(n)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(i=0)),i)try{if(n=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(a[0]===6&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}if(o[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];r=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-9644775c.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-34d7dd10.system.js"],(function(t){"use strict";var e,i,n,r,o,c,a,u,d;return{setters:[function(t){e=t.r;i=t.c;n=t.h;r=t.H;o=t.g},function(t){c=t.i},function(t){a=t.c},function(t){u=t.s;d=t.u}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(207, 210, 212);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(207, 207, 209)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(230, 242, 248);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}';var s=t("duet_chip",function(){function t(t){var n=this;e(this,t);this.duetChange=i(this,"duetChange",3);this.duetRemove=i(this,"duetRemove",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.chipId=a("DuetChip");this.enforceNoDisabledSelected=function(){if(n.disabled&&n.checked){console.error("Duet error: pre-selected chip may not be disabled");n.disabled=false}};this.popupSetUp=function(){var t=document.querySelector("duet-popup-menu#".concat(n.popup));if(t){n.popupElement=t;t.controller=n.element;var e=n.element.textContent;var i=n.value;if(!t.id){t.id="popup-menu"}t.addEventListener("duetToggle",(function(t){n.popupOpen=t.detail.open}));var r=function(){t.querySelectorAll("duet-popup-menu-item").forEach((function(t){t.active=false}))};t.querySelectorAll("duet-popup-menu-item").forEach((function(t){t.addEventListener("click",(function(o){var c;var a=(c=t.value)!==null&&c!==void 0?c:t.innerText;if(!t.active){r();t.active=true;n.element.textContent=t.innerText;n.value=a;n.checked=true}else{r();n.element.textContent=e;n.value=i;n.checked=false}n.emitChange(o);setTimeout((function(){if(n.popupElement.isOpen()){n.popupElement.hide()}}))}))}))}};this.onFocus=function(t){n.focus=true;n.duetFocus.emit({originalEvent:t,checked:n.checked,value:n.value,component:"duet-chip"})};this.onBlur=function(t){n.focus=false;n.duetBlur.emit({originalEvent:t,checked:n.checked,value:n.value,component:"duet-chip"})};this.emitChange=function(t){n.duetChange.emit({originalEvent:t,checked:n.checked,value:n.value,component:"duet-chip"})};this.onFilterChange=function(t){n.checked=!n.checked;n.emitChange(t)};this.onRadioChange=function(t){var e=n.focusableElement;var i=e.checked;n.checked=i;n.emitChange(t)};this.onFilterClick=function(t){if(n.disabled){t.stopPropagation();t.preventDefault();return}if(n.popupElement){t.stopPropagation();t.preventDefault();n.popupElement.toggle()}};this.onRemoveClick=function(t){t.stopPropagation();t.preventDefault();n.duetRemove.emit({originalEvent:t,checked:n.checked,value:n.value,component:"duet-chip"});n.element.remove()};this.focus=false;this.popupElement=undefined;this.popupOpen=undefined;this.accessibleLabel=undefined;this.variation="button";this.size="medium";this.popup=undefined;this.icon="";this.theme="";this.identifier=undefined;this.value=undefined;this.name=undefined;this.checked=false;this.disabled=false;this.accessibleExpanded=undefined;this.accessiblePopup="false"}t.prototype.clearOtherRadioButtons=function(){var t=this;if(this.variation==="radio"&&this.checked){var e=document.querySelectorAll('duet-chip[variation="radio"][name="'.concat(this.name,'"]'));e.forEach((function(e){if(e!==t.element){e.checked=false}}))}};t.prototype.componentWillLoad=function(){c(this);this.popupSetUp();this.enforceNoDisabledSelected()};t.prototype.connectedCallback=function(){u(this)};t.prototype.disconnectedCallback=function(){d(this)};t.prototype.getAccessibleExpanded=function(){if(this.accessibleExpanded!=null){return(!!this.accessibleExpanded).toString()}if(this.popupElement){return this.popupOpen?"true":"false"}return undefined};t.prototype.getAccessiblePopup=function(){if(this.popupElement){return"true"}else{return this.accessiblePopup!=null?this.accessiblePopup.toString():undefined}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){setTimeout((function(){return e.focusableElement.focus(t)}),200);return[2]}))}))};t.prototype.render=function(){var t,e;var i=this;var o;var c=this.identifier||this.chipId;var a=(t={"duet-chip-container":true},t["duet-chip-".concat(this.variation)]=true,t["duet-chip-focus"]=this.focus,t["duet-chip-has-icon"]=!!this.icon,t["duet-chip-has-popup"]=this.variation==="filter"&&!!this.popupElement,t["duet-theme-turva"]=this.theme==="turva",t["duet-chip-filter-checked"]=this.variation==="filter"&&this.checked,t["duet-chip-radio-checked"]=this.variation==="radio"&&this.checked,t["duet-chip-filter-popup-open"]=this.popupOpen,t["duet-chip-disabled"]=this.disabled,t[this.size]=true,t);var u={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return i.focusableElement=t}};return n(r,{class:(e={},e[this.variation]=true,e)},this.variation==="button"&&n("span",{class:a},n("button",Object.assign({id:c,"aria-label":this.accessibleLabel,"aria-disabled":this.disabled?"true":undefined,name:this.name,value:this.value,onClick:this.disabled?function(t){return t.stopPropagation()}:undefined},u),n("span",{class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",null))),this.variation==="input"&&n("span",{class:a},n("button",Object.assign({id:c,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel},u),n("span",{class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",null)),n("button",{class:"duet-chip-remove-button",onClick:this.onRemoveClick},n("duet-icon",{name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),this.variation==="filter"&&n("span",{class:a},n("input",Object.assign({"aria-haspopup":this.getAccessiblePopup(),"aria-controls":(o=this.popupElement)===null||o===void 0?void 0:o.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,id:c,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},u)),n("label",{htmlFor:c},this.icon&&n("span",{class:"duet-chip-icon-container"},n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",null),this.popupElement&&n("span",{class:"duet-chip-popup-disclosure"},n("duet-icon",{name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),this.variation==="radio"&&n("span",{class:a},n("input",Object.assign({"aria-disabled":this.disabled?"true":undefined,id:c,type:"radio",name:this.name,value:this.value,checked:this.checked,onChange:this.onRadioChange,onClick:this.disabled?function(t){return t.preventDefault()}:undefined},u)),n("label",{htmlFor:c},this.icon&&n("span",{class:"duet-chip-icon-container"},n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{checked:["clearOtherRadioButtons"]}},enumerable:false,configurable:true});return t}());s.style=h}}}));
4
+ */System.register(["./p-5ffaa443.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-34d7dd10.system.js"],(function(t){"use strict";var e,i,n,r,o,c,a,u,d;return{setters:[function(t){e=t.r;i=t.c;n=t.h;r=t.H;o=t.g},function(t){c=t.i},function(t){a=t.c},function(t){u=t.s;d=t.u}],execute:function(){var h='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(207, 210, 212);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(207, 207, 209)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(230, 242, 248);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}';var s=t("duet_chip",function(){function t(t){var n=this;e(this,t);this.duetChange=i(this,"duetChange",3);this.duetRemove=i(this,"duetRemove",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.chipId=a("DuetChip");this.enforceNoDisabledSelected=function(){if(n.disabled&&n.checked){console.error("Duet error: pre-selected chip may not be disabled");n.disabled=false}};this.popupSetUp=function(){var t=document.querySelector("duet-popup-menu#".concat(n.popup));if(t){n.popupElement=t;t.controller=n.element;var e=n.element.textContent;var i=n.value;if(!t.id){t.id="popup-menu"}t.addEventListener("duetToggle",(function(t){n.popupOpen=t.detail.open}));var r=function(){t.querySelectorAll("duet-popup-menu-item").forEach((function(t){t.active=false}))};t.querySelectorAll("duet-popup-menu-item").forEach((function(t){t.addEventListener("click",(function(o){var c;var a=(c=t.value)!==null&&c!==void 0?c:t.innerText;if(!t.active){r();t.active=true;n.element.textContent=t.innerText;n.value=a;n.checked=true}else{r();n.element.textContent=e;n.value=i;n.checked=false}n.emitChange(o);setTimeout((function(){if(n.popupElement.isOpen()){n.popupElement.hide()}}))}))}))}};this.onFocus=function(t){n.focus=true;n.duetFocus.emit({originalEvent:t,checked:n.checked,value:n.value,component:"duet-chip"})};this.onBlur=function(t){n.focus=false;n.duetBlur.emit({originalEvent:t,checked:n.checked,value:n.value,component:"duet-chip"})};this.emitChange=function(t){n.duetChange.emit({originalEvent:t,checked:n.checked,value:n.value,component:"duet-chip"})};this.onFilterChange=function(t){n.checked=!n.checked;n.emitChange(t)};this.onRadioChange=function(t){var e=n.focusableElement;var i=e.checked;n.checked=i;n.emitChange(t)};this.onFilterClick=function(t){if(n.disabled){t.stopPropagation();t.preventDefault();return}if(n.popupElement){t.stopPropagation();t.preventDefault();n.popupElement.toggle()}};this.onRemoveClick=function(t){t.stopPropagation();t.preventDefault();n.duetRemove.emit({originalEvent:t,checked:n.checked,value:n.value,component:"duet-chip"});n.element.remove()};this.focus=false;this.popupElement=undefined;this.popupOpen=undefined;this.accessibleLabel=undefined;this.variation="button";this.size="medium";this.popup=undefined;this.icon="";this.theme="";this.identifier=undefined;this.value=undefined;this.name=undefined;this.checked=false;this.disabled=false;this.accessibleExpanded=undefined;this.accessiblePopup="false"}t.prototype.clearOtherRadioButtons=function(){var t=this;if(this.variation==="radio"&&this.checked){var e=document.querySelectorAll('duet-chip[variation="radio"][name="'.concat(this.name,'"]'));e.forEach((function(e){if(e!==t.element){e.checked=false}}))}};t.prototype.componentWillLoad=function(){c(this);this.popupSetUp();this.enforceNoDisabledSelected()};t.prototype.connectedCallback=function(){u(this)};t.prototype.disconnectedCallback=function(){d(this)};t.prototype.getAccessibleExpanded=function(){if(this.accessibleExpanded!=null){return(!!this.accessibleExpanded).toString()}if(this.popupElement){return this.popupOpen?"true":"false"}return undefined};t.prototype.getAccessiblePopup=function(){if(this.popupElement){return"true"}else{return this.accessiblePopup!=null?this.accessiblePopup.toString():undefined}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){setTimeout((function(){return e.focusableElement.focus(t)}),200);return[2]}))}))};t.prototype.render=function(){var t,e;var i=this;var o;var c=this.identifier||this.chipId;var a=(t={"duet-chip-container":true},t["duet-chip-".concat(this.variation)]=true,t["duet-chip-focus"]=this.focus,t["duet-chip-has-icon"]=!!this.icon,t["duet-chip-has-popup"]=this.variation==="filter"&&!!this.popupElement,t["duet-theme-turva"]=this.theme==="turva",t["duet-chip-filter-checked"]=this.variation==="filter"&&this.checked,t["duet-chip-radio-checked"]=this.variation==="radio"&&this.checked,t["duet-chip-filter-popup-open"]=this.popupOpen,t["duet-chip-disabled"]=this.disabled,t[this.size]=true,t);var u={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return i.focusableElement=t}};return n(r,{class:(e={},e[this.variation]=true,e)},this.variation==="button"&&n("span",{class:a},n("button",Object.assign({id:c,"aria-label":this.accessibleLabel,"aria-disabled":this.disabled?"true":undefined,name:this.name,value:this.value,onClick:this.disabled?function(t){return t.stopPropagation()}:undefined},u),n("span",{class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",null))),this.variation==="input"&&n("span",{class:a},n("button",Object.assign({id:c,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel},u),n("span",{class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",null)),n("button",{class:"duet-chip-remove-button",onClick:this.onRemoveClick},n("duet-icon",{name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),this.variation==="filter"&&n("span",{class:a},n("input",Object.assign({"aria-haspopup":this.getAccessiblePopup(),"aria-controls":(o=this.popupElement)===null||o===void 0?void 0:o.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,id:c,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},u)),n("label",{htmlFor:c},this.icon&&n("span",{class:"duet-chip-icon-container"},n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",null),this.popupElement&&n("span",{class:"duet-chip-popup-disclosure"},n("duet-icon",{name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),this.variation==="radio"&&n("span",{class:a},n("input",Object.assign({"aria-disabled":this.disabled?"true":undefined,id:c,type:"radio",name:this.name,value:this.value,checked:this.checked,onChange:this.onRadioChange,onClick:this.disabled?function(t){return t.preventDefault()}:undefined},u)),n("label",{htmlFor:c},this.icon&&n("span",{class:"duet-chip-icon-container"},n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{checked:["clearOtherRadioButtons"]}},enumerable:false,configurable:true});return t}());s.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:"4.0.51"};let n,l,o,s=!1,i=!1,c=!1,r=!1,f=!1;const u={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},a="s-id",d="sty-id",$="c-id",v="slot-fb{display:contents}slot-fb[hidden]{display:none}",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,o=null,s=null,i=!1,c=!1;const r=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(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(f(n),t){t.key&&(o=t.key),t.name&&(s=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,k);const u=w(e,null);return u.l=t,r.length>0&&(u.o=r),u.i=o,u.u=s,u},w=(e,t)=>({$:0,v:e,t,h:null,o:null,l:null,i:null,u:null}),g={},k={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(O)},j=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.v,vtext:e.t}),O=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},S=(e,t,n,l,o,s,i)=>{let c,r,f,u;if(1===s.nodeType){for(c=s.getAttribute($),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={$:0,p:r[0],m:r[1],k:r[2],j:r[3],v:s.tagName.toLowerCase(),h:s,l:null,o:null,i:null,u:null,t:null},t.push(f),s.removeAttribute($),e.o||(e.o=[]),e.o[f.j]=f,e=f,l&&"0"===f.k&&(l[f.j]=f.h))),u=s.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.childNodes[u],i);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.shadowRoot.childNodes[u],i)}else if(8===s.nodeType)r=s.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={$:0,p:r[1],m:r[2],k:r[3],j:r[4],h:s,l:null,o:null,i:null,u:null,v:null,t:null},"t"===c?(f.h=s.nextSibling,f.h&&3===f.h.nodeType&&(f.t=f.h.textContent,t.push(f),s.remove(),e.o||(e.o=[]),e.o[f.j]=f,l&&"0"===f.k&&(l[f.j]=f.h))):f.p===i&&("s"===c?(f.v="slot",s["s-sn"]=r[5]?f.u=r[5]:"",s["s-sr"]=!0,l&&(f.h=Te.createElement(f.v),f.u&&f.h.setAttribute("name",f.u),s.parentNode.insertBefore(f.h,s),s.remove(),"0"===f.k&&(l[f.j]=f.h)),n.push(f),e.o||(e.o=[]),e.o[f.j]=f):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.v){const t=w(null,s.textContent);t.h=s,t.j="0",e.o=[t]}},x=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)x(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)x(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])}},C=e=>Se(e).$hostElement$,R=(e,t,n)=>{const l=C(e);return{emit:e=>M(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},M=(e,t,n)=>{const l=Le.ce(t,n);return e.dispatchEvent(l),l},E=new WeakMap,I=(e,t,n)=>{let l=Ne.get(e);De&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Ne.set(e,l)},N=(e,t)=>{var n;const l=P(t),o=Ne.get(l);if(e=11===e.nodeType?e:Te,o)if("string"==typeof o){let s,i=E.get(e=e.head||e);if(i||E.set(e,i=new Set),!i.has(l)){if(e.host&&(s=e.querySelector(`[${d}="${l}"]`)))s.innerHTML=o;else{s=Te.createElement("style"),s.innerHTML=o;const t=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.$&&(s.innerHTML+=v),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},P=e=>"sc-"+e.S,T=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,o,s)=>{if(n!==l){let i=Re(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=A(n),s=A(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.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(i||"o"!==t[0]||"n"!==t[1]){const r=m(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):Re(Pe,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(D);t=t.replace(F,""),n&&Le.rel(e,t,n,o),l&&Le.ael(e,t,l,o)}}},U=/\s/,A=e=>e?e.split(U):[],D="Capture",F=RegExp(D+"$"),W=(e,t,n,l)=>{const o=11===t.h.nodeType&&t.h.host?t.h.host:t.h,s=e&&e.l||p,i=t.l||p;for(l in s)l in i||L(o,l,s[l],void 0,n,t.$);for(l in i)L(o,l,s[l],i[l],n,t.$)},B=(e,t,i,f)=>{const u=t.o[i];let a,d,$,v=0;if(s||(c=!0,"slot"===u.v&&(n&&f.classList.add(n+"-s"),u.$|=u.o?2:1)),null!==u.t)a=u.h=Te.createTextNode(u.t);else if(1&u.$)a=u.h=Te.createTextNode("");else{if(r||(r="svg"===u.v),a=u.h=Te.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&u.$?"slot-fb":u.v),r&&"foreignObject"===u.v&&(r=!1),W(null,u,r),null!=n&&a["s-si"]!==n&&a.classList.add(a["s-si"]=n),u.o)for(v=0;v<u.o.length;++v)d=B(e,u,v,a),d&&a.appendChild(d);"svg"===u.v?r=!1:"foreignObject"===a.tagName&&(r=!0)}return a["s-hn"]=o,3&u.$&&(a["s-sr"]=!0,a["s-cr"]=l,a["s-sn"]=u.u||"",$=e&&e.o&&e.o[i],$&&$.v===u.v&&e.h&&H(e.h,!1)),a},H=(e,t)=>{Le.$|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==o&&l["s-ol"]&&(G(l).insertBefore(l,z(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,c=!0),t&&H(l,t)}Le.$&=-2},V=(e,t,n,l,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===o&&(r=r.shadowRoot);s<=i;++s)l[s]&&(c=B(null,n,s,e),c&&(l[s].h=c,r.insertBefore(c,z(t))))},q=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.h;Z(t),e&&(i=!0,e["s-ol"]?e["s-ol"].remove():H(e,!0),e.remove())}}},_=(e,t,n=!1)=>e.v===t.v&&("slot"===e.v?e.u===t.u:!!n||e.i===t.i),z=e=>e&&e["s-ol"]||e,G=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,J=(e,t,n=!1)=>{const l=t.h=e.h,o=e.o,s=t.o,i=t.v,c=t.t;let f;null===c?(r="svg"===i||"foreignObject"!==i&&r,"slot"===i||W(e,t,r),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,c=0,r=0,f=0,u=0,a=t.length-1,d=t[0],$=t[a],v=l.length-1,h=l[0],p=l[v];for(;c<=a&&r<=v;)if(null==d)d=t[++c];else if(null==$)$=t[--a];else if(null==h)h=l[++r];else if(null==p)p=l[--v];else if(_(d,h,o))J(d,h,o),d=t[++c],h=l[++r];else if(_($,p,o))J($,p,o),$=t[--a],p=l[--v];else if(_(d,p,o))"slot"!==d.v&&"slot"!==p.v||H(d.h.parentNode,!1),J(d,p,o),e.insertBefore(d.h,$.h.nextSibling),d=t[++c],p=l[--v];else if(_($,h,o))"slot"!==d.v&&"slot"!==p.v||H($.h.parentNode,!1),J($,h,o),e.insertBefore($.h,d.h),$=t[--a],h=l[++r];else{for(f=-1,u=c;u<=a;++u)if(t[u]&&null!==t[u].i&&t[u].i===h.i){f=u;break}f>=0?(i=t[f],i.v!==h.v?s=B(t&&t[r],n,f,e):(J(i,h,o),t[f]=void 0,s=i.h),h=l[++r]):(s=B(t&&t[r],n,r,e),h=l[++r]),s&&G(d.h).insertBefore(s,z(d.h))}c>a?V(e,null==l[v+1]?null:l[v+1].h,n,l,r,v):r>v&&q(t,c,a)})(l,o,t,s,n):null!==s?(null!==e.t&&(l.textContent=""),V(l,null,t,s,0,s.length-1)):null!==o&&q(o,0,o.length-1),r&&"svg"===i&&(r=!1)):(f=l["s-cr"])?f.parentNode.textContent=c:e.t!==c&&(l.data=c)},K=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}K(e)}},Q=[],X=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(Y(t,e)){let n=Q.find((e=>e.C===t));i=!0,t["s-sn"]=t["s-sn"]||e,n?(n.C["s-sh"]=o["s-hn"],n.R=o):(t["s-sh"]=o["s-hn"],Q.push({R:o,C:t})),t["s-sr"]&&Q.map((e=>{Y(e.C,t["s-sn"])&&(n=Q.find((e=>e.C===t)),n&&!e.R&&(e.R=n.R))}))}else Q.some((e=>e.C===t))||Q.push({C:t})}1===o.nodeType&&X(o)}},Y=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Z=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Z)},ee=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},te=(e,t)=>{if(e.$|=16,!(4&e.$))return ee(e,e.I),_e((()=>ne(e,t)));e.$|=512},ne=(e,t)=>{const n=e.N;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>fe(n,e,t))),e.P=void 0),l=fe(n,"componentWillLoad")),l=le(l,(()=>fe(n,"componentWillRender"))),le(l,(()=>se(e,n,t)))},le=(e,t)=>oe(e)?e.then(t):t(),oe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,se=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.T,n=e.$hostElement$,l=t.$,o=N(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);ie(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},ie=(e,t,r,f)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t,r=!1)=>{var f,u,a,d;const $=e.$hostElement$,v=e.T,h=e.L||w(null,null),p=(e=>e&&e.v===g)(t)?t:b(null,null,t);if(o=$.tagName,v.U&&(p.l=p.l||{},v.U.map((([e,t])=>p.l[t]=$[e]))),r&&p.l)for(const e of Object.keys(p.l))$.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(p.l[e]=$[e]);if(p.v=null,p.$|=4,e.L=p,p.h=h.h=$.shadowRoot||$,n=$["s-sc"],l=$["s-cr"],s=0!=(1&v.$),i=!1,J(h,p,r),Le.$|=1,c){X(p.h);for(const e of Q){const t=e.C;if(!t["s-ol"]){const e=Te.createTextNode("");e["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of Q){const t=e.C,n=e.R;if(n){const e=n.parentNode;let l=n.nextSibling;{let n=null===(f=t["s-ol"])||void 0===f?void 0:f.previousSibling;for(;n;){let o=null!==(u=n["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}n=n.previousSibling}}(!l&&e!==t.parentNode||t.nextSibling!==l)&&t!==l&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),e.insertBefore(t,l),1===t.nodeType&&(t.hidden=null!==(a=t["s-ih"])&&void 0!==a&&a))}else 1===t.nodeType&&(r&&(t["s-ih"]=null!==(d=t.hidden)&&void 0!==d&&d),t.hidden=!0)}}i&&K(p.h),Le.$&=-2,Q.length=0})(e,t,f)}catch(t){Me(t,e.$hostElement$)}return null},ce=e=>{const t=e.$hostElement$,n=e.N,l=e.I;fe(n,"componentDidRender"),64&e.$?fe(n,"componentDidUpdate"):(e.$|=64,ue(t),fe(n,"componentDidLoad"),e.A(t),l||re()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&qe((()=>te(e,!1))),e.$&=-517},re=()=>{ue(Te.documentElement),qe((()=>M(Pe,"appload",{detail:{namespace:e}})))},fe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Me(e)}},ue=e=>e.classList.add("hydrated"),ae=(e,t,n)=>{var l;const o=e.prototype;if(t.F){e.watchers&&(t.W=e.watchers);const s=Object.entries(t.F);if(s.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>Se(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=Se(e),s=o.$hostElement$,i=o.B.get(t),c=o.$,r=o.N;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))&&(o.B.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(e){Me(e,s)}}))}2==(18&c)&&te(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){var n;const l=Se(this);return null===(n=null==l?void 0:l.H)||void 0===n?void 0:n.then((()=>{var n;return null===(n=l.N)||void 0===n?void 0:n[e](...t)}))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,l,s){Le.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=Se(this),o=null==n?void 0:n.$;if(o&&!(8&o)&&128&o&&s!==l){const o=n.N,c=null===(i=t.W)||void 0===i?void 0:i[e];null==c||c.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.W)&&void 0!==l?l:{}),...s.filter((([e,t])=>15&t[0])).map((([e,l])=>{var o;const s=l[1]||e;return n.set(s,e),512&l[0]&&(null===(o=t.U)||void 0===o||o.push([e,s])),s}))]))}}return e},de=e=>{fe(e,"connectedCallback")},$e=e=>{if(0==(1&Le.$)){const t=Se(e),n=t.T,l=()=>{};if(1&t.$)be(e,t,n.V),(null==t?void 0:t.N)?de(t.N):(null==t?void 0:t.q)&&t.q.then((()=>de(t.N)));else{let l;if(t.$|=1,l=e.getAttribute(a),l){if(1&n.$){const t=N(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,c=l.L=w(t,null);Le._||x(Te.body,Le._=new Map),e[a]=n,e.removeAttribute(a),S(c,s,[],i,e,e,n),s.map((e=>{const n=e.p+"."+e.m,l=Le._.get(n),s=e.h;l&&Ue&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Le._.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&ve(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ee(t,t.I=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}})),qe((()=>(async(e,t,n)=>{let l;if(0==(32&t.$)){t.$|=32;{if(l=Ie(n),l.then){const e=()=>{};l=await l,e()}l.isProxied||(n.W=l.watchers,ae(l,n,2),l.isProxied=!0);const e=()=>{};t.$|=8;try{new l(t)}catch(e){Me(e)}t.$&=-9,t.$|=128,e(),de(t.N)}if(l.style){let e=l.style;const t=P(n);if(!Ne.has(t)){const l=()=>{};I(t,e,!!(1&n.$)),l()}}}const o=t.I,s=()=>te(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,n)))}l()}},ve=e=>{const t=e["s-cr"]=Te.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},he=e=>{fe(e,"disconnectedCallback")},pe=(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&Le.$)&&2&Se(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)}})}},me=(e,t={})=>{var n;const l=t.exclude||[],o=Pe.customElements,s=Te.head,i=s.querySelector("meta[charset]"),c=Te.createElement("style"),r=[],f=Te.querySelectorAll(`[${d}]`);let u,a=!0,$=0;for(Object.assign(Le,t),Le.G=new URL(t.resourcesUrl||"./",Te.baseURI).href,Le.$|=2;$<f.length;$++)I(f[$].getAttribute(d),T(f[$].innerHTML),!0);let h=!1;if(e.map((e=>{e[1].map((t=>{var n;const s={$:t[0],S:t[1],F:t[2],V:t[3]};4&s.$&&(h=!0),s.F=t[2],s.V=t[3],s.U=[],s.W=null!==(n=t[4])&&void 0!==n?n:{};const i=s.S,c=class extends HTMLElement{constructor(e){super(e),Ce(e=this,s),1&s.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&s.$)})}connectedCallback(){u&&(clearTimeout(u),u=null),a?r.push(this):Le.jmp((()=>$e(this)))}disconnectedCallback(){Le.jmp((()=>(async()=>{if(0==(1&Le.$)){const e=Se(this);e.J&&(e.J.map((e=>e())),e.J=void 0),(null==e?void 0:e.N)?he(e.N):(null==e?void 0:e.q)&&e.q.then((()=>he(e.N)))}})()))}componentOnReady(){return Se(this).q}};pe(c.prototype,s),s.K=e[0],l.includes(i)||o.get(i)||o.define(i,ae(c,s,1))}))})),h&&(c.innerHTML+=v),c.innerHTML.length){c.setAttribute("data-styles","");const e=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=e&&c.setAttribute("nonce",e),s.insertBefore(c,i?i.nextSibling:s.firstChild)}a=!1,r.length?r.map((e=>e.connectedCallback())):Le.jmp((()=>u=setTimeout(re,30)))},ye=(e,t)=>t,be=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ge(e,n),i=we(t,o),c=ke(n);Le.ael(s,l,i,c),(t.J=t.J||[]).push((()=>Le.rel(s,l,i,c)))}))},we=(e,t)=>n=>{try{256&e.$?e.N[t](n):(e.P=e.P||[]).push([t,n])}catch(e){Me(e)}},ge=(e,t)=>4&t?Te:8&t?Pe:16&t?Te.body:e,ke=e=>0!=(2&e),je=e=>Le.O=e,Oe=new WeakMap,Se=e=>Oe.get(e),xe=(e,t)=>Oe.set(t.N=e,t),Ce=(e,t)=>{const n={$:0,$hostElement$:e,T:t,B:new Map};return n.H=new Promise((e=>n.D=e)),n.q=new Promise((e=>n.A=e)),e["s-p"]=[],e["s-rc"]=[],be(e,n,t.V),Oe.set(e,n)},Re=(e,t)=>t in e,Me=(e,t)=>(0,console.error)(e,t),Ee=new Map,Ie=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Ee.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Ee.set(n,e),e[t])),Me)
4
+ const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.0.52"};let n,l,o,s=!1,i=!1,c=!1,r=!1,f=!1;const u={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},a="s-id",d="sty-id",$="c-id",v="slot-fb{display:contents}slot-fb[hidden]{display:none}",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,o=null,s=null,i=!1,c=!1;const r=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(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(f(n),t){t.key&&(o=t.key),t.name&&(s=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,k);const u=w(e,null);return u.l=t,r.length>0&&(u.o=r),u.i=o,u.u=s,u},w=(e,t)=>({$:0,v:e,t,h:null,o:null,l:null,i:null,u:null}),g={},k={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(O)},j=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.v,vtext:e.t}),O=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},S=(e,t,n,l,o,s,i)=>{let c,r,f,u;if(1===s.nodeType){for(c=s.getAttribute($),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(f={$:0,p:r[0],m:r[1],k:r[2],j:r[3],v:s.tagName.toLowerCase(),h:s,l:null,o:null,i:null,u:null,t:null},t.push(f),s.removeAttribute($),e.o||(e.o=[]),e.o[f.j]=f,e=f,l&&"0"===f.k&&(l[f.j]=f.h))),u=s.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.childNodes[u],i);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)S(e,t,n,l,o,s.shadowRoot.childNodes[u],i)}else if(8===s.nodeType)r=s.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],f={$:0,p:r[1],m:r[2],k:r[3],j:r[4],h:s,l:null,o:null,i:null,u:null,v:null,t:null},"t"===c?(f.h=s.nextSibling,f.h&&3===f.h.nodeType&&(f.t=f.h.textContent,t.push(f),s.remove(),e.o||(e.o=[]),e.o[f.j]=f,l&&"0"===f.k&&(l[f.j]=f.h))):f.p===i&&("s"===c?(f.v="slot",s["s-sn"]=r[5]?f.u=r[5]:"",s["s-sr"]=!0,l&&(f.h=Te.createElement(f.v),f.u&&f.h.setAttribute("name",f.u),s.parentNode.insertBefore(f.h,s),s.remove(),"0"===f.k&&(l[f.j]=f.h)),n.push(f),e.o||(e.o=[]),e.o[f.j]=f):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.v){const t=w(null,s.textContent);t.h=s,t.j="0",e.o=[t]}},x=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)x(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)x(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])}},C=e=>Se(e).$hostElement$,R=(e,t,n)=>{const l=C(e);return{emit:e=>M(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},M=(e,t,n)=>{const l=Le.ce(t,n);return e.dispatchEvent(l),l},E=new WeakMap,I=(e,t,n)=>{let l=Ne.get(e);De&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Ne.set(e,l)},N=(e,t)=>{var n;const l=P(t),o=Ne.get(l);if(e=11===e.nodeType?e:Te,o)if("string"==typeof o){let s,i=E.get(e=e.head||e);if(i||E.set(e,i=new Set),!i.has(l)){if(e.host&&(s=e.querySelector(`[${d}="${l}"]`)))s.innerHTML=o;else{s=Te.createElement("style"),s.innerHTML=o;const t=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.$&&(s.innerHTML+=v),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},P=e=>"sc-"+e.S,T=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),L=(e,t,n,l,o,s)=>{if(n!==l){let i=Re(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=A(n),s=A(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.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(i||"o"!==t[0]||"n"!==t[1]){const r=m(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):Re(Pe,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(D);t=t.replace(F,""),n&&Le.rel(e,t,n,o),l&&Le.ael(e,t,l,o)}}},U=/\s/,A=e=>e?e.split(U):[],D="Capture",F=RegExp(D+"$"),W=(e,t,n,l)=>{const o=11===t.h.nodeType&&t.h.host?t.h.host:t.h,s=e&&e.l||p,i=t.l||p;for(l in s)l in i||L(o,l,s[l],void 0,n,t.$);for(l in i)L(o,l,s[l],i[l],n,t.$)},B=(e,t,i,f)=>{const u=t.o[i];let a,d,$,v=0;if(s||(c=!0,"slot"===u.v&&(n&&f.classList.add(n+"-s"),u.$|=u.o?2:1)),null!==u.t)a=u.h=Te.createTextNode(u.t);else if(1&u.$)a=u.h=Te.createTextNode("");else{if(r||(r="svg"===u.v),a=u.h=Te.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&u.$?"slot-fb":u.v),r&&"foreignObject"===u.v&&(r=!1),W(null,u,r),null!=n&&a["s-si"]!==n&&a.classList.add(a["s-si"]=n),u.o)for(v=0;v<u.o.length;++v)d=B(e,u,v,a),d&&a.appendChild(d);"svg"===u.v?r=!1:"foreignObject"===a.tagName&&(r=!0)}return a["s-hn"]=o,3&u.$&&(a["s-sr"]=!0,a["s-cr"]=l,a["s-sn"]=u.u||"",$=e&&e.o&&e.o[i],$&&$.v===u.v&&e.h&&H(e.h,!1)),a},H=(e,t)=>{Le.$|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==o&&l["s-ol"]&&(G(l).insertBefore(l,z(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,c=!0),t&&H(l,t)}Le.$&=-2},V=(e,t,n,l,s,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===o&&(r=r.shadowRoot);s<=i;++s)l[s]&&(c=B(null,n,s,e),c&&(l[s].h=c,r.insertBefore(c,z(t))))},q=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.h;Z(t),e&&(i=!0,e["s-ol"]?e["s-ol"].remove():H(e,!0),e.remove())}}},_=(e,t,n=!1)=>e.v===t.v&&("slot"===e.v?e.u===t.u:!!n||e.i===t.i),z=e=>e&&e["s-ol"]||e,G=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,J=(e,t,n=!1)=>{const l=t.h=e.h,o=e.o,s=t.o,i=t.v,c=t.t;let f;null===c?(r="svg"===i||"foreignObject"!==i&&r,"slot"===i||W(e,t,r),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,c=0,r=0,f=0,u=0,a=t.length-1,d=t[0],$=t[a],v=l.length-1,h=l[0],p=l[v];for(;c<=a&&r<=v;)if(null==d)d=t[++c];else if(null==$)$=t[--a];else if(null==h)h=l[++r];else if(null==p)p=l[--v];else if(_(d,h,o))J(d,h,o),d=t[++c],h=l[++r];else if(_($,p,o))J($,p,o),$=t[--a],p=l[--v];else if(_(d,p,o))"slot"!==d.v&&"slot"!==p.v||H(d.h.parentNode,!1),J(d,p,o),e.insertBefore(d.h,$.h.nextSibling),d=t[++c],p=l[--v];else if(_($,h,o))"slot"!==d.v&&"slot"!==p.v||H($.h.parentNode,!1),J($,h,o),e.insertBefore($.h,d.h),$=t[--a],h=l[++r];else{for(f=-1,u=c;u<=a;++u)if(t[u]&&null!==t[u].i&&t[u].i===h.i){f=u;break}f>=0?(i=t[f],i.v!==h.v?s=B(t&&t[r],n,f,e):(J(i,h,o),t[f]=void 0,s=i.h),h=l[++r]):(s=B(t&&t[r],n,r,e),h=l[++r]),s&&G(d.h).insertBefore(s,z(d.h))}c>a?V(e,null==l[v+1]?null:l[v+1].h,n,l,r,v):r>v&&q(t,c,a)})(l,o,t,s,n):null!==s?(null!==e.t&&(l.textContent=""),V(l,null,t,s,0,s.length-1)):null!==o&&q(o,0,o.length-1),r&&"svg"===i&&(r=!1)):(f=l["s-cr"])?f.parentNode.textContent=c:e.t!==c&&(l.data=c)},K=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}K(e)}},Q=[],X=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(Y(t,e)){let n=Q.find((e=>e.C===t));i=!0,t["s-sn"]=t["s-sn"]||e,n?(n.C["s-sh"]=o["s-hn"],n.R=o):(t["s-sh"]=o["s-hn"],Q.push({R:o,C:t})),t["s-sr"]&&Q.map((e=>{Y(e.C,t["s-sn"])&&(n=Q.find((e=>e.C===t)),n&&!e.R&&(e.R=n.R))}))}else Q.some((e=>e.C===t))||Q.push({C:t})}1===o.nodeType&&X(o)}},Y=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Z=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Z)},ee=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},te=(e,t)=>{if(e.$|=16,!(4&e.$))return ee(e,e.I),_e((()=>ne(e,t)));e.$|=512},ne=(e,t)=>{const n=e.N;let l;return t&&(e.$|=256,e.P&&(e.P.map((([e,t])=>fe(n,e,t))),e.P=void 0),l=fe(n,"componentWillLoad")),l=le(l,(()=>fe(n,"componentWillRender"))),le(l,(()=>se(e,n,t)))},le=(e,t)=>oe(e)?e.then(t):t(),oe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,se=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.T,n=e.$hostElement$,l=t.$,o=N(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(e);ie(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!==(l=o["s-p"])&&void 0!==l?l:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},ie=(e,t,r,f)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t,r=!1)=>{var f,u,a,d;const $=e.$hostElement$,v=e.T,h=e.L||w(null,null),p=(e=>e&&e.v===g)(t)?t:b(null,null,t);if(o=$.tagName,v.U&&(p.l=p.l||{},v.U.map((([e,t])=>p.l[t]=$[e]))),r&&p.l)for(const e of Object.keys(p.l))$.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(p.l[e]=$[e]);if(p.v=null,p.$|=4,e.L=p,p.h=h.h=$.shadowRoot||$,n=$["s-sc"],l=$["s-cr"],s=0!=(1&v.$),i=!1,J(h,p,r),Le.$|=1,c){X(p.h);for(const e of Q){const t=e.C;if(!t["s-ol"]){const e=Te.createTextNode("");e["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of Q){const t=e.C,n=e.R;if(n){const e=n.parentNode;let l=n.nextSibling;{let n=null===(f=t["s-ol"])||void 0===f?void 0:f.previousSibling;for(;n;){let o=null!==(u=n["s-nr"])&&void 0!==u?u:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){l=o;break}n=n.previousSibling}}(!l&&e!==t.parentNode||t.nextSibling!==l)&&t!==l&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),e.insertBefore(t,l),1===t.nodeType&&(t.hidden=null!==(a=t["s-ih"])&&void 0!==a&&a))}else 1===t.nodeType&&(r&&(t["s-ih"]=null!==(d=t.hidden)&&void 0!==d&&d),t.hidden=!0)}}i&&K(p.h),Le.$&=-2,Q.length=0})(e,t,f)}catch(t){Me(t,e.$hostElement$)}return null},ce=e=>{const t=e.$hostElement$,n=e.N,l=e.I;fe(n,"componentDidRender"),64&e.$?fe(n,"componentDidUpdate"):(e.$|=64,ue(t),fe(n,"componentDidLoad"),e.A(t),l||re()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&qe((()=>te(e,!1))),e.$&=-517},re=()=>{ue(Te.documentElement),qe((()=>M(Pe,"appload",{detail:{namespace:e}})))},fe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Me(e)}},ue=e=>e.classList.add("hydrated"),ae=(e,t,n)=>{var l;const o=e.prototype;if(t.F){e.watchers&&(t.W=e.watchers);const s=Object.entries(t.F);if(s.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>Se(this).B.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=Se(e),s=o.$hostElement$,i=o.B.get(t),c=o.$,r=o.N;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))&&(o.B.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(e){Me(e,s)}}))}2==(18&c)&&te(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){var n;const l=Se(this);return null===(n=null==l?void 0:l.H)||void 0===n?void 0:n.then((()=>{var n;return null===(n=l.N)||void 0===n?void 0:n[e](...t)}))}})})),1&n){const n=new Map;o.attributeChangedCallback=function(e,l,s){Le.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=Se(this),o=null==n?void 0:n.$;if(o&&!(8&o)&&128&o&&s!==l){const o=n.N,c=null===(i=t.W)||void 0===i?void 0:i[e];null==c||c.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.W)&&void 0!==l?l:{}),...s.filter((([e,t])=>15&t[0])).map((([e,l])=>{var o;const s=l[1]||e;return n.set(s,e),512&l[0]&&(null===(o=t.U)||void 0===o||o.push([e,s])),s}))]))}}return e},de=e=>{fe(e,"connectedCallback")},$e=e=>{if(0==(1&Le.$)){const t=Se(e),n=t.T,l=()=>{};if(1&t.$)be(e,t,n.V),(null==t?void 0:t.N)?de(t.N):(null==t?void 0:t.q)&&t.q.then((()=>de(t.N)));else{let l;if(t.$|=1,l=e.getAttribute(a),l){if(1&n.$){const t=N(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,c=l.L=w(t,null);Le._||x(Te.body,Le._=new Map),e[a]=n,e.removeAttribute(a),S(c,s,[],i,e,e,n),s.map((e=>{const n=e.p+"."+e.m,l=Le._.get(n),s=e.h;l&&Ue&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),Le._.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&ve(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ee(t,t.I=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}})),qe((()=>(async(e,t,n)=>{let l;if(0==(32&t.$)){t.$|=32;{if(l=Ie(n),l.then){const e=()=>{};l=await l,e()}l.isProxied||(n.W=l.watchers,ae(l,n,2),l.isProxied=!0);const e=()=>{};t.$|=8;try{new l(t)}catch(e){Me(e)}t.$&=-9,t.$|=128,e(),de(t.N)}if(l.style){let e=l.style;const t=P(n);if(!Ne.has(t)){const l=()=>{};I(t,e,!!(1&n.$)),l()}}}const o=t.I,s=()=>te(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,n)))}l()}},ve=e=>{const t=e["s-cr"]=Te.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},he=e=>{fe(e,"disconnectedCallback")},pe=(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&Le.$)&&2&Se(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)}})}},me=(e,t={})=>{var n;const l=t.exclude||[],o=Pe.customElements,s=Te.head,i=s.querySelector("meta[charset]"),c=Te.createElement("style"),r=[],f=Te.querySelectorAll(`[${d}]`);let u,a=!0,$=0;for(Object.assign(Le,t),Le.G=new URL(t.resourcesUrl||"./",Te.baseURI).href,Le.$|=2;$<f.length;$++)I(f[$].getAttribute(d),T(f[$].innerHTML),!0);let h=!1;if(e.map((e=>{e[1].map((t=>{var n;const s={$:t[0],S:t[1],F:t[2],V:t[3]};4&s.$&&(h=!0),s.F=t[2],s.V=t[3],s.U=[],s.W=null!==(n=t[4])&&void 0!==n?n:{};const i=s.S,c=class extends HTMLElement{constructor(e){super(e),Ce(e=this,s),1&s.$&&e.attachShadow({mode:"open",delegatesFocus:!!(16&s.$)})}connectedCallback(){u&&(clearTimeout(u),u=null),a?r.push(this):Le.jmp((()=>$e(this)))}disconnectedCallback(){Le.jmp((()=>(async()=>{if(0==(1&Le.$)){const e=Se(this);e.J&&(e.J.map((e=>e())),e.J=void 0),(null==e?void 0:e.N)?he(e.N):(null==e?void 0:e.q)&&e.q.then((()=>he(e.N)))}})()))}componentOnReady(){return Se(this).q}};pe(c.prototype,s),s.K=e[0],l.includes(i)||o.get(i)||o.define(i,ae(c,s,1))}))})),h&&(c.innerHTML+=v),c.innerHTML.length){c.setAttribute("data-styles","");const e=null!==(n=Le.O)&&void 0!==n?n:y(Te);null!=e&&c.setAttribute("nonce",e),s.insertBefore(c,i?i.nextSibling:s.firstChild)}a=!1,r.length?r.map((e=>e.connectedCallback())):Le.jmp((()=>u=setTimeout(re,30)))},ye=(e,t)=>t,be=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ge(e,n),i=we(t,o),c=ke(n);Le.ael(s,l,i,c),(t.J=t.J||[]).push((()=>Le.rel(s,l,i,c)))}))},we=(e,t)=>n=>{try{256&e.$?e.N[t](n):(e.P=e.P||[]).push([t,n])}catch(e){Me(e)}},ge=(e,t)=>4&t?Te:8&t?Pe:16&t?Te.body:e,ke=e=>0!=(2&e),je=e=>Le.O=e,Oe=new WeakMap,Se=e=>Oe.get(e),xe=(e,t)=>Oe.set(t.N=e,t),Ce=(e,t)=>{const n={$:0,$hostElement$:e,T:t,B:new Map};return n.H=new Promise((e=>n.D=e)),n.q=new Promise((e=>n.A=e)),e["s-p"]=[],e["s-rc"]=[],be(e,n,t.V),Oe.set(e,n)},Re=(e,t)=>t in e,Me=(e,t)=>(0,console.error)(e,t),Ee=new Map,Ie=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Ee.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Ee.set(n,e),e[t])),Me)
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ne=new Map,Pe="undefined"!=typeof window?window:{},Te=Pe.document||{head:{}},Le={$:0,G:"",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)},Ue=!0,Ae=e=>Promise.resolve(e),De=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Fe=[],We=[],Be=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&Le.$?qe(Ve):Le.raf(Ve))},He=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){Me(e)}e.length=0},Ve=()=>{He(Fe),He(We),(f=Fe.length>0)&&Le.raf(Ve)},qe=e=>Ae().then(e),_e=Be(We,!0);export{u as B,t as E,ye as F,g as H,e as N,me as b,R as c,Te as d,C as g,b as h,Ae as p,xe as r,je as s}
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,i,r){function o(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function d(e){try{s(r.next(e))}catch(e){a(e)}}function n(e){try{s(r["throw"](e))}catch(e){a(e)}}function s(e){e.done?i(e.value):o(e.value).then(d,n)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,o,a,d;return d={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function n(e){return function(t){return s([e,t])}}function s(n){if(r)throw new TypeError("Generator is already executing.");while(d&&(d=0,n[0]&&(i=0)),i)try{if(r=1,o&&(a=n[0]&2?o["return"]:n[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,n[1])).done)return a;if(o=0,a)n=[n[0]&2,a.value];switch(n[0]){case 0:case 1:a=n;break;case 4:i.label++;return{value:n[1],done:false};case 5:i.label++;o=n[1];n=[0];continue;case 7:n=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(n[0]===6||n[0]===2)){i=0;continue}if(n[0]===3&&(!a||n[1]>a[0]&&n[1]<a[3])){i.label=n[1];break}if(n[0]===6&&i.label<a[1]){i.label=a[1];a=n;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(n);break}if(a[2])i.ops.pop();i.trys.pop();continue}n=t.call(e,i)}catch(e){n=[6,e];o=0}finally{r=a=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-9644775c.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-ae21ad57.system.js","./p-afad5fd3.system.js"],(function(e){"use strict";var t,i,r,o,a,d,n,s,u,c;return{setters:[function(e){t=e.r;i=e.c;r=e.h;o=e.H;a=e.g},function(e){d=e.i},function(e){n=e.c},function(e){s=e.c},function(e){u=e.f;c=e.w}],execute:function(){var h='*.sc-duet-radio,*.sc-duet-radio::after,*.sc-duet-radio::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-radio-h:last-child,.sc-duet-radio-h:last-of-type{margin-right:0 !important}.vertical.sc-duet-radio-h{margin-right:0 !important}.horizontal.sc-duet-radio-h{margin-bottom:0 !important;width:auto}.horizontal.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}@media (min-width: 48em){.horizontal-responsive.sc-duet-radio-h{margin-right:28px !important;margin-bottom:0 !important;width:auto}.horizontal-responsive.sc-duet-radio-h:last-child,.horizontal-responsive.sc-duet-radio-h:last-of-type{margin-right:0 !important}.horizontal-responsive.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}}.duet-m-0.sc-duet-radio-h{margin:0 !important}.sc-duet-radio-h:last-child:not(:only-child){margin-right:0 !important;margin-bottom:0 !important}.duet-label.sc-duet-radio{position:relative;z-index:100;display:flex;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;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77);word-break:break-word;overflow-wrap:break-word;cursor:pointer;background:transparent}.duet-theme-turva.sc-duet-radio .duet-label.sc-duet-radio{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-label.sc-duet-radio .duet-label-content.sc-duet-radio{flex-grow:1;font-size:1rem}.duet-label-hidden.sc-duet-radio .duet-label.sc-duet-radio{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-radio-container.sc-duet-radio{position:relative;width:100%;height:100%}.duet-radio.sc-duet-radio{padding:14px !important;position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;cursor:pointer;opacity:0}.duet-radio.sc-duet-radio+label.sc-duet-radio::before{z-index:100;flex-shrink:0;width:20px;height:20px;margin:2px 10px 1px 1px;content:"";background:rgb(255, 255, 255);border:1px solid rgb(0, 41, 77);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(23, 28, 58)}.duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{position:absolute;top:6px;left:5px;z-index:200;flex-shrink:0;width:12px;height:12px;content:"";background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(23, 28, 58)}.duet-radio[disabled].sc-duet-radio{cursor:default}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(116, 116, 117)}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(116, 116, 117)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::before{border:1px solid rgb(144, 149, 153)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(144, 149, 153)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(116, 116, 117);border-color:rgb(116, 116, 117)}';var l=e("duet_radio",function(){function e(e){var r=this;t(this,e);this.duetChange=i(this,"duetChange",7);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.radioId=n("DuetRadio");this.onClick=function(e){e.stopPropagation()};this.onChange=function(e){r.checked=r.nativeInput.checked||false;if(r.checked&&!r.blockEvents){r.duetChange.emit({originalEvent:e,checked:r.checked,value:r.value,component:"duet-radio"})}};this.onBlur=function(e){r.duetBlur.emit({originalEvent:e,checked:r.checked,value:r.value,component:"duet-radio"})};this.onFocus=function(e){r.duetFocus.emit({originalEvent:e,checked:r.checked,value:r.value,component:"duet-radio"})};this.accessibleActiveDescendant=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleIndex=undefined;this.margin="auto";this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.theme="";this.disabled=false;this.required=false;this.blockEvents=false;this.identifier=undefined;this.label="label";this.name=undefined;this.role=undefined;this.groupDisabled=undefined;this.groupDirection=undefined;this.groupResponsive=undefined;this.checked=undefined;this.value=undefined}e.prototype.componentWillLoad=function(){d(this);this.hasLabel=!!this.element.querySelector(":scope > [slot='label']");if(this.value===undefined){this.value=this.identifier}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.identifier||this.radioId;return r(o,{onClick:this.onClick,class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none"}},r("div",{class:{"duet-radio-container":true,"duet-theme-turva":this.theme==="turva"}},r("input",{type:"radio",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,tabindex:this.accessibleIndex,class:{"duet-radio":true,disabled:this.disabled||this.groupDisabled},checked:this.checked,disabled:this.disabled||this.groupDisabled,required:this.required,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,role:this.role,name:this.name,id:t,ref:function(t){return e.nativeInput=t}}),r("label",{class:"duet-label",htmlFor:t},r("div",{class:"duet-label-content"},this.hasLabel?r("slot",{name:"label"}):this.label))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());l.style=h;var f="*.sc-duet-radio-group,*.sc-duet-radio-group::after,*.sc-duet-radio-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-radio-group-h .duet-radio-group.sc-duet-radio-group{display:block}@media (min-width: 48em){.horizontal.sc-duet-radio-group-h .duet-radio-group.sc-duet-radio-group{display:flex}}.horizontal.sc-duet-radio-group-h .duet-radio-group.duet-no-stacking.sc-duet-radio-group{display:flex}.deut-radio-group.sc-duet-radio-group{width:100%}";var b=e("duet_radio_group",function(){function e(e){var i=this;t(this,e);this.onSelect=function(e){var t=e.target;if(t){i.value=t.value}e.cancelBubble=true};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.tooltip="";this.tooltipDirection="auto";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption="";this.responsive=false;this.value=undefined;this.disabled=undefined;this.required=false;this.accessibleLiveError="polite"}e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var i=this;return __generator(this,(function(r){switch(r.label){case 0:e=this.element;if(!(this.value===undefined))return[3,2];t=u(e,"duet-radio");if(!(t!==undefined))return[3,2];return[4,t.componentOnReady()];case 1:r.sent();if(this.value===undefined){this.value=t.value}r.label=2;case 2:this.mutationO=c(e,"duet-radio",(function(e){if(e!==undefined){e.componentOnReady().then((function(){i.value=e.value}))}else{i.updateRadios()}}));this.updateRadios();return[2]}}))}))};e.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};e.prototype.componentWillLoad=function(){d(this);s(this.element,"tooltip","duet-tooltip",1,true)};e.prototype.updateRadios=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,r,o,a;return __generator(this,(function(d){e=Array.from(this.element.querySelectorAll("duet-radio"));t=this.value;i=false;for(r=0,o=e;r<o.length;r++){a=o[r];a.name=this.name;a.required=this.required;a.groupDisabled=this.disabled;a.groupDirection=this.direction;a.groupResponsive=this.responsive;if(!i&&a.value===t){i=true;a.checked=true}else{a.checked=false}}if(!i){this.value=undefined}return[2]}))}))};e.prototype.render=function(){return r(o,{onDuetChange:this.onSelect,class:{horizontal:this.direction==="horizontal"}},r("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&r("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),r("slot",{name:"tooltip"}),r("div",{class:{"duet-radio-group":true,"duet-no-stacking":!this.responsive}},r("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:["updateRadios"],value:["updateRadios"],disabled:["updateRadios"],direction:["updateRadios"],responsive:["updateRadios"]}},enumerable:false,configurable:true});return e}());b.style=f}}}));
4
+ */System.register(["./p-5ffaa443.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-ae21ad57.system.js","./p-afad5fd3.system.js"],(function(e){"use strict";var t,i,r,o,a,d,n,s,u,c;return{setters:[function(e){t=e.r;i=e.c;r=e.h;o=e.H;a=e.g},function(e){d=e.i},function(e){n=e.c},function(e){s=e.c},function(e){u=e.f;c=e.w}],execute:function(){var h='*.sc-duet-radio,*.sc-duet-radio::after,*.sc-duet-radio::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-radio-h:last-child,.sc-duet-radio-h:last-of-type{margin-right:0 !important}.vertical.sc-duet-radio-h{margin-right:0 !important}.horizontal.sc-duet-radio-h{margin-bottom:0 !important;width:auto}.horizontal.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}@media (min-width: 48em){.horizontal-responsive.sc-duet-radio-h{margin-right:28px !important;margin-bottom:0 !important;width:auto}.horizontal-responsive.sc-duet-radio-h:last-child,.horizontal-responsive.sc-duet-radio-h:last-of-type{margin-right:0 !important}.horizontal-responsive.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}}.duet-m-0.sc-duet-radio-h{margin:0 !important}.sc-duet-radio-h:last-child:not(:only-child){margin-right:0 !important;margin-bottom:0 !important}.duet-label.sc-duet-radio{position:relative;z-index:100;display:flex;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;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77);word-break:break-word;overflow-wrap:break-word;cursor:pointer;background:transparent}.duet-theme-turva.sc-duet-radio .duet-label.sc-duet-radio{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-label.sc-duet-radio .duet-label-content.sc-duet-radio{flex-grow:1;font-size:1rem}.duet-label-hidden.sc-duet-radio .duet-label.sc-duet-radio{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-radio-container.sc-duet-radio{position:relative;width:100%;height:100%}.duet-radio.sc-duet-radio{padding:14px !important;position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;cursor:pointer;opacity:0}.duet-radio.sc-duet-radio+label.sc-duet-radio::before{z-index:100;flex-shrink:0;width:20px;height:20px;margin:2px 10px 1px 1px;content:"";background:rgb(255, 255, 255);border:1px solid rgb(0, 41, 77);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(23, 28, 58)}.duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{position:absolute;top:6px;left:5px;z-index:200;flex-shrink:0;width:12px;height:12px;content:"";background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(23, 28, 58)}.duet-radio[disabled].sc-duet-radio{cursor:default}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(116, 116, 117)}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(116, 116, 117)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::before{border:1px solid rgb(144, 149, 153)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(144, 149, 153)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(116, 116, 117);border-color:rgb(116, 116, 117)}';var l=e("duet_radio",function(){function e(e){var r=this;t(this,e);this.duetChange=i(this,"duetChange",7);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.radioId=n("DuetRadio");this.onClick=function(e){e.stopPropagation()};this.onChange=function(e){r.checked=r.nativeInput.checked||false;if(r.checked&&!r.blockEvents){r.duetChange.emit({originalEvent:e,checked:r.checked,value:r.value,component:"duet-radio"})}};this.onBlur=function(e){r.duetBlur.emit({originalEvent:e,checked:r.checked,value:r.value,component:"duet-radio"})};this.onFocus=function(e){r.duetFocus.emit({originalEvent:e,checked:r.checked,value:r.value,component:"duet-radio"})};this.accessibleActiveDescendant=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleIndex=undefined;this.margin="auto";this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.theme="";this.disabled=false;this.required=false;this.blockEvents=false;this.identifier=undefined;this.label="label";this.name=undefined;this.role=undefined;this.groupDisabled=undefined;this.groupDirection=undefined;this.groupResponsive=undefined;this.checked=undefined;this.value=undefined}e.prototype.componentWillLoad=function(){d(this);this.hasLabel=!!this.element.querySelector(":scope > [slot='label']");if(this.value===undefined){this.value=this.identifier}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.identifier||this.radioId;return r(o,{onClick:this.onClick,class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none"}},r("div",{class:{"duet-radio-container":true,"duet-theme-turva":this.theme==="turva"}},r("input",{type:"radio",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,tabindex:this.accessibleIndex,class:{"duet-radio":true,disabled:this.disabled||this.groupDisabled},checked:this.checked,disabled:this.disabled||this.groupDisabled,required:this.required,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,role:this.role,name:this.name,id:t,ref:function(t){return e.nativeInput=t}}),r("label",{class:"duet-label",htmlFor:t},r("div",{class:"duet-label-content"},this.hasLabel?r("slot",{name:"label"}):this.label))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());l.style=h;var f="*.sc-duet-radio-group,*.sc-duet-radio-group::after,*.sc-duet-radio-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-radio-group-h .duet-radio-group.sc-duet-radio-group{display:block}@media (min-width: 48em){.horizontal.sc-duet-radio-group-h .duet-radio-group.sc-duet-radio-group{display:flex}}.horizontal.sc-duet-radio-group-h .duet-radio-group.duet-no-stacking.sc-duet-radio-group{display:flex}.deut-radio-group.sc-duet-radio-group{width:100%}";var b=e("duet_radio_group",function(){function e(e){var i=this;t(this,e);this.onSelect=function(e){var t=e.target;if(t){i.value=t.value}e.cancelBubble=true};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.tooltip="";this.tooltipDirection="auto";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption="";this.responsive=false;this.value=undefined;this.disabled=undefined;this.required=false;this.accessibleLiveError="polite"}e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var i=this;return __generator(this,(function(r){switch(r.label){case 0:e=this.element;if(!(this.value===undefined))return[3,2];t=u(e,"duet-radio");if(!(t!==undefined))return[3,2];return[4,t.componentOnReady()];case 1:r.sent();if(this.value===undefined){this.value=t.value}r.label=2;case 2:this.mutationO=c(e,"duet-radio",(function(e){if(e!==undefined){e.componentOnReady().then((function(){i.value=e.value}))}else{i.updateRadios()}}));this.updateRadios();return[2]}}))}))};e.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};e.prototype.componentWillLoad=function(){d(this);s(this.element,"tooltip","duet-tooltip",1,true)};e.prototype.updateRadios=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,r,o,a;return __generator(this,(function(d){e=Array.from(this.element.querySelectorAll("duet-radio"));t=this.value;i=false;for(r=0,o=e;r<o.length;r++){a=o[r];a.name=this.name;a.required=this.required;a.groupDisabled=this.disabled;a.groupDirection=this.direction;a.groupResponsive=this.responsive;if(!i&&a.value===t){i=true;a.checked=true}else{a.checked=false}}if(!i){this.value=undefined}return[2]}))}))};e.prototype.render=function(){return r(o,{onDuetChange:this.onSelect,class:{horizontal:this.direction==="horizontal"}},r("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&r("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),r("slot",{name:"tooltip"}),r("div",{class:{"duet-radio-group":true,"duet-no-stacking":!this.responsive}},r("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:["updateRadios"],value:["updateRadios"],disabled:["updateRadios"],direction:["updateRadios"],responsive:["updateRadios"]}},enumerable:false,configurable:true});return e}());b.style=f}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,o,e,i){function s(t){return t instanceof e?t:new e((function(o){o(t)}))}return new(e||(e=Promise))((function(e,c){function n(t){try{r(i.next(t))}catch(t){c(t)}}function u(t){try{r(i["throw"](t))}catch(t){c(t)}}function r(t){t.done?e(t.value):s(t.value).then(n,u)}r((i=i.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},i,s,c,n;return n={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function u(t){return function(o){return r([t,o])}}function r(u){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,u[0]&&(e=0)),e)try{if(i=1,s&&(c=u[0]&2?s["return"]:u[0]?s["throw"]||((c=s["return"])&&c.call(s),0):s.next)&&!(c=c.call(s,u[1])).done)return c;if(s=0,c)u=[u[0]&2,c.value];switch(u[0]){case 0:case 1:c=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;s=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(c=e.trys,c=c.length>0&&c[c.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!c||u[1]>c[0]&&u[1]<c[3])){e.label=u[1];break}if(u[0]===6&&e.label<c[1]){e.label=c[1];c=u;break}if(c&&e.label<c[2]){e.label=c[2];e.ops.push(u);break}if(c[2])e.ops.pop();e.trys.pop();continue}u=o.call(t,e)}catch(t){u=[6,t];s=0}finally{i=c=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,o,e){if(e||arguments.length===2)for(var i=0,s=o.length,c;i<s;i++){if(c||!(i in o)){if(!c)c=Array.prototype.slice.call(o,0,i);c[i]=o[i]}}return t.concat(c||Array.prototype.slice.call(o))};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-9644775c.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-34d7dd10.system.js","./p-224f6c46.system.js","./p-ae21ad57.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var o,e,i,s,c,n,u,r,b,d,a,m,h,l,x,f,v,p,g,y,_;return{setters:[function(t){o=t.h;e=t.F;i=t.r;s=t.c;c=t.H;n=t.g},function(t){u=t.i},function(t){r=t.c},function(t){b=t.d},function(t){d=t.j;a=t.f;m=t.o;h=t.e;l=t.b;x=t.c},function(t){f=t.g;v=t.a;p=t.c;g=t.d},function(t){y=t.g},function(t){_=t.p}],execute:function(){var w=function(t){var i=t.item,s=t.search,c=s===void 0?"":s,n=t.selected;var u=c!==""?new RegExp("("+c.split(" ").join("|")+")","i"):undefined;return o(e,null,n&&o("duet-icon",{class:"option-icon",name:"messaging-checked",size:"xx-small",margin:"none"}),u?o("span",{class:"option-container","aria-hidden":"true"},o("span",{innerHTML:i.name.replace(u,'<span class="highlight sc-duet-combobox">$&</span>')})):i.name,i.tags&&o("span",{class:"option-tags"},i.tags.join(", ")))};var k=function(t){var e=t.item,i=t.active,s=t.total,c=t.selected,n=t.label,u=n===void 0?undefined:n,r=t.clickHandler,b=r===void 0?function(t){t.preventDefault()}:r,d=t.keyHandler,a=d===void 0?function(t){t.preventDefault()}:d,m=t.search;return o("li",{class:{"list-item":true,option:true,active:i,selected:c},id:i?"active_item":"","data-index":e.id,"aria-selected":i?"true":undefined,"aria-current":c?"true":undefined,role:"option","aria-label":u||"".concat(e.name,", (").concat(e.id+1," of ").concat(s,")")},o("a",{tabindex:"-1",onClick:function(t){return b(t)},onKeyUp:function(t){return a(t)},class:"option-link","aria-label":u||"".concat(e.name,", (").concat(e.id+1," of ").concat(s,")"),"aria-hidden":"true"},o(w,{item:e,search:m,selected:c})))};var S='.sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-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";color:rgb(0, 41, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(0, 41, 77);transition:none}.duet-theme-turva.sc-duet-combobox-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-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.selected.sc-duet-combobox{background:rgb(244, 207, 214)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox{position:absolute;top:calc(100% - 12px);z-index:700;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border-radius:0 4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.1);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-combobox-list.open.sc-duet-combobox{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox{max-height:200px;padding:0.75rem 0;margin:0;overflow-y:scroll;font-weight:600;list-style:none;cursor:pointer;scroll-behavior:smooth}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox{padding:4px 0}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected){padding-left:16px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected) .highlight.sc-duet-combobox{text-decoration:underline}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{float:right;padding-right:0.875rem;font-weight:400;color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.sc-duet-combobox{padding-left:0;background:rgb(205, 229, 241)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-icon.sc-duet-combobox{padding:0 8px 0 8px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}';var j=t("duet_combobox",function(){function t(t){var o=this;i(this,t);this.duetChange=s(this,"duetChange",3);this.listBoxId=r("duet-combobox-list-element");this.resizeObserver=new ResizeObserver(b((function(t){var e,i;if((t===null||t===void 0?void 0:t.length)===1){var s=(i=(e=t[0])===null||e===void 0?void 0:e.target)===null||i===void 0?void 0:i.getBoundingClientRect().width;o.listContainer.style.width="".concat(s+1,"px")}}),100));this.onInputChange=function(t){return __awaiter(o,void 0,void 0,(function(){var o;return __generator(this,(function(e){o=t.detail.value;this.inputValue=o;return[2]}))}))};this.onInputClick=function(){var t,e;if(o.openListOnClick){o.listOpen=!o.listOpen}else{o.listOpen=((t=o.inputValue)===null||t===void 0?void 0:t.length)>=o.minCharacters}if(!((e=o.getFilteredItems())===null||e===void 0?void 0:e.length)){o.listOpen=false}};this.onInputTyping=function(t){return __awaiter(o,void 0,void 0,(function(){var o,e;return __generator(this,(function(i){e=t.detail.value;if(!this.force&&!this.multiple&&this.selectedItems.size>0&&e!==this.getSelectedItemLabel()){this.selectedItems.clear()}this.listOpen=String(e).length>=this.minCharacters&&((o=this.getFilteredItems())===null||o===void 0?void 0:o.length)>0;return[2]}))}))};this.onKeyDown=function(t){var e=o.returnFilteredOrNonFiltered();o.input.accessibleActiveDescendant=undefined;if(d(t)){t.preventDefault();if(o.listOpen&&o.activeItem!==undefined&&e[o.activeItem]){if(o.multiple){o.addSelectedItem(e[o.activeItem].id,true)}else{o.updateSelectedItem(e[o.activeItem].id,true)}}o.activeItem=undefined;o.listOpen=false;return}if(a(t)||m(t)){o.updateInputText(true);o.activeItem=undefined;o.listOpen=false;return}if(h(t)&&o.inputValue===""){if(o.multiple&&o.selectedItems.size>0){var i=Array.from(o.selectedItems).pop();o.removeSelectedItem(i,true)}return}var s=o.activeItem;if(l(t)){t.preventDefault();s=o.activeItem-1}else if(x(t)){t.preventDefault();s=o.listOpen?o.activeItem+1:o.activeItem;o.listOpen=true}if(x(t)||l(t)){if(s<0||!s){s=0}if(s>=e.length){s=e.length-1}o.input.accessibleActiveDescendant="active_item";o.activeItem=s;o.scrollToActive()}return};this.processedItems=null;this.inputValue="";this.listOpen=false;this.selectedItems=new Set;this.activeItem=undefined;this.accessibleLabelDefaults={en:{heading:"Select:",item:"{name}, ({current} of {total})",itemFiltered:"{name}, ({current} of {total}, {hiddenItems} filtered)"},fi:{heading:"Valitse:",item:"{name}, ({current}/{total})",itemFiltered:"{name}, ({current}/{total}, {hiddenItems} suodatettu)"},sv:{heading:"Välj:",item:"{name}, ({current} av {total})",itemFiltered:"{name}, ({current} av {total}, {hiddenItems} filtrerade)"}};this.accessibleLabels=f(this.accessibleLabelDefaults,v());this.label="";this.caption="";this.theme="";this.force=false;this.multiple=false;this.items=undefined;this.formatter=function(t){return t&&t.name?t.name:""};this.value=undefined;this.minCharacters=1;this.openListOnClick=false;this.filterType="startsWith"}t.prototype.activeItemHandler=function(t){this.input.accessibleActiveDescendant=this.listOpen&&(t||t===0)?"active_item":""};t.prototype.handleDocumentClick=function(t){var o=this;var e=t.composedPath();var i=e.every((function(t){return t!==o.element}));if(i){this.updateInputText(true);this.listOpen=false}};t.prototype.formatItem=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(o){return[2,this.formatter(t)]}))}))};t.prototype.processItems=function(){var t=this;var o=[];this.processedItems=_(this.items);if(!Array.isArray(this.processedItems)){console.error("DuetCombobox: Items should be an array");return}if(this.processedItems.length!==new Set(__spreadArray([],this.processedItems,true)).size){console.warn("DuetCombobox: Duplicate item values found in the list")}this.processedItems=this.processedItems.map((function(t,e){if(typeof t==="string"){t={name:t,value:t}}if(t.id!==undefined){t.id=String(t.id)}else{t.id="".concat(JSON.stringify(t.value),"-").concat(t.name)}if(o.includes(t.id)){console.warn("DuetCombobox: Duplicate item id found in the list, postfixed with index");t.id="".concat(t.id,"-").concat(e)}o.push(t.id);return t}));var e=Array.from(this.selectedItems).filter((function(o){return!t.processedItems.find((function(t){return t.id===o}))}));if(e.length){if(this.multiple){e.forEach((function(o){return t.removeSelectedItem(o)}))}else{this.updateSelectedItem(e[0],true)}}};t.prototype.processValue=function(){var t=this;if(this.value!==""&&!this.value){this.selectedItems.clear();return}var o=Array.isArray(this.value)?this.value:[this.value];var e=this.processedItems.filter((function(t){return o.includes(t.value)})).map((function(t){return t.id}));if(e.length===this.selectedItems.size&&e.every((function(o){return t.selectedItems.has(o)}))){return}if(this.multiple){this.selectedItems.clear();this.input.clearChips();e.forEach((function(o){return t.addSelectedItem(o)}))}else{var i=this.processedItems.find((function(o){return o.value===t.value}));this.updateSelectedItem(i.id)}};t.prototype.processListOpenChange=function(){if(this.openListOnClick){this.input.icon=this.listOpen?"action-arrow-up":"action-arrow-down"}this.input.accessibleExpanded=this.listOpen?"true":"false"};t.prototype.componentWillLoad=function(){u(this)};t.prototype.connectedCallback=function(){if(this.items){this.processItems()}var t=y(this.element);if(t.length){this.input=t[0]}else{this.input=document.createElement("duet-input");this.input.label=this.label;this.input.caption=this.caption;this.input.expand=true;this.element.prepend(this.input)}this.input.chips=this.multiple;this.input.addEventListener("duetChange",this.onInputChange);this.input.addEventListener("duetInput",this.onInputTyping);this.input.addEventListener("click",this.onInputClick);this.input.role="combobox";this.input.accessibleExpanded=this.listOpen?"true":"false";this.input.accessibleAutocomplete="list";this.input.accessibleControls=this.listBoxId;this.element.addEventListener("keydown",this.onKeyDown);p(this,{prop:"accessibleLabels",defaults:"accessibleLabelDefaults"});this.processListOpenChange()};t.prototype.disconnectedCallback=function(){this.input.removeEventListener("duetChange",this.onInputChange);this.input.removeEventListener("click",this.onInputClick);this.element.removeEventListener("keydown",this.onKeyDown);this.resizeObserver.disconnect();g(this)};t.prototype.componentDidLoad=function(){this.resizeObserver.observe(this.input);this.processValue()};t.prototype.shouldListBeFiltered=function(){var t=this;if(!this.multiple&&this.selectedItems.size&&this.input.value===this.inputValue){var o=this.processedItems.find((function(o){return t.selectedItems.has(o.id)}));return!(this.formatter(o).toLowerCase()===this.input.value.toLowerCase())}return true};t.prototype.returnFilteredOrNonFiltered=function(){return this.processedItems?this.shouldListBeFiltered()?this.getFilteredItems():this.sortFilteredItems(this.processedItems):[]};t.prototype.emitChangeEvent=function(t){var o=this.processedItems.find((function(o){return o.id===t}));this.duetChange.emit({item:o,value:this.value,component:"duet-combobox"})};t.prototype.updateMultipleValue=function(){var t=this;this.value=this.processedItems.filter((function(o){return t.selectedItems.has(o.id)})).map((function(t){return t.value}));this.input.value="";this.updateChips()};t.prototype.addSelectedItem=function(t,o){if(this.selectedItems.has(t)){return}this.selectedItems.add(t);this.updateMultipleValue();if(o){this.emitChangeEvent(t)}};t.prototype.removeSelectedItem=function(t,o){if(!this.selectedItems.has(t)){return}this.selectedItems.delete(t);this.updateMultipleValue();if(o){this.emitChangeEvent(t)}};t.prototype.updateSelectedItem=function(t,o){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(this.selectedItems.has(t)){this.selectedItems.delete(t);this.value=undefined}else{this.selectedItems.clear();this.selectedItems.add(t);this.value=this.processedItems.find((function(o){return o.id===t})).value}if(o){this.emitChangeEvent(t)}return[4,this.updateInputText()];case 1:e.sent();return[2]}}))}))};t.prototype.updateChips=function(){return __awaiter(this,void 0,void 0,(function(){var t,o;var e=this;return __generator(this,(function(i){switch(i.label){case 0:t=Array.from(this.selectedItems);return[4,this.input.getChips()];case 1:o=i.sent();t.forEach((function(t){return __awaiter(e,void 0,void 0,(function(){var o,e,i,s;var c=this;return __generator(this,(function(n){switch(n.label){case 0:o=this.processedItems.find((function(o){return o.id===t}));return[4,this.formatItem(o)];case 1:e=n.sent();return[4,this.input.hasChip({value:"".concat(t),text:e})];case 2:i=n.sent();if(!i){s=document.createElement("duet-chip");s.variation="input";s.value="".concat(t);s.textContent=e;s.addEventListener("duetRemove",(function(t){var o=t.detail.value;c.removeSelectedItem(o,true)}));this.input.addChip(s)}return[2]}}))}))}));o.forEach((function(o){if(!t.includes(o.value)){o.remove()}}));return[2]}}))}))};t.prototype.getSelectedItemLabel=function(){return __awaiter(this,void 0,void 0,(function(){var t,o,e;var i=this;return __generator(this,(function(s){switch(s.label){case 0:t=this.processedItems.find((function(t){return i.selectedItems.has(t.id)}));if(!t)return[3,2];return[4,this.formatItem(t)];case 1:e=s.sent();return[3,3];case 2:e="";s.label=3;case 3:o=e;return[2,o]}}))}))};t.prototype.updateInputText=function(t){if(t===void 0){t=false}return __awaiter(this,void 0,void 0,(function(){var o,e;return __generator(this,(function(i){switch(i.label){case 0:if(t&&this.multiple){this.input.value="";return[2]}if(!(t&&this.force))return[3,3];if(!(this.selectedItems.size===0))return[3,1];this.input.value="";return[3,3];case 1:o=this.input;return[4,this.getSelectedItemLabel()];case 2:o.value=i.sent();i.label=3;case 3:if(!(!t&&this.selectedItems.size>0))return[3,5];this.input.value="";e=this.input;return[4,this.getSelectedItemLabel()];case 4:e.value=i.sent();this.input.scrollLeft=this.input.scrollWidth;i.label=5;case 5:return[2]}}))}))};t.prototype.onListClick=function(t,o){t.preventDefault();t.stopPropagation();if(this.multiple){this.addSelectedItem(o.id,true)}else{this.updateSelectedItem(o.id,true)}this.activeItem=undefined;this.listOpen=false;return this.listOpen};t.prototype.scrollToActive=function(){var t=this.listElement.querySelector(".active");if(t){t.scrollIntoView({behavior:"smooth",block:"center"})}};t.prototype.formatLabel=function(t,o,e){if(!t||e===undefined){return""}var i=o===e?this.accessibleLabels.item:this.accessibleLabels.itemFiltered;return i.replace("{name}",String(t.name)).replace("{current}",String(this.activeItem+1)).replace("{total}",String(o)).replace("{hiddenItems}",String(e-o))};t.prototype.getFilteredItems=function(){var t=this;var o=this.processedItems.filter((function(o){var e,i,s,c,n;return((e=String(o.value))===null||e===void 0?void 0:e.toLowerCase()[t.filterType]((i=t.inputValue)===null||i===void 0?void 0:i.toLowerCase()))||((s=String(o.name))===null||s===void 0?void 0:s.toLowerCase()[t.filterType]((c=t.inputValue)===null||c===void 0?void 0:c.toLowerCase()))||t.formatter(o).toLowerCase()[t.filterType]((n=t.inputValue)===null||n===void 0?void 0:n.toLowerCase())||t.selectedItems.has(o.id)})).filter((function(o){var e=true;if(t.multiple&&t.selectedItems.has(o.id)){e=false}return e}));return this.sortFilteredItems(o)};t.prototype.sortFilteredItems=function(t){var o=this;if(t.length>0){t.filter((function(t){return o.selectedItems.has(t.id)})).forEach((function(o){var e=t.indexOf(o);t.splice(e,1);t.unshift(o)}))}return t};t.prototype.render=function(){var t;var e=this;var i=this.returnFilteredOrNonFiltered();return o(c,{class:(t={"duet-combobox":true},t["duet-theme-".concat(this.theme)]=true,t)},o("slot",null),o("div",{class:{"duet-combobox-list":true,open:this.listOpen},ref:function(t){return e.listContainer=t}},o("ul",{class:{"duet-combobox-listbox-open":this.listOpen,"duet-combobox-listbox":true},role:"listbox",ref:function(t){return e.listElement=t},id:this.listBoxId},this.listOpen&&i.map((function(t,s){return o(k,{item:t,active:s===e.activeItem,selected:e.selectedItems.has(t.id),search:e.inputValue,total:i.length,clickHandler:function(o){return e.onListClick(o,t)},label:e.formatLabel(t,i.length,e.processedItems.length)})})))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{activeItem:["activeItemHandler"],items:["processItems"],value:["processValue"],listOpen:["processListOpenChange"]}},enumerable:false,configurable:true});return t}());j.style=S}}}));
4
+ */System.register(["./p-5ffaa443.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-41982d26.system.js","./p-34d7dd10.system.js","./p-224f6c46.system.js","./p-ae21ad57.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var o,e,i,s,c,n,u,r,b,d,a,m,h,l,x,f,v,p,g,y,_;return{setters:[function(t){o=t.h;e=t.F;i=t.r;s=t.c;c=t.H;n=t.g},function(t){u=t.i},function(t){r=t.c},function(t){b=t.d},function(t){d=t.j;a=t.f;m=t.o;h=t.e;l=t.b;x=t.c},function(t){f=t.g;v=t.a;p=t.c;g=t.d},function(t){y=t.g},function(t){_=t.p}],execute:function(){var w=function(t){var i=t.item,s=t.search,c=s===void 0?"":s,n=t.selected;var u=c!==""?new RegExp("("+c.split(" ").join("|")+")","i"):undefined;return o(e,null,n&&o("duet-icon",{class:"option-icon",name:"messaging-checked",size:"xx-small",margin:"none"}),u?o("span",{class:"option-container","aria-hidden":"true"},o("span",{innerHTML:i.name.replace(u,'<span class="highlight sc-duet-combobox">$&</span>')})):i.name,i.tags&&o("span",{class:"option-tags"},i.tags.join(", ")))};var k=function(t){var e=t.item,i=t.active,s=t.total,c=t.selected,n=t.label,u=n===void 0?undefined:n,r=t.clickHandler,b=r===void 0?function(t){t.preventDefault()}:r,d=t.keyHandler,a=d===void 0?function(t){t.preventDefault()}:d,m=t.search;return o("li",{class:{"list-item":true,option:true,active:i,selected:c},id:i?"active_item":"","data-index":e.id,"aria-selected":i?"true":undefined,"aria-current":c?"true":undefined,role:"option","aria-label":u||"".concat(e.name,", (").concat(e.id+1," of ").concat(s,")")},o("a",{tabindex:"-1",onClick:function(t){return b(t)},onKeyUp:function(t){return a(t)},class:"option-link","aria-label":u||"".concat(e.name,", (").concat(e.id+1," of ").concat(s,")"),"aria-hidden":"true"},o(w,{item:e,search:m,selected:c})))};var S='.sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-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";color:rgb(0, 41, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(0, 41, 77);transition:none}.duet-theme-turva.sc-duet-combobox-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-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.selected.sc-duet-combobox{background:rgb(244, 207, 214)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-theme-turva.sc-duet-combobox-h .duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox{position:absolute;top:calc(100% - 12px);z-index:700;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border-radius:0 4px;box-shadow:0 2px 10px 0 rgba(0, 41, 77, 0.1);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-combobox-list.open.sc-duet-combobox{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox{max-height:200px;padding:0.75rem 0;margin:0;overflow-y:scroll;font-weight:600;list-style:none;cursor:pointer;scroll-behavior:smooth}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox{padding:4px 0}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected){padding-left:16px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:not(.selected) .highlight.sc-duet-combobox{text-decoration:underline}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option.sc-duet-combobox .option-tags.sc-duet-combobox{float:right;padding-right:0.875rem;font-weight:400;color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.option-link.sc-duet-combobox{display:block;width:100%}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.sc-duet-combobox{padding-left:0;background:rgb(205, 229, 241)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-icon.sc-duet-combobox{padding:0 8px 0 8px}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.selected.option.sc-duet-combobox .option-tags.sc-duet-combobox{color:rgb(144, 149, 153)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus .option-tags.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover .option-tags.sc-duet-combobox{color:rgb(255, 255, 255)}.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.active.sc-duet-combobox a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:focus a.sc-duet-combobox,.duet-combobox-list.sc-duet-combobox .duet-combobox-listbox.sc-duet-combobox .list-item.sc-duet-combobox:hover a.sc-duet-combobox{color:rgb(255, 255, 255)}';var j=t("duet_combobox",function(){function t(t){var o=this;i(this,t);this.duetChange=s(this,"duetChange",3);this.listBoxId=r("duet-combobox-list-element");this.resizeObserver=new ResizeObserver(b((function(t){var e,i;if((t===null||t===void 0?void 0:t.length)===1){var s=(i=(e=t[0])===null||e===void 0?void 0:e.target)===null||i===void 0?void 0:i.getBoundingClientRect().width;o.listContainer.style.width="".concat(s+1,"px")}}),100));this.onInputChange=function(t){return __awaiter(o,void 0,void 0,(function(){var o;return __generator(this,(function(e){o=t.detail.value;this.inputValue=o;return[2]}))}))};this.onInputClick=function(){var t,e;if(o.openListOnClick){o.listOpen=!o.listOpen}else{o.listOpen=((t=o.inputValue)===null||t===void 0?void 0:t.length)>=o.minCharacters}if(!((e=o.getFilteredItems())===null||e===void 0?void 0:e.length)){o.listOpen=false}};this.onInputTyping=function(t){return __awaiter(o,void 0,void 0,(function(){var o,e;return __generator(this,(function(i){e=t.detail.value;if(!this.force&&!this.multiple&&this.selectedItems.size>0&&e!==this.getSelectedItemLabel()){this.selectedItems.clear()}this.listOpen=String(e).length>=this.minCharacters&&((o=this.getFilteredItems())===null||o===void 0?void 0:o.length)>0;return[2]}))}))};this.onKeyDown=function(t){var e=o.returnFilteredOrNonFiltered();o.input.accessibleActiveDescendant=undefined;if(d(t)){t.preventDefault();if(o.listOpen&&o.activeItem!==undefined&&e[o.activeItem]){if(o.multiple){o.addSelectedItem(e[o.activeItem].id,true)}else{o.updateSelectedItem(e[o.activeItem].id,true)}}o.activeItem=undefined;o.listOpen=false;return}if(a(t)||m(t)){o.updateInputText(true);o.activeItem=undefined;o.listOpen=false;return}if(h(t)&&o.inputValue===""){if(o.multiple&&o.selectedItems.size>0){var i=Array.from(o.selectedItems).pop();o.removeSelectedItem(i,true)}return}var s=o.activeItem;if(l(t)){t.preventDefault();s=o.activeItem-1}else if(x(t)){t.preventDefault();s=o.listOpen?o.activeItem+1:o.activeItem;o.listOpen=true}if(x(t)||l(t)){if(s<0||!s){s=0}if(s>=e.length){s=e.length-1}o.input.accessibleActiveDescendant="active_item";o.activeItem=s;o.scrollToActive()}return};this.processedItems=null;this.inputValue="";this.listOpen=false;this.selectedItems=new Set;this.activeItem=undefined;this.accessibleLabelDefaults={en:{heading:"Select:",item:"{name}, ({current} of {total})",itemFiltered:"{name}, ({current} of {total}, {hiddenItems} filtered)"},fi:{heading:"Valitse:",item:"{name}, ({current}/{total})",itemFiltered:"{name}, ({current}/{total}, {hiddenItems} suodatettu)"},sv:{heading:"Välj:",item:"{name}, ({current} av {total})",itemFiltered:"{name}, ({current} av {total}, {hiddenItems} filtrerade)"}};this.accessibleLabels=f(this.accessibleLabelDefaults,v());this.label="";this.caption="";this.theme="";this.force=false;this.multiple=false;this.items=undefined;this.formatter=function(t){return t&&t.name?t.name:""};this.value=undefined;this.minCharacters=1;this.openListOnClick=false;this.filterType="startsWith"}t.prototype.activeItemHandler=function(t){this.input.accessibleActiveDescendant=this.listOpen&&(t||t===0)?"active_item":""};t.prototype.handleDocumentClick=function(t){var o=this;var e=t.composedPath();var i=e.every((function(t){return t!==o.element}));if(i){this.updateInputText(true);this.listOpen=false}};t.prototype.formatItem=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(o){return[2,this.formatter(t)]}))}))};t.prototype.processItems=function(){var t=this;var o=[];this.processedItems=_(this.items);if(!Array.isArray(this.processedItems)){console.error("DuetCombobox: Items should be an array");return}if(this.processedItems.length!==new Set(__spreadArray([],this.processedItems,true)).size){console.warn("DuetCombobox: Duplicate item values found in the list")}this.processedItems=this.processedItems.map((function(t,e){if(typeof t==="string"){t={name:t,value:t}}if(t.id!==undefined){t.id=String(t.id)}else{t.id="".concat(JSON.stringify(t.value),"-").concat(t.name)}if(o.includes(t.id)){console.warn("DuetCombobox: Duplicate item id found in the list, postfixed with index");t.id="".concat(t.id,"-").concat(e)}o.push(t.id);return t}));var e=Array.from(this.selectedItems).filter((function(o){return!t.processedItems.find((function(t){return t.id===o}))}));if(e.length){if(this.multiple){e.forEach((function(o){return t.removeSelectedItem(o)}))}else{this.updateSelectedItem(e[0],true)}}};t.prototype.processValue=function(){var t=this;if(this.value!==""&&!this.value){this.selectedItems.clear();return}var o=Array.isArray(this.value)?this.value:[this.value];var e=this.processedItems.filter((function(t){return o.includes(t.value)})).map((function(t){return t.id}));if(e.length===this.selectedItems.size&&e.every((function(o){return t.selectedItems.has(o)}))){return}if(this.multiple){this.selectedItems.clear();this.input.clearChips();e.forEach((function(o){return t.addSelectedItem(o)}))}else{var i=this.processedItems.find((function(o){return o.value===t.value}));this.updateSelectedItem(i.id)}};t.prototype.processListOpenChange=function(){if(this.openListOnClick){this.input.icon=this.listOpen?"action-arrow-up":"action-arrow-down"}this.input.accessibleExpanded=this.listOpen?"true":"false"};t.prototype.componentWillLoad=function(){u(this)};t.prototype.connectedCallback=function(){if(this.items){this.processItems()}var t=y(this.element);if(t.length){this.input=t[0]}else{this.input=document.createElement("duet-input");this.input.label=this.label;this.input.caption=this.caption;this.input.expand=true;this.element.prepend(this.input)}this.input.chips=this.multiple;this.input.addEventListener("duetChange",this.onInputChange);this.input.addEventListener("duetInput",this.onInputTyping);this.input.addEventListener("click",this.onInputClick);this.input.role="combobox";this.input.accessibleExpanded=this.listOpen?"true":"false";this.input.accessibleAutocomplete="list";this.input.accessibleControls=this.listBoxId;this.element.addEventListener("keydown",this.onKeyDown);p(this,{prop:"accessibleLabels",defaults:"accessibleLabelDefaults"});this.processListOpenChange()};t.prototype.disconnectedCallback=function(){this.input.removeEventListener("duetChange",this.onInputChange);this.input.removeEventListener("click",this.onInputClick);this.element.removeEventListener("keydown",this.onKeyDown);this.resizeObserver.disconnect();g(this)};t.prototype.componentDidLoad=function(){this.resizeObserver.observe(this.input);this.processValue()};t.prototype.shouldListBeFiltered=function(){var t=this;if(!this.multiple&&this.selectedItems.size&&this.input.value===this.inputValue){var o=this.processedItems.find((function(o){return t.selectedItems.has(o.id)}));return!(this.formatter(o).toLowerCase()===this.input.value.toLowerCase())}return true};t.prototype.returnFilteredOrNonFiltered=function(){return this.processedItems?this.shouldListBeFiltered()?this.getFilteredItems():this.sortFilteredItems(this.processedItems):[]};t.prototype.emitChangeEvent=function(t){var o=this.processedItems.find((function(o){return o.id===t}));this.duetChange.emit({item:o,value:this.value,component:"duet-combobox"})};t.prototype.updateMultipleValue=function(){var t=this;this.value=this.processedItems.filter((function(o){return t.selectedItems.has(o.id)})).map((function(t){return t.value}));this.input.value="";this.updateChips()};t.prototype.addSelectedItem=function(t,o){if(this.selectedItems.has(t)){return}this.selectedItems.add(t);this.updateMultipleValue();if(o){this.emitChangeEvent(t)}};t.prototype.removeSelectedItem=function(t,o){if(!this.selectedItems.has(t)){return}this.selectedItems.delete(t);this.updateMultipleValue();if(o){this.emitChangeEvent(t)}};t.prototype.updateSelectedItem=function(t,o){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(this.selectedItems.has(t)){this.selectedItems.delete(t);this.value=undefined}else{this.selectedItems.clear();this.selectedItems.add(t);this.value=this.processedItems.find((function(o){return o.id===t})).value}if(o){this.emitChangeEvent(t)}return[4,this.updateInputText()];case 1:e.sent();return[2]}}))}))};t.prototype.updateChips=function(){return __awaiter(this,void 0,void 0,(function(){var t,o;var e=this;return __generator(this,(function(i){switch(i.label){case 0:t=Array.from(this.selectedItems);return[4,this.input.getChips()];case 1:o=i.sent();t.forEach((function(t){return __awaiter(e,void 0,void 0,(function(){var o,e,i,s;var c=this;return __generator(this,(function(n){switch(n.label){case 0:o=this.processedItems.find((function(o){return o.id===t}));return[4,this.formatItem(o)];case 1:e=n.sent();return[4,this.input.hasChip({value:"".concat(t),text:e})];case 2:i=n.sent();if(!i){s=document.createElement("duet-chip");s.variation="input";s.value="".concat(t);s.textContent=e;s.addEventListener("duetRemove",(function(t){var o=t.detail.value;c.removeSelectedItem(o,true)}));this.input.addChip(s)}return[2]}}))}))}));o.forEach((function(o){if(!t.includes(o.value)){o.remove()}}));return[2]}}))}))};t.prototype.getSelectedItemLabel=function(){return __awaiter(this,void 0,void 0,(function(){var t,o,e;var i=this;return __generator(this,(function(s){switch(s.label){case 0:t=this.processedItems.find((function(t){return i.selectedItems.has(t.id)}));if(!t)return[3,2];return[4,this.formatItem(t)];case 1:e=s.sent();return[3,3];case 2:e="";s.label=3;case 3:o=e;return[2,o]}}))}))};t.prototype.updateInputText=function(t){if(t===void 0){t=false}return __awaiter(this,void 0,void 0,(function(){var o,e;return __generator(this,(function(i){switch(i.label){case 0:if(t&&this.multiple){this.input.value="";return[2]}if(!(t&&this.force))return[3,3];if(!(this.selectedItems.size===0))return[3,1];this.input.value="";return[3,3];case 1:o=this.input;return[4,this.getSelectedItemLabel()];case 2:o.value=i.sent();i.label=3;case 3:if(!(!t&&this.selectedItems.size>0))return[3,5];this.input.value="";e=this.input;return[4,this.getSelectedItemLabel()];case 4:e.value=i.sent();this.input.scrollLeft=this.input.scrollWidth;i.label=5;case 5:return[2]}}))}))};t.prototype.onListClick=function(t,o){t.preventDefault();t.stopPropagation();if(this.multiple){this.addSelectedItem(o.id,true)}else{this.updateSelectedItem(o.id,true)}this.activeItem=undefined;this.listOpen=false;return this.listOpen};t.prototype.scrollToActive=function(){var t=this.listElement.querySelector(".active");if(t){t.scrollIntoView({behavior:"smooth",block:"center"})}};t.prototype.formatLabel=function(t,o,e){if(!t||e===undefined){return""}var i=o===e?this.accessibleLabels.item:this.accessibleLabels.itemFiltered;return i.replace("{name}",String(t.name)).replace("{current}",String(this.activeItem+1)).replace("{total}",String(o)).replace("{hiddenItems}",String(e-o))};t.prototype.getFilteredItems=function(){var t=this;var o=this.processedItems.filter((function(o){var e,i,s,c,n;return((e=String(o.value))===null||e===void 0?void 0:e.toLowerCase()[t.filterType]((i=t.inputValue)===null||i===void 0?void 0:i.toLowerCase()))||((s=String(o.name))===null||s===void 0?void 0:s.toLowerCase()[t.filterType]((c=t.inputValue)===null||c===void 0?void 0:c.toLowerCase()))||t.formatter(o).toLowerCase()[t.filterType]((n=t.inputValue)===null||n===void 0?void 0:n.toLowerCase())||t.selectedItems.has(o.id)})).filter((function(o){var e=true;if(t.multiple&&t.selectedItems.has(o.id)){e=false}return e}));return this.sortFilteredItems(o)};t.prototype.sortFilteredItems=function(t){var o=this;if(t.length>0){t.filter((function(t){return o.selectedItems.has(t.id)})).forEach((function(o){var e=t.indexOf(o);t.splice(e,1);t.unshift(o)}))}return t};t.prototype.render=function(){var t;var e=this;var i=this.returnFilteredOrNonFiltered();return o(c,{class:(t={"duet-combobox":true},t["duet-theme-".concat(this.theme)]=true,t)},o("slot",null),o("div",{class:{"duet-combobox-list":true,open:this.listOpen},ref:function(t){return e.listContainer=t}},o("ul",{class:{"duet-combobox-listbox-open":this.listOpen,"duet-combobox-listbox":true},role:"listbox",ref:function(t){return e.listElement=t},id:this.listBoxId},this.listOpen&&i.map((function(t,s){return o(k,{item:t,active:s===e.activeItem,selected:e.selectedItems.has(t.id),search:e.inputValue,total:i.length,clickHandler:function(o){return e.onListClick(o,t)},label:e.formatLabel(t,i.length,e.processedItems.length)})})))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{activeItem:["activeItemHandler"],items:["processItems"],value:["processValue"],listOpen:["processListOpenChange"]}},enumerable:false,configurable:true});return t}());j.style=S}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c as t,h as s,H as o,g as i}from"./p-83e9058b.js";import{i as a}from"./p-a58bd561.js";import{c as n}from"./p-5e59e970.js";import{i as r}from"./p-a1b7f2a0.js";import{a as h,g as l,c as m,d as c}from"./p-2e36d5bf.js";import"./p-0e052642.js";const p=class{constructor(s){e(this,s),this.duetToggle=t(this,"duetToggle",7),this.contentId=n("DuetShowMore"),this.buttonId=n("DuetShowMoreButton"),this.handleKeyDown=e=>{r(e)&&this.handleClick(e)},this.handleClick=e=>{e.preventDefault();const t=!this.open;this.open=t,t?(setTimeout((()=>{this.contentElement.focus()}),100),setTimeout((()=>{this.buttonAriaOpen=t}),500)):this.buttonAriaOpen=t,this.duetToggle.emit({component:"duet-show-more",originalEvent:e})},this.buttonAriaOpen=!1,this.theme="",this.language=h(),this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"},this.showMoreLabel=l(this.showMoreLabelDefaults),this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"},this.showLessLabel=l(this.showLessLabelDefaults),this.showMoreAccessibleLabelDefaults={fi:"Näytä lisää tästä aiheesta",sv:"Visa mer om detta ämne",en:"Show more about this subject"},this.showMoreAccessibleLabel=l(this.showMoreAccessibleLabelDefaults),this.showLessAccessibleLabelDefaults={fi:"Näytä vähemmän tästä aiheesta",sv:"Visa mindre om detta ämne",en:"Show less about this subject"},this.showLessAccessibleLabel=l(this.showLessAccessibleLabelDefaults),this.margin="auto",this.buttonMargin="auto",this.buttonPadding="auto",this.open=!1}componentWillLoad(){a(this),this.buttonAriaOpen=this.open}connectedCallback(){m(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])}disconnectedCallback(){c(this)}render(){return s(o,null,s("div",{class:{"duet-show-more":!0,"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin,open:this.open}},s("div",{ref:e=>this.contentElement=e,class:{content:!0},id:this.contentId,tabindex:this.open?"0":""},s("div",{class:{"slotted-content":!0}},s("slot",null))),s("duet-button",{id:this.buttonId,variation:"plain","accessible-label":this.buttonAriaOpen?this.showLessAccessibleLabel:this.showMoreAccessibleLabel,"accessible-expanded":this.buttonAriaOpen?"true":"false","accessible-controls":this.contentId,onClick:this.handleClick,onKeyDown:this.handleKeyDown,"icon-right":!0,icon:this.open?"action-arrow-up-small":"action-arrow-down-small","icon-size":"medium-small",size:"small",margin:this.buttonMargin,padding:this.buttonPadding,theme:"turva"===this.theme?"turva":"default"},this.open?this.showLessLabel:this.showMoreLabel)))}get element(){return i(this)}};p.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}.duet-show-more{margin-bottom:16px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';export{p as duet_show_more}
4
+ import{r as e,c as t,h as s,H as o,g as i}from"./p-e2d05479.js";import{i as a}from"./p-a58bd561.js";import{c as n}from"./p-5e59e970.js";import{i as r}from"./p-a1b7f2a0.js";import{a as h,g as l,c as m,d as c}from"./p-2e36d5bf.js";import"./p-0e052642.js";const d=class{constructor(s){e(this,s),this.duetToggle=t(this,"duetToggle",7),this.contentId=n("DuetShowMore"),this.buttonId=n("DuetShowMoreButton"),this.handleKeyDown=e=>{r(e)&&this.handleClick(e)},this.handleClick=e=>{e.preventDefault();const t=!this.open;this.open=t,t?(setTimeout((()=>{this.contentElement.focus()}),100),setTimeout((()=>{this.buttonAriaOpen=t}),500)):this.buttonAriaOpen=t,this.duetToggle.emit({component:"duet-show-more",originalEvent:e})},this.buttonAriaOpen=!1,this.theme="",this.language=h(),this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"},this.showMoreLabel=l(this.showMoreLabelDefaults),this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"},this.showLessLabel=l(this.showLessLabelDefaults),this.showMoreAccessibleLabelDefaults={fi:"Näytä lisää tästä aiheesta",sv:"Visa mer om detta ämne",en:"Show more about this subject"},this.showMoreAccessibleLabel=l(this.showMoreAccessibleLabelDefaults),this.showLessAccessibleLabelDefaults={fi:"Näytä vähemmän tästä aiheesta",sv:"Visa mindre om detta ämne",en:"Show less about this subject"},this.showLessAccessibleLabel=l(this.showLessAccessibleLabelDefaults),this.margin="auto",this.buttonMargin="auto",this.buttonPadding="auto",this.open=!1}componentWillLoad(){a(this),this.buttonAriaOpen=this.open}connectedCallback(){m(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])}disconnectedCallback(){c(this)}render(){return s(o,null,s("div",{class:{"duet-show-more":!0,"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin,open:this.open}},s("div",{ref:e=>this.contentElement=e,class:{content:!0},id:this.contentId,tabindex:this.open?"0":""},s("div",{class:{"slotted-content":!0}},s("slot",null))),s("duet-button",{id:this.buttonId,variation:"plain","accessible-label":this.buttonAriaOpen?this.showLessAccessibleLabel:this.showMoreAccessibleLabel,"accessible-expanded":this.buttonAriaOpen?"true":"false","accessible-controls":this.contentId,onClick:this.handleClick,onKeyDown:this.handleKeyDown,"icon-right":!0,icon:this.open?"action-arrow-up-small":"action-arrow-down-small","icon-size":"medium-small",size:"small",margin:this.buttonMargin,padding:this.buttonPadding,theme:"turva"===this.theme?"turva":"default"},this.open?this.showLessLabel:this.showMoreLabel)))}get element(){return i(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-show-more{margin-bottom:16px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}';export{d as duet_show_more}