@duetds/components 9.18.0 → 9.19.1

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 (758) hide show
  1. package/hydrate/index.js +165 -108
  2. package/lib/cjs/{a11y-utils-5b56e0b1.js → a11y-utils-f8e4367b.js} +1 -1
  3. package/lib/cjs/{app-globals-628c4829.js → app-globals-2b37fc0d.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
  5. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-badge.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-banner.cjs.entry.js +17 -10
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  10. package/lib/cjs/duet-button_2.cjs.entry.js +17 -15
  11. package/lib/cjs/duet-callout.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
  13. package/lib/cjs/duet-card.cjs.entry.js +10 -9
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +5 -5
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +5 -5
  19. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +11 -8
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +5 -5
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +5 -4
  30. package/lib/cjs/duet-header_2.cjs.entry.js +7 -7
  31. package/lib/cjs/duet-hero.cjs.entry.js +16 -9
  32. package/lib/cjs/duet-icon.cjs.entry.js +4 -4
  33. package/lib/cjs/duet-indicator.cjs.entry.js +9 -4
  34. package/lib/cjs/duet-input_2.cjs.entry.js +7 -7
  35. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -5
  41. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
  43. package/lib/cjs/duet-modal.cjs.entry.js +9 -9
  44. package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
  45. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  46. package/lib/cjs/duet-notification_2.cjs.entry.js +13 -6
  47. package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
  48. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
  51. package/lib/cjs/duet-panel.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-phone-input.cjs.entry.js +5 -5
  53. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +7 -7
  54. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-promo-card.cjs.entry.js +9 -8
  56. package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
  57. package/lib/cjs/duet-range-slider.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-scrollable_3.cjs.entry.js +7 -7
  59. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-select.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
  64. package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-slideout-panel.cjs.entry.js +9 -9
  69. package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
  70. package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
  71. package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  73. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
  74. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  75. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  76. package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-textarea.cjs.entry.js +47 -29
  78. package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  82. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  83. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
  85. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  86. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  87. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  88. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  89. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  90. package/lib/cjs/duet.cjs.js +3 -3
  91. package/lib/cjs/{errorcodes.utils-d6716198.js → errorcodes.utils-1866faa9.js} +1 -1
  92. package/lib/cjs/{focus-utils-21cb0103.js → focus-utils-3a78068c.js} +1 -1
  93. package/lib/cjs/{index-0444d660.js → index-8689e0f0.js} +1 -1
  94. package/lib/cjs/{language-utils-a34e2467.js → language-utils-82c441a5.js} +1 -1
  95. package/lib/cjs/loader.cjs.js +3 -3
  96. package/lib/cjs/{slot-utils-4baa4a9d.js → slot-utils-6f9e2d2b.js} +1 -1
  97. package/lib/cjs/{themeable-component-ee2255e3.js → themeable-component-b663d703.js} +1 -1
  98. package/lib/cjs/{token-utils-955dd258.js → token-utils-3cc1c517.js} +1 -1
  99. package/lib/cjs/{tokens-bdaa8818.js → tokens-62c31e5d.js} +3 -3
  100. package/lib/cjs/{tokens.module-2358195b.js → tokens.module-db9df617.js} +3 -3
  101. package/lib/collection/components/duet-badge/duet-badge.css +3 -0
  102. package/lib/collection/components/duet-banner/duet-banner.css +24 -4
  103. package/lib/collection/components/duet-banner/duet-banner.js +30 -4
  104. package/lib/collection/components/duet-button/duet-button.css +19 -2
  105. package/lib/collection/components/duet-card/duet-card.css +4 -1
  106. package/lib/collection/components/duet-card/duet-card.js +23 -3
  107. package/lib/collection/components/duet-checkbox/duet-checkbox.css +3 -0
  108. package/lib/collection/components/duet-chip/duet-chip.css +3 -0
  109. package/lib/collection/components/duet-choice/duet-choice.css +9 -3
  110. package/lib/collection/components/duet-collapsible/duet-collapsible.css +3 -0
  111. package/lib/collection/components/duet-date-picker/duet-date-picker.css +3 -0
  112. package/lib/collection/components/duet-footer/duet-footer.js +1 -1
  113. package/lib/collection/components/duet-grid/duet-grid.js +4 -3
  114. package/lib/collection/components/duet-hero/duet-hero.js +31 -5
  115. package/lib/collection/components/duet-indicator/duet-indicator.css +4 -0
  116. package/lib/collection/components/duet-indicator/duet-indicator.js +32 -1
  117. package/lib/collection/components/duet-input/duet-input.css +3 -0
  118. package/lib/collection/components/duet-link/duet-link.css +29 -12
  119. package/lib/collection/components/duet-link/duet-link.js +3 -3
  120. package/lib/collection/components/duet-logo/duet-logo.css +3 -0
  121. package/lib/collection/components/duet-modal/duet-modal.js +2 -2
  122. package/lib/collection/components/duet-multiselect/duet-multiselect.css +3 -0
  123. package/lib/collection/components/duet-notification/duet-notification.css +1 -1
  124. package/lib/collection/components/duet-notification/duet-notification.js +9 -2
  125. package/lib/collection/components/duet-number-input/duet-number-input.css +3 -0
  126. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  127. package/lib/collection/components/duet-phone-input/duet-phone-input.css +3 -0
  128. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  129. package/lib/collection/components/duet-promo-card/duet-promo-card.css +3 -0
  130. package/lib/collection/components/duet-promo-card/duet-promo-card.js +22 -2
  131. package/lib/collection/components/duet-radio/duet-radio.css +6 -0
  132. package/lib/collection/components/duet-range-slider/duet-range-slider.css +3 -0
  133. package/lib/collection/components/duet-select/duet-select.css +3 -0
  134. package/lib/collection/components/duet-slideout/duet-slideout.css +9 -12
  135. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +2 -2
  136. package/lib/collection/components/duet-spinner/duet-spinner.css +5 -14
  137. package/lib/collection/components/duet-spinner/duet-spinner.js +15 -15
  138. package/lib/collection/components/duet-tab-group/duet-tab-group.css +1 -15
  139. package/lib/collection/components/duet-table/duet-table.js +3 -3
  140. package/lib/collection/components/duet-textarea/duet-textarea.css +3 -0
  141. package/lib/collection/components/duet-textarea/duet-textarea.js +55 -29
  142. package/lib/collection/components/duet-toggle/duet-toggle.css +3 -0
  143. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  144. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  145. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  146. package/lib/dist-custom-elements/duet-alert.js +1 -1
  147. package/lib/dist-custom-elements/duet-badge.js +1 -1
  148. package/lib/dist-custom-elements/duet-banner.js +17 -9
  149. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  150. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  151. package/lib/dist-custom-elements/duet-button.js +1 -1
  152. package/lib/dist-custom-elements/duet-callout.js +2 -2
  153. package/lib/dist-custom-elements/duet-caption.js +1 -1
  154. package/lib/dist-custom-elements/duet-card.js +10 -8
  155. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  156. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  157. package/lib/dist-custom-elements/duet-chip.js +1 -1
  158. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  159. package/lib/dist-custom-elements/duet-choice.js +5 -5
  160. package/lib/dist-custom-elements/duet-collapsible.js +5 -5
  161. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  162. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  163. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  164. package/lib/dist-custom-elements/duet-date-picker.js +14 -14
  165. package/lib/dist-custom-elements/duet-divider.js +1 -1
  166. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  167. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  168. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  169. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  170. package/lib/dist-custom-elements/duet-footer.js +8 -8
  171. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  172. package/lib/dist-custom-elements/duet-grid.js +1 -1
  173. package/lib/dist-custom-elements/duet-header.js +10 -10
  174. package/lib/dist-custom-elements/duet-heading.js +1 -1
  175. package/lib/dist-custom-elements/duet-hero.js +22 -14
  176. package/lib/dist-custom-elements/duet-icon.js +1 -1
  177. package/lib/dist-custom-elements/duet-indicator.js +1 -1
  178. package/lib/dist-custom-elements/duet-input.js +1 -1
  179. package/lib/dist-custom-elements/duet-label.js +1 -1
  180. package/lib/dist-custom-elements/duet-layout.js +1 -1
  181. package/lib/dist-custom-elements/duet-link.js +1 -1
  182. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  183. package/lib/dist-custom-elements/duet-list.js +1 -1
  184. package/lib/dist-custom-elements/duet-logo.js +1 -1
  185. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  186. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  187. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  188. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  189. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  190. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  191. package/lib/dist-custom-elements/duet-modal.js +11 -11
  192. package/lib/dist-custom-elements/duet-multiselect.js +10 -10
  193. package/lib/dist-custom-elements/duet-nav.js +1 -1
  194. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  195. package/lib/dist-custom-elements/duet-notification.js +13 -6
  196. package/lib/dist-custom-elements/duet-number-input.js +12 -12
  197. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  198. package/lib/dist-custom-elements/duet-page-heading.js +3 -3
  199. package/lib/dist-custom-elements/duet-pagination.js +25 -25
  200. package/lib/dist-custom-elements/duet-panel.js +1 -1
  201. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  202. package/lib/dist-custom-elements/duet-phone-input.js +17 -17
  203. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  204. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  205. package/lib/dist-custom-elements/duet-progress.js +1 -1
  206. package/lib/dist-custom-elements/duet-promo-card.js +9 -7
  207. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  208. package/lib/dist-custom-elements/duet-radio.js +2 -2
  209. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  210. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  211. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  212. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  213. package/lib/dist-custom-elements/duet-select.js +1 -1
  214. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  215. package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
  216. package/lib/dist-custom-elements/duet-share-chart.js +3 -3
  217. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  218. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  219. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  220. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  221. package/lib/dist-custom-elements/duet-slideout-panel.js +7 -7
  222. package/lib/dist-custom-elements/duet-slideout.js +5 -5
  223. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  224. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  225. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  226. package/lib/dist-custom-elements/duet-step.js +4 -4
  227. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  228. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  229. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  230. package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
  231. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  232. package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
  233. package/lib/dist-custom-elements/duet-tab-group.js +9 -9
  234. package/lib/dist-custom-elements/duet-tab.js +2 -2
  235. package/lib/dist-custom-elements/duet-table.js +1 -1
  236. package/lib/dist-custom-elements/duet-textarea.js +57 -36
  237. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  238. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  239. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  240. package/lib/dist-custom-elements/duet-toolbar-item.js +7 -7
  241. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  242. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  243. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  244. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  245. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  246. package/lib/dist-custom-elements/duet-tray.js +4 -4
  247. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  248. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  249. package/lib/dist-custom-elements/duet-upload.js +20 -20
  250. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  251. package/lib/dist-custom-elements/index.js +1 -1
  252. package/lib/dist-custom-elements/{p-c26b81c2.js → p-039d4ba6.js} +11 -5
  253. package/lib/dist-custom-elements/{p-0e8e6adf.js → p-0defe821.js} +2 -2
  254. package/lib/dist-custom-elements/{p-a230e7ac.js → p-0ec15ba7.js} +9 -9
  255. package/lib/dist-custom-elements/{p-d6911e61.js → p-0eec21d3.js} +2 -2
  256. package/lib/dist-custom-elements/{p-d84ceb08.js → p-1385415a.js} +4 -4
  257. package/lib/dist-custom-elements/{p-376095a8.js → p-25acb470.js} +2 -2
  258. package/lib/dist-custom-elements/{p-dcc8afe8.js → p-2967d610.js} +7 -7
  259. package/lib/dist-custom-elements/p-2b66b8d4.js +66 -0
  260. package/lib/dist-custom-elements/{p-86c95505.js → p-30456bad.js} +3 -3
  261. package/lib/dist-custom-elements/{p-1dc37c4b.js → p-32d33753.js} +1 -1
  262. package/lib/dist-custom-elements/{p-7645b4d2.js → p-3caafb9d.js} +2 -2
  263. package/lib/dist-custom-elements/{p-1f2c89d9.js → p-48cbe41a.js} +2 -2
  264. package/lib/dist-custom-elements/{p-3ee131dc.js → p-4b13a990.js} +2 -2
  265. package/lib/dist-custom-elements/{p-aa626f8d.js → p-4c473784.js} +1 -1
  266. package/lib/dist-custom-elements/{p-db56d5a8.js → p-5b72a3b0.js} +1 -1
  267. package/lib/dist-custom-elements/{p-016c81f0.js → p-620ac0f8.js} +1 -1
  268. package/lib/dist-custom-elements/{p-d80a01fd.js → p-6237da28.js} +7 -7
  269. package/lib/dist-custom-elements/{p-cdc57494.js → p-6327d4e2.js} +8 -5
  270. package/lib/dist-custom-elements/{p-8035b482.js → p-656cb1fd.js} +2 -2
  271. package/lib/dist-custom-elements/{p-9357efdb.js → p-745a4e07.js} +1 -1
  272. package/lib/dist-custom-elements/{p-b5bb4c4e.js → p-77cd5d74.js} +2 -2
  273. package/lib/{esm/tokens-1fd83076.js → dist-custom-elements/p-7ac368f3.js} +3 -3
  274. package/lib/dist-custom-elements/{p-80c4e77a.js → p-7bed73a7.js} +11 -11
  275. package/lib/dist-custom-elements/{p-c224f527.js → p-856c21c2.js} +1 -1
  276. package/lib/dist-custom-elements/{p-c936343b.js → p-87838af5.js} +3 -3
  277. package/lib/dist-custom-elements/{p-30bc1a35.js → p-884ae25a.js} +6 -6
  278. package/lib/dist-custom-elements/{p-08a5f7e9.js → p-8b2e0122.js} +3 -3
  279. package/lib/dist-custom-elements/{p-af586c7d.js → p-9dd5b1ab.js} +2 -2
  280. package/lib/dist-custom-elements/{p-c4345060.js → p-a6205f48.js} +5 -5
  281. package/lib/dist-custom-elements/{p-958e3489.js → p-b978a5e4.js} +2 -2
  282. package/lib/dist-custom-elements/{p-bf860820.js → p-be9c3f20.js} +3 -3
  283. package/lib/dist-custom-elements/{p-d8a121cc.js → p-c4b6f5d6.js} +3 -3
  284. package/lib/dist-custom-elements/{p-a6f89351.js → p-c97f4a6a.js} +13 -13
  285. package/lib/dist-custom-elements/{p-d4245e15.js → p-cb129f84.js} +3 -3
  286. package/lib/dist-custom-elements/{p-a70e2b0c.js → p-ce458f25.js} +5 -4
  287. package/lib/dist-custom-elements/{p-b21352e2.js → p-cee4b98f.js} +1 -1
  288. package/lib/dist-custom-elements/{p-21f8ff7d.js → p-d0d1c5a0.js} +10 -10
  289. package/lib/dist-custom-elements/{p-e48a192a.js → p-d3180cfc.js} +2 -2
  290. package/lib/dist-custom-elements/{p-a49f9fc6.js → p-df469213.js} +4 -4
  291. package/lib/dist-custom-elements/{p-889bc211.js → p-e29db94f.js} +5 -5
  292. package/lib/dist-custom-elements/{p-b49de47a.js → p-f1b9fb2c.js} +1 -1
  293. package/lib/dist-custom-elements/{p-f33fb629.js → p-f3726f3b.js} +1 -1
  294. package/lib/dist-custom-elements/{p-d4904a7c.js → p-f5035d0a.js} +1 -1
  295. package/lib/dist-custom-elements/p-f7d27c78.js +318 -0
  296. package/lib/duet/duet.esm.js +1 -1
  297. package/lib/duet/duet.js +1 -1
  298. package/lib/duet/{p-904d0415.system.entry.js → p-0024a14a.system.entry.js} +1 -1
  299. package/lib/duet/{p-72efa27a.system.entry.js → p-034e1b79.system.entry.js} +1 -1
  300. package/lib/duet/{p-2e64593c.system.entry.js → p-093a5aaa.system.entry.js} +1 -1
  301. package/lib/duet/{p-92b098f9.system.entry.js → p-0c25b7a5.system.entry.js} +1 -1
  302. package/lib/duet/{p-8d900bdc.entry.js → p-0c9e9925.entry.js} +1 -1
  303. package/lib/duet/p-12899787.system.entry.js +4 -0
  304. package/lib/duet/{p-618dcd6b.entry.js → p-1399801a.entry.js} +1 -1
  305. package/lib/duet/{p-033bb755.system.entry.js → p-15c9f74e.system.entry.js} +1 -1
  306. package/lib/duet/{p-385da7a9.system.js → p-15f1493c.system.js} +1 -1
  307. package/lib/duet/{p-7f2ae5ad.entry.js → p-18076536.entry.js} +1 -1
  308. package/lib/duet/p-19e02960.system.entry.js +4 -0
  309. package/lib/duet/{p-bd0ab8c6.system.entry.js → p-1a70c103.system.entry.js} +1 -1
  310. package/lib/duet/{p-1060eeeb.system.entry.js → p-1af82a3a.system.entry.js} +1 -1
  311. package/lib/duet/p-1bd0222c.entry.js +4 -0
  312. package/lib/duet/{p-7ae39a1c.entry.js → p-1bdc5408.entry.js} +1 -1
  313. package/lib/duet/{p-91a5f0c8.entry.js → p-1c2890e1.entry.js} +1 -1
  314. package/lib/duet/{p-9df05d74.entry.js → p-1c28fbe6.entry.js} +1 -1
  315. package/lib/duet/{p-ff27191d.system.entry.js → p-1dc59447.system.entry.js} +1 -1
  316. package/lib/duet/{p-b91fd1ce.system.entry.js → p-1dd85611.system.entry.js} +1 -1
  317. package/lib/duet/{p-cb37d121.entry.js → p-1e126580.entry.js} +1 -1
  318. package/lib/duet/{p-12f16785.js → p-1f01bee2.js} +1 -1
  319. package/lib/duet/{p-f5f409e3.entry.js → p-1fe8dc67.entry.js} +1 -1
  320. package/lib/duet/p-23878f2f.system.entry.js +4 -0
  321. package/lib/duet/{p-c7b24194.system.entry.js → p-292150a9.system.entry.js} +1 -1
  322. package/lib/duet/p-2f8ee1a5.entry.js +4 -0
  323. package/lib/duet/{p-d44312ba.system.js → p-30c4c974.system.js} +1 -1
  324. package/lib/duet/p-329da927.js +4 -0
  325. package/lib/duet/{p-0e9de590.entry.js → p-3469aaaf.entry.js} +1 -1
  326. package/lib/duet/{p-0e04330c.entry.js → p-36478f3d.entry.js} +1 -1
  327. package/lib/duet/{p-8f1696fc.entry.js → p-3679fdf8.entry.js} +1 -1
  328. package/lib/duet/{p-4be139d3.system.entry.js → p-3704f63a.system.entry.js} +1 -1
  329. package/lib/duet/{p-d84ab69c.system.entry.js → p-37136593.system.entry.js} +1 -1
  330. package/lib/duet/p-3833ae7b.system.entry.js +4 -0
  331. package/lib/duet/{p-33c69e1b.js → p-3a0756e2.js} +1 -1
  332. package/lib/duet/{p-4cfd6aa0.system.entry.js → p-3a2a2ec5.system.entry.js} +1 -1
  333. package/lib/duet/{p-1338bc5c.entry.js → p-3a793df8.entry.js} +1 -1
  334. package/lib/duet/{p-638ab80b.entry.js → p-3af12511.entry.js} +1 -1
  335. package/lib/duet/{p-1f4af013.entry.js → p-3c583c14.entry.js} +1 -1
  336. package/lib/duet/{p-00fcf2fb.system.entry.js → p-40ec37e0.system.entry.js} +1 -1
  337. package/lib/duet/p-41ffd369.entry.js +4 -0
  338. package/lib/duet/p-427293b9.system.entry.js +4 -0
  339. package/lib/duet/{p-61efcecb.entry.js → p-4275cecd.entry.js} +1 -1
  340. package/lib/duet/p-453db857.system.js +4 -0
  341. package/lib/duet/{p-0a280ddc.entry.js → p-45664da0.entry.js} +1 -1
  342. package/lib/duet/{p-30af84d3.system.js → p-46e3ea75.system.js} +1 -1
  343. package/lib/duet/{p-758eb019.system.entry.js → p-4787b506.system.entry.js} +1 -1
  344. package/lib/duet/p-485e347b.system.entry.js +4 -0
  345. package/lib/duet/p-488db8d3.system.entry.js +4 -0
  346. package/lib/duet/p-49eb852a.entry.js +4 -0
  347. package/lib/duet/{p-6829be6c.system.entry.js → p-4c164015.system.entry.js} +2 -2
  348. package/lib/duet/p-4cfffc05.system.js +4 -0
  349. package/lib/duet/{p-ec4bb6c3.system.js → p-4ff5a3ed.system.js} +1 -1
  350. package/lib/duet/p-50dd94b8.system.js +4 -0
  351. package/lib/duet/{p-07cfc2f5.entry.js → p-5186598c.entry.js} +1 -1
  352. package/lib/duet/p-51e4be9b.entry.js +4 -0
  353. package/lib/duet/{p-ccb84e6a.system.entry.js → p-526c13d3.system.entry.js} +1 -1
  354. package/lib/duet/{p-52e13815.entry.js → p-545d740f.entry.js} +1 -1
  355. package/lib/duet/p-56cc31e0.entry.js +4 -0
  356. package/lib/duet/{p-da33830e.system.entry.js → p-570ec400.system.entry.js} +1 -1
  357. package/lib/duet/{p-f59845f1.entry.js → p-5866fd3c.entry.js} +1 -1
  358. package/lib/duet/p-58cb1e7b.js +5 -0
  359. package/lib/duet/{p-d4f972c3.system.js → p-5a34eb53.system.js} +1 -1
  360. package/lib/duet/{p-df9388c0.entry.js → p-5a973232.entry.js} +1 -1
  361. package/lib/duet/{p-2daf9e75.entry.js → p-5e7bfe5a.entry.js} +1 -1
  362. package/lib/duet/{p-47d32341.system.entry.js → p-5eacc131.system.entry.js} +1 -1
  363. package/lib/duet/{p-4d91e61a.system.entry.js → p-5f34fc36.system.entry.js} +1 -1
  364. package/lib/duet/{p-48bd44c3.system.entry.js → p-6000271f.system.entry.js} +1 -1
  365. package/lib/duet/p-61f93b06.js +4 -0
  366. package/lib/duet/{p-4030ca2a.system.entry.js → p-629ca254.system.entry.js} +1 -1
  367. package/lib/duet/{p-e663f11f.system.entry.js → p-63347221.system.entry.js} +1 -1
  368. package/lib/duet/{p-a0e599fa.system.entry.js → p-6455d4e2.system.entry.js} +1 -1
  369. package/lib/duet/{p-5bb5a55a.entry.js → p-6484efcc.entry.js} +1 -1
  370. package/lib/duet/p-679272b4.entry.js +4 -0
  371. package/lib/duet/p-687b20eb.system.entry.js +4 -0
  372. package/lib/duet/{p-d10856d3.system.entry.js → p-6dae863c.system.entry.js} +1 -1
  373. package/lib/duet/{p-4453a6c6.system.entry.js → p-71699fd9.system.entry.js} +1 -1
  374. package/lib/duet/{p-0c1a086f.system.entry.js → p-74ffcc62.system.entry.js} +1 -1
  375. package/lib/duet/p-75030665.entry.js +4 -0
  376. package/lib/duet/{p-cbb72b0c.system.entry.js → p-7609e7e5.system.entry.js} +1 -1
  377. package/lib/duet/{p-783316e7.system.entry.js → p-77984d20.system.entry.js} +1 -1
  378. package/lib/duet/p-79570700.system.entry.js +4 -0
  379. package/lib/duet/p-7ac368f3.js +4 -0
  380. package/lib/duet/{p-824f8fec.entry.js → p-7b87a422.entry.js} +1 -1
  381. package/lib/duet/{p-5c374688.system.entry.js → p-7caeb4e4.system.entry.js} +1 -1
  382. package/lib/duet/p-7f286bc3.entry.js +4 -0
  383. package/lib/duet/{p-ce677952.system.entry.js → p-8016efed.system.entry.js} +1 -1
  384. package/lib/duet/{p-2e136720.entry.js → p-80694bcb.entry.js} +1 -1
  385. package/lib/duet/{p-d6b96130.system.entry.js → p-81136f12.system.entry.js} +1 -1
  386. package/lib/duet/p-854d1f8e.system.entry.js +4 -0
  387. package/lib/duet/{p-9718c106.js → p-8b34b6a1.js} +1 -1
  388. package/lib/duet/{p-b07f9abb.system.entry.js → p-8b744c14.system.entry.js} +1 -1
  389. package/lib/duet/{p-caf1ece1.system.entry.js → p-8ce9049d.system.entry.js} +1 -1
  390. package/lib/duet/{p-8bbea850.system.entry.js → p-8d6f3089.system.entry.js} +1 -1
  391. package/lib/duet/p-8df7c962.entry.js +4 -0
  392. package/lib/duet/{p-135e72bf.js → p-8ee40bae.js} +1 -1
  393. package/lib/duet/{p-11f86bdc.system.entry.js → p-8f5bbc88.system.entry.js} +1 -1
  394. package/lib/duet/{p-34cdefd2.entry.js → p-90e6b35a.entry.js} +1 -1
  395. package/lib/duet/{p-18a0cbe5.system.entry.js → p-923aa342.system.entry.js} +1 -1
  396. package/lib/duet/{p-f5c47365.system.entry.js → p-94379df1.system.entry.js} +1 -1
  397. package/lib/duet/{p-50bb0bef.system.entry.js → p-944f5ee9.system.entry.js} +1 -1
  398. package/lib/duet/{p-c976593b.entry.js → p-94593336.entry.js} +1 -1
  399. package/lib/duet/p-9481e189.js +4 -0
  400. package/lib/duet/p-95933d17.system.entry.js +4 -0
  401. package/lib/duet/{p-065bebcf.system.entry.js → p-95c12be6.system.entry.js} +1 -1
  402. package/lib/duet/{p-4cd75d1b.entry.js → p-96bf7e64.entry.js} +1 -1
  403. package/lib/duet/{p-855bf182.entry.js → p-976353c6.entry.js} +1 -1
  404. package/lib/duet/{p-70d7644c.system.entry.js → p-99915f28.system.entry.js} +1 -1
  405. package/lib/duet/{p-bf87b23f.entry.js → p-9c4b48e8.entry.js} +1 -1
  406. package/lib/duet/p-9e37e183.system.entry.js +4 -0
  407. package/lib/duet/{p-cc9ee2cb.system.entry.js → p-9eb323ce.system.entry.js} +2 -2
  408. package/lib/duet/{p-c03cf41b.entry.js → p-9f82677f.entry.js} +1 -1
  409. package/lib/duet/p-a0893754.entry.js +4 -0
  410. package/lib/duet/{p-ea986606.entry.js → p-a1a46dc8.entry.js} +1 -1
  411. package/lib/duet/{p-e7dc7c7c.entry.js → p-a1e4a928.entry.js} +1 -1
  412. package/lib/duet/{p-3aa5dbed.entry.js → p-a34a7a64.entry.js} +1 -1
  413. package/lib/duet/p-a48e2a76.system.entry.js +4 -0
  414. package/lib/duet/{p-929579ed.entry.js → p-a53b0c61.entry.js} +1 -1
  415. package/lib/duet/{p-66386c5e.entry.js → p-a54076ef.entry.js} +1 -1
  416. package/lib/duet/p-a543a9f0.entry.js +4 -0
  417. package/lib/duet/{p-31463f0b.system.entry.js → p-a5757e21.system.entry.js} +1 -1
  418. package/lib/duet/{p-1198fd12.system.entry.js → p-a60ba7fb.system.entry.js} +1 -1
  419. package/lib/duet/{p-5b88277b.entry.js → p-a65da7a4.entry.js} +1 -1
  420. package/lib/duet/{p-16a30d86.system.entry.js → p-a7cb778c.system.entry.js} +1 -1
  421. package/lib/duet/p-ac6e2668.system.entry.js +4 -0
  422. package/lib/duet/{p-8e21c393.entry.js → p-ae8b02f9.entry.js} +1 -1
  423. package/lib/duet/{p-ef4f91d2.system.entry.js → p-b023c816.system.entry.js} +1 -1
  424. package/lib/duet/p-b0af0dbc.js +4 -0
  425. package/lib/duet/p-b11ec474.system.entry.js +4 -0
  426. package/lib/duet/{p-89e30005.entry.js → p-b17f976c.entry.js} +1 -1
  427. package/lib/duet/{p-f6486434.system.js → p-b3abe719.system.js} +1 -1
  428. package/lib/duet/{p-7266991d.entry.js → p-b54d5edb.entry.js} +1 -1
  429. package/lib/duet/{p-dba326f3.entry.js → p-b5a24ec4.entry.js} +1 -1
  430. package/lib/duet/p-b7bbc0ac.entry.js +4 -0
  431. package/lib/duet/{p-f103010d.entry.js → p-b7e41270.entry.js} +1 -1
  432. package/lib/duet/{p-e26e10f1.system.entry.js → p-b8427cfa.system.entry.js} +1 -1
  433. package/lib/duet/{p-c370b95d.entry.js → p-b9133310.entry.js} +1 -1
  434. package/lib/duet/{p-e433ff50.system.entry.js → p-b93a8d60.system.entry.js} +1 -1
  435. package/lib/duet/{p-497bdd59.entry.js → p-ba05fe4e.entry.js} +1 -1
  436. package/lib/duet/{p-357fba6d.system.entry.js → p-ba1170fc.system.entry.js} +1 -1
  437. package/lib/duet/{p-082e654d.system.entry.js → p-babcf111.system.entry.js} +1 -1
  438. package/lib/duet/{p-a48d38dd.entry.js → p-bc2dfc8f.entry.js} +1 -1
  439. package/lib/duet/{p-d3602171.entry.js → p-bc9888d4.entry.js} +1 -1
  440. package/lib/duet/{p-1d9091b2.entry.js → p-bd0152ae.entry.js} +1 -1
  441. package/lib/duet/{p-7c6b903a.entry.js → p-bed81853.entry.js} +1 -1
  442. package/lib/duet/p-bf0218de.entry.js +4 -0
  443. package/lib/duet/{p-06a2c00d.entry.js → p-bf901d0f.entry.js} +1 -1
  444. package/lib/duet/{p-8901b848.system.entry.js → p-bfed7d1f.system.entry.js} +1 -1
  445. package/lib/duet/p-c155c203.entry.js +4 -0
  446. package/lib/duet/{p-aa781739.entry.js → p-c3755b07.entry.js} +1 -1
  447. package/lib/duet/{p-ff3fa3b2.system.entry.js → p-c3f5f64f.system.entry.js} +1 -1
  448. package/lib/duet/{p-158e2598.system.entry.js → p-c54c650f.system.entry.js} +1 -1
  449. package/lib/duet/p-c7f65120.js +4 -0
  450. package/lib/duet/p-c8859716.entry.js +4 -0
  451. package/lib/duet/{p-cab933ea.system.entry.js → p-c9063437.system.entry.js} +1 -1
  452. package/lib/duet/{p-b7ce18dd.system.entry.js → p-c99709d4.system.entry.js} +1 -1
  453. package/lib/duet/{p-95cd3623.entry.js → p-cc5d55c9.entry.js} +1 -1
  454. package/lib/duet/{p-ea60fb06.entry.js → p-ceb8f2cd.entry.js} +1 -1
  455. package/lib/duet/p-cebe051e.system.entry.js +4 -0
  456. package/lib/duet/p-cee2f369.system.entry.js +4 -0
  457. package/lib/duet/{p-33f60648.entry.js → p-cfe7483c.entry.js} +1 -1
  458. package/lib/duet/{p-80993983.system.js → p-d04f0720.system.js} +1 -1
  459. package/lib/duet/p-d06624f9.system.entry.js +4 -0
  460. package/lib/duet/p-d0d1667e.entry.js +4 -0
  461. package/lib/duet/{p-ef35ead4.entry.js → p-d0f03726.entry.js} +1 -1
  462. package/lib/duet/p-d2a1b1fd.entry.js +4 -0
  463. package/lib/duet/{p-68fdf1da.system.entry.js → p-d3b6137d.system.entry.js} +1 -1
  464. package/lib/duet/{p-77516717.system.js → p-d72625ca.system.js} +1 -1
  465. package/lib/duet/{p-21cfc7c9.system.entry.js → p-d72ec8fd.system.entry.js} +1 -1
  466. package/lib/duet/p-da039779.entry.js +4 -0
  467. package/lib/duet/{p-9df8182c.system.entry.js → p-e1bd6791.system.entry.js} +1 -1
  468. package/lib/duet/p-e33b7b4f.system.entry.js +4 -0
  469. package/lib/duet/{p-17ee74b1.system.entry.js → p-e36e78ea.system.entry.js} +1 -1
  470. package/lib/duet/{p-4b6e53bd.entry.js → p-e5dfecab.entry.js} +1 -1
  471. package/lib/duet/p-e61fdd1f.system.entry.js +4 -0
  472. package/lib/duet/{p-9a7b5888.system.entry.js → p-e9454352.system.entry.js} +1 -1
  473. package/lib/duet/{p-bd3c1bb9.entry.js → p-eacf7ed7.entry.js} +1 -1
  474. package/lib/duet/{p-d4a9606f.entry.js → p-ec88c131.entry.js} +1 -1
  475. package/lib/duet/{p-ac388eb7.entry.js → p-ec919d45.entry.js} +1 -1
  476. package/lib/duet/p-ed24b370.entry.js +4 -0
  477. package/lib/duet/{p-04658922.entry.js → p-ed39c72b.entry.js} +1 -1
  478. package/lib/duet/p-eeb02f96.system.entry.js +4 -0
  479. package/lib/duet/{p-8316c5a6.entry.js → p-eedacfa7.entry.js} +1 -1
  480. package/lib/duet/p-f240daa0.entry.js +4 -0
  481. package/lib/duet/{p-6d7d56e8.entry.js → p-f25d359d.entry.js} +1 -1
  482. package/lib/duet/{p-0cf7d917.entry.js → p-f5fc750d.entry.js} +1 -1
  483. package/lib/duet/{p-ef97420d.system.entry.js → p-f6abc74d.system.entry.js} +1 -1
  484. package/lib/duet/{p-43bbba35.system.js → p-f6e20b20.system.js} +1 -1
  485. package/lib/duet/{p-fa184877.system.entry.js → p-f71d7b6d.system.entry.js} +1 -1
  486. package/lib/duet/{p-884ee3c8.entry.js → p-f86398eb.entry.js} +1 -1
  487. package/lib/duet/{p-95d2b637.entry.js → p-f9e9a571.entry.js} +1 -1
  488. package/lib/duet/{p-0e3375dd.system.entry.js → p-faa08662.system.entry.js} +1 -1
  489. package/lib/duet/{p-f81da033.system.entry.js → p-fc8ac479.system.entry.js} +1 -1
  490. package/lib/duet/{p-8417d209.entry.js → p-fcad9137.entry.js} +1 -1
  491. package/lib/duet/{p-7f6f7008.system.entry.js → p-fde30afe.system.entry.js} +2 -2
  492. package/lib/duet/{p-439c21e7.entry.js → p-fdedb49b.entry.js} +1 -1
  493. package/lib/esm/{a11y-utils-696f7b73.js → a11y-utils-ac6ae502.js} +1 -1
  494. package/lib/esm/{app-globals-245f0f6e.js → app-globals-2222efbc.js} +1 -1
  495. package/lib/esm/duet-action-button.entry.js +5 -5
  496. package/lib/esm/duet-alert.entry.js +4 -4
  497. package/lib/esm/duet-badge.entry.js +4 -4
  498. package/lib/esm/duet-banner.entry.js +17 -10
  499. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  500. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  501. package/lib/esm/duet-button_2.entry.js +17 -15
  502. package/lib/esm/duet-callout.entry.js +3 -3
  503. package/lib/esm/duet-caption_4.entry.js +11 -11
  504. package/lib/esm/duet-card.entry.js +10 -9
  505. package/lib/esm/duet-checkbox.entry.js +3 -3
  506. package/lib/esm/duet-checkmark.entry.js +2 -2
  507. package/lib/esm/duet-chip.entry.js +4 -4
  508. package/lib/esm/duet-choice_2.entry.js +5 -5
  509. package/lib/esm/duet-collapsible.entry.js +5 -5
  510. package/lib/esm/duet-combobox.entry.js +4 -4
  511. package/lib/esm/duet-contact-card.entry.js +3 -3
  512. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  513. package/lib/esm/duet-date-picker.entry.js +6 -6
  514. package/lib/esm/duet-divider_2.entry.js +4 -4
  515. package/lib/esm/duet-editable-table_3.entry.js +11 -8
  516. package/lib/esm/duet-empty-state.entry.js +2 -2
  517. package/lib/esm/duet-fieldset.entry.js +3 -3
  518. package/lib/esm/duet-file-chooser.entry.js +2 -2
  519. package/lib/esm/duet-footer.entry.js +5 -5
  520. package/lib/esm/duet-grid_2.entry.js +5 -4
  521. package/lib/esm/duet-header_2.entry.js +7 -7
  522. package/lib/esm/duet-hero.entry.js +16 -9
  523. package/lib/esm/duet-icon.entry.js +4 -4
  524. package/lib/esm/duet-indicator.entry.js +9 -4
  525. package/lib/esm/duet-input_2.entry.js +7 -7
  526. package/lib/esm/duet-layout.entry.js +2 -2
  527. package/lib/esm/duet-list_2.entry.js +2 -2
  528. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  529. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  530. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  531. package/lib/esm/duet-menu-bar-item.entry.js +5 -5
  532. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  533. package/lib/esm/duet-menu-bar.entry.js +3 -3
  534. package/lib/esm/duet-modal.entry.js +9 -9
  535. package/lib/esm/duet-multiselect.entry.js +5 -5
  536. package/lib/esm/duet-nav.entry.js +2 -2
  537. package/lib/esm/duet-notification_2.entry.js +13 -6
  538. package/lib/esm/duet-number-input.entry.js +5 -5
  539. package/lib/esm/duet-overlay.entry.js +2 -2
  540. package/lib/esm/duet-page-heading.entry.js +2 -2
  541. package/lib/esm/duet-pagination_2.entry.js +16 -16
  542. package/lib/esm/duet-panel.entry.js +2 -2
  543. package/lib/esm/duet-phone-input.entry.js +5 -5
  544. package/lib/esm/duet-popup-menu_2.entry.js +7 -7
  545. package/lib/esm/duet-progress.entry.js +3 -3
  546. package/lib/esm/duet-promo-card.entry.js +9 -8
  547. package/lib/esm/duet-radio_2.entry.js +4 -4
  548. package/lib/esm/duet-range-slider.entry.js +4 -4
  549. package/lib/esm/duet-scrollable_3.entry.js +7 -7
  550. package/lib/esm/duet-section-layout.entry.js +1 -1
  551. package/lib/esm/duet-select.entry.js +4 -4
  552. package/lib/esm/duet-shaped-image.entry.js +2 -2
  553. package/lib/esm/duet-share-chart-item.entry.js +1 -1
  554. package/lib/esm/duet-share-chart.entry.js +6 -6
  555. package/lib/esm/duet-show-more.entry.js +3 -3
  556. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  557. package/lib/esm/duet-slideout-link.entry.js +5 -5
  558. package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
  559. package/lib/esm/duet-slideout-panel.entry.js +9 -9
  560. package/lib/esm/duet-slideout.entry.js +8 -8
  561. package/lib/esm/duet-status-icon.entry.js +2 -2
  562. package/lib/esm/duet-step_2.entry.js +3 -3
  563. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  564. package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
  565. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  566. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  567. package/lib/esm/duet-submenu-bar.entry.js +3 -3
  568. package/lib/esm/duet-textarea.entry.js +47 -29
  569. package/lib/esm/duet-toggle.entry.js +3 -3
  570. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  571. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  572. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  573. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  574. package/lib/esm/duet-toolbar.entry.js +4 -4
  575. package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
  576. package/lib/esm/duet-tooltip.entry.js +4 -4
  577. package/lib/esm/duet-tray.entry.js +4 -4
  578. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  579. package/lib/esm/duet-upload-item.entry.js +4 -4
  580. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  581. package/lib/esm/duet.js +4 -4
  582. package/lib/esm/{errorcodes.utils-160ddc21.js → errorcodes.utils-454fa730.js} +1 -1
  583. package/lib/esm/{focus-utils-d6e4011c.js → focus-utils-7af43257.js} +1 -1
  584. package/lib/esm/{index-22246570.js → index-ddbf3a7a.js} +1 -1
  585. package/lib/esm/{language-utils-09809102.js → language-utils-1387fba1.js} +1 -1
  586. package/lib/esm/loader.js +4 -4
  587. package/lib/esm/{slot-utils-eb668280.js → slot-utils-53835bd7.js} +1 -1
  588. package/lib/esm/{themeable-component-f4a04f2f.js → themeable-component-ae3def9c.js} +1 -1
  589. package/lib/esm/{token-utils-d02c20ff.js → token-utils-0d5e28a7.js} +1 -1
  590. package/lib/{dist-custom-elements/p-c972a96e.js → esm/tokens-1702323a.js} +3 -3
  591. package/lib/esm/{tokens.module-7b07911f.js → tokens.module-7ae22e26.js} +3 -3
  592. package/lib/esm-es5/{a11y-utils-696f7b73.js → a11y-utils-ac6ae502.js} +1 -1
  593. package/lib/esm-es5/{app-globals-245f0f6e.js → app-globals-2222efbc.js} +1 -1
  594. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  595. package/lib/esm-es5/duet-alert.entry.js +2 -2
  596. package/lib/esm-es5/duet-badge.entry.js +1 -1
  597. package/lib/esm-es5/duet-banner.entry.js +1 -1
  598. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  599. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  600. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  601. package/lib/esm-es5/duet-callout.entry.js +1 -1
  602. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  603. package/lib/esm-es5/duet-card.entry.js +2 -2
  604. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  605. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  606. package/lib/esm-es5/duet-chip.entry.js +1 -1
  607. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  608. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  609. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  610. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  611. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  612. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  613. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  614. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  615. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  616. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  617. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  618. package/lib/esm-es5/duet-footer.entry.js +1 -1
  619. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  620. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  621. package/lib/esm-es5/duet-hero.entry.js +1 -1
  622. package/lib/esm-es5/duet-icon.entry.js +1 -1
  623. package/lib/esm-es5/duet-indicator.entry.js +1 -1
  624. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  625. package/lib/esm-es5/duet-layout.entry.js +1 -1
  626. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  627. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  628. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  629. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  630. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  631. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  632. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  633. package/lib/esm-es5/duet-modal.entry.js +1 -1
  634. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  635. package/lib/esm-es5/duet-nav.entry.js +1 -1
  636. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  637. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  638. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  639. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  640. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  641. package/lib/esm-es5/duet-panel.entry.js +1 -1
  642. package/lib/esm-es5/duet-phone-input.entry.js +2 -2
  643. package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
  644. package/lib/esm-es5/duet-progress.entry.js +1 -1
  645. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  646. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  647. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  648. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  649. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  650. package/lib/esm-es5/duet-select.entry.js +2 -2
  651. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  652. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  653. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  654. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  655. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  656. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  657. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  658. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  659. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  660. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  661. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  662. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  663. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  664. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  665. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  666. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  667. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  668. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  669. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  670. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  671. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  672. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  673. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  674. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  675. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  676. package/lib/esm-es5/duet-tray.entry.js +1 -1
  677. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  678. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  679. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  680. package/lib/esm-es5/duet.js +1 -1
  681. package/lib/esm-es5/{errorcodes.utils-160ddc21.js → errorcodes.utils-454fa730.js} +1 -1
  682. package/lib/esm-es5/{focus-utils-d6e4011c.js → focus-utils-7af43257.js} +1 -1
  683. package/lib/esm-es5/index-ddbf3a7a.js +4 -0
  684. package/lib/esm-es5/{language-utils-09809102.js → language-utils-1387fba1.js} +1 -1
  685. package/lib/esm-es5/loader.js +1 -1
  686. package/lib/esm-es5/{slot-utils-eb668280.js → slot-utils-53835bd7.js} +1 -1
  687. package/lib/esm-es5/{themeable-component-f4a04f2f.js → themeable-component-ae3def9c.js} +1 -1
  688. package/lib/esm-es5/{token-utils-d02c20ff.js → token-utils-0d5e28a7.js} +1 -1
  689. package/lib/esm-es5/tokens-1702323a.js +4 -0
  690. package/lib/esm-es5/tokens.module-7ae22e26.js +4 -0
  691. package/lib/types/components/duet-banner/duet-banner.d.ts +4 -0
  692. package/lib/types/components/duet-card/duet-card.d.ts +4 -0
  693. package/lib/types/components/duet-grid/duet-grid.d.ts +1 -1
  694. package/lib/types/components/duet-hero/duet-hero.d.ts +4 -0
  695. package/lib/types/components/duet-indicator/duet-indicator.d.ts +8 -1
  696. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  697. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
  698. package/lib/types/components/duet-spinner/duet-spinner.d.ts +5 -3
  699. package/lib/types/components/duet-textarea/duet-textarea.d.ts +13 -7
  700. package/lib/types/components.d.ts +46 -8
  701. package/package.json +5 -5
  702. package/lib/dist-custom-elements/p-4343b5a1.js +0 -318
  703. package/lib/dist-custom-elements/p-929f4a06.js +0 -64
  704. package/lib/duet/p-04c70e04.system.entry.js +0 -4
  705. package/lib/duet/p-09497e9e.entry.js +0 -4
  706. package/lib/duet/p-1285b423.system.entry.js +0 -4
  707. package/lib/duet/p-13a834ce.system.entry.js +0 -4
  708. package/lib/duet/p-17755657.system.entry.js +0 -4
  709. package/lib/duet/p-1dcd8cb6.system.entry.js +0 -4
  710. package/lib/duet/p-2b4a068b.system.entry.js +0 -4
  711. package/lib/duet/p-2e69eb33.entry.js +0 -4
  712. package/lib/duet/p-2fce48bf.entry.js +0 -4
  713. package/lib/duet/p-311a334f.entry.js +0 -4
  714. package/lib/duet/p-3c69cc2a.system.entry.js +0 -4
  715. package/lib/duet/p-3e52c8ff.system.entry.js +0 -4
  716. package/lib/duet/p-4ad740e2.js +0 -5
  717. package/lib/duet/p-541a4093.system.entry.js +0 -4
  718. package/lib/duet/p-59d65494.entry.js +0 -4
  719. package/lib/duet/p-5cd1152a.entry.js +0 -4
  720. package/lib/duet/p-5e33ada9.system.entry.js +0 -4
  721. package/lib/duet/p-60cfe03f.entry.js +0 -4
  722. package/lib/duet/p-6751d70f.entry.js +0 -4
  723. package/lib/duet/p-75c6a8ee.system.entry.js +0 -4
  724. package/lib/duet/p-76e57b3a.system.entry.js +0 -4
  725. package/lib/duet/p-79628294.entry.js +0 -4
  726. package/lib/duet/p-7ca8790f.system.entry.js +0 -4
  727. package/lib/duet/p-81677e17.entry.js +0 -4
  728. package/lib/duet/p-81f0ab52.entry.js +0 -4
  729. package/lib/duet/p-88880de6.entry.js +0 -4
  730. package/lib/duet/p-916f4438.entry.js +0 -4
  731. package/lib/duet/p-949a5c17.system.entry.js +0 -4
  732. package/lib/duet/p-9d9457bf.js +0 -4
  733. package/lib/duet/p-a0f78e44.entry.js +0 -4
  734. package/lib/duet/p-a27a9c69.js +0 -4
  735. package/lib/duet/p-a395c023.entry.js +0 -4
  736. package/lib/duet/p-b355076f.entry.js +0 -4
  737. package/lib/duet/p-b3c4e717.system.entry.js +0 -4
  738. package/lib/duet/p-b7691d79.system.entry.js +0 -4
  739. package/lib/duet/p-b81ac5ae.system.js +0 -4
  740. package/lib/duet/p-b9f9f07f.entry.js +0 -4
  741. package/lib/duet/p-c5219057.system.entry.js +0 -4
  742. package/lib/duet/p-c80618b4.system.js +0 -4
  743. package/lib/duet/p-c972a96e.js +0 -4
  744. package/lib/duet/p-c97dbc9b.js +0 -4
  745. package/lib/duet/p-c9971904.entry.js +0 -4
  746. package/lib/duet/p-cbf13746.entry.js +0 -4
  747. package/lib/duet/p-d4ecb287.js +0 -4
  748. package/lib/duet/p-d79d46f4.system.entry.js +0 -4
  749. package/lib/duet/p-d807313e.system.entry.js +0 -4
  750. package/lib/duet/p-db0ba7b6.system.js +0 -4
  751. package/lib/duet/p-dca26ec6.entry.js +0 -4
  752. package/lib/duet/p-e1c99881.system.entry.js +0 -4
  753. package/lib/duet/p-e5a7f0a5.system.entry.js +0 -4
  754. package/lib/duet/p-e9dee331.entry.js +0 -4
  755. package/lib/duet/p-f0e3d159.js +0 -4
  756. package/lib/esm-es5/index-22246570.js +0 -4
  757. package/lib/esm-es5/tokens-1fd83076.js +0 -4
  758. package/lib/esm-es5/tokens.module-7b07911f.js +0 -4
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,u,o){function n(t){return t instanceof u?t:new u((function(e){e(t)}))}return new(u||(u=Promise))((function(u,r){function d(t){try{a(o.next(t))}catch(t){r(t)}}function i(t){try{a(o["throw"](t))}catch(t){r(t)}}function a(t){t.done?u(t.value):n(t.value).then(d,i)}a((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,n,r,d;return d={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function i(t){return function(e){return a([t,e])}}function a(i){if(o)throw new TypeError("Generator is already executing.");while(d&&(d=0,i[0]&&(u=0)),u)try{if(o=1,n&&(r=i[0]&2?n["return"]:i[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;if(n=0,r)i=[i[0]&2,r.value];switch(i[0]){case 0:case 1:r=i;break;case 4:u.label++;return{value:i[1],done:false};case 5:u.label++;n=i[1];i=[0];continue;case 7:i=u.ops.pop();u.trys.pop();continue;default:if(!(r=u.trys,r=r.length>0&&r[r.length-1])&&(i[0]===6||i[0]===2)){u=0;continue}if(i[0]===3&&(!r||i[1]>r[0]&&i[1]<r[3])){u.label=i[1];break}if(i[0]===6&&u.label<r[1]){u.label=r[1];r=i;break}if(r&&u.label<r[2]){u.label=r[2];u.ops.push(i);break}if(r[2])u.ops.pop();u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t];n=0}finally{o=r=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-80993983.system.js","./p-385da7a9.system.js","./p-87633fff.system.js","./p-d4f972c3.system.js","./p-43bbba35.system.js","./p-98636086.system.js","./p-db0ba7b6.system.js"],(function(t){"use strict";var e,u,o,n,r,d,i,a,b,s,l,h,m;return{setters:[function(t){e=t.r;u=t.c;o=t.h;n=t.H;r=t.g},function(t){d=t.i},function(t){i=t.a;a=t.c},function(t){b=t.a;s=t.g;l=t.c;h=t.d},function(t){m=t.g},function(){},function(){}],execute:function(){var p='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva,.duet-theme-turva2 .duet-button:focus,.duet-button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{outline:2px solid rgb(0, 119, 179);outline-offset:-2px;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{outline-color:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179);outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px}.duet-theme-turva .duet-button.secondary:hover,.duet-button.secondary:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.secondary:hover,.duet-button.secondary:hover.duet-theme-turva2,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-button.input-button-secondary:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.input-button-secondary:hover,.duet-button.input-button-secondary:hover.duet-theme-turva2,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-button.input-button-left-secondary:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.input-button-left-secondary:hover,.duet-button.input-button-left-secondary:hover.duet-theme-turva2,.duet-theme-turva .duet-button.input-button-embedded:hover,.duet-button.input-button-embedded:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.input-button-embedded:hover,.duet-button.input-button-embedded:hover.duet-theme-turva2{outline-color:rgb(120, 145, 164)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled],.duet-button.plain[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled],.duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(113, 118, 132) !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.plain.duet-button-icon-only:focus{outline-offset:1px}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{outline:2px solid rgb(0, 119, 179);outline-offset:-2px;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square:hover{outline-color:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;outline:none !important;outline-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;outline-color:rgb(222, 224, 228) !important;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button{border-radius:8px}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default{color:rgb(230, 23, 64) !important;border-color:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(251, 225, 209) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-primary{background:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 42, 59) !important;border-color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(251, 225, 209) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-bottom-left-radius:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-left-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-left-secondary{border-top-right-radius:0;border-bottom-right-radius:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative{color:rgb(23, 42, 59) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain{color:rgb(230, 23, 64) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover{color:rgb(140, 0, 30) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(95, 122, 143) !important;background:transparent !important;border-color:rgb(251, 225, 209) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square{border-color:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative{background:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(120, 145, 164) !important;cursor:not-allowed;outline-color:rgb(212, 221, 226) !important;background:rgb(212, 221, 226) !important;border-color:rgb(212, 221, 226) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default{color:rgb(230, 23, 64)}';var c=p;var g=t("duet_button",function(){function t(t){var o=this;e(this,t);this.duetFocus=u(this,"duetFocus",7);this.duetBlur=u(this,"duetBlur",7);this.proxyButtonSetUp=function(){var t=o.element.querySelector("button[slot=proxybutton]");var e=t||document.createElement("button");if(o.url){if(t){t.remove()}o.proxyButton=null;return}e.setAttribute("slot","proxybutton");e.style.display="none";e.type=o.getButtonType();e.disabled=o.disabled;e.setAttribute("form",o.form);if(!o.form){e.removeAttribute("form")}if(o.name!=null){e.name=o.name}else{e.removeAttribute("name")}if(o.value!=null){e.value=o.value}else{e.removeAttribute("value")}if(!t){o.element.appendChild(e)}o.proxyButton=e};this.handleClick=function(t){if(o.submit&&!o.url&&(o.element.closest("form")||o.form)){t.stopPropagation();t.preventDefault();o.proxyButton.click()}};this.onFocus=function(){o.duetFocus.emit()};this.onBlur=function(){o.duetBlur.emit()};this.accessibleLabel=undefined;this.accessibleControls=undefined;this.accessiblePopup="false";this.accessibleActiveDescendant=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleExpanded=undefined;this.accessiblePressed=undefined;this.loading=false;this.variation="default";this.negative=false;this.theme="";this.margin="auto";this.form=undefined;this.padding="auto";this.centerText=false;this.wrapping="auto";this.expand=false;this.fixed=false;this.disabled=false;this.name=undefined;this.value=undefined;this.identifier=undefined;this.submit=false;this.external=false;this.language=b();this.accessibleLabelExternalDefaults=i;this.accessibleLabelExternal=s(this.accessibleLabelExternalDefaults);this.accessibleLabelLoadingDefaults=a;this.accessibleLabelLoading=s(this.accessibleLabelLoadingDefaults);this.icon="";this.color="";this.iconRight=false;this.iconSize="medium";this.size="medium";this.iconOnly=false;this.url=undefined}t.prototype.componentWillLoad=function(){d(this);if(this.url&&this.external&&this.icon){console.warn("[DUET]: Button used as an external link will override any icon that is set")}};t.prototype.connectedCallback=function(){l(this,[{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"},{prop:"accessibleLabelLoading",defaults:"accessibleLabelLoadingDefaults"}])};t.prototype.disconnectedCallback=function(){h(this)};t.prototype.componentDidRender=function(){if(this.disabled===false){this.element.removeAttribute("disabled")}if(this.submit){this.proxyButtonSetUp()}};t.prototype.getButtonType=function(){return this.submit?"submit":"button"};t.prototype.getButtonIconSize=function(){switch(this.iconSize){case"small":return"small";case"medium-small":return"medium-small";case"medium":return"medium";case"large":return"large";default:return"medium"}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t,e,u,r;var d=this;var i,a;var b=this.external&&this.url;var s=b?"action-new-window":this.icon;var l=b?true:this.iconRight;var h=o("span",{key:"4b6618222c037ec329c118f7ad247b9fd514e878",class:{"duet-button-contents":true,"icon-right":l},style:{color:m(this.color,this.theme)}},s&&o("span",{key:"67492c9b50231879ba232f7c6bcdadcb2d219875","aria-hidden":"true",class:(t={"duet-button-icon":true,left:!l,right:l},t[this.getButtonIconSize()]=true,t)},o("duet-icon",{key:"fce0630d78df187c2a7f3946ff3d262c43e5ce95",size:"auto",margin:"none",name:s,color:"currentColor"})),o("span",{key:"34d608211bac6921c4aec51f71a9b33e2ac2b7b0",class:"duet-button-contents-slot"},o("slot",{key:"b2478d851993c148be6a83a76f9f725469bc9944"})));var p=this.size=="medium"||this.size=="small"||this.size=="x-small"?this.size:"medium";var c={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return d.nativeButton=t},id:this.identifier,class:(e={"duet-m-0":this.margin==="none","duet-p-0":this.padding==="none","duet-no-wrap":this.wrapping==="none","duet-button":true,"duet-button-is-small":this.size==="small"},e["duet-button-size-".concat(p)]=true,e["duet-button-icon-only"]=this.iconOnly,e["duet-button-text-center"]=this.centerText,e["duet-button-negative"]=this.negative||this.variation==="negative",e[this.variation]=true,e["input-button"]=(i=this.variation)===null||i===void 0?void 0:i.startsWith("input-button"),e.disabled=this.disabled,e.icon=!!s,e["icon-right"]=l,e["icon-left"]=!!s&&!l,e[this.getButtonIconSize()]=true,e),"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return o(n,{key:"c70e2d9cbe884c7b6cc3012721f01ce6d54b4555",class:(u={"duet-m-0":this.margin==="none","duet-small":this.size==="small","duet-x-small":this.size==="x-small","duet-fixed":this.fixed,"duet-expand":this.expand},u[this.variation]=true,u["input-button"]=(a=this.variation)===null||a===void 0?void 0:a.startsWith("input-button"),u)},o("span",{key:"c8be7792d2ae572befbfbe921a3ec453c073637d",onClick:this.handleClick,class:(r={"duet-button-container":true,"duet-button-is-loading":this.loading,"duet-theme-turva":this.theme==="turva","duet-button-negative":this.negative||this.variation==="negative"},r[this.variation]=true,r)},this.url?o("a",Object.assign({},c,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":undefined}),h,this.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):o("button",Object.assign({},c,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":this.accessiblePressed!=null?this.accessiblePressed.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,"aria-disabled":this.disabled}),h,this.loading&&o("duet-visually-hidden",null," ",this.accessibleLabelLoading," ")),this.loading&&o("duet-spinner",{key:"da956cda627d2afc5084ee69629b54ffabcb672b",color:"currentColor"})),o("slot",{key:"0ead01a475d6242c0049a259f9b9c725830d4b80",name:"proxybutton"}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());g.style=c;var v=':host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}:host(.duet-theme-turva2) .duet-spinner{color:rgb(230, 23, 64) !important}';var f=v;var y=t("duet_spinner",function(){function t(t){e(this,t);this.accessibleLabel=undefined;this.color="gray-lightest";this.size="small";this.theme=""}t.prototype.componentWillLoad=function(){d(this)};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":m(this.color);return o(n,{key:"feb500dd4e62ad66f8d1caed2c882a89acddc938",class:{"duet-custom-color":this.color!=="currentColor"&&this.theme!=="turva"&&this.theme!=="default","duet-theme-turva":this.theme==="turva"&&this.color!=="currentColor","duet-theme-default":this.theme==="default"&&this.color!=="currentColor"}},o("div",{key:"9483e2ed54fc623f7ae129808bbd88607c0de1e2",class:(t={"duet-spinner":true},t[this.size]=true,t),style:{color:e},"aria-label":this.accessibleLabel}))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());y.style=f}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,d,u){function s(e){return e instanceof d?e:new d((function(t){t(e)}))}return new(d||(d=Promise))((function(d,i){function o(e){try{c(u.next(e))}catch(e){i(e)}}function n(e){try{c(u["throw"](e))}catch(e){i(e)}}function c(e){e.done?d(e.value):s(e.value).then(o,n)}c((u=u.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var d={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},u,s,i,o;return o={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function n(e){return function(t){return c([e,t])}}function c(n){if(u)throw new TypeError("Generator is already executing.");while(o&&(o=0,n[0]&&(d=0)),d)try{if(u=1,s&&(i=n[0]&2?s["return"]:n[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,n[1])).done)return i;if(s=0,i)n=[n[0]&2,i.value];switch(n[0]){case 0:case 1:i=n;break;case 4:d.label++;return{value:n[1],done:false};case 5:d.label++;s=n[1];n=[0];continue;case 7:n=d.ops.pop();d.trys.pop();continue;default:if(!(i=d.trys,i=i.length>0&&i[i.length-1])&&(n[0]===6||n[0]===2)){d=0;continue}if(n[0]===3&&(!i||n[1]>i[0]&&n[1]<i[3])){d.label=n[1];break}if(n[0]===6&&d.label<i[1]){d.label=i[1];i=n;break}if(i&&d.label<i[2]){d.label=i[2];d.ops.push(n);break}if(i[2])d.ops.pop();d.trys.pop();continue}n=t.call(e,d)}catch(e){n=[6,e];s=0}finally{u=i=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-80993983.system.js","./p-385da7a9.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js"],(function(e){"use strict";var t,d,u,s,i,o,n,c,r;return{setters:[function(e){t=e.r;d=e.c;u=e.h;s=e.H;i=e.g},function(e){o=e.i},function(e){n=e.c},function(e){c=e.s;r=e.u}],execute:function(){var g='*.sc-duet-toggle,*.sc-duet-toggle::after,*.sc-duet-toggle::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.sc-duet-toggle-h{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:8px !important;margin-bottom:12px !important;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-toggle-h:last-child,.sc-duet-toggle-h:last-of-type{margin-right:0 !important}.duet-m-0.sc-duet-toggle-h{margin:0 !important}duet-label.sc-duet-toggle{display:block !important;width:100% !important}.duet-side-label.sc-duet-toggle{display:flex;gap:12px;align-items:center}.duet-side-label.sc-duet-toggle duet-label.sc-duet-toggle{width:auto !important}.duet-reverse-label.sc-duet-toggle{flex-direction:row-reverse}.duet-switch.sc-duet-toggle{position:relative;display:block;width:48px;height:28px}.duet-switch.sc-duet-toggle input.sc-duet-toggle{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(198, 12, 48)}.duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle{cursor:default}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle::before{box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle::before{box-shadow:none}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle{background:#bfcbd2}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle{background:#c7c9cf}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle::before{background:rgb(255, 255, 255)}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#80bbd9}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#e38698}.user-is-tabbing.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .user-is-tabbing.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle,.user-is-tabbing.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.duet-theme-turva.sc-duet-toggle,.duet-theme-turva2 .user-is-tabbing.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle,.user-is-tabbing.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.duet-theme-turva2.sc-duet-toggle{outline-color:rgba(53, 79, 101, 0.8)}.duet-slider.sc-duet-toggle{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider.sc-duet-toggle::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:"";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva.sc-duet-toggle .duet-slider.sc-duet-toggle{background-color:rgb(143, 147, 158)}.duet-theme-turva.sc-duet-toggle .duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}.duet-theme-turva2.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(230, 23, 64)}.duet-theme-turva2.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{box-shadow:-1px 0 2px #890e26;transform:translateX(20px)}.duet-theme-turva2.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#f38ba0}';var l=g;var a=e("duet_toggle",function(){function e(e){var u=this;t(this,e);this.duetChange=d(this,"duetChange",3);this.toggleId=n("DuetToggle");this.onClick=function(e){e.preventDefault();u.setFocus();u.checked=!u.checked};this.theme="";this.margin="auto";this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.label="label";this.labelColor=undefined;this.labelWeight=undefined;this.labelPosition="top";this.required=false;this.disabled=false;this.checked=false;this.value=undefined;this.identifier=undefined;this.name=undefined;this.role=undefined}e.prototype.checkedChanged=function(e){this.duetChange.emit({checked:e,value:this.value,component:"duet-toggle"})};e.prototype.componentWillLoad=function(){o(this);if(this.value===undefined){this.value=this.identifier}};e.prototype.connectedCallback=function(){c(this)};e.prototype.disconnectedCallback=function(){r(this)};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.toggleId;return u(s,{onClick:this.disabled?undefined:this.onClick,class:{"duet-m-0":this.margin==="none"}},u("div",{class:{"duet-toggle":true,"duet-theme-turva":this.theme==="turva","duet-side-label":this.labelPosition!=="top","duet-reverse-label":this.labelPosition==="right"}},u("duet-label",{theme:this.theme,color:this.labelColor,weight:this.labelWeight,for:t,margin:this.labelPosition==="top"?"auto":"none"},this.label),u("label",{class:"duet-switch",htmlFor:t},u("input",{type:"checkbox",value:this.value,"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,id:t,role:this.role,name:this.name,checked:this.checked,required:this.required,disabled:this.disabled,ref:function(t){return e.nativeInput=t}}),u("div",{class:"duet-slider"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["checkedChanged"]}},enumerable:false,configurable:true});return e}());a.style=l}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,r,i){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function n(t){try{u(i.next(t))}catch(t){a(t)}}function d(t){try{u(i["throw"](t))}catch(t){a(t)}}function u(t){t.done?r(t.value):o(t.value).then(n,d)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,n;return n={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function d(t){return function(e){return u([t,e])}}function u(d){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,d[0]&&(r=0)),r)try{if(i=1,o&&(a=d[0]&2?o["return"]:d[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,d[1])).done)return a;if(o=0,a)d=[d[0]&2,a.value];switch(d[0]){case 0:case 1:a=d;break;case 4:r.label++;return{value:d[1],done:false};case 5:r.label++;o=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1];a=d;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(d);break}if(a[2])r.ops.pop();r.trys.pop();continue}d=e.call(t,r)}catch(t){d=[6,t];o=0}finally{i=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-80993983.system.js","./p-385da7a9.system.js","./p-752fa0fc.system.js","./p-d4f972c3.system.js","./p-0c4bbd65.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,r,i,o,a,n,d,u,s,c,h;return{setters:[function(t){e=t.r;r=t.h;i=t.g},function(t){o=t.i},function(t){a=t.s;n=t.u},function(t){d=t.a;u=t.g;s=t.c;c=t.d},function(t){h=t.a},function(){}],execute:function(){var l="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:0.7}.duet-notification{display:block;padding:16px;padding-bottom:0;cursor:pointer}:host(:first-of-type) .duet-notification{border-top-left-radius:var(--notification-border-top-radius, 8px);border-top-right-radius:var(--notification-border-top-radius, 8px)}:host(:last-of-type) .duet-notification{border-bottom:0;border-bottom-right-radius:var(--notification-border-bottom-radius, 8px);border-bottom-left-radius:var(--notification-border-bottom-radius, 8px)}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(222, 224, 228)}.duet-notification.duet-notification-highlight{font-weight:600}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-notification:hover{background:rgb(240, 247, 250)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 247, 250)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{outline:2px solid;outline-offset:-2px;outline-color:rgba(0, 119, 179, 0.8);z-index:1}.duet-theme-turva :host(.user-is-tabbing) .duet-notification:focus-within,:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-notification:focus-within,:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-notification-container{position:relative;display:flex;padding-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-indicator-container{position:relative;width:10px;margin-top:6px;margin-left:6px}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:right;text-transform:uppercase;opacity:0.7}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(113, 118, 132)}@media (min-width: 62em){:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:1}.duet-notification{padding:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification:hover{background:rgb(228, 241, 247)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(240, 247, 250)}.duet-notification-container{padding-bottom:0;border-bottom-style:none}}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}:host(.duet-theme-turva2) .duet-notification.duet-theme-turva{color:rgb(23, 42, 59);border-bottom-color:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-notification-badge.duet-theme-turva{background:rgb(230, 23, 64)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-notification:hover.duet-theme-turva{background:rgb(253, 247, 242)}}";var f=l;var b=t("duet_notification",function(){function t(t){e(this,t);this.language=d();this.accessibleLabelUnreadDefaults={en:"Unread",fi:"Lukematon",sv:"Oläst"};this.accessibleLabelUnread=u(this.accessibleLabelUnreadDefaults,this.language);this.url="#";this.date="";this.highlight=false;this.external=false;this.theme=""}t.prototype.componentWillLoad=function(){o(this)};t.prototype.connectedCallback=function(){s(this,{prop:"accessibleLabelUnread",defaults:"accessibleLabelUnreadDefaults"});a(this)};t.prototype.disconnectedCallback=function(){c(this);n(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.linkElement.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;return r("div",{key:"d277f46ce75b675a1b2dc80863ab5c6e79608d77",role:"listitem",class:{"duet-notification":true,"duet-notification-highlight":this.highlight,"duet-theme-turva":this.theme==="turva"}},r("a",{key:"64c9209bdab15027121f6c52ef86327ce415f685",ref:function(e){return t.linkElement=e},href:this.url,target:this.external?"_blank":"_self"},r("div",{key:"9fa32762c6c1805a3c15d1a57f5882c82d36607d",class:"duet-notification-container"},r("div",{key:"80bb71a20d0c3f7c23d455758025b080e128ca35",class:"duet-indicator-container"},this.highlight&&r("duet-indicator",{key:"4ea88060a28ed5abad5ff09dbf9fcdbab758bdf9",variation:"new","accessible-label":this.accessibleLabelUnread})),r("div",{key:"b3c53a5318b7dae17185948ba480ee2665e8f67e",class:"duet-notification-content"},r("slot",{key:"88463f9aeca48107382f18f377132015ef037115"})),r("div",{key:"cac28a3e91a692ae7ad32bdb95768b1c39141c54",class:"duet-notification-date"},this.date))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());b.style=f;var g='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;text-overflow:ellipsis;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(8, 42, 77);text-align:left;white-space:nowrap;text-decoration:none;-webkit-appearance:none;appearance:none;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-drawer-toggle:focus,:host(.user-is-tabbing) .duet-drawer-toggle:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-drawer-toggle:focus,:host(.user-is-tabbing) .duet-drawer-toggle:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background-color:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:hover{color:rgb(0, 75, 129)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(113, 118, 132)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:"";background:rgb(0, 119, 179);transform:translateY(3px);transition:300ms ease}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 75, 129);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(113, 118, 132);border-color:rgb(245, 247, 250)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transform:translateY(-50%);transform-origin:50% 50%;transition:300ms ease}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(212, 223, 229)}@media (min-width: 62em){.duet-drawer-content{--notification-border-top-radius:0;--notification-border-bottom-radius:4px;position:absolute;top:100%;z-index:600;display:block;visibility:hidden;width:450px;max-height:420px;padding-left:0;overflow-y:auto;background-color:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0;transition:300ms ease}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle{color:rgb(23, 42, 59);border-color:rgb(212, 221, 226)}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true],:host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(140, 0, 30);border-color:rgb(245, 246, 247)}';var p=g;var m=27;var w=t("duet_notification_drawer",function(){function t(t){var r=this;e(this,t);this.handleKeyDown=function(t){if(r.isOpen&&t.keyCode===m){r.close()}};this.toggleMenu=function(t){t.stopPropagation();r.isOpen?r.close():r.open()};this.updateNotificationState=function(){r.hasNotifications=r.element.children.length>0};this.isOpen=false;this.hasNotifications=undefined;this.icon="";this.label="Label";this.language=d();this.accessibleLabelNotificationsDefaults={en:"No notifications",fi:"Ei ilmoituksia",sv:"Inga notifikationer"};this.accessibleLabelNotifications=u(this.accessibleLabelNotificationsDefaults);this.badge=false;this.theme="";this.direction="left"}t.prototype.componentWillLoad=function(){o(this);this.updateNotificationState()};t.prototype.connectedCallback=function(){this.observer=new MutationObserver(this.updateNotificationState);this.observer.observe(this.element,{childList:true});a(this)};t.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;n(this)};t.prototype.handleClickFocusOutside=function(t){var e=t.target;if(this.isOpen&&!this.element.contains(e)){this.close(false)}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.drawerButtonEl.focus(t);return[2]}))}))};t.prototype.open=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.element.closest("duet-header");if(t){t.closeMenus()}this.isOpen=true;this.drawerContentEl.scrollTop=0;return[2]}))}))};t.prototype.close=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=true}return __generator(this,(function(e){this.isOpen=false;if(t){this.setFocus({preventScroll:true})}return[2]}))}))};t.prototype.render=function(){var t=this;return r("div",{key:"469b8f1022a88519a9f0aa400d56641c29e11b88",class:{"duet-drawer":true,"duet-theme-turva":this.theme==="turva"},onKeyDown:this.handleKeyDown},r("button",{key:"7eb53b799e595aef176ea46d17da5f57ab11b2a1",ref:function(e){return t.drawerButtonEl=e},type:"button",class:{"duet-drawer-toggle":true,"duet-theme-turva":this.theme==="turva"},id:"duet-drawer-toggle","aria-controls":"duet-drawer-content","aria-expanded":this.isOpen?"true":"false",onClick:this.toggleMenu},this.icon&&r("div",{key:"11d791ee5ede9eb8a17cff532fac041251ef71f3",class:"duet-drawer-icon"},r("duet-icon",{key:"9a3d90082ade25df364bac86f434a3f71e80e5e8",margin:"none",size:"x-small",name:this.icon,color:"currentColor"}),this.badge&&r("duet-indicator",{key:"da255d1b1ae3f08edcd078484a0645302ced9e9a",variation:"change"})),r("span",{key:"4143c21837a70b682f2fb5bbbfd7035b176c43cc",class:"duet-drawer-label"},this.label),r("div",{key:"ae23d34e3a887a1cfeba35e5910f063c11cf9dda",class:"duet-drawer-caret"},r("duet-icon",{key:"bb81c870a1198501e359604bce56ebf96cda8fbb",margin:"none",size:"auto",icon:h.svg,color:"currentColor"}))),r("div",{key:"c7c799cf3339eb3e23001101f9de59faaff3c3b8",id:"duet-drawer-content",class:{"duet-drawer-content":true,"duet-drawer-right":this.direction==="right","duet-drawer-left":this.direction==="left","duet-drawer-open":this.isOpen},ref:function(e){return t.drawerContentEl=e}},this.hasNotifications?r("div",{role:"list"},r("slot",null)):r("duet-empty-state",{size:"small"},r("duet-paragraph",{size:"small",margin:"none"},this.accessibleLabelNotifications))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());w.style=p}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as a,H as t,g as o}from"./p-4ad740e2.js";import{i as r}from"./p-12f16785.js";import{h as i,c as d}from"./p-d4ecb287.js";import{g as c,p as n}from"./p-9718c106.js";import"./p-9d9457bf.js";const s=class{constructor(a){e(this,a),this.theme="",this.margin="auto",this.backgroundColor="",this.textColor="secondary",this.image="",this.headingLevel="h3",this.url=void 0}componentWillLoad(){r(this),this.hasPreHeadingSlot=i(this.element,"pre-heading"),this.hasHeadingSlot=i(this.element,"heading"),this.hasDescriptionSlot=i(this.element,"description"),this.hasActionSlot=i(this.element,"action"),d(this.element,"heading","span"),d(this.element,"description","span")}async setFocus(e){this.url&&this.aOrDivElement&&this.aOrDivElement.focus(e)}render(){const e=c(this.backgroundColor,this.theme);return a(t,{key:"8f689b5d1894c5e0662f73aea0aed2b93d693d72",class:{"duet-m-0":"none"===this.margin}},a("aside",{key:"0eddae7614061bf37233ab26b7c5ce7960961cc6",class:{"duet-promo-card":!0,"duet-theme-turva":"turva"===this.theme,"no-bg-color":!this.backgroundColor,"duet-promo-card-link":!!this.url},style:{backgroundColor:e||"none"}},a(this.url?"a":"div",{key:"b2e8ca1f06923cab98d7336c7062c071bcfc261f",href:this.url,class:{"content-wrapper":!0,"duet-theme-turva":"turva"===this.theme},ref:e=>this.aOrDivElement=e},a("img",{key:"0a8ce33fc1051205cac9d8d2ac24bfa073848343",class:"image",src:this.image,alt:"",role:"presentation"}),a("div",{key:"5cc34aee907a48571fef7d7702940c56a456f109",class:"content"},this.hasPreHeadingSlot&&a("div",{key:"a832b2964afdbc503fe20c3b1cc9e06ad503639e",class:"pre-heading"},a("slot",{key:"cd32235d60380db53c044df70c45ae0fab54ab92",name:"pre-heading"})),this.hasHeadingSlot&&a("div",{key:"01d5f808a6d8df027cce500a243244a77f22d4bd",class:"heading"},a("duet-heading",{key:"432e098ec916ea2cfb50f5c3b227ccbc79cb46ae",theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:n(this.textColor,this.theme)},a("span",{key:"c21c360ec6e50de46c62b62e8719588296ce48bf"},a("slot",{key:"8643c8b20cb1d3aa6bb48c0bcf79f4bcdf7626f9",name:"heading"})))),this.hasDescriptionSlot&&a("div",{key:"8220fc6e3a21f9434d962321afc9ba95d6095de8",class:"description"},a("duet-paragraph",{key:"3cfd920c2aaed2185d3869e0f22a5b8c79dcc830",theme:this.theme,margin:"none",color:n(this.textColor,this.theme)},a("span",{key:"83121871c669e008e8e66cfc3235b5e2a9bfa774"},a("slot",{key:"ace270926c69c31b27b91abae993671179aad975",name:"description"})))),this.hasActionSlot&&a("div",{key:"de50b7e248230d0497635d62ca93c98a6bb25391",class:"action"},a("slot",{key:"31ccf2f4a58b5b5cc025ca3c6598cebea6391947",name:"action"}))))))}get element(){return o(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;color:rgb(8, 42, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none;border-radius:20px}.duet-promo-card .content-wrapper:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-promo-card .content-wrapper:focus,.duet-promo-card .content-wrapper:focus.duet-theme-turva,.duet-theme-turva2 .duet-promo-card .content-wrapper:focus,.duet-promo-card .content-wrapper:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;object-fit:cover;border-top-left-radius:20px;border-top-right-radius:20px}.duet-promo-card .content{display:flex;flex-grow:1;flex-direction:column;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-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}';export{s as duet_promo_card}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as r,h as t,H as d,g as a}from"./p-4ad740e2.js";import{i as s,j as i,k as u,l as n}from"./p-9d9457bf.js";import{i as g}from"./p-12f16785.js";import{c as o}from"./p-5e59e970.js";import{i as l}from"./p-43b89e38.js";import{s as c,u as h}from"./p-a45e3f8b.js";const b={turva:{active:s,inactive:i},default:{active:u,inactive:n}},m=class{constructor(t){e(this,t),this.duetChange=r(this,"duetChange",3),this.duetInput=r(this,"duetInput",7),this.rangeId=o("DuetRange"),this.onInput=e=>{const r=e.target;r&&(this.value=parseFloat(r.value)||0),this.duetInput.emit({originalEvent:e,value:this.value,component:"duet-range-slider"})},this.onChange=e=>{const r=e.target;r&&(this.value=parseFloat(r.value)||0),clearTimeout(this.timeoutId),this.timeoutId=setTimeout((()=>{this.duetChange.emit({originalEvent:e,value:this.value,component:"duet-range-slider"})}),this.debounce)},this.theme="",this.margin="auto",this.expand=!1,this.identifier=void 0,this.name=void 0,this.required=!1,this.disabled=!1,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.min=0,this.label="label",this.labelColor=void 0,this.labelWeight=void 0,this.labelHidden=!1,this.unit="",this.max=100,this.step=1,this.locale="fi-FI",this.value=0,this.debounce=0}componentWillLoad(){g(this)}connectedCallback(){c(this)}disconnectedCallback(){h(this)}async setFocus(e){this.nativeInput.focus(e)}calculatePercentage(){return(this.value-this.min)/(this.max-this.min)*100}render(){const e=this.identifier||this.rangeId,r="turva"===this.theme?"turva":"default",{inactive:a,active:s}=b[r],i=this.calculatePercentage(),u={background:`-webkit-linear-gradient(left,${s} 0%,${s} ${i}%,${a} ${i}%)`};return t(d,{class:{"duet-m-0":"none"===this.margin,"duet-expand":this.expand}},t("div",{class:{"duet-range-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme,"duet-ie":l(),"duet-range-disabled":this.disabled}},t("duet-label",{theme:r,color:this.labelColor,weight:this.labelWeight,margin:"small",for:e},this.label),t("output",{"aria-hidden":"true",htmlFor:e,class:"duet-output"},this.value.toLocaleString(this.locale),this.unit),t("input",{onInput:this.onInput,onChange:this.onChange,ref:e=>this.nativeInput=e,type:"range",min:this.min,max:this.max,step:this.step,value:this.value,style:u,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":this.value,"aria-valuetext":`${this.value} ${this.unit}`,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,id:e,name:this.name,disabled:this.disabled,required:this.required,class:"duet-range"})))}get element(){return a(this)}};m.style='*.sc-duet-range-slider,*.sc-duet-range-slider::after,*.sc-duet-range-slider::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.sc-duet-range-slider-h{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom;text-align:left}.sc-duet-range-slider-h:last-child,.sc-duet-range-slider-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-range-slider-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-range-slider-h{width:100% !important}}.duet-m-0.sc-duet-range-slider-h{margin:0 !important}.duet-range-container.sc-duet-range-slider{position:relative;width:100%}.duet-output.sc-duet-range-slider{position:absolute;top:12px;right:0;z-index:200;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-theme-turva.sc-duet-range-slider .duet-output.sc-duet-range-slider{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-range-disabled.sc-duet-range-slider .duet-output.sc-duet-range-slider{color:rgb(127, 150, 165)}.duet-range-disabled.duet-theme-turva.sc-duet-range-slider .duet-output.sc-duet-range-slider{color:rgb(143, 147, 158)}.duet-range.sc-duet-range-slider{position:relative;z-index:100;width:100%;height:4px;background:rgb(181, 198, 208);border-radius:4px}.duet-range.sc-duet-range-slider:focus{outline:0}.user-is-tabbing.sc-duet-range-slider-h .duet-range.sc-duet-range-slider:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .user-is-tabbing.sc-duet-range-slider-h .duet-range.sc-duet-range-slider:focus,.user-is-tabbing.sc-duet-range-slider-h .duet-range.sc-duet-range-slider:focus.duet-theme-turva,.duet-theme-turva2 .user-is-tabbing.sc-duet-range-slider-h .duet-range.sc-duet-range-slider:focus,.user-is-tabbing.sc-duet-range-slider-h .duet-range.sc-duet-range-slider:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider{background:rgb(199, 202, 207)}.duet-ie.sc-duet-range-slider .duet-range.sc-duet-range-slider{display:block;width:auto;height:26px;background:transparent !important}.duet-range.sc-duet-range-slider::-moz-range-track{height:1px;-moz-appearance:none;background:transparent !important;border:0}.duet-range.sc-duet-range-slider::-ms-track{color:transparent;background:transparent;border:0}.duet-range.sc-duet-range-slider:active{outline:0}.duet-range.sc-duet-range-slider::-webkit-slider-runnable-track{background:transparent}.duet-range.sc-duet-range-slider::-webkit-slider-thumb{position:relative;width:24px;height:24px;-webkit-appearance:none;cursor:-webkit-grab;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%;transition:box-shadow 300ms ease}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-webkit-slider-thumb{border-color:rgb(143, 147, 158)}.duet-range.sc-duet-range-slider:active::-webkit-slider-thumb{cursor:-webkit-grabbing}.duet-range.sc-duet-range-slider::-moz-range-thumb{position:relative;width:24px;height:24px;appearance:none;cursor:-moz-grab;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-moz-range-thumb{border-color:rgb(143, 147, 158)}.duet-range.sc-duet-range-slider:active::-moz-range-thumb{cursor:-moz-grabbing}.duet-range.sc-duet-range-slider::-ms-thumb{position:relative;width:24px;height:24px;overflow:visible;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-thumb{border-color:rgb(143, 147, 158)}.duet-range.sc-duet-range-slider:disabled{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled{background:rgb(199, 202, 207) !important}.duet-range.sc-duet-range-slider:disabled::-webkit-slider-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-webkit-slider-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range.sc-duet-range-slider:disabled::-moz-range-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-moz-range-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range.sc-duet-range-slider:disabled::-ms-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-ms-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range.sc-duet-range-slider::-ms-fill-lower{height:4px;background:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-fill-lower{background:rgb(198, 12, 48)}.duet-range.sc-duet-range-slider::-ms-fill-upper{height:4px;background:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-fill-upper{background:rgb(199, 202, 207)}.duet-label-hidden.sc-duet-range-slider duet-label.sc-duet-range-slider,.duet-label-hidden.sc-duet-range-slider output.sc-duet-range-slider{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-theme-turva2.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-output.sc-duet-range-slider{color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-range-slider-h .duet-range-disabled.duet-theme-turva.sc-duet-range-slider .duet-output.sc-duet-range-slider{color:rgb(120, 145, 164)}.duet-theme-turva2.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider{background:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-webkit-slider-thumb{border-color:rgb(120, 145, 164)}.duet-theme-turva2.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-moz-range-thumb{border-color:rgb(120, 145, 164)}.duet-theme-turva2.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-thumb{border-color:rgb(120, 145, 164)}.duet-theme-turva2.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled{background:rgb(178, 194, 205) !important}.duet-theme-turva2.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-webkit-slider-thumb{background:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-moz-range-thumb{background:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-ms-thumb{background:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-fill-lower{background:rgb(230, 23, 64)}.duet-theme-turva2.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-fill-upper{background:rgb(178, 194, 205)}';export{m as duet_range_slider}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as c,H as o,g as i}from"./p-4ad740e2.js";import{i as s}from"./p-12f16785.js";import{c as d}from"./p-5e59e970.js";const h=class{constructor(c){e(this,c),this.duetChange=t(this,"duetChange",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.checkboxId=d("DuetCheckbox"),this.errorId=d("DuetError"),this.onChange=e=>{this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.getDescribedBy=()=>{const e=[];return this.accessibleDescribedBy&&e.push(this.accessibleDescribedBy),this.error&&e.push(this.errorId),e.length>0?e.join(" "):null},this.accessibleActiveDescendant=void 0,this.margin="auto",this.accessibleControls=void 0,this.accessibleIndex=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleSelected=void 0,this.accessibleLiveError="polite",this.required=!1,this.error="",this.theme="",this.disabled=!1,this.identifier=void 0,this.label="label",this.labelHidden=!1,this.name=void 0,this.role=void 0,this.checked=!1,this.value=void 0}componentWillLoad(){s(this),void 0===this.value&&(this.value=this.identifier)}async setFocus(e){this.nativeInput.focus(e)}render(){const e=this.identifier||this.checkboxId;return c(o,{class:{"duet-m-0":"none"===this.margin}},c("div",{class:{"duet-checkbox-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme}},c("input",{ref:e=>this.nativeInput=e,type:"checkbox",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,class:{"duet-checkbox":!0,disabled:this.disabled},checked:this.checked,disabled:this.disabled,tabindex:this.accessibleIndex,"aria-invalid":this.error?"true":"false","aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-selected":this.accessibleSelected,required:this.required,role:this.role,name:this.name,id:e}),c("label",{class:"duet-label",htmlFor:e},c("span",null,this.label)),c("div",{class:"duet-checkbox-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&c("span",null,this.error))))}get element(){return i(this)}};h.style='*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.sc-duet-checkbox-h{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:8px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;vertical-align:top;color:rgb(8, 42, 77);cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{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-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:"";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before,.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before.duet-theme-turva,.duet-theme-turva2.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before,.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:"";background:transparent url("data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(143, 147, 158)}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error.sc-duet-checkbox{margin-left:31px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox{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(214, 28, 82)}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox,.duet-label-hidden.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-theme-turva2.sc-duet-checkbox-h .duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-checkbox-h .duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-checkbox-h .duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 42, 59);border-color:rgb(23, 42, 59)}';export{h as duet_checkbox}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,u){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function s(t){try{o(u.next(t))}catch(t){r(t)}}function a(t){try{o(u["throw"](t))}catch(t){r(t)}}function o(t){t.done?n(t.value):i(t.value).then(s,a)}o((u=u.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u,i,r,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(e){return o([t,e])}}function o(a){if(u)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(n=0)),n)try{if(u=1,i&&(r=a[0]&2?i["return"]:a[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;if(i=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){n.label=a[1];break}if(a[0]===6&&n.label<r[1]){n.label=r[1];r=a;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(a);break}if(r[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];i=0}finally{u=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-80993983.system.js","./p-385da7a9.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-d4f972c3.system.js","./p-d44312ba.system.js","./p-98636086.system.js"],(function(t){"use strict";var e,n,u,i,r,s,a,o,b,d,c,l,h,m,p,f,v,g,y,x;return{setters:[function(t){e=t.r;n=t.c;u=t.h;i=t.H;r=t.g},function(t){s=t.i},function(t){a=t.c},function(t){o=t.a;b=t.b;d=t.c;c=t.d;l=t.e;h=t.s;m=t.u},function(t){p=t.a;f=t.b;v=t.g;g=t.c;y=t.d},function(t){x=t.c},function(){}],execute:function(){var w={title:"action-add",tags:"action add plus",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>'};var A={title:"action-subtract",tags:"action subtract minus remove delete cancel",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>'};function k(t,e){var n;if(typeof t==="string"){if(t===""){return null}var u=t.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");if(e){u=D(u,e,false)}u=u.replace(/\s+/g,"");n=parseFloat(u)}if(typeof t==="number"){n=parseFloat(String(t))}if(!isNaN(Number(n))){return Number(n)}if(t===null||t===undefined){return null}throw new Error("Invalid value passed to SafeParseFloat")}function D(t,e,n){if(n===void 0){n=false}var u;var i=new Intl.NumberFormat(e).format(1/2).replace(/[0-9]/g,"");var r=new Intl.NumberFormat("en-US").format(1/2).replace(/[0-9]/g,"");var s=new Intl.NumberFormat(e).format(1e3).replace(/[0-9]/g,"");var a=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");u=t.replace(i,"DECIMALSEPARATOR");if(n){u=u.replace(s,"THOUSANDSEPARATOR")}else{u=u.replace(s,"")}u=u.replace("DECIMALSEPARATOR",r);u=u.replace("THOUSANDSEPARATOR",a);return u}var N=function(t,e){return Math.round(t/e)*e};var S=function(t,e,n){return Math.min(Math.max(t,e),n)};var E='*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.sc-duet-number-input-h{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;vertical-align:bottom;text-align:left}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;background:transparent}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:2px solid;outline-offset:0;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus,.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus.duet-theme-turva,.duet-theme-turva2 .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus,.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid rgb(181, 198, 208)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;z-index:-1;width:1px;height:60%;content:"";background:rgb(212, 223, 229)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(199, 202, 207, 0.2) 0%, rgba(199, 202, 207, 0.2) 1px, rgba(199, 202, 207, 0.1) 1px, rgba(199, 202, 207, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(222, 224, 228)}.duet-theme-turva2.sc-duet-number-input-h .duet-theme-turva.sc-duet-number-input .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(178, 194, 205, 0.2) 0%, rgba(178, 194, 205, 0.2) 1px, rgba(178, 194, 205, 0.1) 1px, rgba(178, 194, 205, 0) 100%)}.duet-theme-turva2.sc-duet-number-input-h .duet-theme-turva.sc-duet-number-input .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(212, 221, 226)}';var _=E;var z=t("duet_number_input",function(){function t(t){var u=this;e(this,t);this.duetChange=n(this,"duetChange",3);this.duetInput=n(this,"duetInput",3);this.duetBlur=n(this,"duetBlur",7);this.duetFocus=n(this,"duetFocus",7);this.inputId=a("DuetInput");this.handleFocus=function(){u.focusedValue=u.value};this.handleKeyDown=function(t){if(o(t)||b(t)){u.add(t)}else if(d(t)||c(t)){u.subtract(t)}else if(l(t)){u.clearValue(t)}};this.handleChange=function(t){var e=t.target;if(e&&e.value){try{var n=k(e.value,u.locale);if(isNaN(n)||n==null){n=u.min||0}u.setValue(n);u.duetInput.emit({component:"duet-number-input",originalEvent:t,value:k(u.value,u.locale).toString(),valueAsNumber:n})}catch(n){if(e.value!=="-"){u.clearValue(t)}u.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}}else{u.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}};this.handleBlur=function(t){var e=t.target;if(!e){return}if(e.value){try{var n=k(e.value,u.locale);if(u.rounding){n=N(n,u.step)}n=S(n,u.min,u.max);if(n!==k(u.value,u.locale)||n!==k(u.focusedValue,u.locale)){u.setValue(n);u.emitChange(t)}}catch(e){u.emitNull(t)}}else{u.emitNull(t)}};this.emitChange=function(t){var e=k(u.value,u.locale);u.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})};this.emitNull=function(t){u.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})};this.localizeValue=function(t){return t.toLocaleString(u.locale,{useGrouping:false})};this.setValue=function(t){u.value=u.localizeValue(t);u.duetInputElement.value="".concat(u.value).concat(u.getUnitString())};this.add=function(t){if(t){t.preventDefault()}var e=k(u.value,u.locale);if(e===u.max){return}var n=e==null?u.min:e+u.step;if(n%u.step!==0){var i=n%u.step;n-=i}var r=S(n,u.min,u.max);u.value=u.localizeValue(r);u.emitChange(t)};this.subtract=function(t){if(t){t.preventDefault()}var e=k(u.value,u.locale);if(e===u.min){return}var n=e-u.step;if(n%u.step!==0){var i=u.step-n%u.step;n+=i}n=S(n,u.min,u.max);u.value=u.localizeValue(n);u.emitChange(t)};this.language=p();this.locale=f(this.language).locale;this.unit=f(this.language).money;this.focusedValue=undefined;this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"};this.accessibleLive=v(this.accessibleLiveDefaults,this.language);this.accessibleLiveEnabled=true;this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"};this.accessibleAdd=v(this.accessibleAddDefaults,this.language);this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"};this.accessibleSubtract=v(this.accessibleSubtractDefaults,this.language);this.theme="";this.margin="auto";this.expand=false;this.identifier=undefined;this.min=0;this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"};this.label=v(this.labelDefaults,this.language);this.labelHidden=false;this.max=1e6;this.name=undefined;this.error="";this.tooltip="";this.step=5e3;this.rounding=true;this.role=undefined;this.disabled=false;this.required=false;this.value=undefined}t.prototype.componentWillLoad=function(){s(this);if(this.value){this.value=this.localizeValue(k(this.value,this.locale))}x(this.element,"tooltip","duet-tooltip",1,true)};t.prototype.connectedCallback=function(){g(this,[{prop:"accessibleLive",defaults:"accessibleLiveDefaults"},{prop:"accessibleAdd",defaults:"accessibleAddDefaults"},{prop:"accessibleSubtract",defaults:"accessibleSubtractDefaults"},{prop:"label",defaults:"labelDefaults"}]);h(this)};t.prototype.disconnectedCallback=function(){y(this);m(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.duetInputElement.setFocus(t);return[2]}))}))};t.prototype.getValueAsNumber=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=k(this.value,this.locale);return[2,this.value===undefined||this.value===null||isNaN(t)?null:t]}))}))};t.prototype.clearValue=function(t){this.duetInputElement.value="";if(this.value!==null){this.value=null;this.emitNull(t)}};t.prototype.getUnitString=function(){return this.unit?" ".concat(this.unit):""};t.prototype.formatAnnouncement=function(){var t=!!this.value?k(this.value,this.locale):null;if(t==null){return""}return this.accessibleLive.replace("{current}",t.toString(10))};t.prototype.render=function(){var t=this;var e=this.identifier||this.inputId;var n="".concat(this.localizeValue(this.max)).concat(this.getUnitString()).length;var r=!!this.value?k(this.value,this.locale):null;return u(i,{class:{"duet-theme-turva":this.theme==="turva","duet-expand":this.expand,"duet-m-0":this.margin==="none"}},u("div",{class:"duet-number-container"},u("duet-input",{ref:function(e){return t.duetInputElement=e},onDuetChange:function(e){return t.handleChange(e)},onDuetFocus:this.handleFocus,onDuetBlur:function(e){return t.handleBlur(e)},onKeyDown:function(e){return t.handleKeyDown(e)},label:this.label,value:this.value?"".concat(this.value).concat(this.getUnitString()):"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":r!=null?r:"",maxlength:n,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:e,theme:this.theme,margin:"none",expand:true,numericKeyboard:true,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},u("slot",{name:"tooltip"}),u("div",{class:{"duet-number-buttons":true,"duet-no-label":this.labelHidden}},u("button",{"aria-controls":e,disabled:this.disabled,"aria-disabled":r==null||r===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},u("duet-visually-hidden",null,this.accessibleSubtract," ",this.step),u("duet-icon",{icon:A.svg,size:"small",margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary"})),u("button",{"aria-controls":e,disabled:this.disabled,"aria-disabled":r===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},u("duet-visually-hidden",null,this.accessibleAdd," ",this.step),u("duet-icon",{icon:w.svg,size:"small",margin:"none",color:this.theme==="turva"?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&u("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());z.style=_}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-80993983.system.js","./p-87633fff.system.js","./p-385da7a9.system.js","./p-d4f972c3.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,r,a,o,n,d,u;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.D},function(e){d=e.i},function(e){u=e.g},function(){}],execute:function(){var g='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;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.75rem;font-style:normal;font-weight:600;line-height:1.25;vertical-align:middle;color:rgb(8, 42, 77);text-align:center;word-break:break-word;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);outline:1px solid rgb(212, 223, 229);outline-offset:-1px;background:none}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);outline-color:rgb(222, 224, 228);background:none}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{outline-color:rgb(8, 42, 77);border-color:rgb(181, 198, 208)}.duet-badge.background-strong.subtle.duet-theme-turva{outline-color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.default{color:rgb(23, 42, 59);background:#e8eaeb}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.background-strong.default{color:rgb(255, 255, 255);background:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.background-strong.subtle{outline-color:rgb(23, 42, 59)}';var b=g;var c=e("duet_badge",function(){function e(e){var r=this;t(this,e);this.getVariationLabel=function(){if(r.variation==="subtle"){return""}var e=["default","success","danger","warning"].includes(r.variation)?r.variation:"default";return u(n[e])};this.theme="";this.variation="default";this.background="normal";this.margin="auto"}e.prototype.componentWillLoad=function(){d(this)};e.prototype.render=function(){var e;var t="background-".concat(this.background);return r(a,{key:"754fb06eaa60be4bed96d8fc8af86e01d0cbdae2",class:{"duet-m-0":this.margin==="none"}},r("span",{key:"5585a67dfe38a5169f8e8987e983ea86472dd1a5",class:(e={"duet-badge":true},e[this.variation]=true,e[t]=true,e["duet-theme-turva"]=this.theme==="turva",e)},r("duet-visually-hidden",{key:"1c2d4cfaa171c9c53929a02c01a7135a42e45e55"},this.getVariationLabel()),r("slot",{key:"e54ce9c1b957589d73bd49410b769add59650735"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());c.style=b}}}));
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const t="duet",e={cdnURILocal:"http://localhost:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"4.2.9"};var n=Object.defineProperty,l={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},o=new WeakMap,s=t=>o.get(t),i=(t,e)=>o.set(e.t=t,e),r=(t,e)=>e in t,c=(t,e)=>(0,console.error)(t,e),f=new Map,u=new Map,a="s-id",d="c-id",h="slot-fb{display:contents}slot-fb[hidden]{display:none}",$="http://www.w3.org/1999/xlink",p="undefined"!=typeof window?window:{},m=p.document||{head:{}},v={l:0,o:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},b=t=>Promise.resolve(t),y=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),w=!1,g=[],j=[],O=(t,e)=>n=>{t.push(n),w||(w=!0,e&&4&v.l?E(k):v.raf(k))},S=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){c(t)}t.length=0},k=()=>{S(g),S(j),(w=g.length>0)&&v.raf(k)},E=t=>b().then(t),x=O(j,!0),C={},I=t=>"object"==(t=typeof t)||"function"===t;function M(t){var e,n,l;return null!=(l=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,e)=>{for(var l in e)n(t,l,{get:e[l],enumerable:!0})})({},{err:()=>A,map:()=>N,ok:()=>R,unwrap:()=>U,unwrapErr:()=>F});var R=t=>({isOk:!0,isErr:!1,value:t}),A=t=>({isOk:!1,isErr:!0,value:t});function N(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>R(t))):R(n)}if(t.isErr)return A(t.value);throw"should never get here"}var P,T,D,U=t=>{if(t.isOk)return t.value;throw t.value},F=t=>{if(t.isErr)return t.value;throw t.value},H=(t,e,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof t&&!I(l))&&(l+=""),i&&r?c[c.length-1].i+=l:c.push(i?L(null,l):l),r=i)};if(f(n),e){e.key&&(o=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,W);const u=L(t,null);return u.u=e,c.length>0&&(u.h=c),u.$=o,u.p=s,u},L=(t,e)=>({l:0,m:t,i:e,v:null,h:null,u:null,$:null,p:null}),_={},W={forEach:(t,e)=>t.map(B).forEach(e),map:(t,e)=>t.map(B).map(e).map(V)},B=t=>({vattrs:t.u,vchildren:t.h,vkey:t.$,vname:t.p,vtag:t.m,vtext:t.i}),V=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),H(t.vtag,e,...t.vchildren||[])}const e=L(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.$=t.vkey,e.p=t.vname,e},q=(t,e,n,l,o,s)=>{if(n!==l){let i=r(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,o=z(n),s=z(l);t["s-si"]&&s.indexOf(t["s-si"])<0&&s.push(t["s-si"]),e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===e){for(const e in n)l&&null!=l[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in l)n&&l[e]===n[e]||(e.includes("-")?t.style.setProperty(e,l[e]):t.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&l(t);else if(i||"o"!==e[0]||"n"!==e[1]){const r=I(l);if((i||r&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[e]=l;else{const o=null==l?"":l;"list"===e?i=!1:null!=n&&t[e]==o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,f=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(e)||(f?t.removeAttributeNS($,e):t.removeAttribute(e)):(!i||4&s||o)&&!r&&(l=!0===l?"":l,f?t.setAttributeNS($,e,l):t.setAttribute(e,l))}else if(e="-"===e[2]?e.slice(3):r(p,c)?c.slice(2):c[2]+e.slice(3),n||l){const o=e.endsWith(J);e=e.replace(K,""),n&&v.rel(t,e,n,o),l&&v.ael(t,e,l,o)}}},G=/\s/,z=t=>("object"==typeof t&&"baseVal"in t&&(t=t.baseVal),t?t.split(G):[]),J="Capture",K=RegExp(J+"$"),Q=(t,e,n)=>{const l=11===e.v.nodeType&&e.v.host?e.v.host:e.v,o=t&&t.u||C,s=e.u||C;for(const t of X(Object.keys(o)))t in s||q(l,t,o[t],void 0,n,e.l);for(const t of X(Object.keys(s)))q(l,t,o[t],s[t],n,e.l)};function X(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Y=!1,Z=!1,tt=!1,et=!1,nt=(t,e,n,l)=>{var o;const s=e.h[n];let i,r,c,f=0;if(Y||(tt=!0,"slot"===s.m&&(P&&l.classList.add(P+"-s"),s.l|=s.h?2:1)),null!==s.i)i=s.v=m.createTextNode(s.i);else if(1&s.l)i=s.v=m.createTextNode("");else{if(et||(et="svg"===s.m),i=s.v=m.createElementNS(et?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Y&&2&s.l?"slot-fb":s.m),et&&"foreignObject"===s.m&&(et=!1),Q(null,s,et),!!i.getRootNode().querySelector("body")&&null!=P&&i["s-si"]!==P&&i.classList.add(i["s-si"]=P),vt(i,l),s.h)for(f=0;f<s.h.length;++f)r=nt(t,s,f,i),r&&i.appendChild(r);"svg"===s.m?et=!1:"foreignObject"===i.tagName&&(et=!0)}return i["s-hn"]=D,3&s.l&&(i["s-sr"]=!0,i["s-cr"]=T,i["s-sn"]=s.p||"",i["s-rf"]=null==(o=s.u)?void 0:o.ref,c=t&&t.h&&t.h[n],c&&c.m===s.m&&t.v&&lt(t.v,!1)),i},lt=(t,e)=>{v.l|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const l=n[t];l["s-hn"]!==D&&l["s-ol"]&&(pt(ct(l),l,rt(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,tt=!0),e&&lt(l,e)}v.l&=-2},ot=(t,e,n,l,o,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===D&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=nt(null,n,o,t),i&&(l[o].v=i,pt(r,i,rt(e))))},st=(t,e,n)=>{for(let l=e;l<=n;++l){const e=t[l];if(e){const t=e.v;$t(e),t&&(Z=!0,t["s-ol"]?t["s-ol"].remove():lt(t,!0),t.remove())}}},it=(t,e,n=!1)=>!(t.m!==e.m||("slot"===t.m?"j"in t&&n&&8!==t.v.nodeType||t.p!==e.p:!n&&t.$!==e.$)),rt=t=>t&&t["s-ol"]||t,ct=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,ft=(t,e,n=!1)=>{const l=e.v=t.v,o=t.h,s=e.h,i=e.m,r=e.i;let c;null===r?(et="svg"===i||"foreignObject"!==i&&et,("slot"!==i||Y)&&Q(t,e,et),null!==o&&null!==s?((t,e,n,l,o=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=e.length-1,d=e[0],h=e[a],$=l.length-1,p=l[0],m=l[$];for(;r<=a&&c<=$;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==p)p=l[++c];else if(null==m)m=l[--$];else if(it(d,p,o))ft(d,p,o),d=e[++r],p=l[++c];else if(it(h,m,o))ft(h,m,o),h=e[--a],m=l[--$];else if(it(d,m,o))"slot"!==d.m&&"slot"!==m.m||lt(d.v.parentNode,!1),ft(d,m,o),pt(t,d.v,h.v.nextSibling),d=e[++r],m=l[--$];else if(it(h,p,o))"slot"!==d.m&&"slot"!==m.m||lt(h.v.parentNode,!1),ft(h,p,o),pt(t,h.v,d.v),h=e[--a],p=l[++c];else{for(f=-1,u=r;u<=a;++u)if(e[u]&&null!==e[u].$&&e[u].$===p.$){f=u;break}f>=0?(i=e[f],i.m!==p.m?s=nt(e&&e[c],n,f,t):(ft(i,p,o),e[f]=void 0,s=i.v),p=l[++c]):(s=nt(e&&e[c],n,c,t),p=l[++c]),s&&pt(ct(d.v),s,rt(d.v))}r>a?ot(t,null==l[$+1]?null:l[$+1].v,n,l,c,$):c>$&&st(e,r,a)})(l,o,e,s,n):null!==s?(null!==t.i&&(l.textContent=""),ot(l,null,e,s,0,s.length-1)):!n&&null!==o&&st(o,0,o.length-1),et&&"svg"===i&&(et=!1)):(c=l["s-cr"])?c.parentNode.textContent=r:t.i!==r&&(l.data=r)},ut=t=>{const e=t.__childNodes||t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const l of e)if(l!==t)if(l["s-hn"]!==t["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){t.hidden=!0;break}}else if(n===l["s-sn"]&&(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim())){t.hidden=!0;break}}ut(t)}},at=[],dt=t=>{let e,n,l;const o=t.__childNodes||t.childNodes;for(const t of o){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const o=t["s-sn"];for(l=n.length-1;l>=0;l--)if(e=n[l],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(ht(e,o)){let n=at.find((t=>t.O===e));Z=!0,e["s-sn"]=e["s-sn"]||o,n?(n.O["s-sh"]=t["s-hn"],n.S=t):(e["s-sh"]=t["s-hn"],at.push({S:t,O:e})),e["s-sr"]&&at.map((t=>{ht(t.O,e["s-sn"])&&(n=at.find((t=>t.O===e)),n&&!t.S&&(t.S=n.S))}))}else at.some((t=>t.O===e))||at.push({O:e})}1===t.nodeType&&dt(t)}},ht=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,$t=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map($t)},pt=(t,e,n)=>{const l=null==t?void 0:t.insertBefore(e,n);return vt(e,t),l},mt=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...mt(t.parentElement)),e},vt=(t,e,n=!1)=>{var l;if(t&&e&&1===t.nodeType){const o=new Set(mt(e).filter(Boolean));if(o.size&&(null==(l=t.classList)||l.add(...t["s-scs"]=Array.from(o)),t["s-ol"]||n))for(const e of Array.from(t.__childNodes||t.childNodes))vt(e,t,!0)}},bt=t=>{class e extends Array{item(t){return this[t]}}let n=globalThis.Node&&Object.getOwnPropertyDescriptor(Node.prototype,"childNodes");n||(n=Object.getOwnPropertyDescriptor(t,"childNodes")),n&&Object.defineProperty(t,"__childNodes",n);let l=Object.getOwnPropertyDescriptor(Element.prototype,"children");l||(l=Object.getOwnPropertyDescriptor(t,"children")),l&&Object.defineProperty(t,"__children",l),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),n&&Object.defineProperty(t,"childNodes",{get(){var t,n;if(!v.l||!(null==(t=s(this))?void 0:t.l)||!(1&v.l)&&2&(null==(n=s(this))?void 0:n.l)){const t=new e,n=wt(this.__childNodes);return t.push(...n),t}return e.from(this.__childNodes)}})},yt=(t,e,n,l)=>{let o;if(t["s-ol"]&&t["s-ol"].isConnected?o=t["s-ol"]:(o=document.createTextNode(""),o["s-nr"]=t),!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,i=n?s.__prepend||s.prepend:s.__appendChild||s.appendChild;if(void 0!==l){o["s-oo"]=l;const t=[o];(s.__childNodes||s.childNodes).forEach((e=>{e["s-nr"]&&t.push(e)})),t.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<e["s-oo"]?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),t.forEach((t=>i.call(s,t)))}else i.call(s,o);t["s-ol"]=o,t["s-sh"]=e["s-hn"]},wt=t=>{const e=[];for(let n=0;n<t.length;n++){const l=t[n]["s-nr"];l&&l.isConnected&&e.push(l)}return e},gt=(t,e,n,l,o,s,i,r=[])=>{let c,f,u,a;const h=o["s-sc"];if(1===s.nodeType){if(c=s.getAttribute(d),c&&(f=c.split("."),f[0]===i||"0"===f[0])){u=Ot({l:0,k:f[0],j:f[1],C:f[2],I:f[3],m:s.tagName.toLowerCase(),v:s,u:{class:s.className}}),e.push(u),s.removeAttribute(d),t.h||(t.h=[]);const o=u.v.getAttribute("s-sn");"string"==typeof o&&("slot-fb"===u.m&&St(o,f[2],u,s,t,e,n,l,r),u.v["s-sn"]=o,u.v.removeAttribute("s-sn")),void 0!==u.I&&(t.h[u.I]=u),h&&(s["s-si"]=h),t=u,l&&"0"===u.C&&(l[u.I]=u.v)}if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)gt(t,e,n,l,o,s.shadowRoot.childNodes[a],i,r);const $=s.__childNodes||s.childNodes;for(a=$.length-1;a>=0;a--)gt(t,e,n,l,o,$[a],i,r)}else if(8===s.nodeType)f=s.nodeValue.split("."),(f[1]===i||"0"===f[1])&&(c=f[0],u=Ot({k:f[1],j:f[2],C:f[3],I:f[4]||"0",v:s,u:null,h:null,$:null,p:null,m:null,i:null}),"t"===c?(u.v=s.nextSibling,u.v&&3===u.v.nodeType&&(u.i=u.v.textContent,e.push(u),s.remove(),i===u.k&&(t.h||(t.h=[]),t.h[u.I]=u),l&&"0"===u.C&&(l[u.I]=u.v))):"c"===c?(u.v=s.nextSibling,u.v&&8===u.v.nodeType&&(e.push(u),s.remove())):u.k===i&&("s"===c?(u.m="slot",St(s["s-sn"]=u.p=f[5]||"",f[2],u,s,t,e,n,l,r)):"r"===c&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.m){const e=L(null,s.textContent);e.v=s,e.I="0",t.h=[e]}return t},jt=(t,e)=>{if(1===t.nodeType){const n=t[a]||t.getAttribute(a);n&&e.set(n,t);let l=0;if(t.shadowRoot)for(;l<t.shadowRoot.childNodes.length;l++)jt(t.shadowRoot.childNodes[l],e);const o=t.__childNodes||t.childNodes;for(l=0;l<o.length;l++)jt(o[l],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Ot=t=>({l:0,k:null,j:null,C:null,I:"0",v:null,u:null,h:null,$:null,p:null,m:null,i:null,...t});function St(t,e,n,l,o,s,i,r,c){l["s-sr"]=!0;const f=(null==o?void 0:o.v)?o.v["s-id"]||o.v.getAttribute("s-id"):"";if(r){const s=n.v=m.createElement(n.m);n.p&&n.v.setAttribute("name",t),f&&f!==n.k?o.v.insertBefore(s,o.v.children[0]):l.parentNode.insertBefore(n.v,l),kt(c,e,t,l,n.k),l.remove(),"0"===n.C&&(r[n.I]=n.v)}else{const i=n.v,r=f&&f!==n.k&&o.v.shadowRoot;kt(c,e,t,l,r?f:n.k),r&&o.v.insertBefore(i,o.v.children[0]),s.push(n)}i.push(n),o.h||(o.h=[]),o.h[n.I]=n}var kt=(t,e,n,l,o)=>{let s=l.nextSibling;for(t[e]=t[e]||[];s&&((s.getAttribute&&s.getAttribute("slot")||s["s-sn"])===n||""===n&&!s["s-sn"]&&(8===s.nodeType&&1!==s.nodeValue.indexOf(".")||3===s.nodeType));)s["s-sn"]=n,t[e].push({slot:l,node:s,hostId:o}),s=s.nextSibling},Et=(t,e)=>null==t||I(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,xt=t=>s(t).$hostElement$,Ct=(t,e,n)=>{const l=xt(t);return{emit:t=>It(l,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},It=(t,e,n)=>{const l=v.ce(e,n);return t.dispatchEvent(l),l},Mt=new WeakMap,Rt=(t,e)=>{var n;const l=At(e),o=u.get(l);if(t=11===t.nodeType?t:m,o)if("string"==typeof o){let s,i=Mt.get(t=t.head||t);if(i||Mt.set(t,i=new Set),!i.has(l)){if(t.host&&(s=t.querySelector(`[sty-id="${l}"]`)))s.innerHTML=o;else{s=m.createElement("style"),s.innerHTML=o;const l=null!=(n=v.M)?n:M(m);if(null!=l&&s.setAttribute("nonce",l),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,n)}else if("host"in t)if(y){const e=new CSSStyleSheet;e.replaceSync(o),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=o+e.innerHTML:t.prepend(s)}else t.append(s);1&e.l&&"HEAD"!==t.nodeName&&t.insertBefore(s,null)}4&e.l&&(s.innerHTML+=h),i&&i.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]);return l},At=t=>"sc-"+t.R,Nt=(t,e)=>{e&&!t.A&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.A=e)))},Pt=(t,e)=>{if(t.l|=16,!(4&t.l))return Nt(t,t.N),x((()=>Tt(t,e)));t.l|=512},Tt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e&&(t.l|=256,t.P&&(t.P.map((([t,e])=>Wt(n,t,e))),t.P=void 0),l=Wt(n,"componentWillLoad")),l=Dt(l,(()=>Wt(n,"componentWillRender"))),Dt(l,(()=>Ft(t,n,e)))},Dt=(t,e)=>Ut(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Ut=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ft=async(t,e,n)=>{var l;const o=t.$hostElement$,s=o["s-rc"];n&&(t=>{const e=t.T,n=t.$hostElement$,l=e.l,o=Rt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&l&&n.classList.add(o+"-s"))})(t);Ht(t,e,o,n),s&&(s.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(l=o["s-p"])?l:[],n=()=>Lt(t);0===e.length?n():(Promise.all(e).then(n),t.l|=4,e.length=0)}},Ht=(t,e,n,l)=>{try{e=e.render(),t.l&=-17,t.l|=2,((t,e,n=!1)=>{var l,o,s,i;const r=t.$hostElement$,c=t.T,f=t.D||L(null,null),u=(t=>t&&t.m===_)(e)?e:H(null,null,e);if(D=r.tagName,c.U&&(u.u=u.u||{},c.U.map((([t,e])=>u.u[e]=r[t]))),n&&u.u)for(const t of Object.keys(u.u))r.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(u.u[t]=r[t]);if(u.m=null,u.l|=4,t.D=u,u.v=f.v=r.shadowRoot||r,P=r["s-sc"],Y=!!(1&c.l),T=r["s-cr"],Z=!1,ft(f,u,n),v.l|=1,tt){dt(u.v);for(const t of at){const e=t.O;if(!e["s-ol"]){const t=m.createTextNode("");t["s-nr"]=e,pt(e.parentNode,e["s-ol"]=t,e)}}for(const t of at){const e=t.O,r=t.S;if(r){const t=r.parentNode;let n=r.nextSibling;{let s=null==(l=e["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===e["s-sn"]&&t===l.parentNode){for(l=l.nextSibling;l===e||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),pt(t,e,n),1===e.nodeType&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}Z&&ut(u.v),v.l&=-2,at.length=0,T=void 0})(t,e,l)}catch(e){c(e,t.$hostElement$)}return null},Lt=t=>{const e=t.$hostElement$,n=t.t,l=t.N;Wt(n,"componentDidRender"),64&t.l?Wt(n,"componentDidUpdate"):(t.l|=64,Bt(e),Wt(n,"componentDidLoad"),t.F(e),l||_t()),t.H(e),t.A&&(t.A(),t.A=void 0),512&t.l&&E((()=>Pt(t,!1))),t.l&=-517},_t=()=>{Bt(m.documentElement),E((()=>It(p,"appload",{detail:{namespace:t}})))},Wt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){c(t)}},Bt=t=>t.classList.add("hydrated"),Vt=(t,e,n,l)=>{const o=s(t);if(!o)throw Error(`Couldn't find host element for "${l.R}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=o.$hostElement$,r=o.L.get(e),f=o.l,u=o.t;if(n=Et(n,l._[e][0]),(!(8&f)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(o.L.set(e,n),u)){if(l.W&&128&f){const t=l.W[e];t&&t.map((t=>{try{u[t](n,r,e)}catch(t){c(t,i)}}))}2==(18&f)&&Pt(o,!1)}},qt=(t,e,n)=>{var l,o;const i=t.prototype;if(e._||e.W||t.watchers){t.watchers&&!e.W&&(e.W=t.watchers);const r=Object.entries(null!=(l=e._)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&n&&32&l)if(2048&l){if(1&n&&2048&l&&(Object.defineProperty(i,t,{get(){const e=s(this),n=e?e.t:i;if(n)return n[t]},configurable:!0,enumerable:!0}),4096&l)){const n=Object.getOwnPropertyDescriptor(i,t).set;Object.defineProperty(i,t,{set(l){const o=s(this);if(n){const s=o.$hostElement$[t];return!o.L.get(t)&&s&&o.L.set(t,s),n.call(this,Et(l,e._[t][0])),void Vt(this,t,o.$hostElement$[t],e)}if(!o)return;const i=()=>{const n=o.t[t];!o.L.get(t)&&n&&o.L.set(t,n),o.t[t]=Et(l,e._[t][0]),Vt(this,t,o.t[t],e)};o.t?i():o.B.then((()=>i()))}})}}else Object.defineProperty(i,t,{get(){return((t,e)=>s(this).L.get(e))(0,t)},set(n){Vt(this,t,n,e)},configurable:!0,enumerable:!0});else 1&n&&64&l&&Object.defineProperty(i,t,{value(...e){var n;const l=s(this);return null==(n=null==l?void 0:l.V)?void 0:n.then((()=>{var n;return null==(n=l.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;i.attributeChangedCallback=function(t,l,o){v.jmp((()=>{var r;const c=n.get(t);if(this.hasOwnProperty(c))o=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const n=s(this),i=null==n?void 0:n.l;if(i&&!(8&i)&&128&i&&o!==l){const s=n.t,i=null==(r=e.W)?void 0:r[t];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,o,l,t)}))}return}}const f=Object.getOwnPropertyDescriptor(i,c);f.get&&!f.set||(this[c]=(null!==o||"boolean"!=typeof this[c])&&o)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=e.W)?o:{}),...r.filter((([t,e])=>15&e[0])).map((([t,l])=>{var o;const s=l[1]||t;return n.set(s,t),512&l[0]&&(null==(o=e.U)||o.push([t,s])),s}))]))}}return t},Gt=t=>{Wt(t,"connectedCallback")},zt=t=>{if(!(1&v.l)){const e=s(t),n=e.T,l=()=>{};if(1&e.l)Yt(t,e,n.q),(null==e?void 0:e.t)?Gt(e.t):(null==e?void 0:e.B)&&e.B.then((()=>Gt(e.t)));else{let l;if(e.l|=1,l=t.getAttribute(a),l){if(1&n.l){const e=Rt(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}else if(2&n.l){const e=At(n);t["s-sc"]=e}((t,e,n,l)=>{const o=t.shadowRoot,s=[],i=[],r=o?[]:null,c=L(e,null);c.v=t,v.G||jt(m.body,v.G=new Map),t[a]=n,t.removeAttribute(a),l.D=gt(c,s,[],r,t,t,n,i);let f=0;const u=s.length;let d;for(;f<u;f++){d=s[f];const n=d.k+"."+d.j,l=v.G.get(n),i=d.v;o||(i["s-hn"]=e.toUpperCase(),"slot"===d.m&&(i["s-cr"]=t["s-cr"])),l&&l.isConnected&&(o&&""===l["s-en"]&&l.parentNode.insertBefore(i,l.nextSibling),l.parentNode.removeChild(l),o||(i["s-oo"]=parseInt(d.j))),v.G.delete(n)}const h=[];let $=0;const p=i.length;let b,y,w,g;for(;$<p;$++)if(b=i[$],b&&b.length)for(w=b.length,y=0;y<w;y++){if(g=b[y],h[g.hostId]||(h[g.hostId]=v.G.get(g.hostId)),!h[g.hostId])continue;const t=h[g.hostId];t.shadowRoot&&o||(g.slot["s-cr"]=t["s-cr"],g.slot["s-cr"]=!g.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0],yt(g.node,g.slot,!1,g.node["s-oo"])),t.shadowRoot&&g.node.parentElement!==t&&t.appendChild(g.node)}if(o){let e=0;const n=r.length;for(;e<n;e++)o.appendChild(r[e]);Array.from(t.childNodes).forEach((t=>{8===t.nodeType&&"string"!=typeof t["s-sn"]&&t.parentNode.removeChild(t)}))}l.$hostElement$=t})(t,n.R,l,e)}l||12&n.l&&Jt(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Nt(e,e.N=n);break}}n._&&Object.entries(n._).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),E((()=>(async(t,e,n)=>{let l;if(!(32&e.l)){if(e.l|=32,n.J){const t=(t=>{const e=t.R.replace(/-/g,"_"),n=t.J;if(!n)return;const l=f.get(n);return l?l[e]:import(`./${n}.entry.js`).then((t=>(f.set(n,t),t[e])),c)
5
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};l=await t,e()}else l=t;if(!l)throw Error(`Constructor for "${n.R}#${e.K}" was not found`);l.isProxied||(n.W=l.watchers,qt(l,n,2),l.isProxied=!0);const o=()=>{};e.l|=8;try{new l(e)}catch(t){c(t)}e.l&=-9,e.l|=128,o(),Gt(e.t)}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128));if(l&&l.style){let t;"string"==typeof l.style&&(t=l.style);const e=At(n);if(!u.has(e)){const l=()=>{};((t,e,n)=>{let l=u.get(t);y&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,u.set(t,l)})(e,t,!!(1&n.l)),l()}}}const o=e.N,s=()=>Pt(e,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(t,e,n)))}l()}},Jt=t=>{const e=t["s-cr"]=m.createComment("");e["s-cn"]=!0,pt(t,e,t.firstChild)},Kt=t=>{Wt(t,"disconnectedCallback")},Qt=(t,e={})=>{var n;const l=[],i=e.exclude||[],r=p.customElements,c=m.head,f=c.querySelector("meta[charset]"),u=m.createElement("style"),a=[];let d,$=!0;Object.assign(v,e),v.o=new URL(e.resourcesUrl||"./",m.baseURI).href,v.l|=2;let b=!1;if(t.map((t=>{t[1].map((e=>{var n;const c={l:e[0],R:e[1],_:e[2],q:e[3]};4&c.l&&(b=!0),c._=e[2],c.q=e[3],c.U=[],c.W=null!=(n=e[4])?n:{};const f=c.R,u=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={l:0,$hostElement$:t,T:e,L:new Map};n.V=new Promise((t=>n.H=t)),n.B=new Promise((t=>n.F=t)),t["s-p"]=[],t["s-rc"]=[],o.set(t,n)})(t=this,c),1&c.l)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.R}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open",delegatesFocus:!!(16&c.l)})}connectedCallback(){const t=s(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Yt(this,t,c.q)),d&&(clearTimeout(d),d=null),$?a.push(this):v.jmp((()=>zt(this)))}disconnectedCallback(){v.jmp((()=>(async()=>{if(!(1&v.l)){const t=s(this);t.X&&(t.X.map((t=>t())),t.X=void 0),(null==t?void 0:t.t)?Kt(t.t):(null==t?void 0:t.B)&&t.B.then((()=>Kt(t.t)))}})()))}componentOnReady(){return s(this).B}};bt(u.prototype),c.J=t[0],i.includes(f)||r.get(f)||(l.push(f),r.define(f,qt(u,c,1)))}))})),l.length>0&&(b&&(u.textContent+=h),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(n=v.M)?n:M(m);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,f?f.nextSibling:c.firstChild)}$=!1,a.length?a.map((t=>t.connectedCallback())):v.jmp((()=>d=setTimeout(_t,30)))},Xt=(t,e)=>e,Yt=(t,e,n)=>{n&&n.map((([n,l,o])=>{const s=te(t,n),i=Zt(e,o),r=ee(n);v.ael(s,l,i,r),(e.X=e.X||[]).push((()=>v.rel(s,l,i,r)))}))},Zt=(t,e)=>n=>{var l;try{256&t.l?null==(l=t.t)||l[e](n):(t.P=t.P||[]).push([e,n])}catch(t){c(t)}},te=(t,e)=>4&e?m:8&e?p:16&e?m.body:t,ee=t=>({passive:!!(1&t),capture:!!(2&t)}),ne=t=>v.M=t;export{l as B,e as E,Xt as F,_ as H,t as N,Qt as b,Ct as c,m as d,xt as g,H as h,b as p,i as r,ne as s}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,a,t,d){function i(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,r){function n(e){try{p(d.next(e))}catch(e){r(e)}}function o(e){try{p(d["throw"](e))}catch(e){r(e)}}function p(e){e.done?t(e.value):i(e.value).then(n,o)}p((d=d.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},d,i,r,n;return n={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function o(e){return function(a){return p([e,a])}}function p(o){if(d)throw new TypeError("Generator is already executing.");while(n&&(n=0,o[0]&&(t=0)),t)try{if(d=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;i=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){t.label=o[1];break}if(o[0]===6&&t.label<r[1]){t.label=r[1];r=o;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(o);break}if(r[2])t.ops.pop();t.trys.pop();continue}o=a.call(e,t)}catch(e){o=[6,e];i=0}finally{d=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,a,t){if(t||arguments.length===2)for(var d=0,i=a.length,r;d<i;d++){if(r||!(d in a)){if(!r)r=Array.prototype.slice.call(a,0,d);r[d]=a[d]}}return e.concat(r||Array.prototype.slice.call(a))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-80993983.system.js","./p-385da7a9.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-d44312ba.system.js","./p-98636086.system.js","./p-43bbba35.system.js","./p-db0ba7b6.system.js"],(function(e){"use strict";var a,t,d,i,r,n,o,p,s,m,u,c,h,l;return{setters:[function(e){a=e.r;t=e.c;d=e.h;i=e.F;r=e.H;n=e.g},function(e){o=e.i},function(e){p=e.c},function(e){s=e.i;m=e.s;u=e.u},function(e){c=e.g},function(e){h=e.s},function(e){l=e.g},function(){}],execute:function(){var x=["h1","h2","h3","h4","h5","h6"];var g="div";var f={title:"action-arrow-up",tags:"action arrow up caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>'};var b='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}:host{--duet-card-border-radius:12px}@media (min-width: 36em){:host{--duet-card-border-radius:16px}}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:var(--duet-card-border-radius);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva,.duet-theme-turva2 .duet-card:focus,.duet-card:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);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)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus,:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus,:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:var(--duet-card-border-radius)}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(222, 224, 228)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transform:scale(1.0001);transition:transform 300ms ease}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card: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)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{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)}a.duet-card:active{transform:translateY(1px);transition:none}:host(.duet-theme-turva2) .duet-card.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva.info{background:rgb(253, 247, 242) !important}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-heading{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-card.duet-theme-turva .duet-card-footer{background:rgb(251, 225, 209)}';var w=b;var v=e("duet_card",function(){function e(e){var d=this;a(this,e);this.duetToggle=t(this,"duetToggle",7);this.cardId=p("DuetCard");this.togglePanel=function(e){e.preventDefault();d.open=!d.open;d.duetToggle.emit({component:"duet-card",originalEvent:e})};this.handleKeyDown=function(e){if(s(e)){d.togglePanel(e)}};this.accessibleLabel=undefined;this.heading="";this.secondaryHeading="";this.variation="default";this.collapsible=false;this.open=true;this.headingLevel="h2";this.headingBackground=undefined;this.icon=undefined;this.iconColor="currentColor";this.image=undefined;this.background="gray-lightest";this.padding="small";this.margin="auto";this.theme="";this.url=undefined;this.shadowBreakpoint=undefined}e.prototype.componentWillLoad=function(){o(this);this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']");this.hasFooter=!!this.element.querySelector("[slot='footer']")};e.prototype.connectedCallback=function(){m(this)};e.prototype.disconnectedCallback=function(){u(this)};e.prototype.renderHeading=function(){var e;var a=h(this.headingLevel);var t=__spreadArray(__spreadArray([],x,true),[g],false).some((function(e){return e===a}))?a:"h2";var r={backgroundColor:l(this.headingBackground)};var n=d(i,null,d("div",{class:"duet-card-heading-grid"},this.icon&&d(i,null,d("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:this.iconColor}),d("duet-spacer",{direction:"horizontal",size:"small"})),d("div",{class:"duet-card-heading-text"},this.heading?this.heading:d("slot",{name:"heading"})),this.secondaryHeading&&d(i,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&d(i,null,d("duet-spacer",{direction:"horizontal",size:"small"}),d("duet-icon",{class:"duet-card-caret",icon:f.svg,size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&d("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),d("slot",{name:"below-heading"}));if(this.collapsible){var o=(e=c(this.element,"heading"))===null||e===void 0?void 0:e.map((function(e){return e.textContent})).join(" ");return d(t,{style:r,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},d("button",{type:"button",class:{"duet-theme-turva":this.theme==="turva"},"aria-controls":this.cardId,"aria-expanded":this.open?"true":"false","aria-label":o},n))}else{return d(t,{style:r,class:"duet-card-heading"},n)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){if(this.nativeCard){this.nativeCard.focus(e)}return[2]}))}))};e.prototype.render=function(){var e;var a=this;var t=this.url?"a":"div";var i={backgroundColor:l(this.background)};return d(r,{key:"0df974f46d041de1e662425099375c3a7d1a4930",class:{"duet-m-0":this.margin==="none","duet-card-info":this.variation==="info"}},d(t,{key:"0a128da0eff230a20db8b3842e8a5d86e6735701",href:this.url,style:i,ref:function(e){return a.nativeCard=e},"aria-label":this.accessibleLabel,class:(e={"duet-card":true},e[this.padding]=true,e[this.variation]=true,e["shadow-".concat(this.shadowBreakpoint)]=!!this.shadowBreakpoint,e["duet-p-0"]=this.padding==="none",e["duet-theme-turva"]=this.theme==="turva",e["duet-card-has-bg"]=this.background!=="gray-lightest",e["duet-card-has-icon"]=!!this.icon,e["duet-card-collapsed"]=this.collapsible&&!this.open,e)},this.image&&d("div",{key:"1a6a47b88fb600849eaa9cc8d5108a41bd24b9ce",class:"duet-card-image-mask"},d("img",{key:"3010252456dd0e210f11f32341a28c87ac872f4c",src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),d("div",{key:"e5a1a24dfdb0d8d6d247333361f0f7bcccb05b0e",class:"duet-card-content",id:this.cardId},d("slot",{key:"59044d033fc2b54dde397f5f18a424331208e54e"}),this.hasFooter&&d("div",{key:"d9019dd209622eb7efbe267a7f7acf607956a3fa",class:"duet-card-footer"},d("slot",{key:"de1adb73d91026f80345564e24784df9c3fc3ee0",name:"footer"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());v.style=w}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as e,h as i,H as u,g as n}from"./p-4ad740e2.js";import{f as s}from"./p-d004da5f.js";import{i as o}from"./p-12f16785.js";import{c as a}from"./p-5e59e970.js";import{c as d,r}from"./p-df7874f9.js";import{f as p,j as l,e as c,d as h,a as m}from"./p-a45e3f8b.js";import{a as b,c as v,d as g,g as f}from"./p-135e72bf.js";import{c as x}from"./p-d4ecb287.js";import{g as w}from"./p-9718c106.js";import"./p-9c3c64b9.js";import"./p-9d9457bf.js";const y={search:s,email:{title:"form-email",tags:"form email",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z"/></svg>'}},k=class{constructor(i){t(this,i),this.duetInput=e(this,"duetInput",7),this.duetChange=e(this,"duetChange",3),this.duetBlur=e(this,"duetBlur",7),this.duetClear=e(this,"duetClear",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=a("DuetInput"),this.clearId=a("DuetInputClear"),this.labelId=a("DuetLabel"),this.topCaptionId=a("DuetCaptionTop"),this.topCaptionPlaceholderId=a("DuetCaptionPlaceholderTop"),this.chipCountId=a("DuetInputChipCount"),this.errorId=a("DuetError"),this.disallowPatternRegex=null,this.clearLabel={en:"Clear",fi:"Tyhjennä",sv:"Rensa"},this.timeAnnouncement={en:"Time",fi:"Aika",sv:"Tid"},this.showPasswordLabel={en:"Show password",fi:"Näytä salasana",sv:"Visa lösenord"},this.hidePasswordLabel={en:"Hide password",fi:"Piilota salasana",sv:"Dölj lösenord"},this.passwordShownAriaAnnouncement={en:"Password is shown",fi:"Salasana näytetään",sv:"Lösenordet visas"},this.passwordHiddenAriaAnnouncement={en:"Password is hidden",fi:"Salasana on piilotettu",sv:"Lösenordet är dolt"},this.chipsSelectedDesriptionLabel={en:"selected",fi:"valittu",sv:"valt"},this.onInput=t=>{this.disallowPatternRegex&&d(this.nativeInput,this.disallowPatternRegex),this.chips&&this.clearChipSelection(),this.value=this.nativeInput.value||"",this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onBlur=t=>{t.relatedTarget!==this.nativeInput&&t.relatedTarget!==this.togglePasswordRevealedButton&&("revealable"===this.variation&&this.isPasswordRevealed&&(this.isPasswordRevealed=!1),this.isFocused=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-input"}))},this.onFocus=t=>{this.clearChipSelection(),this.isFocused=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onClear=t=>{this.duetClear.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.getAriaDescribedBy=()=>{const t=[];if(this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.chips){const e=this.getAllChips();e.length&&(t.push(this.chipCountId),e.forEach((e=>t.push(e.id))))}return this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.handleClearClick=t=>{const e=this.clearInput();return this.onClear(t),e},this.keyHandler=t=>(p(t)&&this.clear&&this.handleClearClick(t),l(t)&&"revealable"===this.variation&&(t.target===this.togglePasswordRevealedButton?t.stopPropagation():this.isPasswordRevealed=!1),this.chips&&0===this.nativeInput.value.length&&(c(t)&&(this.isChipSelected()&&(this.getSelectedChip().removeChip(),setTimeout((()=>this.selectLastChip()))),this.selectLastChip()),h(t)&&this.selectChipToLeft(),m(t)&&this.isChipSelected()&&this.selectChipToRight()),t),this.togglePasswordRevealed=()=>{this.isPasswordRevealed=!this.isPasswordRevealed},this.getInputType=()=>"revealable"===this.variation?this.isPasswordRevealed?"text":"password":this.type,this.language=b(),this.isPasswordRevealed=void 0,this.isFocused=!1,this.accessibleActiveDescendant=void 0,this.accessibleAutocomplete=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleExpanded=void 0,this.accessibleDescribedBy="",this.accessibleHasPopup=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLiveError="polite",this.debounce=0,this.clear=!1,this.caption=void 0,this.echoPlaceholder=!1,this.theme="",this.expand=!1,this.disabled=!1,this.identifier=void 0,this.margin="auto",this.inputAlign="left",this.inputPadding="medium",this.required=!1,this.type="text",this.variation="default",this.chips=!1,this.label="Label",this.labelColor=void 0,this.labelWeight=void 0,this.error="",this.labelHidden=!1,this.numericKeyboard=!1,this.name=void 0,this.pattern=void 0,this.maxlength=void 0,this.minlength=void 0,this.placeholder=void 0,this.component="input",this.role=void 0,this.icon=void 0,this.autoComplete="on",this.disallowPattern=null,this.value=void 0,this.tooltip="",this.tooltipDirection="auto"}disallowedPatternChange(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null}valueChanged(){if(this.nativeInput&&this.nativeInput.value!==this.value){const t=r(this.nativeInput);this.nativeInput.value=this.value,t()}this.isCaptionVisible=!!this.caption;const t=()=>this.duetChange.emit({value:this.value,component:"duet-input"});0===this.debounce?t():(clearTimeout(this.timeoutId),this.timeoutId=setTimeout(t,this.debounce))}get validity(){return this.nativeInput.validity}componentWillLoad(){o(this),this.disallowedPatternChange(),this.isCaptionVisible=!!this.caption,x(this.element,"tooltip","duet-tooltip",1,!0)}componentDidLoad(){"revealable"===this.variation&&this.nativeInput.form&&this.nativeInput.form.addEventListener("submit",(()=>{this.isPasswordRevealed=!1}))}connectedCallback(){v(this)}disconnectedCallback(){g(this)}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async resetCursor(){if(this.nativeInput){const t=r(this.nativeInput);this.nativeInput.value=this.value,t()}}async clearInput(){this.nativeInput&&(this.nativeInput.value="",this.nativeInput.focus(),this.value="")}getAllChips(){return Array.from(this.element.querySelectorAll(".duet-input-relative duet-chip"))}isChipSelected(){return this.getAllChips().some((t=>t.selected))}getSelectedChip(){return this.getAllChips().find((t=>t.selected))}clearChipSelection(){this.getAllChips().forEach((t=>t.selected=!1))}selectLastChip(){const t=this.getAllChips();t.length&&(t.forEach((t=>t.selected=!1)),t.at(-1).selected=!0)}selectChipToLeft(){const t=this.getAllChips(),e=t.findIndex((t=>t.selected));t.length&&(t.forEach((t=>t.selected=!1)),-1===e?t.at(-1).selected=!0:0===e?t[0].selected=!0:t[e-1].selected=!0)}selectChipToRight(){const t=this.getAllChips(),e=t.findIndex((t=>t.selected));t.length&&(t.forEach((t=>t.selected=!1)),e>-1&&e<t.length-1&&(t[e+1].selected=!0))}async addChip(t){if(!this.chips)return void console.error("The method addChips requires the property chips to be true");const e=this.element.querySelector(".duet-input-relative"),i=e.querySelector("input:not(duet-chip input)");t.id=a("DuetInputChip"),e.insertBefore(t,i)}async hasChip({value:t,text:e}){return this.getAllChips().some((i=>i.value===t&&i.textContent===e))}async getChips(){return this.getAllChips()}async clearChips(){this.getAllChips().forEach((t=>t.remove()))}render(){const t=this.identifier||this.inputId,e={};let n;if(this.numericKeyboard&&(e.inputmode="numeric"),this.pattern&&"tel"!==this.type?e.pattern=this.pattern:this.pattern||"tel"!==this.type||(e.pattern="[0-9+ ]+"),this.value){n=new Date;try{n.setHours(Number(this.value.slice(0,2)),Number(this.value.slice(3,5)),0,0)}catch(t){n=void 0}}const s=!this.icon&&"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type&&"button"!==this.variation;return i(u,{class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin},onKeyUp:t=>this.keyHandler(t)},"time"===this.type&&i("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true"},n?`${this.timeAnnouncement[this.language]} ${n.toLocaleTimeString()}`:""),i("div",{class:{"duet-input-container":!0,"duet-theme-turva":"turva"===this.theme,[`duet-input-variation-${this.variation}`]:!0,"duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-icon":"button"!==this.variation&&(!!this.icon||"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type),"has-error":!!this.error,"has-chips":this.chips,"has-clear":this.clear,"has-focus":this.isFocused,disabled:this.disabled}},i("div",{class:"duet-input-label-container"},i("duet-label",{theme:"turva"===this.theme?"turva":"default",margin:this.isCaptionVisible?"small":"auto",color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:t},this.label),this.tooltip&&i("duet-tooltip",{class:"duet-input-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:"turva"===this.theme?"turva":"default"},this.tooltip),i("slot",{name:"tooltip"})),this.caption&&i("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),i("div",{class:"duet-input-relative"},this.placeholder&&this.echoPlaceholder&&(this.value||"time"===this.type)&&i("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-input-placeholder",margin:"none",size:"small"},this.placeholder),this.chips&&i("duet-visually-hidden",{id:this.chipCountId},", ",`${this.getAllChips().length} ${f(this.chipsSelectedDesriptionLabel)}`,","),"button-left"===this.variation&&i("slot",{name:"button-left"}),i("input",Object.assign({ref:t=>this.nativeInput=t,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,type:this.getInputType(),class:{"duet-input":!0,disabled:this.disabled,"is-number":"number"===this.component,"is-date":"date"===this.component,"after-chip":this.getAllChips().length>0,"align-right":"right"===this.inputAlign,[`input-padding-${this.inputPadding}`]:!0},value:this.value,disabled:this.disabled,"aria-invalid":this.error?"true":"false","aria-labelledby":this.accessibleLabelledBy?`${this.labelId} ${this.accessibleLabelledBy}`:this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-expanded":this.accessibleExpanded,"aria-haspopup":this.accessibleHasPopup,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedBy(),placeholder:this.placeholder,spellcheck:"false",minlength:this.minlength,maxlength:this.maxlength,autocomplete:"password"===this.type?"off":this.autoComplete,required:this.required,role:this.role,name:this.name,id:t},e)),!this.value&&s&&i("div",{class:"duet-input-icon"},i("duet-icon",{margin:"none",size:"small",icon:y[this.type].svg,color:"currentColor"})),this.clear&&this.value&&i("div",{class:{"duet-input-clear-icon":!0,"duet-input-clear-icon-single":!s,"duet-input-clear-icon-double":!!this.icon,"duet-input-clear-icon-button":"button"===this.variation,[`input-padding-${this.inputPadding}`]:!0}},i("button",{onClick:this.handleClearClick,id:this.clearId,"aria-label":this.clearLabel[this.language],"aria-keyshortcuts":"Escape"},i("duet-icon",{margin:"none",size:"medium",name:"action-clear-input",color:"currentColor"}))),this.icon&&"button"!==this.variation&&i("div",{class:"duet-input-icon"},i("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),"button"===this.variation&&i("slot",{name:"button"}),"revealable"===this.variation&&i("duet-button",{ref:t=>this.togglePasswordRevealedButton=t,onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.togglePasswordRevealed,icon:this.isPasswordRevealed?"action-hide":"action-show",accessibleLabel:this.isPasswordRevealed?this.hidePasswordLabel[this.language]:this.showPasswordLabel[this.language],margin:"none",variation:"input-button-embedded",fixed:!0,iconOnly:!0}),"revealable"===this.variation&&void 0!==this.isPasswordRevealed&&i("duet-visually-hidden",null,i("span",{"aria-live":"polite"},this.isPasswordRevealed?this.passwordShownAriaAnnouncement[this.language]:this.passwordHiddenAriaAnnouncement[this.language])),i("slot",null)),i("span",{class:"duet-input-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",{class:"duet-input-error"},this.error))))}get element(){return n(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"],value:["valueChanged"]}}};k.style='*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;vertical-align:bottom;text-align:left}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}input[type=time].sc-duet-input::-webkit-datetime-edit-fields-wrapper{padding:0}input[type=time].sc-duet-input::-webkit-calendar-picker-indicator{display:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva,.duet-theme-turva2.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.input-padding-xx-small.sc-duet-input button.sc-duet-input{top:-12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.input-padding-x-small.sc-duet-input button.sc-duet-input{top:-16px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.input-padding-small.sc-duet-input button.sc-duet-input{top:-20px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-xx-small.sc-duet-input button.sc-duet-input{top:-36px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-x-small.sc-duet-input button.sc-duet-input{top:-40px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-small.sc-duet-input button.sc-duet-input{top:-44px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-xx-small.sc-duet-input button.sc-duet-input{top:-12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-x-small.sc-duet-input button.sc-duet-input{top:-16px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-small.sc-duet-input button.sc-duet-input{top:-20px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(8, 42, 77)}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;outline-color:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;transition:border 150ms ease !important}.duet-input.input-padding-small.sc-duet-input{padding:8px 10px !important}.duet-input.input-padding-x-small.sc-duet-input{padding:4px 6px !important}.duet-input.input-padding-xx-small.sc-duet-input{padding:0px 2px !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right.sc-duet-input{text-align:right}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled].sc-duet-input{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;outline:none !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled),.duet-input.sc-duet-input:hover:not(:disabled).duet-theme-turva,.duet-theme-turva2.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled),.duet-input.sc-duet-input:hover:not(:disabled).duet-theme-turva2{outline-color:rgb(120, 145, 164)}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{outline:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input,.duet-input-variation-button-left.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input,.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input,.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input{border-radius:4px}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-left-width:0 !important;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;outline:initial;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{outline:none !important;border-width:0 !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{outline:none;background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{outline:2px solid;outline-offset:-1px;outline-color:rgb(62, 84, 102);border-color:rgb(0, 119, 179)}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{outline:2px solid;outline-offset:-1px;outline-color:rgb(53, 79, 101);border-color:rgb(23, 28, 58)}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input,.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.duet-theme-turva.sc-duet-input,.duet-theme-turva2.sc-duet-input .duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input,.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.duet-theme-turva2.sc-duet-input{outline-color:rgb(120, 145, 164)}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-input-container.has-chips.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{outline:2px solid;outline-offset:-1px;outline-color:rgb(62, 84, 102)}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{outline:2px solid;outline-offset:2px;outline-color:rgb(53, 79, 101)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-grow:1;flex-basis:4rem;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{outline:none !important;border-width:0 !important}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{color:rgb(23, 42, 59) !important}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(120, 145, 164)}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-moz-placeholder{color:rgb(120, 145, 164)}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(178, 194, 205)}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(120, 145, 164)}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(241, 202, 178)}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 42, 59) !important;background:rgb(245, 246, 247) !important;border-color:rgb(245, 246, 247) !important;-webkit-text-fill-color:rgb(23, 42, 59) !important}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 42, 59) !important}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input-variation-button-left.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 42, 59)}.duet-theme-turva2.sc-duet-input-h .duet-theme-turva.sc-duet-input .duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 42, 59)}';const C=class{constructor(e){t(this,e),this.theme="",this.for=void 0,this.margin="auto",this.size="medium",this.weight="semi-bold",this.color=""}componentWillLoad(){o(this)}render(){const t=w(this.color,this.theme);return i(u,{class:{"duet-label":!0,"duet-label-small":"small"===this.size,"duet-theme-turva":"turva"===this.theme,"duet-small-margin":"small"===this.margin,"duet-m-0":"none"===this.margin,[`duet-weight-${this.weight}`]:!0}},i("label",{htmlFor:this.for,style:{color:t}},i("span",null,i("slot",null))))}get element(){return n(this)}};C.style='*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{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(8, 42, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-weight-normal.sc-duet-label-h label.sc-duet-label{font-weight:400 !important}.duet-weight-normal.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-weight:400 !important}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{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-turva2.duet-theme-turva.sc-duet-label-h label.sc-duet-label{color:rgb(23, 42, 59)}';export{k as duet_input,C as duet_label}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as i,H as e,g as n}from"./p-4ad740e2.js";import{i as d}from"./p-12f16785.js";const r=class{constructor(i){t(this,i),this.responsive=!1,this.breakpoint="small",this.direction="horizontal",this.rowReverse=!1,this.alignment="top",this.distribution="default",this.mobile="",this.gridTemplate=null}validateAlignment(t){"form_distribute"===t&&(console.warn('DuetGrid alignment value "form_distribute" is deprecated, replace with "form-distribute"'),this.alignment="form-distribute")}outerHeight(t){const i=t.offsetHeight,e=window.getComputedStyle(t);return parseInt(e.marginTop)+i+parseInt(e.marginBottom)}debounceWindowResizeHandler(){}async connectedCallback(){this.childObserver=new MutationObserver(this.updateGridItems.bind(this)),this.childObserver.observe(this.element,{childList:!0}),"form-distribute"===this.alignment&&(this.formDistributeObserver=new MutationObserver(this.updateGridItemsWithInputFields.bind(this)),this.formDistributeObserver.observe(this.element,{subtree:!0,childList:!0,characterData:!0,attributeFilter:["error"]}),window.addEventListener("resize",this.debounceWindowResizeHandler),this.updateGridItemsWithInputFields()),this.updateGridItems()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0),this.formDistributeObserver&&(this.formDistributeObserver.disconnect(),this.formDistributeObserver=void 0),window.removeEventListener("resize",this.debounceWindowResizeHandler)}getDirectChildren(){return Array.from(this.element.querySelectorAll(":scope > *"))}async updateGridItems(){this.getDirectChildren().filter((t=>"duet-grid-item"===t.tagName.toLowerCase())).forEach((t=>{t.responsive=this.responsive,t.breakpoint=this.breakpoint,t.direction=this.direction,t.rowReverse=this.rowReverse}))}async updateGridItemsWithInputFields(){const t=["duet-button","duet-checkbox","duet-choice","duet-choice-group","duet-combobox","duet-date-picker","duet-fieldset","duet-grid-item","duet-input","duet-multiselect","duet-number-input","duet-phone-input","duet-radio","duet-radio-group","duet-range-slider","duet-select","duet-textarea","duet-toggle"],i=[".duet-checkbox-error",".duet-fieldset-error",".duet-input-error",".duet-multiselect-error",".duet-select-error",".duet-textarea-error"],e=this.getDirectChildren().filter((i=>!!i.querySelector(t.join(","))||t.includes(i.tagName.toLowerCase()))),n=!!window&&"column"===window.getComputedStyle(this.element).flexDirection,d=t=>{var e;return(null==t?void 0:t.querySelector(i.join(",")))||(null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.querySelector(i.join(",")))},r=t=>d(t.find(d)),a=i=>{var e;const n=d(i);return n||(r(Array.from(i.querySelectorAll(t.join(","))||[]))||r(Array.from((null===(e=i.shadowRoot)||void 0===e?void 0:e.querySelectorAll(t.join(",")))||[])))};let o=0;const m=[];e.forEach((t=>{const i=a(t),e=i?this.outerHeight(i):0;m.push(e)})),o=Math.max(...m),e.forEach((t=>{const i=a(t),e=i?this.outerHeight(i):0;e<o&&!n?t.setAttribute("style",`padding-bottom: ${o-e}px;`):(e===o||n)&&t.setAttribute("style","padding-bottom: 0px;")}))}render(){return i(e,{class:{"duet-grid":!0,"duet-no-stacking":!this.responsive,"duet-grid-align-top":"top"===this.alignment,"duet-grid-align-bottom":"bottom"===this.alignment||"form-distribute"===this.alignment,"duet-grid-align-center":"center"===this.alignment,"duet-grid-align-stretch":"stretch"===this.alignment,"duet-grid-align-baseline":"baseline"===this.alignment,"duet-grid-distribution-left":"left"===this.distribution,"duet-grid-distribution-right":"right"===this.distribution,"duet-grid-distribution-center":"center"===this.distribution,"duet-grid-distribution-between":"space-between"===this.distribution,"duet-grid-distribution-around":"space-around"===this.distribution,"duet-grid-distribution-evenly":"space-evenly"===this.distribution,"duet-grid-mobile-left":"left"===this.mobile,"duet-grid-mobile-center":"center"===this.mobile,"duet-grid-mobile-right":"right"===this.mobile,"duet-grid-direction-horizontal":"horizontal"===this.direction,"duet-grid-direction-vertical":"vertical"===this.direction,"duet-grid-breakpoint-x-small":"x-small"===this.breakpoint,"duet-grid-breakpoint-small":"small"===this.breakpoint,"duet-grid-breakpoint-medium":"medium"===this.breakpoint,"duet-grid-breakpoint-large":"large"===this.breakpoint,"duet-grid-breakpoint-x-large":"x-large"===this.breakpoint,"duet-grid-row-reverse":this.rowReverse,["duet-grid-variation-"+(this.gridTemplate?"grid":"flex")]:!0,[`duet-grid-template-${this.gridTemplate}`]:!0}},i("slot",null))}get element(){return n(this)}static get watchers(){return{alignment:["validateAlignment"],responsive:["updateGridItems"],breakpoint:["updateGridItems"],direction:["updateGridItems"]}}};r.style=":host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n}\n\n:host(.duet-grid-variation-flex) {\n display: flex !important;\n flex-direction: column !important;\n align-items: flex-start !important;\n justify-content: flex-start !important;\n width: 100%;\n max-width: 100%;\n height: auto;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small) {\n flex-direction: row !important;\n}\n@media (max-width: 22.5em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-small) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-small.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-medium) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-medium.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-large) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-large.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-large) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-large.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-wrap) {\n flex-wrap: wrap !important;\n}\n\n:host(.duet-grid-variation-flex.duet-no-stacking) {\n flex-direction: row !important;\n}\n\n:host(.duet-grid-variation-flex.duet-no-stacking.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n}\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small) {\n flex-direction: column !important;\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium) {\n flex-direction: column !important;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large) {\n flex-direction: column !important;\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large) {\n flex-direction: column !important;\n}\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-top.duet-no-stacking) {\n align-items: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-no-stacking) {\n align-items: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-center.duet-no-stacking) {\n align-items: center !important;\n}\n\n.duet-grid-align-stretch.duet-no-stacking {\n align-items: stretch !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-no-stacking) {\n align-items: baseline !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-small) {\n align-items: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-small) {\n align-items: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-small) {\n align-items: center !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-small) {\n align-items: stretch !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-small) {\n align-items: baseline !important;\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-small) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-small) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-small) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-small) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-small) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-medium) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-medium) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-medium) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-medium) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-medium) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-large) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-large) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-large) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-large) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-large) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-large) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-large) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-large) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-large) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-large) {\n align-items: baseline !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-left) {\n justify-content: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-right) {\n justify-content: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-center) {\n justify-content: center !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-between) {\n justify-content: space-between !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-around) {\n justify-content: space-around !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-evenly) {\n justify-content: space-evenly !important;\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-left) {\n align-items: flex-start !important;\n justify-content: flex-start !important;\n text-align: left !important;\n }\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-center) {\n align-items: center !important;\n justify-content: center !important;\n text-align: center !important;\n }\n :host(.duet-grid-variation-flex.duet-grid-mobile-center) * {\n text-align: center !important;\n }\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-right) {\n align-items: flex-end !important;\n justify-content: flex-end !important;\n text-align: right !important;\n }\n :host(.duet-grid-variation-flex.duet-grid-mobile-right) * {\n text-align: right !important;\n }\n}\n\n:host(.duet-grid-variation-grid) {\n display: grid;\n grid-template-rows: repeat(1, 1fr);\n grid-template-columns: repeat(4, minmax(0, 1fr));\n gap: 16px;\n align-items: flex-start;\n justify-content: center;\n padding: 0 20px;\n container-type: inline-size;\n overflow-x: clip;\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-grid) {\n gap: 24px;\n padding: 0 40px;\n }\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(8, 55px);\n gap: 24px 32px;\n padding: 0;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(12, minmax(0, 1fr));\n padding: 0 64px;\n }\n}\n@media (min-width: 76.25em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(12, 55px);\n gap: 40px;\n padding: 0;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 3/span 8;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 2/span 10;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 12;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 9/span 4;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 5/span 8;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 6;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 5/span 4;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 7/span 6;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 5/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 9/span 4;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n grid-template-columns: minmax(0, 1fr);\n gap: 12px;\n padding: 0;\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n gap: 16px;\n }\n}\n@container (min-width: 664px) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n@container (min-width: 1100px) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}";const a=class{constructor(i){t(this,i),this.fill=!1,this.maxWidth=void 0,this.minWidth=void 0,this.theme="",this.margin="auto",this.responsive=!1,this.direction="horizontal",this.breakpoint="small",this.rowReverse=!1}componentWillLoad(){d(this)}render(){return i(e,{style:{"min-width":this.minWidth,"max-width":this.maxWidth},class:{"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme,"duet-grid-item":!0,"duet-grid-item-fill":this.fill,"duet-grid-item-responsive":this.responsive,"duet-grid-item-row-reverse":this.rowReverse,"duet-grid-direction-horizontal":"horizontal"===this.direction,"duet-grid-direction-vertical":"vertical"===this.direction,"duet-grid-item-br-x-small":"x-small"===this.breakpoint,"duet-grid-item-br-small":"small"===this.breakpoint,"duet-grid-item-br-medium":"medium"===this.breakpoint,"duet-grid-item-br-large":"large"===this.breakpoint,"duet-grid-item-br-x-large":"x-large"===this.breakpoint}},i("slot",null))}};a.style=':host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:16px !important;min-width:0;max-width:100%;flex:0 0 auto;padding-right:8px;padding-left:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):first-child){padding-left:0}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):first-of-type){padding-left:0}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):last-child){padding-right:0}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):last-of-type){padding-right:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:first-child){padding-right:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:first-of-type){padding-right:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:last-child){padding-left:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:last-of-type){padding-left:0}@media (max-width: 35.9375em){:host(.duet-grid-item-responsive){width:100% !important;min-width:0 !important;max-width:100% !important;padding-right:0;padding-left:0}}@media screen and (max-width: 47.9375em){:host(.duet-grid-item-br-medium){width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 47.9375em){:host(.duet-grid-item-responsive.duet-grid-item-br-medium){padding-right:0;padding-left:0}}@media screen and (max-width: 64em){:host(.duet-grid-item-br-x-large){width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 64em){:host(.duet-grid-item-responsive.duet-grid-item-br-x-large){padding-right:0;padding-left:0}}:host(.duet-grid-item-fill){flex:1 1 auto;width:100%}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}:host(.duet-m-0){padding:0 !important;margin:0 !important}:host(.duet-theme-turva2.duet-theme-turva){color:rgb(23, 42, 59)}';export{r as duet_grid,a as duet_grid_item}