@duetds/components 6.9.0 → 6.9.2

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 (564) hide show
  1. package/hydrate/index.js +332 -111
  2. package/lib/cjs/duet-action-button.cjs.entry.js +17 -2
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-card.cjs.entry.js +9 -13
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-combobox.cjs.entry.js +12 -2
  15. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-editable-table_3.cjs.entry.js +27 -12
  20. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -2
  22. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-grid_2.cjs.entry.js +4 -2
  24. package/lib/cjs/duet-header_2.cjs.entry.js +15 -1
  25. package/lib/cjs/duet-hero.cjs.entry.js +15 -3
  26. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-input_2.cjs.entry.js +9 -14
  28. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -2
  32. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -2
  34. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-multiselect.cjs.entry.js +23 -3
  37. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-notification_2.cjs.entry.js +15 -1
  39. package/lib/cjs/duet-number-input.cjs.entry.js +47 -27
  40. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -3
  42. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-scrollable_3.cjs.entry.js +19 -3
  46. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-select.cjs.entry.js +17 -4
  48. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-slideout.cjs.entry.js +3 -3
  53. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +22 -7
  56. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-textarea.cjs.entry.js +15 -4
  59. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -2
  63. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-tooltip.cjs.entry.js +22 -1
  65. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  68. package/lib/cjs/duet.cjs.js +2 -2
  69. package/lib/cjs/{focus-utils-5c2e36e8.js → focus-utils-76896ff7.js} +1 -1
  70. package/lib/cjs/{index-92f0a873.js → index-0000eab8.js} +1 -1
  71. package/lib/cjs/loader.cjs.js +2 -2
  72. package/lib/collection/components/duet-action-button/duet-action-button.js +25 -6
  73. package/lib/collection/components/duet-card/duet-card.css +13 -10
  74. package/lib/collection/components/duet-card/duet-card.js +7 -11
  75. package/lib/collection/components/duet-combobox/duet-combobox.js +16 -3
  76. package/lib/collection/components/duet-editable-table/duet-editable-table.js +15 -3
  77. package/lib/collection/components/duet-fieldset/duet-fieldset.js +5 -1
  78. package/lib/collection/components/duet-grid/duet-grid.css +18 -0
  79. package/lib/collection/components/duet-grid/duet-grid.js +20 -0
  80. package/lib/collection/components/duet-header/duet-header.js +20 -4
  81. package/lib/collection/components/duet-heading/duet-heading.js +4 -1
  82. package/lib/collection/components/duet-hero/duet-hero.css +23 -3
  83. package/lib/collection/components/duet-hero/duet-hero.js +17 -3
  84. package/lib/collection/components/duet-input/duet-input.js +8 -13
  85. package/lib/collection/components/duet-link/duet-link.css +3 -0
  86. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +19 -1
  87. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -1
  88. package/lib/collection/components/duet-multiselect/duet-multiselect.js +42 -4
  89. package/lib/collection/components/duet-notification/duet-notification.js +22 -5
  90. package/lib/collection/components/duet-number-input/duet-number-input.js +46 -26
  91. package/lib/collection/components/duet-pagination/duet-pagination.js +21 -5
  92. package/lib/collection/components/duet-select/duet-select.css +0 -4
  93. package/lib/collection/components/duet-select/duet-select.js +15 -2
  94. package/lib/collection/components/duet-slideout/duet-slideout.css +2 -0
  95. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +5 -21
  96. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +1 -0
  97. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +21 -5
  98. package/lib/collection/components/duet-tab-group/duet-tab-group.js +55 -2
  99. package/lib/collection/components/duet-table/duet-table.js +17 -1
  100. package/lib/collection/components/duet-textarea/duet-textarea.js +14 -3
  101. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +19 -1
  102. package/lib/collection/components/duet-tooltip/duet-tooltip.js +33 -4
  103. package/lib/collection/components/duet-upload/duet-upload.css +23 -10
  104. package/lib/collection/components/duet-upload/duet-upload.js +1 -1
  105. package/lib/collection/components/duet-upload/upload-item-header.js +1 -1
  106. package/lib/collection/components/duet-upload/upload-item.js +3 -3
  107. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  108. package/lib/dist-custom-elements/duet-alert.js +1 -1
  109. package/lib/dist-custom-elements/duet-badge.js +1 -1
  110. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  111. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  112. package/lib/dist-custom-elements/duet-button.js +1 -1
  113. package/lib/dist-custom-elements/duet-caption.js +1 -1
  114. package/lib/dist-custom-elements/duet-card.js +11 -15
  115. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  116. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  117. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  118. package/lib/dist-custom-elements/duet-choice.js +6 -6
  119. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  120. package/lib/dist-custom-elements/duet-combobox.js +16 -5
  121. package/lib/dist-custom-elements/duet-contact-card.js +9 -9
  122. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  123. package/lib/dist-custom-elements/duet-date-picker.js +11 -11
  124. package/lib/dist-custom-elements/duet-divider.js +1 -1
  125. package/lib/dist-custom-elements/duet-editable-table.js +19 -11
  126. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  127. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  128. package/lib/dist-custom-elements/duet-footer.js +5 -5
  129. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  130. package/lib/dist-custom-elements/duet-grid.js +1 -1
  131. package/lib/dist-custom-elements/duet-header.js +26 -12
  132. package/lib/dist-custom-elements/duet-heading.js +1 -1
  133. package/lib/dist-custom-elements/duet-hero.js +25 -13
  134. package/lib/dist-custom-elements/duet-icon.js +1 -1
  135. package/lib/dist-custom-elements/duet-input.js +1 -1
  136. package/lib/dist-custom-elements/duet-label.js +1 -1
  137. package/lib/dist-custom-elements/duet-layout.js +1 -1
  138. package/lib/dist-custom-elements/duet-link.js +1 -1
  139. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  140. package/lib/dist-custom-elements/duet-list.js +1 -1
  141. package/lib/dist-custom-elements/duet-logo.js +1 -1
  142. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  143. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -4
  144. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  145. package/lib/dist-custom-elements/duet-menu-bar-link.js +5 -3
  146. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  147. package/lib/dist-custom-elements/duet-modal.js +8 -8
  148. package/lib/dist-custom-elements/duet-multiselect.js +33 -11
  149. package/lib/dist-custom-elements/duet-nav.js +1 -1
  150. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  151. package/lib/dist-custom-elements/duet-notification.js +19 -5
  152. package/lib/dist-custom-elements/duet-number-input.js +56 -36
  153. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  154. package/lib/dist-custom-elements/duet-pagination.js +26 -12
  155. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  156. package/lib/dist-custom-elements/duet-progress.js +1 -1
  157. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  158. package/lib/dist-custom-elements/duet-radio.js +1 -1
  159. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  160. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  161. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  162. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  163. package/lib/dist-custom-elements/duet-select.js +1 -1
  164. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  165. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  166. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  167. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  168. package/lib/dist-custom-elements/duet-slideout.js +4 -4
  169. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  170. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  171. package/lib/dist-custom-elements/duet-step.js +4 -4
  172. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  173. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  174. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +24 -8
  175. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  176. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  177. package/lib/dist-custom-elements/duet-tab-group.js +29 -12
  178. package/lib/dist-custom-elements/duet-tab.js +2 -2
  179. package/lib/dist-custom-elements/duet-table.js +1 -1
  180. package/lib/dist-custom-elements/duet-textarea.js +22 -11
  181. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  182. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  183. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  184. package/lib/dist-custom-elements/duet-toolbar-link.js +6 -4
  185. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  186. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  187. package/lib/dist-custom-elements/duet-tray.js +4 -4
  188. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  189. package/lib/dist-custom-elements/duet-upload.js +24 -27
  190. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  191. package/lib/dist-custom-elements/index.js +1 -1
  192. package/lib/dist-custom-elements/{p-6c05e879.js → p-076452be.js} +1 -1
  193. package/lib/dist-custom-elements/{p-26d32594.js → p-0dee6e51.js} +28 -7
  194. package/lib/dist-custom-elements/{p-17d43428.js → p-148a04af.js} +5 -5
  195. package/lib/dist-custom-elements/{p-7a4bdb83.js → p-14d7b7b1.js} +1 -1
  196. package/lib/dist-custom-elements/{p-c820f65e.js → p-16da1a85.js} +2 -2
  197. package/lib/dist-custom-elements/{p-e1de0408.js → p-1b34ed71.js} +1 -1
  198. package/lib/dist-custom-elements/{p-41ef88f4.js → p-29b0c53d.js} +22 -6
  199. package/lib/dist-custom-elements/{p-9eba8647.js → p-2a7fe62b.js} +7 -3
  200. package/lib/dist-custom-elements/{p-d6bcc527.js → p-3ee0a1f0.js} +1 -1
  201. package/lib/dist-custom-elements/{p-a1ee31fb.js → p-427c3c85.js} +1 -1
  202. package/lib/dist-custom-elements/{p-353d6d0c.js → p-4672c5f9.js} +1 -1
  203. package/lib/dist-custom-elements/{p-c01c91d6.js → p-61d6063e.js} +2 -2
  204. package/lib/dist-custom-elements/p-685671d3.js +248 -0
  205. package/lib/dist-custom-elements/{p-49848110.js → p-6b75d471.js} +1 -1
  206. package/lib/dist-custom-elements/{p-4b4a086d.js → p-74eab201.js} +17 -22
  207. package/lib/dist-custom-elements/{p-29b2c3bb.js → p-773afd9d.js} +1 -1
  208. package/lib/dist-custom-elements/{p-d0dea200.js → p-80c873a7.js} +1 -1
  209. package/lib/dist-custom-elements/p-81ad703b.js +183 -0
  210. package/lib/dist-custom-elements/{p-dde8e436.js → p-8810d94c.js} +5 -5
  211. package/lib/dist-custom-elements/{p-47ba781e.js → p-a2640cf0.js} +15 -2
  212. package/lib/dist-custom-elements/{p-9d23386f.js → p-a98f3c53.js} +1 -1
  213. package/lib/dist-custom-elements/{p-85fd8f09.js → p-aa856cf3.js} +1 -1
  214. package/lib/dist-custom-elements/{p-c4a3d30d.js → p-b1c2d128.js} +1 -1
  215. package/lib/dist-custom-elements/{p-890a9b12.js → p-b8590b9e.js} +2 -2
  216. package/lib/dist-custom-elements/{p-1bf112be.js → p-b8bdb756.js} +1 -1
  217. package/lib/dist-custom-elements/{p-7199196e.js → p-b9713025.js} +3 -3
  218. package/lib/dist-custom-elements/{p-a56cc313.js → p-c06566bd.js} +2 -2
  219. package/lib/dist-custom-elements/{p-276e05ab.js → p-cf8e064c.js} +6 -6
  220. package/lib/dist-custom-elements/{p-0d1b84db.js → p-d0a476fa.js} +1 -1
  221. package/lib/dist-custom-elements/{p-945a2c0c.js → p-d6ebe136.js} +2 -2
  222. package/lib/dist-custom-elements/{p-19ad4945.js → p-d9374d44.js} +1 -1
  223. package/lib/dist-custom-elements/{p-d6a4de03.js → p-fb9ea1e2.js} +1 -1
  224. package/lib/duet/duet.esm.js +1 -1
  225. package/lib/duet/duet.js +1 -1
  226. package/lib/duet/p-00492553.entry.js +4 -0
  227. package/lib/duet/p-00a6021a.entry.js +4 -0
  228. package/lib/duet/{p-c832c83e.system.entry.js → p-04b466d9.system.entry.js} +1 -1
  229. package/lib/duet/{p-4ab70001.system.entry.js → p-0956191f.system.entry.js} +1 -1
  230. package/lib/duet/{p-a5b5f3e2.system.entry.js → p-0b99b63a.system.entry.js} +1 -1
  231. package/lib/duet/p-0c7ba24e.entry.js +4 -0
  232. package/lib/duet/p-0fd03676.entry.js +4 -0
  233. package/lib/duet/{p-d7c0027e.entry.js → p-0febc106.entry.js} +1 -1
  234. package/lib/duet/{p-7d4e2e96.system.entry.js → p-10c8dcce.system.entry.js} +1 -1
  235. package/lib/duet/p-18417d31.system.entry.js +4 -0
  236. package/lib/duet/{p-26ebc753.system.entry.js → p-1a494e83.system.entry.js} +1 -1
  237. package/lib/duet/{p-93f3e158.system.entry.js → p-1af260c2.system.entry.js} +1 -1
  238. package/lib/duet/{p-4136d211.entry.js → p-1b53a027.entry.js} +1 -1
  239. package/lib/duet/p-1d4d1191.entry.js +4 -0
  240. package/lib/duet/p-1d6d12db.entry.js +4 -0
  241. package/lib/duet/{p-8f0579d1.entry.js → p-1f782abb.entry.js} +1 -1
  242. package/lib/duet/{p-29193196.entry.js → p-255e7c67.entry.js} +1 -1
  243. package/lib/duet/p-25608db1.entry.js +4 -0
  244. package/lib/duet/{p-190507d4.system.entry.js → p-2578566b.system.entry.js} +1 -1
  245. package/lib/duet/{p-5743852f.system.js → p-2852d734.system.js} +1 -1
  246. package/lib/duet/{p-ce108a20.entry.js → p-2ee96e3b.entry.js} +1 -1
  247. package/lib/duet/{p-84eb3d96.system.entry.js → p-30574b01.system.entry.js} +1 -1
  248. package/lib/duet/{p-d8de0d06.entry.js → p-3337b7b5.entry.js} +1 -1
  249. package/lib/duet/{p-48bab8b6.entry.js → p-335ce078.entry.js} +1 -1
  250. package/lib/duet/p-39311463.system.entry.js +4 -0
  251. package/lib/duet/{p-c7507f6b.system.entry.js → p-3eb4385b.system.entry.js} +2 -2
  252. package/lib/duet/{p-f7ff8b67.entry.js → p-3f823f65.entry.js} +1 -1
  253. package/lib/duet/p-40c8612e.entry.js +4 -0
  254. package/lib/duet/{p-7dc36831.system.js → p-473e553e.system.js} +1 -1
  255. package/lib/duet/{p-2b4f4c85.system.entry.js → p-4cf4097a.system.entry.js} +1 -1
  256. package/lib/duet/{p-7a53ff56.entry.js → p-4f054589.entry.js} +1 -1
  257. package/lib/duet/{p-7c32523b.system.entry.js → p-51b95a0b.system.entry.js} +1 -1
  258. package/lib/duet/{p-ef31120e.system.entry.js → p-5368ccf3.system.entry.js} +1 -1
  259. package/lib/duet/{p-d503fd3d.entry.js → p-57a480c6.entry.js} +1 -1
  260. package/lib/duet/{p-17d1d5ee.entry.js → p-5925af50.entry.js} +1 -1
  261. package/lib/duet/p-59dbe033.system.entry.js +4 -0
  262. package/lib/duet/{p-65b119a7.system.entry.js → p-5a0a47c5.system.entry.js} +1 -1
  263. package/lib/duet/{p-5047ae3d.entry.js → p-5dc301ad.entry.js} +1 -1
  264. package/lib/duet/{p-4b02643a.system.entry.js → p-612c5794.system.entry.js} +1 -1
  265. package/lib/duet/{p-ad82c633.system.entry.js → p-619129a1.system.entry.js} +1 -1
  266. package/lib/duet/{p-d563682c.entry.js → p-6288a8f7.entry.js} +1 -1
  267. package/lib/duet/{p-8b123c27.system.entry.js → p-62e5eda4.system.entry.js} +1 -1
  268. package/lib/duet/p-62ee8769.system.entry.js +4 -0
  269. package/lib/duet/{p-1bfff197.system.entry.js → p-64a97121.system.entry.js} +1 -1
  270. package/lib/duet/{p-cc7f7692.entry.js → p-65c666a0.entry.js} +1 -1
  271. package/lib/duet/p-66d17a50.entry.js +4 -0
  272. package/lib/duet/{p-049f7427.entry.js → p-68436d9b.entry.js} +1 -1
  273. package/lib/duet/{p-fc8b03f3.system.entry.js → p-6a23db40.system.entry.js} +1 -1
  274. package/lib/duet/{p-f173da98.entry.js → p-6b3d47fc.entry.js} +1 -1
  275. package/lib/duet/{p-568c7b6d.entry.js → p-6bec8453.entry.js} +1 -1
  276. package/lib/duet/{p-e9cea31c.entry.js → p-6cccad3a.entry.js} +1 -1
  277. package/lib/duet/{p-643dd974.entry.js → p-6dd7d693.entry.js} +1 -1
  278. package/lib/duet/{p-07e54b8a.entry.js → p-71012a41.entry.js} +1 -1
  279. package/lib/duet/{p-bc89db28.entry.js → p-711128a1.entry.js} +1 -1
  280. package/lib/duet/{p-c3495075.system.entry.js → p-71da4ed1.system.entry.js} +1 -1
  281. package/lib/duet/{p-1de4b105.system.entry.js → p-74d84deb.system.entry.js} +1 -1
  282. package/lib/duet/{p-80bc3db3.entry.js → p-754a1a94.entry.js} +1 -1
  283. package/lib/duet/{p-702a9390.entry.js → p-779234b0.entry.js} +1 -1
  284. package/lib/duet/p-78ce7a07.entry.js +4 -0
  285. package/lib/duet/{p-2b94fb6c.entry.js → p-79f6c24a.entry.js} +1 -1
  286. package/lib/duet/p-7e739548.system.entry.js +4 -0
  287. package/lib/duet/{p-7fd9b8b6.system.entry.js → p-7e96a306.system.entry.js} +1 -1
  288. package/lib/duet/{p-de06c5ff.entry.js → p-7f9cc019.entry.js} +1 -1
  289. package/lib/duet/{p-c91aaa04.system.entry.js → p-81236c93.system.entry.js} +1 -1
  290. package/lib/duet/{p-38680e94.system.entry.js → p-815cbab7.system.entry.js} +1 -1
  291. package/lib/duet/p-82398d82.entry.js +4 -0
  292. package/lib/duet/{p-5576e447.system.entry.js → p-840cdccb.system.entry.js} +1 -1
  293. package/lib/duet/{p-aac361b8.entry.js → p-86fede3f.entry.js} +1 -1
  294. package/lib/duet/{p-c073eb55.system.entry.js → p-8d1ccbc2.system.entry.js} +1 -1
  295. package/lib/duet/{p-addd277e.system.entry.js → p-8d482808.system.entry.js} +1 -1
  296. package/lib/duet/p-8ef91f59.entry.js +4 -0
  297. package/lib/duet/{p-b1b1160e.system.entry.js → p-8efc476e.system.entry.js} +1 -1
  298. package/lib/duet/{p-be3c04fb.entry.js → p-8f2834ae.entry.js} +1 -1
  299. package/lib/duet/p-8f3d5e14.system.entry.js +4 -0
  300. package/lib/duet/{p-2faa3962.entry.js → p-905d2cc8.entry.js} +1 -1
  301. package/lib/duet/{p-628c4fc7.system.entry.js → p-911c761b.system.entry.js} +1 -1
  302. package/lib/duet/{p-b16b89c3.system.entry.js → p-93562bf8.system.entry.js} +1 -1
  303. package/lib/duet/{p-7f2a16b3.entry.js → p-93da242f.entry.js} +1 -1
  304. package/lib/duet/{p-2184a285.system.entry.js → p-9446df5b.system.entry.js} +1 -1
  305. package/lib/duet/p-94760aea.entry.js +4 -0
  306. package/lib/duet/{p-9f5446d7.system.entry.js → p-97d314bb.system.entry.js} +1 -1
  307. package/lib/duet/{p-95f020cc.system.entry.js → p-9885878c.system.entry.js} +1 -1
  308. package/lib/duet/{p-e71cb6f4.entry.js → p-98d99400.entry.js} +1 -1
  309. package/lib/duet/p-9b75cec2.system.entry.js +4 -0
  310. package/lib/duet/{p-72585f83.entry.js → p-9e1585bd.entry.js} +1 -1
  311. package/lib/duet/{p-fad8bcee.system.entry.js → p-9e3c843a.system.entry.js} +1 -1
  312. package/lib/duet/p-9fb2e28a.js +4 -0
  313. package/lib/duet/p-a2728f08.system.entry.js +4 -0
  314. package/lib/duet/{p-7a5077a2.system.entry.js → p-a8c9268c.system.entry.js} +1 -1
  315. package/lib/duet/{p-e8a6eda7.system.entry.js → p-ac25aad5.system.entry.js} +1 -1
  316. package/lib/duet/{p-44bbf984.entry.js → p-b12261bb.entry.js} +1 -1
  317. package/lib/duet/p-b31e663e.system.entry.js +4 -0
  318. package/lib/duet/{p-fa7a4245.entry.js → p-b44b12af.entry.js} +1 -1
  319. package/lib/duet/{p-faaa6249.entry.js → p-b78eeeff.entry.js} +1 -1
  320. package/lib/duet/{p-c518f7da.system.entry.js → p-b8c2b5f2.system.entry.js} +1 -1
  321. package/lib/duet/p-b92f06ff.system.entry.js +4 -0
  322. package/lib/duet/p-bc169783.entry.js +4 -0
  323. package/lib/duet/{p-2e822cf0.entry.js → p-bed02d40.entry.js} +1 -1
  324. package/lib/duet/p-bf097e1b.entry.js +4 -0
  325. package/lib/duet/{p-58b9c7b4.system.entry.js → p-c19e2d81.system.entry.js} +1 -1
  326. package/lib/duet/{p-2a80caf9.entry.js → p-c2d2a2d2.entry.js} +1 -1
  327. package/lib/duet/{p-2e69c81b.entry.js → p-c3164a3c.entry.js} +1 -1
  328. package/lib/duet/p-c4266675.entry.js +4 -0
  329. package/lib/duet/{p-78f49cbf.system.entry.js → p-c919efff.system.entry.js} +1 -1
  330. package/lib/duet/{p-12ee9a23.system.entry.js → p-c9dcf840.system.entry.js} +1 -1
  331. package/lib/duet/p-cf3c27e4.system.entry.js +4 -0
  332. package/lib/duet/p-cf5f89af.entry.js +4 -0
  333. package/lib/duet/{p-d3da2989.system.entry.js → p-cf8b0da5.system.entry.js} +1 -1
  334. package/lib/duet/{p-6fe5922d.system.entry.js → p-cfcfd3fd.system.entry.js} +1 -1
  335. package/lib/duet/p-d225444d.entry.js +4 -0
  336. package/lib/duet/{p-02e23372.entry.js → p-d2abe34b.entry.js} +1 -1
  337. package/lib/duet/p-d5ac7213.entry.js +4 -0
  338. package/lib/duet/p-d658b29d.entry.js +4 -0
  339. package/lib/duet/{p-c4738155.system.entry.js → p-da2b07eb.system.entry.js} +1 -1
  340. package/lib/duet/p-db8ef99d.entry.js +4 -0
  341. package/lib/duet/{p-8760c0ee.system.entry.js → p-dbd0293b.system.entry.js} +1 -1
  342. package/lib/duet/{p-6326cade.system.entry.js → p-dbff88b5.system.entry.js} +1 -1
  343. package/lib/duet/{p-2ff8c614.entry.js → p-dcc18bd4.entry.js} +1 -1
  344. package/lib/duet/{p-835ea0dc.system.entry.js → p-e0ea4e90.system.entry.js} +1 -1
  345. package/lib/duet/p-e27bd167.entry.js +4 -0
  346. package/lib/duet/{p-2b0d6d66.system.entry.js → p-e6c16681.system.entry.js} +1 -1
  347. package/lib/duet/{p-723308e1.entry.js → p-e741b72a.entry.js} +1 -1
  348. package/lib/duet/{p-b3584ef1.system.entry.js → p-e7ba7e64.system.entry.js} +1 -1
  349. package/lib/duet/{p-c22a97ea.system.entry.js → p-e94fb66d.system.entry.js} +1 -1
  350. package/lib/duet/p-ea68c9e4.system.entry.js +4 -0
  351. package/lib/duet/{p-39c34fde.system.entry.js → p-eb6ec3b0.system.entry.js} +1 -1
  352. package/lib/duet/p-ebf82712.system.entry.js +4 -0
  353. package/lib/duet/{p-2c0d4d3c.entry.js → p-eefb5300.entry.js} +1 -1
  354. package/lib/duet/{p-1ef436d2.js → p-f235b6ff.js} +1 -1
  355. package/lib/duet/{p-c3e4e6a2.system.entry.js → p-f61cf0d1.system.entry.js} +1 -1
  356. package/lib/duet/{p-9aae9d2a.system.entry.js → p-f7393070.system.entry.js} +1 -1
  357. package/lib/duet/p-f96bb9f9.system.js +4 -0
  358. package/lib/duet/p-fb021333.entry.js +4 -0
  359. package/lib/duet/{p-47fb8005.system.entry.js → p-fb8a741c.system.entry.js} +1 -1
  360. package/lib/duet/{p-893d0a53.entry.js → p-fd377d28.entry.js} +1 -1
  361. package/lib/duet/{p-e57b04f0.entry.js → p-feac6e72.entry.js} +1 -1
  362. package/lib/duet/{p-a79f86b5.system.entry.js → p-ffdc54ad.system.entry.js} +1 -1
  363. package/lib/esm/duet-action-button.entry.js +18 -3
  364. package/lib/esm/duet-alert.entry.js +1 -1
  365. package/lib/esm/duet-badge.entry.js +1 -1
  366. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  367. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  368. package/lib/esm/duet-button_2.entry.js +1 -1
  369. package/lib/esm/duet-caption_4.entry.js +3 -3
  370. package/lib/esm/duet-card.entry.js +9 -13
  371. package/lib/esm/duet-checkbox.entry.js +1 -1
  372. package/lib/esm/duet-checkmark.entry.js +1 -1
  373. package/lib/esm/duet-choice_2.entry.js +2 -2
  374. package/lib/esm/duet-collapsible.entry.js +1 -1
  375. package/lib/esm/duet-combobox.entry.js +13 -3
  376. package/lib/esm/duet-contact-card.entry.js +1 -1
  377. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  378. package/lib/esm/duet-date-picker.entry.js +2 -2
  379. package/lib/esm/duet-divider_2.entry.js +1 -1
  380. package/lib/esm/duet-editable-table_3.entry.js +28 -13
  381. package/lib/esm/duet-empty-state.entry.js +1 -1
  382. package/lib/esm/duet-fieldset.entry.js +6 -2
  383. package/lib/esm/duet-footer.entry.js +1 -1
  384. package/lib/esm/duet-grid_2.entry.js +4 -2
  385. package/lib/esm/duet-header_2.entry.js +15 -1
  386. package/lib/esm/duet-hero.entry.js +16 -4
  387. package/lib/esm/duet-icon.entry.js +1 -1
  388. package/lib/esm/duet-input_2.entry.js +9 -14
  389. package/lib/esm/duet-layout.entry.js +1 -1
  390. package/lib/esm/duet-list_2.entry.js +1 -1
  391. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  392. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -2
  393. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  394. package/lib/esm/duet-menu-bar-link.entry.js +3 -2
  395. package/lib/esm/duet-menu-bar.entry.js +1 -1
  396. package/lib/esm/duet-modal.entry.js +2 -2
  397. package/lib/esm/duet-multiselect.entry.js +24 -4
  398. package/lib/esm/duet-nav.entry.js +1 -1
  399. package/lib/esm/duet-notification_2.entry.js +16 -2
  400. package/lib/esm/duet-number-input.entry.js +47 -27
  401. package/lib/esm/duet-page-heading.entry.js +1 -1
  402. package/lib/esm/duet-pagination_2.entry.js +17 -4
  403. package/lib/esm/duet-progress.entry.js +1 -1
  404. package/lib/esm/duet-radio_2.entry.js +1 -1
  405. package/lib/esm/duet-range-slider.entry.js +1 -1
  406. package/lib/esm/duet-scrollable_3.entry.js +19 -3
  407. package/lib/esm/duet-section-layout.entry.js +1 -1
  408. package/lib/esm/duet-select.entry.js +17 -4
  409. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  410. package/lib/esm/duet-slideout-link.entry.js +1 -1
  411. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  412. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  413. package/lib/esm/duet-slideout.entry.js +3 -3
  414. package/lib/esm/duet-step_2.entry.js +1 -1
  415. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  416. package/lib/esm/duet-submenu-bar-dropdown.entry.js +22 -7
  417. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  418. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  419. package/lib/esm/duet-textarea.entry.js +15 -4
  420. package/lib/esm/duet-toggle.entry.js +1 -1
  421. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  422. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  423. package/lib/esm/duet-toolbar-link.entry.js +3 -2
  424. package/lib/esm/duet-toolbar.entry.js +1 -1
  425. package/lib/esm/duet-tooltip.entry.js +23 -2
  426. package/lib/esm/duet-tray.entry.js +1 -1
  427. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  428. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  429. package/lib/esm/duet.js +3 -3
  430. package/lib/esm/{focus-utils-123e9cba.js → focus-utils-6a919f2a.js} +1 -1
  431. package/lib/esm/{index-9d169c3d.js → index-13f57135.js} +1 -1
  432. package/lib/esm/loader.js +3 -3
  433. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  434. package/lib/esm-es5/duet-alert.entry.js +1 -1
  435. package/lib/esm-es5/duet-badge.entry.js +1 -1
  436. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  437. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  438. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  439. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  440. package/lib/esm-es5/duet-card.entry.js +1 -1
  441. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  442. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  443. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  444. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  445. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  446. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  447. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  448. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  449. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  450. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  451. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  452. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  453. package/lib/esm-es5/duet-footer.entry.js +1 -1
  454. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  455. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  456. package/lib/esm-es5/duet-hero.entry.js +1 -1
  457. package/lib/esm-es5/duet-icon.entry.js +2 -2
  458. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  459. package/lib/esm-es5/duet-layout.entry.js +1 -1
  460. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  461. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  462. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  463. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  464. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  465. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  466. package/lib/esm-es5/duet-modal.entry.js +1 -1
  467. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  468. package/lib/esm-es5/duet-nav.entry.js +1 -1
  469. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  470. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  471. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  472. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  473. package/lib/esm-es5/duet-progress.entry.js +1 -1
  474. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  475. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  476. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  477. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  478. package/lib/esm-es5/duet-select.entry.js +1 -1
  479. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  480. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  481. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  482. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  483. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  484. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  485. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  486. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  487. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  488. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  489. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  490. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  491. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  492. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  493. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  494. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  495. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  496. package/lib/esm-es5/duet-tray.entry.js +1 -1
  497. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  498. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  499. package/lib/esm-es5/duet.js +1 -1
  500. package/lib/esm-es5/{focus-utils-123e9cba.js → focus-utils-6a919f2a.js} +1 -1
  501. package/lib/esm-es5/{index-9d169c3d.js → index-13f57135.js} +1 -1
  502. package/lib/esm-es5/loader.js +1 -1
  503. package/lib/types/components/duet-action-button/duet-action-button.d.ts +8 -1
  504. package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
  505. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +4 -1
  506. package/lib/types/components/duet-grid/duet-grid.d.ts +5 -0
  507. package/lib/types/components/duet-header/duet-header.d.ts +1 -0
  508. package/lib/types/components/duet-heading/duet-heading.d.ts +3 -0
  509. package/lib/types/components/duet-hero/duet-hero.d.ts +3 -0
  510. package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +6 -0
  511. package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +6 -0
  512. package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +9 -1
  513. package/lib/types/components/duet-notification/duet-notification.d.ts +3 -0
  514. package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -0
  515. package/lib/types/components/duet-pagination/duet-pagination.d.ts +5 -1
  516. package/lib/types/components/duet-select/duet-select.d.ts +1 -0
  517. package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +2 -1
  518. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +10 -0
  519. package/lib/types/components/duet-table/duet-table.d.ts +6 -1
  520. package/lib/types/components/duet-textarea/duet-textarea.d.ts +1 -0
  521. package/lib/types/components/duet-toolbar-link/duet-toolbar-link.d.ts +6 -0
  522. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +5 -0
  523. package/lib/types/components.d.ts +52 -0
  524. package/package.json +5 -5
  525. package/lib/dist-custom-elements/p-132f2514.js +0 -235
  526. package/lib/dist-custom-elements/p-e48e8201.js +0 -180
  527. package/lib/duet/p-00e57f9b.system.entry.js +0 -4
  528. package/lib/duet/p-1710310b.entry.js +0 -4
  529. package/lib/duet/p-18843061.entry.js +0 -4
  530. package/lib/duet/p-197dba64.system.entry.js +0 -4
  531. package/lib/duet/p-1d283741.system.entry.js +0 -4
  532. package/lib/duet/p-21d08944.entry.js +0 -4
  533. package/lib/duet/p-21d4df80.entry.js +0 -4
  534. package/lib/duet/p-2a89686a.entry.js +0 -4
  535. package/lib/duet/p-459b8e74.system.entry.js +0 -4
  536. package/lib/duet/p-45a64d20.entry.js +0 -4
  537. package/lib/duet/p-5127e9fb.entry.js +0 -4
  538. package/lib/duet/p-52766fb1.entry.js +0 -4
  539. package/lib/duet/p-58d08fb8.entry.js +0 -4
  540. package/lib/duet/p-5c083efb.system.entry.js +0 -4
  541. package/lib/duet/p-5f872140.entry.js +0 -4
  542. package/lib/duet/p-6023d419.system.entry.js +0 -4
  543. package/lib/duet/p-6fe463e6.entry.js +0 -4
  544. package/lib/duet/p-72264693.entry.js +0 -4
  545. package/lib/duet/p-850b95d7.entry.js +0 -4
  546. package/lib/duet/p-8a963cd7.system.entry.js +0 -4
  547. package/lib/duet/p-8f60b4a4.entry.js +0 -4
  548. package/lib/duet/p-98c7286c.entry.js +0 -4
  549. package/lib/duet/p-9f9a14d7.entry.js +0 -4
  550. package/lib/duet/p-a3782a14.entry.js +0 -4
  551. package/lib/duet/p-a6a5458a.entry.js +0 -4
  552. package/lib/duet/p-acb0fbdc.system.entry.js +0 -4
  553. package/lib/duet/p-afb58e46.js +0 -4
  554. package/lib/duet/p-b421ea8a.system.entry.js +0 -4
  555. package/lib/duet/p-c0ac70a9.entry.js +0 -4
  556. package/lib/duet/p-c360334a.system.js +0 -4
  557. package/lib/duet/p-cb2bd40e.entry.js +0 -4
  558. package/lib/duet/p-d5474f30.system.entry.js +0 -4
  559. package/lib/duet/p-d8d3f485.system.entry.js +0 -4
  560. package/lib/duet/p-daa0dccd.entry.js +0 -4
  561. package/lib/duet/p-dc71bc89.entry.js +0 -4
  562. package/lib/duet/p-dcce6bad.entry.js +0 -4
  563. package/lib/duet/p-e73937e1.system.entry.js +0 -4
  564. package/lib/duet/p-f9c26b20.system.entry.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-7dc36831.system.js","./p-33b3aba4.system.js","./p-eb6c4a2a.system.js","./p-f67ee736.system.js"],(function(e){"use strict";var t,i,a,h,r,d;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){r=e.i},function(e){d=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";var n=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e=d(this.color);return i("div",{class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());n.style=s;var p=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var o=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());o.style=p}}}));
4
+ System.register(["./p-473e553e.system.js","./p-33b3aba4.system.js","./p-eb6c4a2a.system.js","./p-f67ee736.system.js"],(function(e){"use strict";var t,i,a,h,r,d;return{setters:[function(e){t=e.r;i=e.h;a=e.g;h=e.H},function(e){r=e.i},function(e){d=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";var n=e("duet_divider",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.color=""}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e=d(this.color);return i("div",{class:{"duet-m-0":this.margin==="none","duet-m-s":this.margin==="small","duet-divider":true,"duet-theme-turva":this.theme==="turva"},style:{background:e}})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());n.style=s;var p=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";var o=e("duet_spacer",function(){function e(e){t(this,e);this.size="medium";this.direction="vertical";this.breakpoint=""}e.prototype.render=function(){var e;return i(h,{class:(e={"duet-spacer":true,"duet-spacer-xx-small":this.breakpoint==="xx-small","duet-spacer-x-small":this.breakpoint==="x-small","duet-spacer-small":this.breakpoint==="small","duet-spacer-medium":this.breakpoint==="medium","duet-spacer-large":this.breakpoint==="large","duet-spacer-x-large":this.breakpoint==="x-large","duet-spacer-xx-large":this.breakpoint==="xx-large"},e[this.size]=true,e["duet-spacer-".concat(this.direction)]=true,e)})};return e}());o.style=p}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,a){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function r(e){try{s(a.next(e))}catch(t){o(t)}}function d(e){try{s(a["throw"](e))}catch(t){o(t)}}function s(e){e.done?n(e.value):i(e.value).then(r,d)}s((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,i,o,r;return r={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function d(e){return function(t){return s([e,t])}}function s(d){if(a)throw new TypeError("Generator is already executing.");while(r&&(r=0,d[0]&&(n=0)),n)try{if(a=1,i&&(o=d[0]&2?i["return"]:d[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,d[1])).done)return o;if(i=0,o)d=[d[0]&2,o.value];switch(d[0]){case 0:case 1:o=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;i=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){n.label=d[1];break}if(d[0]===6&&n.label<o[1]){n.label=o[1];o=d;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(d);break}if(o[2])n.ops.pop();n.trys.pop();continue}d=t.call(e,n)}catch(s){d=[6,s];i=0}finally{a=o=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-473e553e.system.js","./p-33b3aba4.system.js","./p-b6d51921.system.js","./p-eb6c4a2a.system.js","./p-dd994793.system.js","./p-053b71e6.system.js","./p-c7ae95bd.system.js","./p-c8dc599d.system.js","./p-f67ee736.system.js"],(function(e){"use strict";var t,n,a,i,o,r,d,s,l,u,h,p,m,g,c;return{setters:[function(e){t=e.r;n=e.h;a=e.H;i=e.g;o=e.F},function(e){r=e.i},function(e){d=e.s},function(e){s=e.g},function(e){l=e.a},function(e){u=e.a},function(e){h=e.D},function(e){p=e.g;m=e.a;g=e.c;c=e.d},function(){}],execute:function(){var b=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(101, 119, 135);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}';var f=e("duet_caption",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){return n(a,{class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},n("slot",null))};return e}());f.style=b;var y='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(225, 227, 230)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(101, 119, 135)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var v=e("duet_heading",function(){function e(e){t(this,e);this.level="h2";this.margin="auto";this.visualLevel=undefined;this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e;var t=d(this.level);var a=s(this.color);return n(t,{class:(e={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-normal":this.weight==="normal","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},e[this.visualLevel?this.visualLevel:this.level]=true,e["duet-theme-turva"]=this.theme==="turva",e),style:{color:a},part:"duet-heading"},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());v.style=y;var x='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}.duet-link{display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}.duet-link:hover{color:rgb(0, 77, 128);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-link:active{opacity:0.75;transition:none}.duet-link-external{position:absolute;width:20px;height:20px;margin-left:-15px}.duet-theme-turva .duet-link-external{margin-left:-12px}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:16px;font-weight:600;color:rgb(0, 41, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__chevron-icon{transition:300ms ease}.block:hover .block__chevron-icon{transform:translateX(4px)}';var w=e("duet_link",function(){function e(e){t(this,e);this.variation="default";this.accessibleLabel=undefined;this.language=p();this.accessibleLabelExternalDefaults=h;this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults);this.identifier=undefined;this.theme="";this.url="#";this.external=false;this.tabToLink=false;this.icon=undefined;this.padding="auto"}e.prototype.watchLanguageStateHandler=function(e,t){if(e!==t&&this.accessibleLabelExternal===this.accessibleLabelExternalDefaults[t]){this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults,e)}};e.prototype.componentWillLoad=function(){r(this)};e.prototype.connectedCallback=function(){g(this)};e.prototype.disconnectedCallback=function(){c(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeLink.focus(e);return[2]}))}))};e.prototype.renderContent=function(){return n(o,null,n("slot",null),this.external&&n(o,null,"  ",n("duet-visually-hidden",null,this.accessibleLabelExternal)," ",n("span",{class:"duet-link-external"}," ",n("duet-icon",{icon:u.svg,size:"xx-small",margin:"none",color:"currentColor"}))))};e.prototype.renderGrid=function(){return n(o,null,this.icon&&n("span",{class:"block__icon"},n("duet-icon",{size:"x-small",name:this.icon,margin:"none",color:"currentColor"})),n("span",{class:"block__content"},this.renderContent()),n("span",{class:"block__chevron"},n("duet-icon",{class:"block__chevron-icon",icon:l.svg,size:"x-small",margin:"none",color:"primary-dark"})))};e.prototype.render=function(){var e;var t=this;return n(a,{class:{"duet-link-block":this.variation==="block"}},n("a",{href:this.url,class:(e={"duet-link":true,"duet-link-is-external":this.external,"duet-link-has-icon":!!this.icon,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":this.theme==="turva","duet-p-0":this.padding==="none"},e[this.padding]=true,e[this.variation]=true,e),target:this.external?"_blank":"_self","aria-label":this.accessibleLabel,id:this.identifier,ref:function(e){return t.nativeLink=e},part:"duet-link",rel:this.external?"noopener":undefined},this.variation==="block"?this.renderGrid():this.renderContent()))};Object.defineProperty(e,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{language:["watchLanguageStateHandler"]}},enumerable:false,configurable:true});return e}());w.style=x;var k='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}::slotted(a):hover{color:rgb(0, 77, 128);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(148, 9, 37)}::slotted(a):active{opacity:0.75;transition:none}';var S=e("duet_paragraph",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e;var t=s(this.color);return n("p",{class:(e={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},e[this.variation]=true,e["duet-theme-turva"]=this.theme==="turva",e),style:{color:t},part:"duet-paragraph"},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());S.style=k}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-7dc36831.system.js","./p-33b3aba4.system.js"],(function(e){"use strict";var t,o,r,n,a;return{setters:[function(e){t=e.r;o=e.h;r=e.H;n=e.g},function(e){a=e.i}],execute:function(){var i='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-link:hover{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-toolbar-link.active{color:rgb(0, 41, 77)}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}';var l=e("duet_toolbar_link",function(){function e(e){t(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.render=function(){return o(r,null,o("a",{class:{"duet-toolbar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,"aria-current":this.active?"true":"false"},this.icon&&o("duet-icon",{size:"x-small",name:this.icon,margin:"none",theme:this.theme,color:"currentColor"}),o("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());l.style=i}}}));
4
+ System.register(["./p-473e553e.system.js","./p-33b3aba4.system.js"],(function(e){"use strict";var t,o,r,a,n;return{setters:[function(e){t=e.r;o=e.h;r=e.H;a=e.g},function(e){n=e.i}],execute:function(){var i='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-link:hover{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-toolbar-link.active{color:rgb(0, 41, 77)}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}';var l=e("duet_toolbar_link",function(){function e(e){t(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){n(this)};e.prototype.render=function(){return o(r,null,o("a",{class:{"duet-toolbar-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&o("duet-icon",{size:"x-small",name:this.icon,margin:"none",theme:this.theme,color:"currentColor"}),o("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());l.style=i}}}));
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,a,i){function n(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function o(e){try{s(i.next(e))}catch(t){r(t)}}function l(e){try{s(i["throw"](e))}catch(t){r(t)}}function s(e){e.done?a(e.value):n(e.value).then(o,l)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(t){return s([e,t])}}function s(l){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,l[0]&&(a=0)),a)try{if(i=1,n&&(r=l[0]&2?n["return"]:l[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,l[1])).done)return r;if(n=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:a.label++;return{value:l[1],done:false};case 5:a.label++;n=l[1];l=[0];continue;case 7:l=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){a=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){a.label=l[1];break}if(l[0]===6&&a.label<r[1]){a.label=r[1];r=l;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(l);break}if(r[2])a.ops.pop();a.trys.pop();continue}l=t.call(e,a)}catch(s){l=[6,s];n=0}finally{i=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var i=0,n=t.length,r;i<n;i++){if(r||!(i in t)){if(!r)r=Array.prototype.slice.call(t,0,i);r[i]=t[i]}}return e.concat(r||Array.prototype.slice.call(t))};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-473e553e.system.js","./p-33b3aba4.system.js","./p-34ea0849.system.js","./p-51721695.system.js","./p-c8dc599d.system.js","./p-f67ee736.system.js","./p-eb6c4a2a.system.js","./p-5f6bd5db.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var t,a,i,n,r,o,l,s,d,u,p,h,c,f,b,m,g,y,v,x,w;return{setters:[function(e){t=e.h;a=e.r;i=e.c;n=e.H;r=e.g;o=e.F},function(e){l=e.i},function(e){s=e.f;d=e.d},function(e){u=e.i},function(e){p=e.g;h=e.c;c=e.d;f=e.a;b=e.s},function(e){m=e.p;g=e.s},function(e){y=e.b;v=e.a},function(e){x=e.c},function(e){w=e.p}],execute:function(){var k=function(e,a){var i=e.data,n=e.groupId,r=e.alignment;var o="duet-editable-table duet-editable-table-content-".concat(n);if(typeof i==="string"){return t("td",{innerHTML:i,class:o,part:"".concat(n,"content"),style:{verticalAlign:r}})}else{return t("td",{class:o,part:"".concat(n,"content"),style:{verticalAlign:r}},i)}};var L=".sc-duet-editable-table-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-editable-table-actions-menu.sc-duet-editable-table{position:relative;padding:0 !important;margin:0}.duet-editable-table-actions-menu-button.sc-duet-editable-table{position:relative;right:-16px;float:right;padding:0}.duet-editable-table-actions-menu-icon.sc-duet-editable-table .duet-icon.sc-duet-editable-table{max-width:16px;max-height:16px}.duet-editable-table-row.duet-table-action-row.sc-duet-editable-table .duet-text-right.sc-duet-editable-table{text-align:right}.duet-editable-table-header.sc-duet-editable-table tr.sc-duet-editable-table .duet-editable-table-header-hidden.sc-duet-editable-table{padding:0 !important;font-size:0;border-bottom:0}";var D=e("duet_editable_table",function(){function e(e){var t=this;a(this,e);this.duetTableToggle=i(this,"duetTableToggle",7);this.duetMenuClick=i(this,"duetMenuClick",7);this.hasHeadSlotFirst=false;this.hasHeadSlotLast=false;this.sortableDefaultLabel={fi:"Järjestä",en:"Click to sort",sv:"Klicka för att sortera"};this.actionColumnLabel={en:"Actions for rows",fi:"Toiminnot rivillä",sv:"Åtgärder för rader"};this.toggleColumn=function(e,a){a.preventDefault();var i=e.sort_order,n=e.direction,r=e.index,o=e.key;t.duetTableToggle.emit({sort_order:i,index:r,direction:n,key:o,component:"duet-editable-table",originalEvent:a})};this.handleKeyDown=function(e,a){if(u(a)){t.toggleColumn(e,a)}};this.language=p();this.margin="auto";this.variation="striped";this.sticky=false;this.stickyDistance="with-links";this.breakpoint="small";this.actions=undefined;this.columns=undefined;this.rows=undefined;this.sortable=false;this.groupId="";this.theme="";this.accessibleRole=undefined;this.hideHeadVisually=false}e.prototype.componentWillLoad=function(){l(this);this.hasHeadSlotFirst=!!this.element.querySelector("[slot='thead-first']");this.hasHeadSlotLast=!!this.element.querySelector("[slot='thead-last']")};e.prototype.connectedCallback=function(){h(this)};e.prototype.disconnectedCallback=function(){c(this)};e.prototype.createLabel=function(e){var a=this;var i=e.sort_order,n=e.direction,r=e.index,o=e.label;var l=f(o);if(!this.sortable){return l}var s=function(){if(!!i&&n===1){return"action-arrow-down-small"}else if(!!i&&n===-1){return"action-arrow-up-small"}return"action-subtract-small"};return t("span",{class:"duet-table-label","data-index":r},t("duet-button",{size:"small",icon:s(),"icon-size":"medium-small","accessible-label":this.sortableDefaultLabel[this.language],variation:"plain",margin:"none","icon-right":true,onClick:function(t){return a.toggleColumn(e,t)},onKeyDown:function(t){return a.handleKeyDown(e,t)}},l))};e.prototype.getSortedColumns=function(){return __spreadArray([],this.columns,true).sort(s(["index"]))};e.prototype.getRowSortOrder=function(){var e=__spreadArray([],this.columns,true).sort(s(["sort_order"]));return e.filter((function(e){return e.sort_order})).map((function(e){return e.direction===-1?"-".concat(e.key):e.key}))};e.prototype.renderTableHeader=function(){var e=this;if(!this.columns){return}var a=this.getSortedColumns();return t("tr",{class:{"duet-table-action-header":!!this.actions}},a.map((function(a){if(a.display!==false){var i=e.createLabel(a);return i!==""?t("th",{scope:"col"},i):t("td",null)}})),this.actions&&t("th",{scope:"col",class:"duet-table-action-header-heading"},this.actions&&t("duet-visually-hidden",null,this.actionColumnLabel[this.language])))};e.prototype.renderActions=function(e,a){var i=this;if(!this.actions){return}return t("td",{class:"duet-text-right"},this.actions.map((function(n){return t("duet-action-button",{actionMeta:Object.assign({},(e===null||e===void 0?void 0:e.meta)||{},{index:a}),actionId:(e===null||e===void 0?void 0:e.uid)||(e===null||e===void 0?void 0:e.id)||null,actionName:n.name,theme:i.theme,iconName:n.icon,iconColor:n.color,iconSize:n.size,background:n.background,"accessible-label":"".concat(e.actionDescription||""," ").concat(f(n.label)," ")})})))};e.prototype.renderTableBody=function(){var e=this;var a=this.getSortedColumns();var i=this.getRowSortOrder();var n=__spreadArray([],this.rows,true).sort(s(i));return n.map((function(i,n){var r;return t("tr",{class:(r={"duet-table-action-row":!!e.actions,"duet-editable-table-row":true},r["duet-editable-table-row-".concat(e.groupId)]=true,r),"data-meta":JSON.stringify(i.meta)},a.map((function(a){var n=i[a.key]?i[a.key]:i.item;if(a.display!==false){return t(k,{data:n,groupId:e.groupId})}})),e.actions&&e.renderActions(i,n))}))};e.prototype.render=function(){var e;return t(n,{class:(e={},e["duet-editable-table-".concat(this.variation)]=true,e["duet-editable-table"]=true,e["duet-editable-table-".concat(this.theme)]=true,e["duet-editable-table-scrollable"]=this.breakpoint==="none-scrollable",e["duet-editable-table-sortable"]=this.sortable,e["duet-editable-table-actions"]=!!this.actions,e["duet-m-0"]=this.margin==="none",e["duet-theme-turva"]=this.theme==="turva",e)},t("duet-table",{class:"duet-editable-table-table",sticky:this.sticky,stickyDistance:this.stickyDistance,margin:this.margin,theme:this.theme,variation:this.variation,breakpoint:this.breakpoint,"hide-head-visually":this.hideHeadVisually},t("table",{role:this.accessibleRole},t("caption",null,t("slot",{name:"tcaption"})),t("thead",null,this.hasHeadSlotFirst&&t("tr",null,t("td",{class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{name:"thead-first"}))),this.renderTableHeader(),this.hasHeadSlotLast&&t("tr",null,t("td",{class:"duet-editable-table-actions-menu",colSpan:99},t("slot",{name:"thead-last"})))),t("tbody",null,this.renderTableBody()),t("tfoot",null,t("tr",null,t("th",{class:"duet-editable-table-footer-menu",colSpan:99},t("slot",{name:"tfoot"})))))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());D.style=L;var M='duet-table{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;font-variant-numeric:tabular-nums}duet-table table,duet-table thead,duet-table tbody,duet-table tfoot,duet-table th,duet-table td,duet-table tr{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}duet-table.duet-m-0{margin:0 !important}duet-table table{width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;text-align:left;border-spacing:0;border-collapse:separate}duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead,duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead *{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}duet-table.duet-theme-turva table{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}duet-table td{-webkit-hyphens:auto;hyphens:auto;color:rgb(0, 41, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}duet-table.duet-theme-turva th{color:rgb(116, 116, 117)}duet-table tbody th{font-weight:600;color:rgb(0, 41, 77)}duet-table.duet-theme-turva tbody th{color:rgb(23, 28, 58)}duet-table .duet-table-action-row td:last-child{justify-self:end;padding-right:20px !important;white-space:nowrap}.duet-table-flattened table,.duet-table-flattened thead,.duet-table-flattened tbody,.duet-table-flattened tfoot,.duet-table-flattened th,.duet-table-flattened td,.duet-table-flattened tr{display:block}.duet-table-flattened thead tr{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-table-flattened td{line-height:1.25}.duet-table-flattened td:not(:last-child){margin-bottom:16px !important}.duet-table-flattened tbody td,.duet-table-flattened tbody th,.duet-table-flattened tfoot td{padding:0 !important;text-align:left !important}.duet-table-flattened tbody th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}.duet-table-flattened td[data-heading]::before{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(0, 41, 77);content:attr(data-heading)}.duet-table-flattened.duet-theme-turva td[data-heading]::before{color:rgb(23, 28, 58)}.duet-table-sticky thead th{position:sticky;top:0;background:rgb(255, 255, 255)}.duet-table-striped td,.duet-table-striped th{padding:20px !important}@media (max-width: 35.9375em){.duet-table-striped td,.duet-table-striped th{padding:20px 12px !important}}.duet-table-striped tbody th{background:rgb(255, 255, 255)}.duet-table-striped.duet-table-sticky thead th{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(228, 228, 230)}.duet-table-striped tbody:not(:first-of-type) th{padding-top:40px !important}.duet-table-striped tbody:only-of-type tr:nth-of-type(odd){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tfoot td{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(228, 228, 230)}.duet-table-striped.duet-table-flattened tbody:not(:first-of-type) th{padding-top:20px !important}.duet-table-striped.duet-table-flattened tr{padding:20px !important}.duet-table-striped.duet-table-flattened tfoot td{border-top:0}.duet-table-striped.duet-table-flattened tfoot tr{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(228, 228, 230)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(101, 119, 135)}.duet-table-fixed th:first-child,.duet-table-minimal th:first-child,.duet-table-plain th:first-child{padding-left:0 !important}.duet-table-fixed th:last-child,.duet-table-minimal th:last-child,.duet-table-plain th:last-child{padding-right:0 !important}.duet-theme-turva.duet-table-fixed th,.duet-theme-turva.duet-table-minimal th,.duet-theme-turva.duet-table-plain th{border-bottom-color:rgb(68, 68, 69)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody th,.duet-theme-turva.duet-table-minimal tbody th,.duet-theme-turva.duet-table-plain tbody th{border-bottom-color:rgb(228, 228, 230)}.duet-table-fixed td,.duet-table-minimal td,.duet-table-plain td{padding:16px !important}.duet-table-fixed td:first-child,.duet-table-minimal td:first-child,.duet-table-plain td:first-child{padding-left:0 !important}.duet-table-fixed td:last-child,.duet-table-minimal td:last-child,.duet-table-plain td:last-child{padding-right:0 !important}.duet-table-fixed tbody td,.duet-table-minimal tbody td,.duet-table-plain tbody td{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody td,.duet-theme-turva.duet-table-minimal tbody td,.duet-theme-turva.duet-table-plain tbody td{border-bottom-color:rgb(228, 228, 230)}.duet-table-flattened.duet-table-fixed tbody:first-of-type th,.duet-table-flattened.duet-table-minimal tbody:first-of-type th,.duet-table-flattened.duet-table-plain tbody:first-of-type th{padding-top:0 !important}.duet-table-flattened.duet-table-fixed td,.duet-table-flattened.duet-table-minimal td,.duet-table-flattened.duet-table-plain td,.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{border-bottom:0}.duet-table-flattened.duet-table-fixed tr,.duet-table-flattened.duet-table-minimal tr,.duet-table-flattened.duet-table-plain tr{padding:20px 0 !important}.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{padding-top:20px !important}.duet-table-flattened.duet-table-fixed tfoot td,.duet-table-flattened.duet-table-minimal tfoot td,.duet-table-flattened.duet-table-plain tfoot td{margin-bottom:4px !important}.duet-table-flattened.duet-table-fixed tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-minimal tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-plain tbody:not(:only-of-type) tr:first-child{border-bottom:0}.duet-table-plain.duet-table-flattened tbody tr{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(228, 228, 230)}.duet-table-minimal tbody tr,.duet-table-minimal tbody tr td{vertical-align:top;border-bottom:0 none}.duet-table-minimal tbody tr:last-of-type,.duet-table-minimal tbody tr:last-of-type td{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened tbody tr,.duet-table-minimal.duet-table-flattened tbody tr td{border-bottom:0 none}.duet-table-minimal.duet-table-flattened tbody tr td[data-heading]::before{display:none}.duet-table-minimal.duet-table-flattened tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-fixed table{table-layout:fixed}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td,.duet-table-fixed tbody tr td:first-child{padding:4px !important;vertical-align:text-bottom;border-bottom:0 none}.duet-table-fixed thead{display:none}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td{border-bottom:0 none}.duet-table-fixed:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-scrollable{position:relative;width:100%;overflow-x:auto;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;background-repeat:no-repeat;background-attachment:local, local, scroll, scroll;background-size:100px 100%, 100px 100%, 12px 100%, 12px 100%}.duet-table-selected-column{background:rgba(0, 119, 179, 0.08)}.duet-theme-turva .duet-table-selected-column{background:rgba(68, 68, 69, 0.08)}.duet-table-sortable tbody tr td:first-child,.duet-table-sortable thead tr th:first-child{padding:20px}.duet-table-sortable:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-actions table{table-layout:auto}.duet-table-actions thead th:last-child{width:1px;white-space:nowrap}.duet-editable-table-table.duet-table-flattened tr{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:10px}.duet-editable-table-table.duet-table-flattened tr.duet-table-action-row td:last-child::before{padding:0;content:""}.duet-editable-table-table.duet-table-flattened td{grid-column:1/2}.duet-editable-table-table.duet-table-flattened td:first-child{grid-row:1;grid-column:1}.duet-editable-table-table.duet-table-flattened td:last-child{grid-row:1;grid-column:2}';var I={none:0,"with-links":parseFloat(m)*16,"without-links":parseFloat(g)*16};var _=e("duet_table",function(){function e(e){var t=this;a(this,e);this.headingSelector="thead tr > :not(*.duet-editable-table-actions-menu)";this.handleMediaQueryChange=function(e){t.matchesBreakpoint=y.includes(t.breakpoint)?!e.matches:e.matches};this.matchesBreakpoint=true;this.language=p();this.theme=undefined;this.margin="auto";this.variation="striped";this.sticky=false;this.stickyDistance="with-links";this.breakpoint="small";this.hideHeadVisually=false}e.prototype.watchLanguageStateHandler=function(e,t){var a=this;if(e!==t){setTimeout((function(){return a.copyHeadingsToCells()}),50)}};e.prototype.connectedCallback=function(){var e=this;var t=this.breakpoint==="none"||this.breakpoint==="none-scrollable"?"all":v[this.breakpoint];this.mq=matchMedia(t);this.mq.addEventListener("change",d(this.handleMediaQueryChange,50));this.handleMediaQueryChange(this.mq);this.observer=new MutationObserver((function(){return d(e.copyHeadingsToCells(),50)}));this.observer.observe(this.element,{childList:true,subtree:true})};e.prototype.componentWillLoad=function(){l(this);this.copyHeadingsToCells();if(this.sticky&&this.breakpoint==="none-scrollable"){console.warn('[DUET WARNING]: sticky and breakpoint="none-scrollable" are incompatible. Scrollable takes precedence')}if(this.sticky){var e=I[this.stickyDistance];var t=this.element.querySelectorAll(this.headingSelector);t.forEach((function(t){return t.style.top="".concat(e,"px")}))}};e.prototype.componentDidLoad=function(){this.observer?this.observer.takeRecords():null;h(this)};e.prototype.disconnectedCallback=function(){this.observer.disconnect();this.observer=null;this.mq.removeListener(this.handleMediaQueryChange);this.mq=null;this.matchesBreakpoint=true;c(this)};e.prototype.copyHeadingsToCells=function(){var e=this.element.querySelectorAll(this.headingSelector);var t=this.element.querySelectorAll("tbody tr");var a=Array.from(e).map((function(e){return e.textContent.trim()}));t.forEach((function(e){e.querySelectorAll("td").forEach((function(e,t){if(a[t]){e.dataset.heading=a[t]}}))}))};e.prototype.render=function(){var e;return t(n,{class:(e={},e["duet-table-".concat(this.variation)]=true,e["duet-table-flattened"]=!this.matchesBreakpoint,e["duet-table-sticky"]=this.matchesBreakpoint&&this.sticky,e["duet-table-scrollable"]=this.breakpoint==="none-scrollable",e["duet-m-0"]=this.margin==="none",e["duet-theme-turva"]=this.theme==="turva",e["duet-table-hide-head-visually"]=this.hideHeadVisually,e)},t("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{language:["watchLanguageStateHandler"]}},enumerable:false,configurable:true});return e}());_.style=M;var S=[{type:"default",system_message:"unknown error",message:{fi:"Tapahtui tuntematon virhe, ole hyvä ja yritä uudelleen.",sv:"Ett okänt fel uppstod, försök igen.",en:"An unknown error occured, please try again."}},{type:"400",system_message:"Bad Request: The server could not understand the request due to invalid syntax.",message:{fi:"Tiedostoa ei hyväksytty.",sv:"Servern avvisade din fil.",en:"The server rejected your file."}},{type:"401",system_message:"Not Authenticated: The client must authenticate itself to get the requested response...",message:{fi:"Vain kirjautunut käyttäjä voi lähettää tiedostoja.",sv:"Du måste vara inloggad för att ladda upp filer.",en:"You need to be logged in to upload files."}},{type:"403",system_message:"No Access: The client does not have access rights to the content.",message:{fi:"Ei oikeuksia lähettää tiedostoja.",sv:"Du har inte rätt åtkomsträttigheter för att ladda upp filer.",en:"You do not have the correct access rights to upload files."}},{type:"413",system_message:"Payload too large",message:{fi:"Tiedosto oli liian vastaanotettavaksi.",sv:"Filen var för stor för servern att hantera.",en:"The file was to large for the server to handle."}},{type:"415",system_message:"Unsupported media type",message:{fi:"Tiedoston tyyppi oli väärä.",sv:"Servern avvisade filen eftersom den hade fel typ.",en:"The server rejected the file because it had the wrong type."}},{type:"429",system_message:"Too many request from same address",message:{fi:"Liian monta yritystä, ole hyvä ja yritä myöhemmin uudelleen.",sv:"Servern har fått många förfrågningar från dig, försök igen senare.",en:"The server has received to many request from you, please try again later."}},{type:"500",system_message:"Internal Server Error",message:{fi:"Palvelin ilmoitti tuntemattomasta virheestä ja lataus epäonnistui.",sv:"Servern rapporterade ett okänt fel och uppladdningen misslyckades.",en:"The server reported an unknown error and the upload failed."}},{type:"duet-upload-100",system_message:"File extension not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den type.",en:"You cannot upload files with that extension."}},{type:"duet-upload-001",system_message:"File transfer failed",message:{fi:"Tiedoston lähetys keskeytyi, ole hyvä ja yritä uudelleen.",sv:"Din anslutning till servern avbröts, försök igen.",en:"Your connection to the server was interrupted, try again."}},{type:"duet-upload-101",system_message:"File mimetype not allowed",message:{fi:"Tiedoston tyyppi ei ole sallittu.",sv:"Du kan inte ladda upp filer av den typ.",en:"You cannot upload files of that type."}},{type:"duet-upload-201",system_message:"File is too large",message:{fi:"Tiedosto on liian iso.",sv:"Filen är större än tillåtet.",en:"The file is larger than permitted."}},{type:"duet-upload-202",system_message:"The combined size of all files is too large",message:{fi:"Tiedostojen yhteenlaskettu koko on liian iso.",sv:"Du har nått den maximala kombinerade filstorleken.",en:"You have reached the maximum combined filesize."}},{type:"duet-upload-301",system_message:"The maximum file limit has been reached",message:{fi:"Liitteiden maksimimäärä saavutettu.",sv:"Maximalt antal bilagor har uppnåtts.",en:"Maximum number of attachments reached."}}];var F=function(e,t){var a={type:undefined,system_message:undefined,message:undefined};t=w(t);a=t.filter((function(t){return t.type==e}))[0];if(!a){a=t.filter((function(e){return e.type==="default"}))[0]}return a};var z=function(e,t){var a=F(e,t);var i=f(a.message);if(i===""||!i){return a.system_message}else{return i}};var C=function(e,t){if(t===void 0){t=2}if(e===0){return"0 Bytes"}var a=1024;var i=t<0?0:t;var n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];var r=Math.floor(Math.log(e)/Math.log(a));return parseFloat((e/Math.pow(a,r)).toFixed(i))+" "+n[r]};var T=function(e){var a=e.data,i=e.showLinks,n=e.type,r=e.actions,o=e.errorCodes,l=e.theme,s=e.label,d=e.categoryLabel,u=e.showCategory;var p=a.uid,h=a.item,c=a.size,b=a.uploaded,m=a.url,g=a.meta,y=a.progress,v=a.error;var x=h.name;var w=function(){switch(n){case"inprogress":return t("span",{class:"duet-upload-item-name"},t("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),x),t("duet-progress",{progress:Math.ceil(y),"aria-hidden":true}));case"pending":return t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),x);case"failure":return t("span",{class:"duet-upload-item-error",role:"status"},t("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),x),t("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},z(v.type,o)));default:return b&&m&&i?t("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},t("duet-link",{url:m,external:true},k),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),L):t("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},k,t("duet-spacer",{size:"xx-small",direction:"horizontal"}),L)}};var k=t("span",{class:"duet-upload-item-name"},t("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),t("duet-spacer",{size:"xx-small",direction:"horizontal"}),x);var L=t("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",C(c),")");var D=g&&g.badges?t("span",null,g.badges.map((function(e){return t("duet-badge",{color:"primary"},e)}))):undefined;var M="".concat(g&&g.badges?g.badges.join(","):""," ").concat(x);return t("div",{class:{"upload-item-row":true}},u&&t("div",{class:"item-categories"},t("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},f(d)),D),t("div",{class:{"item-name":true,"no-category":!u}},!!s&&t("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},f(s)),w()),t("div",{class:"item-actions"},r.map((function(e){return t("duet-action-button",{actionMeta:Object.assign({},g||{}),actionId:p||null,actionName:e.name,theme:l,iconName:e.icon,iconColor:e.color,iconSize:e.size,background:e.background,"accessible-label":"".concat(M," ").concat(f(e.label)," ")})}))))};var E=function(e){var a=e.label,i=e.categoryLabel;return t("div",{class:"items-header"},i&&t("duet-heading",{class:"category-header",border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none"},f(i)),t("duet-heading",{class:{"filename-header":true,"no-category":!i},border:"solid",color:"gray-darker",level:"h3","visual-level":"h6",weight:"semibold",margin:"none"},f(a)))};var A=function(e,t){if(!t){return true}var a=e.split(".");var i=t.split(",");var n=a[a.length-1];return i.includes(n)};var B=function(e,t){if(!t||!e){return true}var a=t.split(",");var i=false;a.forEach((function(t){var a=t.split("/");var n=e.split("/");if(a[0]===n[0]&&(a[1]===n[1]||a[1]==="*")){i=true}}));return i};var H=function(e,t){if(!t||!e){return true}return t>=e};var P=function(e,t,a){var i=t.allowedMimetypes,n=t.allowedExtensions,r=t.maxBytes;var o=false;var l=F("default",a);if(e){var s=e.name,d=e.type,u=e.size;var p=B(d,i);var h=n==="all"||n===""||n===" "||n===undefined?true:A(s.toLowerCase(),n);var c=H(u,r);if(!p){l=F("duet-upload-101",a)}if(!h){l=F("duet-upload-100",a)}if(!c){l=F("duet-upload-201",a)}o=p&&h&&c}else{o=false}return{valid:o,errorMessage:o?undefined:f(l.message),errorSystem:o?undefined:l.system_message,errorType:o?undefined:l.type}};var j=function(e,t){var a=0;if(t){e.forEach((function(e){if(e.valid&&e.size){a+=e.size}}));if(a>t){return true}}return false};var U=function(e,t){var a=0;if(t){e.forEach((function(e){if(e.valid){a++}}));if(a>t){return true}}return false};var R=function(e){var t=e.payload,a=e.options,i=e.onFailure,n=e.onSuccess,r=e.onProgress;var o=a.type,l=o===void 0?"POST":o,s=a.xhr,d=a.uri,u=a.argument,p=u===void 0?null:u,h=a.headers,c=h===void 0?null:h;s.open(l,"".concat(d).concat(p||""),true);var f=t.data,b=t.name;if(c){Object.keys(c).forEach((function(e){s.setRequestHeader(e,c[e])}))}if(l==="POST"){s.onreadystatechange=function(){if(s.readyState===XMLHttpRequest.DONE&&s.status>=200&&s.status<300){n(s,b,s.status)}if(s.readyState===XMLHttpRequest.DONE&&s.status>=300&&s.status<999){i(s,b,s.status)}};r(b)}s.send(f);return s};var V="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=header]){margin-bottom:16px}::slotted([slot=fileheader]){margin:16px 0 0 0}::slotted([slot=filefooter]){margin-top:16px}::slotted([slot=uploadfooter]){margin-top:20px}.duet-upload{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-upload-item-size{font-size:0.75rem;font-weight:400}.duet-upload-filelist{margin-bottom:25px}.duet-upload-filelist-empty{display:flex;align-items:center;justify-content:center;width:100%;height:75px;margin:0 auto;font-size:1rem;font-weight:400;background-color:rgb(245, 248, 250)}.duet-upload-filelist-empty-label{font-size:1rem;font-weight:400}.duet-upload-editable-table-header-hidden{display:none}.duet-upload-editable-table tbody .duet-upload-editable-table-data{padding:0 !important;border:0}.duet-upload-editable-table duet-editable-table tfoot,.duet-upload-editable-table duet-editable-table thead{display:none}.duet-upload-editable-table duet-editable-table .duet-editable-table-content{padding-right:0 !important;padding-left:0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td{padding:1rem 0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child{padding-right:0 !important}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending{position:relative}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress{position:absolute;bottom:0;width:100%}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button),.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button){border:0}duet-paragraph::part(duet-paragraph){word-break:break-word}duet-editable-table tfoot{display:none}.upload-bottom-caption{margin-top:12px;margin-bottom:28px}.items-header{display:none;flex-direction:row;margin-bottom:0}@media (min-width: 36em){.items-header{display:flex}}.items-header:not(:last-child),.items-header:not(:first-child){margin-top:12px}.items-header .category-header{width:35%}.items-header .filename-header{width:65%}.items-header .filename-header.no-category{width:100%}.upload-item-row{display:flex;flex-direction:column;gap:16px;align-content:center;align-items:center;padding:16px 0 16px 0;border-bottom:1px solid rgb(225, 227, 230)}@media (min-width: 36em){.upload-item-row{flex-direction:row;gap:10px}}.upload-item-row .item-categories{width:100%}@media (min-width: 36em){.upload-item-row .item-categories{width:35%}}.upload-item-row .item-name{position:relative;bottom:2px;width:100%;text-align:left}@media (min-width: 36em){.upload-item-row .item-name{width:50%}.upload-item-row .item-name.no-category{width:85%}}.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:block}@media (min-width: 36em){.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:none}}.upload-item-row .item-actions{width:100%;margin-left:-8px;text-align:left}@media (min-width: 36em){.upload-item-row .item-actions{width:15%;padding-top:0;margin-left:auto;text-align:right}}.upload-item-row .duet-upload-item-name duet-icon{position:relative;top:4px}.upload-item-row .duet-upload-item-name duet-progress{display:block;margin-top:16px}";var q=e("duet_upload",function(){function e(e){var n=this;a(this,e);this.duetChange=i(this,"duetChange",3);this.duetBlur=i(this,"duetBlur",7);this.duetFocus=i(this,"duetFocus",7);this.duetReady=i(this,"duetReady",7);this.duetDone=i(this,"duetDone",3);this.duetState=i(this,"duetState",3);this.duetDelete=i(this,"duetDelete",3);this.duetCancel=i(this,"duetCancel",3);this.duetProgress=i(this,"duetProgress",3);this.duetUpload=i(this,"duetUpload",3);this.buttonId=x("DuetButton");this.labelId=x("DuetLabel");this.uploadId=x("DuetUpload");this.filesInProgress=new Map;this.fileMaxReached=false;this.bytesMaxReached=false;this.internalStatusMessageLabel=undefined;this.DefaultGroups={inprogress:"inprogress",success:"success",pending:"pending",failure:"failure"};this.kick=d((function(){n.tick=Date.now()}),30);this.categoryLabel={en:"Category",sv:"Filtyp",fi:"Tiedostotyyppi"};this.listenForActionEvents=function(){n.element.addEventListener("duetActionEvent",(function(e){var t=e.detail;var a=t.action,i=t.id,r=t.originalEvent;switch(a){case"delete":n.onDelete(i,r);break;case"cancel":n.onCancel(i,r);break}}))};this.verifyValidity=function(){var e=n.getFilesAsArray(),t=e.invalid,a=e.valid;var i=n.valid;n.valid=t.length===0&&a.length!==0;if(n.valid!==i){n.duetState.emit({originalEvent:undefined,data:{valid:n.valid,from:"componentWillRender"},component:"duet-upload"})}};this.getGroupFromItemData=function(e){if(e.valid&&e.progress===100){return n.DefaultGroups.success}else if(e.progress>0&&e.progress!==100){return n.DefaultGroups.inprogress}else if(!e.valid){return n.DefaultGroups.failure}else if(e.pending){return n.DefaultGroups.pending}else if(e.group){return e.group}else{return"none"}};this.mapFilesToUploadItems=function(e,a,i){if(a===n.DefaultGroups.success){return t(T,{theme:n.theme,actions:n.getActions(a),type:"success",data:e,showLinks:n.showLinks,categoryLabel:n.categoryLabel,label:n.uploadedItemsHeaderLabel,showCategory:i})}else if(a===n.DefaultGroups.inprogress){return t(T,{theme:n.theme,actions:n.getActions(a),type:"inprogress",data:e,showLinks:n.showLinks,categoryLabel:n.categoryLabel,label:n.uploadedItemsHeaderLabel,showCategory:i})}else if(a===n.DefaultGroups.pending){return t(T,{theme:n.theme,actions:n.getActions(a),type:"pending",data:e,showLinks:n.showLinks,categoryLabel:n.categoryLabel,label:n.uploadedItemsHeaderLabel,showCategory:i})}else if(a===n.DefaultGroups.failure){return t(T,{theme:n.theme,actions:n.getActions(a),type:"failure",data:e,showLinks:n.showLinks,errorCodes:n.errorCodes,categoryLabel:n.categoryLabel,label:n.uploadedItemsHeaderLabel,showCategory:i})}else if(e.group){return e.html}else{return"none"}};this.genHashName=function(){return Date.now().toString(36)+Math.random()};this.updateValueInMap=function(e,t,a,i){if(i===void 0){i=true}try{var r=n.files.get(e);r[t]=a;n.files.set(e,r)}catch(o){}if(i){n.kick()}};this.updateProgress=function(e,t){var a=function(a){n.updateValueInMap(t,"progress",a);n.onProgress(t,a,e)};if(e.lengthComputable){var i=e.loaded/e.total*100;a(i)}else{console.log("cant read progress")}};this.trackProgress=function(e,t){if(t===void 0){t=false}if(t){n.filesInProgress.delete(e)}else{n.filesInProgress.set(e,"inprogress")}if(n.filesInProgress.size===0){n.onDone()}};this.getFilesAsArray=function(){var e=[];var t=[];n.files.forEach((function(a){if(a.valid&&!a.deleted){e.push(a)}else if(!a.valid&&!a.deleted){t.push(a)}}));return{valid:e,invalid:t}};this.resetFormFields=function(){n.nativeInput.value=""};this.startUpload=function(e,t){if(t===void 0){t=undefined}return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(a){this.metaData=t;this.nativeInput.click();this.onUpload(e,t);e.stopPropagation();e.preventDefault();return[2]}))}))};this.transferComplete=function(e){n.updateValueInMap(e,"progress",100,false);n.trackProgress(e,true)};this.transferDone=function(e,t,a){n.updateValueInMap(t,"status",a,false);n.updateValueInMap(t,"uploaded",true,false);try{var i=JSON.parse(e.response);n.updateValueInMap(t,"url",i.url)}catch(r){n.updateValueInMap(t,"url",null);console.error("Server did not respond with expected response {url: string}")}return};this.transferDoneWithFailure=function(e,t,a){try{var i=JSON.parse(e.response).error;n.updateValueInMap(t,"error",{message:i.message,type:i.type},false)}catch(r){console.error("Server did not respond with expected response error:{message: string, type: int}");n.updateValueInMap(t,"error",{type:a},false)}n.updateValueInMap(t,"valid",false,true)};this.transferFailed=function(e){n.updateValueInMap(e,"error",z("duet-upload-001",n.errorCodes))};this.transferCanceled=function(e){n.files.delete(e);n.validateTotals(e);n.kick()};this.validateTotals=function(e){var t=j(n.files,n.maxBytesTotal);var a=U(n.files,n.maxFiles);if(t&&e){n.updateValueInMap(e,"error",z("duet-upload-202",n.errorCodes),false)}if(a&&e){n.updateValueInMap(e,"error",z("duet-upload-301",n.errorCodes),false)}n.bytesMaxReached=t;n.fileMaxReached=a;return{bytesMaxReached:t,fileMaxReached:a}};this.uploadFile=function(e,t,a){if(t===void 0){t=false}return __awaiter(n,void 0,void 0,(function(){var i,n,r;return __generator(this,(function(o){switch(o.label){case 0:if(!t&&this.deferUpload){this.updateValueInMap(e.item.name,"pending",true,false);this.updateValueInMap(e.item.name,"group","pending",true)}else if(t){this.updateValueInMap(e.item.name,"pending",false,false);this.updateValueInMap(e.item.name,"group",undefined,true)}o.label=1;case 1:o.trys.push([1,4,,5]);if(!(!this.deferUpload||t))return[3,3];i=new FormData;i.append("file",e.item);if(a){i.append("key",a)}i.append("uid",e.uid);i.append("name",e.item.name);i.append("metadata",JSON.stringify({uid:e.uid,url:this.uri,size:e.item.size,meta:e.meta}));n=e;return[4,this.makeXHRPostRequest(i)];case 2:n.xhr=o.sent();o.label=3;case 3:return[3,5];case 4:r=o.sent();this.updateValueInMap(e.item.name,"valid",false,false);return[3,5];case 5:return[2]}}))}))};this.uploadPendingFiles=function(){for(var e=0,t=Array.from(n.files.entries());e<t.length;e++){var a=t[e],i=a[0],r=a[1];if(r.group==="pending"&&r.pending===true){n.uploadFile(r,true,i)}}};this.getItemFromUID=function(e){for(var t=0,a=Array.from(n.files.entries());t<a.length;t++){var i=a[t],r=i[0],o=i[1];if(o.uid===e){return{value:o,key:r}}}return null};this.onDelete=function(e,t){var a=n.getItemFromUID(e);var i=a.key;var r=n.files.get(i);n.files.delete(i);n.validateTotals();n.kick();n.duetDelete.emit({originalEvent:t,data:{deletion:r},component:"duet-upload"});if(!n.external&&!r.pending){n.makeXHRDeleteRequest(r)}n.resetFormFields()};this.onCancel=function(e,t){var a=n.getItemFromUID(e).key;var i=n.files.get(a);n.files.delete(a);if(!n.external){var r=i.xhr;if(r){r.abort()}}else{n.kick()}n.resetFormFields();n.duetCancel.emit({originalEvent:t,data:{cancelled:i},component:"duet-upload"})};this.onUpload=function(e,t){n.duetUpload.emit({originalEvent:e,metaData:t,component:"duet-upload"})};this.onBlur=function(e){n.duetBlur.emit({originalEvent:e,component:"duet-upload"})};this.onProgress=function(e,t,a){n.duetChange.emit({originalEvent:a,data:{key:e,percentComplete:t},component:"duet-upload"})};this.onFocus=function(e){n.duetFocus.emit({originalEvent:e,component:"duet-upload"})};this.onReady=function(){n.duetReady.emit({component:"duet-upload"})};this.onDone=function(){n.duetDone.emit({component:"duet-upload",data:{files:n.files}})};this.filterMap=function(){var e=Array.from(n.files.values());var t=[];var a=[];var i=[];var r=[];var o=false;e.forEach((function(e){var l=n.getGroupFromItemData(e);if(e.meta&&!!e.meta.badges){o=true}if(l===n.DefaultGroups.success){r.push({uid:e.uid,data:e})}else if(l===n.DefaultGroups.inprogress){t.push({uid:e.uid,data:e})}else if(l===n.DefaultGroups.pending){i.push({uid:e.uid,data:e})}else if(l===n.DefaultGroups.failure){a.push({uid:e.uid,data:e})}else if(e.group){t.push({uid:e.uid,data:e})}}));return{pending:i,failure:a,success:r,inprogress:t,hasCategory:o}};this.getActions=function(e){return n.actions.filter((function(t){return t.map.includes(e)}))};this.renderUploadedItems=function(){var e=n.filterMap();var a=e.hasCategory;var i=n.groups.map((function(i){var r=e[i.id];if(!(r===null||r===void 0?void 0:r.length)){return}return t(o,null,!n.hideGroups&&t(E,{categoryLabel:a?n.categoryLabel:undefined,label:i.label}),r.map((function(e){return n.mapFilesToUploadItems(e.data,i.id,a)})))}));return t(o,null,n.showUploadedItemsHeader&&t(E,{categoryLabel:a?n.categoryLabel:undefined,label:n.uploadedItemsHeaderLabel}),i)};this.tick=Date.now();this.accessibleActiveDescendant=undefined;this.accessibleDescribedBy=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.external=false;this.middleware=null;this.deferUpload=false;this.hideButton=false;this.actions=[{icon:"action-delete",color:"color-danger",size:"x-small",background:"gray-lightest",name:"delete",map:["success","failure"],label:{fi:"Poista tiedosto",en:"Delete the file",sv:"Ta bort filen"}},{icon:"navigation-close",color:"primary",size:"x-small",background:"gray-lightest",name:"cancel",map:["inprogress","pending"],label:{fi:"Keskeytä lähetys",en:"Cancel the upload",sv:"Stop överföringen"}}];this.uri=undefined;this.showLinks=false;this.caption=undefined;this.statusLabelDefaults={fi:{inProgress:"Lähetetään {filesUploaded} lähetettävästä {filesTotal} tiedostosta",inProgressWithErrors:"Lähetetään {filesInProgress} tiedostoa, lähetetty {filesUploaded} lähetettävästä {filesTotal} tiedostosta, {filesWithErrors} tiedostossa on virheitä",done:"Kaikki {filesTotal} tiedostoa lähetetty onnistuneesti",doneWithErrors:"Lähetys valmis, {filesUploaded} tiedostoa on lähetetty onnistuneesti, {filesWithErrors} tiedostossa oli virheitä",files:"tiedostot",file:"tiedosto"},sv:{inProgress:"Adding {filesUploaded} of {filesTotal}",inProgressWithErrors:"Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",done:"Alla {filesTotal} har lagts till",doneWithErrors:"Handling slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",files:"filer",file:"fil"},en:{inProgress:"Adding {filesUploaded} of {filesTotal}",inProgressWithErrors:"Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",done:"All {filesTotal} added successfully",doneWithErrors:"Action completed, {filesUploaded} has been added successfully, {filesWithErrors} had errors",files:"File",file:"file"}};this.statusMessageLabel=f(this.statusLabelDefaults);this.buttonLabelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add an attachment"};this.buttonLabel=f(this.buttonLabelDefaults);this.accessibleButtonLabel=undefined;this.theme="";this.disabled=false;this.identifier=undefined;this.margin="auto";this.required=false;this.alignment="middle";this.hideGroups=false;this.files=new Map;this.valid=!this.required;this.labelDefaults={fi:"Lisää liite",sv:"Lägg till en bilaga",en:"Add attachments"};this.label=f(this.labelDefaults);this.descriptionDefaults={en:"You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",sv:"Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",fi:"Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena."};this.description=f(this.descriptionDefaults);this.fileListEmptyDefaults={fi:"Ei vielä lisättyjä tiedostoja.",sv:"Inga filer har lagts till ännu.",en:"No files added yet."};this.fileListEmpty=f(this.fileListEmptyDefaults);this.error="";this.errorCodes=S;this.name=undefined;this.maxBytes=2e8;this.maxBytesTotal=undefined;this.maxFiles=99;this.allowedExtensions="all";this.allowedMimetypes="*";this.multiple=true;this.limitSelection=false;this.value=undefined;this.externalUploadButtonId=undefined;this.captionOnBottom=false;this.showUploadedItemsHeader=false;this.uploadedItemsHeaderLabel={fi:"Ladattu tiedosto",sv:"Lägg till en bilaga",en:"Uploaded file"};this.hideHeader=false;this.groups=[{id:this.DefaultGroups.success,label:{fi:"Valmiit tiedostot",sv:"Files success",en:"Files success"}},{id:this.DefaultGroups.failure,label:{fi:"Tiedostot, joissa on virheitä",sv:"Filer med fel",en:"Files with errors"}},{id:this.DefaultGroups.inprogress,label:{fi:"Kesken olevat tiedostot",sv:"Filer inprogress",en:"Files inprogress"}},{id:this.DefaultGroups.pending,label:{en:"Files to upload",sv:"Filer att ladda",fi:"Ladattavat tiedostot"}}]}e.prototype.watchValidHandler=function(e,t){if(e!==t){this.kick()}};e.prototype.componentWillLoad=function(){if(typeof this.statusMessageLabel==="string"){this.internalStatusMessageLabel=b(this.groups)}else{this.internalStatusMessageLabel=this.statusMessageLabel}l(this);this.listenForActionEvents();this.onReady();this.externalUploadButton=document.querySelector("#".concat(this.externalUploadButtonId))};e.prototype.componentWillRender=function(){this.verifyValidity()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeInput){this.nativeInput.focus(e)}return[2]}))}))};e.prototype.upload=function(e){if(e===void 0){e=undefined}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.setFocus()];case 1:t.sent();this.metaData=e;this.nativeInput.click();return[2]}}))}))};e.prototype.uploadPending=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.uploadPendingFiles();return[2]}))}))};e.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:this.kick();return[4,this.setFocus()];case 1:e.sent();return[2]}}))}))};e.prototype.getFiles=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(!this.files||this.files.size===0){return[2,false]}return[2,this.getFilesAsArray()]}))}))};e.prototype.updateValue=function(e,t,a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.updateValueInMap(e,t,a);return[2]}))}))};e.prototype.render=function(){var e=this;var a=this.identifier||this.uploadId;var i=Math.round((this.maxBytesTotal?this.maxBytesTotal:this.maxBytes*this.maxFiles)/1024/1024);var r=Math.round(this.maxBytes/1024/1024);var l=this.description.replace(/{maxfiles}/g,this.maxFiles.toString());l=l.replace(/{maxbytes}/g,"".concat(r.toString()," MB"));l=l.replace(/{maxbytestotal}/g,"".concat(i.toString()," MB"));l=l.replace(/{filetypes}/g,this.allowedExtensions.split(",").join(", "));if(this.externalUploadButton){this.externalUploadButton.ariaLabel=l}return t(n,{class:{"duet-m-0":this.margin==="none"}},t("duet-fieldset",{"label-hidden":this.hideHeader,label:this.label,caption:!this.captionOnBottom?l:undefined},t("slot",{name:"header"}),!this.files.size&&t("duet-empty-state",{id:this.labelId,part:this.identifier?"".concat(this.identifier,"-empty-state"):"duet-upload-empty-state",icon:"messaging-attachment"},t("duet-paragraph",{margin:"none"},this.fileListEmpty)),!!this.files.size&&t("slot",{name:"fileheader"}),!!this.files.size&&t("duet-upload-aria-status",{invalid:this.getFilesAsArray().invalid.length,valid:this.getFilesAsArray().valid.length,inprogress:this.filesInProgress.size,total:this.files.size,statusMessageLabel:this.internalStatusMessageLabel}),!!this.files.size&&this.renderUploadedItems(),!!this.files.size&&t("slot",{name:"filefooter"}),t("slot",{name:"uploadfooter"}),this.captionOnBottom&&t("duet-caption",{margin:"none",size:"small"},t("div",{class:"upload-bottom-caption"},l)),t("slot",{name:"afterfooter"}),!this.hideButton&&t(o,null,t("duet-spacer",{size:"large"}),t("duet-button",{id:this.buttonId,onClick:this.startUpload,"accessible-controls":a,disabled:this.fileMaxReached,"accessible-label":this.accessibleButtonLabel,"accessible-owns":a,size:"small",variation:"secondary",fixed:true,icon:"action-add-circle",part:this.identifier?"".concat(this.identifier,"-button-upload"):"duet-upload-button-upload"},this.buttonLabel)),(this.fileMaxReached||this.bytesMaxReached)&&t(o,null,t("duet-spacer",{size:"medium"}),t("duet-alert",{part:this.identifier?"".concat(this.identifier,"-error-notification"):"duet-upload-error-notification"},this.fileMaxReached&&z("duet-upload-301",this.errorCodes),this.bytesMaxReached&&z("duet-upload-202",this.errorCodes))),t("duet-visually-hidden",{"aria-hidden":"true"},t("input",{ref:function(t){e.nativeInput=t},accept:!this.limitSelection?undefined:"".concat(this.allowedMimetypes,",").concat(this.allowedExtensions),onBlur:this.onBlur,onFocus:this.onFocus,onChange:function(t){return e.onChange(t)},type:"file",class:{"duet-upload":true},disabled:this.disabled,"aria-hidden":"true",required:this.required,name:this.name,id:this.identifier,multiple:this.multiple,tabIndex:-1}))))};e.prototype.makeXHRPostRequest=function(e){var t=this;var a=new XMLHttpRequest;var i=e.get("name");a.upload.addEventListener("progress",(function(e){t.updateProgress(e,i)}));a.upload.addEventListener("load",(function(){t.transferComplete(i)}));a.upload.addEventListener("error",(function(){t.transferFailed(i)}));a.upload.addEventListener("abort",(function(){t.transferCanceled(i)}));var n={payload:{data:e,name:i},options:{type:"POST",uri:this.uri,xhr:a,argument:null,headers:undefined},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};if(this.middleware){n=this.middleware(n)}return R(n)};e.prototype.makeXHRDeleteRequest=function(e){var t=e.uid,a=e.item;var i=new XMLHttpRequest;var n={"x-fileuid":t,"x-filename":a.name};var r={payload:{data:null,name:name},options:{type:"DELETE",xhr:i,uri:this.uri,argument:"?key=".concat(t,"&name=").concat(a.name),headers:n},onFailure:this.transferDoneWithFailure,onSuccess:this.transferDone,onProgress:this.trackProgress};if(this.middleware){r=this.middleware(r)}return R(r)};e.prototype.onChange=function(e){return __awaiter(this,void 0,void 0,(function(){var t,a,i,n,r,o,l,s,d,u,p,h,c,f,b;return __generator(this,(function(m){switch(m.label){case 0:a=Array.from((t=this.nativeInput)===null||t===void 0?void 0:t.files);if(!a)return[3,8];i=0,n=a;m.label=1;case 1:if(!(i<n.length))return[3,8];r=n[i];o=P(r,{maxBytes:this.maxBytes,allowedExtensions:this.allowedExtensions,allowedMimetypes:this.allowedMimetypes},this.errorCodes),l=o.valid,s=o.errorMessage,d=o.errorType,u=o.errorSystem;p=this.genHashName();h={uid:p,item:r,size:r.size,meta:this.metaData,uploaded:false,valid:l,error:{type:l?undefined:d,message:l?undefined:s,system_message:l?undefined:u},progress:0,deleted:false,xhr:false,url:false};this.files.set(r.name,h);c=this.validateTotals(r.name),f=c.bytesMaxReached,b=c.fileMaxReached;if(!f)return[3,2];this.updateValueInMap(r.name,"valid",false,false);return[3,6];case 2:if(!b)return[3,3];this.updateValueInMap(r.name,"valid",false,false);return[3,6];case 3:if(!(l&&!this.external))return[3,5];return[4,this.uploadFile(h)];case 4:m.sent();return[3,6];case 5:if(l&&this.external){this.updateValueInMap(h.item.name,"pending",true,false);this.updateValueInMap(h.item.name,"group","pending",true)}else if(!l){this.updateValueInMap(r.name,"valid",false,true)}m.label=6;case 6:this.kick();m.label=7;case 7:i++;return[3,1];case 8:this.resetFormFields();this.metaData=undefined;this.duetChange.emit({originalEvent:e,data:{files:this.files},component:"duet-upload"});return[2]}}))}))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{valid:["watchValidHandler"]}},enumerable:false,configurable:true});return e}());q.style=V}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{h as t,r as e,c as a,H as i,g as o}from"./p-1ef436d2.js";import{i as d}from"./p-4ebf1618.js";import{c as r}from"./p-c1325e35.js";import{F as s}from"./p-afb58e46.js";import{g as n,a as l,c,d as u}from"./p-076452be.js";import"./p-5a9d75e1.js";const p={day:"numeric",month:"long"},h={day:"numeric",month:"long",year:"numeric"},b={fi:{buttonLabel:"Valitse päivämäärä",prevMonthLabel:"Edellinen kuukausi",nextMonthLabel:"Seuraava kuukausi",monthSelectLabel:"Kuukausi",yearSelectLabel:"Vuosi",closeLabel:"Sulje ikkuna",selected:"Valittu päivämäärä on",keyboardInstruction:"Voit navigoida päivämääriä nuolinäppäimillä",dayLabels:["Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai","Sunnuntai"],monthLabels:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthLabelsShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],formatterShort:new Intl.DateTimeFormat("fi-FI",p),formatterLong:new Intl.DateTimeFormat("fi-FI",h)},en:{buttonLabel:"Choose date",prevMonthLabel:"Previous month",nextMonthLabel:"Next month",monthSelectLabel:"Month",yearSelectLabel:"Year",closeLabel:"Close window",selected:"Selected date is",keyboardInstruction:"You can use arrow keys to navigate dates",dayLabels:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthLabels:["January","February","March","April","May","June","July","August","September","October","November","December"],monthLabelsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("en-GB",p),formatterLong:new Intl.DateTimeFormat("en-GB",h)},sv:{buttonLabel:"Välj datum",prevMonthLabel:"Föregående månad",nextMonthLabel:"Nästa månad",monthSelectLabel:"Månad",yearSelectLabel:"År",closeLabel:"Stäng fönstret",selected:"Valt datum är",keyboardInstruction:"Använd piltangenterna för att navigera i kalender",dayLabels:["Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag","Söndag"],monthLabels:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthLabelsShort:["Jan","Feb","Mars","April","Maj","Juni","Juli","Aug","Sep","Okt","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("sv-SE",p),formatterLong:new Intl.DateTimeFormat("sv-SE",h)}};const m=({onClick:e,placeholder:a,name:i,inputLabel:o,value:d,valueAsDate:r,formattedValue:s,language:n,identifier:l,theme:c,disabled:u,error:p,role:h,required:m,tooltip:g,tooltipDirection:k,labelHidden:f,buttonRef:v,inputRef:y,onInput:x,onBlur:w,onFocus:S,accessibleActiveDescendant:D,accessibleControls:M,accessibleOwns:L,accessibleDescribedBy:I,echoPlaceholder:A,caption:F})=>{const{buttonLabel:C,selected:V,formatterLong:j}=b[n];return t("div",{class:{"duet-theme-turva":"turva"===c,"duet-date-input":!0}},t("duet-input",{label:o,value:s,placeholder:a,id:l,disabled:u,theme:c,error:p,role:h,required:m,tooltip:g,tooltipDirection:k,margin:"none",component:"date",labelHidden:f,accessibleAutocomplete:"none",onDuetInput:x,onDuetFocus:S,onDuetBlur:w,autoComplete:"off",disallowPattern:"[^0-9\\.\\-\\/]",expand:!0,ref:y,accessibleActiveDescendant:D,accessibleControls:M,accessibleOwns:L,accessibleDescribedBy:I,echoPlaceholder:A,caption:F},t("button",{class:{"duet-date-button":!0,"duet-no-label":f},onClick:e,disabled:u,ref:v,type:"button"},t("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M2.25 24A2.252 2.252 0 0 1 0 21.75V5.25A2.252 2.252 0 0 1 2.25 3H6V.75a.75.75 0 0 1 1.5 0V3h9V.75a.75.75 0 0 1 1.5 0V3h3.75A2.252 2.252 0 0 1 24 5.25v16.5A2.252 2.252 0 0 1 21.75 24zm-.75-2.25c0 .414.336.75.75.75h19.5a.75.75 0 0 0 .75-.75V10.5h-21zM22.5 9V5.25a.75.75 0 0 0-.75-.75H18V6a.75.75 0 0 1-1.5 0V4.5h-9V6A.75.75 0 0 1 6 6V4.5H2.25a.75.75 0 0 0-.75.75V9z"/><circle cx="5.625" cy="13.875" r="1.125"/><circle cx="5.625" cy="19.125" r="1.125"/><circle cx="12" cy="13.875" r="1.125"/><circle cx="12" cy="19.125" r="1.125"/><circle cx="18.375" cy="13.875" r="1.125"/><path d="M18.375 20.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.171-1.122l.027.003a1.118 1.118 0 0 1 1.052 1.12c0 .619-.505 1.124-1.125 1.124z"/></svg>',margin:"none",size:"small",color:"currentColor"}),t("duet-visually-hidden",null,C,r&&t("span",null,", ",V," ",j.format(r))))),t("input",{type:"hidden",name:i,value:d}))},g=/^(\d{1,2})[\.\-\/](\d{1,2})[\.\-\/](\d{4})$/,k=/^(\d{4})-(\d{2})-(\d{2})$/;function f(t,e,a){var i=parseInt(a,10),o=parseInt(e,10),d=parseInt(t,10);if(Number.isInteger(d)&&Number.isInteger(o)&&Number.isInteger(i)&&o>0&&o<=12&&i>0&&i<=31&&d>0)return new Date(d,o-1,i)}function v(t){if(!t)return;const e=t.match(g);return e?f(e[3],e[2],e[1]):void 0}function y(t){if(!t)return;const e=t.match(k);return e?f(e[1],e[2],e[3]):void 0}function x(t,e){if(!t)return"";var a=t.getDate().toString(10),i=(t.getMonth()+1).toString(10),o=t.getFullYear().toString(10);return t.getDate()<10&&(a=`0${a}`),t.getMonth()<9&&(i=`0${i}`),e.replace(/MM/i,i).replace(/YYYY/i,o).replace(/DD/i,a)}function w(t,e){return null!=t&&null!=e&&t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function S(t,e){var a=new Date(t);return a.setDate(a.getDate()+e),a}function D(t,e=1){var a=new Date(t),i=a.getDay(),o=(i<e?7:0)+i-e;return a.setDate(a.getDate()-o),a}function M(t,e=1){var a=new Date(t),i=a.getDay(),o=6+(i<e?-7:0)-(i-e);return a.setDate(a.getDate()+o),a}function L(t){return new Date(t.getFullYear(),t.getMonth(),1)}function I(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function A(t,e){const a=new Date(t);return a.setMonth(e),a}function F(t,e){const a=new Date(t);return a.setFullYear(e),a}function C(t,e,a){return V(t,e,a)===t}function V(t,e,a){const i=t.getTime();return e&&e instanceof Date&&i<e.getTime()?e:a&&a instanceof Date&&i>a.getTime()?a:t}const j=({focusedDay:e,today:a,day:i,language:o,onDaySelect:d,onKeyboardNavigation:r,ref:s,inRange:n,isSelected:l})=>{const c=w(i,a),u=w(i,e),p=i.getMonth()!==e.getMonth(),h=!n,{formatterShort:m}=b[o];return t("button",{class:{"duet-date-table-button":!0,outside:h,disabled:p,today:c},tabIndex:u?0:-1,onClick:function(t){d(t,i)},onKeyDown:r,"aria-disabled":h||p,"aria-pressed":l?"true":"false",type:"button",ref:s},t("span",{"aria-hidden":"true"},i.getDate()),t("duet-visually-hidden",null,m.format(i)))};function z(t){var e;const a=t.trim().split("+"),i=a.pop();return["shift"===(null===(e=a[0])||void 0===e?void 0:e.toLowerCase()),i]}function E(t){const e=Object.keys(t).map((e=>[z(e),t[e]]));return function(t){if(!(t instanceof KeyboardEvent))return;const a=e.find((([[e,a]])=>(a.toUpperCase()===t.key.toUpperCase()||a===t.code)&&e===t.shiftKey));a&&(a[1](t),t.preventDefault())}}const U=({selectedDate:e,focusedDate:a,labelledById:i,theme:o,language:d,min:r,max:s,onDateSelect:n,onKeyboardNavigation:l,focusedDayRef:c,onFocusEnter:u,onFocusExit:p})=>{const{dayLabels:h}=b[d],m=new Date,g=function(t,e=1){return function(t,e){const a=[];let i=t;for(;!w(i,e);)a.push(i),i=S(i,1);return a.push(i),a}(D(L(t),e),M(I(t),e))}(a);return t("table",{class:{"duet-date-table":!0,"duet-theme-turva":"turva"===o},"aria-labelledby":i,onFocusin:u,onFocusout:function(t){const e=t.relatedTarget;e&&!t.currentTarget.contains(e)&&p(t)}},t("thead",null,t("tr",null,h.map((e=>t("th",{scope:"col"},t("span",{"aria-hidden":"true"},e.substr(0,2)),t("duet-visually-hidden",null,e)))))),t("tbody",null,function(t){const e=[];for(let a=0;a<t.length;a+=7)e.push(t.slice(a,a+7));return e}(g).map((i=>t("tr",{class:"duet-date-table-row"},i.map((i=>t("td",{class:"duet-date-table-cell"},t(j,{day:i,today:m,language:d,focusedDay:a,inRange:C(i,r,s),isSelected:w(i,e),onDaySelect:n,onKeyboardNavigation:l,ref:t=>{t&&w(i,a)&&c(t)}})))))))))},H=class{constructor(t){e(this,t),this.duetChange=a(this,"duetChange",7),this.duetBlur=a(this,"duetBlur",7),this.duetFocus=a(this,"duetFocus",7),this.monthSelectId=r("DuetDatePicker"),this.yearSelectId=r("DuetDatePicker"),this.dialogLabelId=r("DuetDatePicker"),this.initialTouchX=null,this.initialTouchY=null,this.focusTarget=null,this.enableActiveFocus=()=>{this.focusTarget="day-button"},this.disableActiveFocus=()=>{this.focusTarget=null},this.toggleOpen=t=>{t.preventDefault(),this.open?this.hide(!1):this.show()},this.handleBlur=t=>{t.stopPropagation(),this.duetBlur.emit({component:"duet-date-picker"})},this.handleFocus=t=>{t.stopPropagation(),this.duetFocus.emit({component:"duet-date-picker"})},this.handleTouchStart=t=>{const e=t.changedTouches[0];this.initialTouchX=e.pageX,this.initialTouchY=e.pageY},this.handleTouchMove=t=>{t.preventDefault()},this.handleTouchEnd=t=>{const e=t.changedTouches[0],a=e.pageX-this.initialTouchX,i=e.pageY-this.initialTouchY,o=Math.abs(a)>=70&&Math.abs(i)<=70,d=Math.abs(i)>=70&&Math.abs(a)<=70&&i>0;o?this.addMonths(a<0?1:-1):d&&(this.hide(),t.preventDefault()),this.initialTouchY=null,this.initialTouchX=null},this.handleNextMonthClick=t=>{t.preventDefault(),this.addMonths(1)},this.handlePreviousMonthClick=t=>{t.preventDefault(),this.addMonths(-1)},this.handleEscKey=E({Escape:()=>this.hide(),Esc:()=>this.hide()}),this.handleKeyboardNavigation=E({ArrowRight:()=>this.addDays(1),Right:()=>this.addDays(1),ArrowLeft:()=>this.addDays(-1),Left:()=>this.addDays(-1),ArrowDown:()=>this.addDays(7),Down:()=>this.addDays(7),ArrowUp:()=>this.addDays(-7),Up:()=>this.addDays(-7),Home:()=>this.startOfWeek(),End:()=>this.endOfWeek(),PageUp:()=>this.addMonths(-1),PageDown:()=>this.addMonths(1),"Shift+PageUp":()=>this.addYears(-1),"Shift+PageDown":()=>this.addYears(1)}),this.handleDaySelect=(t,e)=>{const a=y(this.min),i=y(this.max);this.determineValidity(e),C(e,a,i)&&(this.setValue(e),this.hide())},this.handleMonthSelect=t=>{this.setMonth(parseInt(t.target.value,10))},this.handleYearSelect=t=>{this.setYear(parseInt(t.target.value,10))},this.handleInputChange=t=>{this.inputValue=t.detail.value;const e=v(this.inputValue);this.determineValidity(e),(e||""===this.inputValue)&&this.setValue(e)},this.open=!1,this.focusedDay=new Date,this.inputValue="",this.theme="",this.expand=!1,this.name="",this.identifier="",this.label="",this.caption=void 0,this.margin="auto",this.language=n(),this.placeholderDefaults={fi:"pp.kk.vvvv",en:"dd.mm.yyyy",sv:"dd.mm.åååå"},this.placeholder=l(this.placeholderDefaults,this.language),this.echoPlaceholder=!1,this.disabled=!1,this.error="",this.labelHidden=!1,this.role=void 0,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.required=!1,this.direction="right",this.tooltip="",this.tooltipDirection="auto",this.value="",this.min="",this.max="",this.incrementYears=10,this.validity=void 0}watchLanguageStateHandler(t,e){t!==e&&this.placeholder===this.placeholderDefaults[e]&&(this.placeholder=l(this.placeholderDefaults,t))}updateValidity(){this.determineValidity(y(this.value))}updateInternalValue(){const t=y(this.value),e=v(this.inputValue);t?w(t,e)||(this.inputValue=x(t,"dd.mm.yyyy")):this.inputValue=""}componentWillLoad(){d(this),this.determineValidity(y(this.value)),this.updateInternalValue()}componentDidUpdate(){switch(this.focusTarget){case"toggle-button":this.datePickerButton.focus(),this.focusTarget=null;break;case"day-button":this.focusedDayNode.focus();break;case"month-select":this.monthSelectNode.focus(),this.focusTarget=null}}connectedCallback(){c(this)}disconnectedCallback(){u(this)}async setFocus(t){this.datePickerInput.setFocus(t)}async show(){this.open=!0,this.focusTarget="month-select",this.setFocusedDay(y(this.value)||new Date)}async hide(t=!0){this.open=!1,t&&(this.focusTarget="toggle-button")}addDays(t){this.setFocusedDay(S(this.focusedDay,t))}addMonths(t){this.setMonth(this.focusedDay.getMonth()+t)}addYears(t){this.setYear(this.focusedDay.getFullYear()+t)}startOfWeek(){this.setFocusedDay(D(this.focusedDay))}endOfWeek(){this.setFocusedDay(M(this.focusedDay))}setMonth(t){const e=A(L(this.focusedDay),t),a=I(e),i=A(this.focusedDay,t);this.setFocusedDay(V(i,e,a))}setYear(t){const e=F(L(this.focusedDay),t),a=I(e),i=F(this.focusedDay,t);this.setFocusedDay(V(i,e,a))}setFocusedDay(t){this.focusedDay=V(t,y(this.min),y(this.max))}determineValidity(t){var e,a;const i=""!==(null!==(a=null===(e=this.datePickerInput)||void 0===e?void 0:e.value)&&void 0!==a?a:"")&&null==t,o=this.required&&null==t,d=!!t&&!C(t,null,y(this.max)),r=!!t&&!C(t,y(this.min));this.validity={patternMismatch:!1,customError:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:o,badInput:i,rangeUnderflow:r,rangeOverflow:d,valid:!(o||i||r||d)}}setValue(t){const e=function(t){return x(t,"YYYY-MM-DD")}(t);e!==this.value&&(this.value=e,this.duetChange.emit({component:"duet-date-picker",value:this.value,valueAsDate:t}))}handleDocumentClick(t){this.open&&t.composedPath().every((t=>t!==this.dialogWrapperNode&&t!==this.datePickerButton))&&this.hide(!1)}render(){const e=y(this.value),a=(e||this.focusedDay).getFullYear(),o=this.focusedDay.getMonth(),d=this.focusedDay.getFullYear(),r=b[this.language],n=y(this.min),l=y(this.max),c=null!=n&&n.getMonth()===o&&n.getFullYear()===d,u=null!=l&&l.getMonth()===o&&l.getFullYear()===d;let p=a-this.incrementYears,h=a+this.incrementYears;return n&&(p=Math.max(p,n.getFullYear())),l&&(h=Math.min(h,l.getFullYear())),t(i,{class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},t("div",{class:"duet-date"},t(m,{value:this.value,valueAsDate:e,formattedValue:this.inputValue,language:this.language,onInput:this.handleInputChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onClick:this.toggleOpen,name:this.name,disabled:this.disabled,error:this.error,role:this.role,required:this.required,theme:this.theme,tooltip:this.tooltip,tooltipDirection:this.tooltipDirection,labelHidden:this.labelHidden,placeholder:this.placeholder,inputLabel:this.label,identifier:this.identifier,buttonRef:t=>this.datePickerButton=t,inputRef:t=>this.datePickerInput=t,accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy,echoPlaceholder:this.echoPlaceholder,caption:this.caption})),t("div",{class:{"duet-theme-turva":"turva"===this.theme,"duet-date-dialog":!0,left:"left"===this.direction,error:!!this.error,active:this.open},role:"dialog","aria-modal":"true","aria-hidden":this.open?"false":"true","aria-labelledby":this.dialogLabelId,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},t(s,{moveFocusTo:this.focusedDayNode}),t("div",{class:"duet-date-dialog-wrapper",onKeyDown:this.handleEscKey,ref:t=>this.dialogWrapperNode=t},t("duet-visually-hidden",{"aria-live":"polite"},r.keyboardInstruction),t("div",{class:"duet-date-dialog-mobile-header"},t("duet-label",{margin:"none"},this.label),t("button",{class:"duet-date-picker-close",ref:t=>this.closeButtonNode=t,onClick:()=>this.hide(),type:"button"},t("duet-icon",{name:"navigation-close-small",margin:"none",color:"currentColor",size:"xx-small"}),t("duet-visually-hidden",null,r.closeLabel))),t("div",{class:"duet-date-dialog-header"},t("div",{class:"duet-date-dialog-dropdowns"},t("duet-visually-hidden",null,t("h2",{id:this.dialogLabelId,"aria-live":"polite","aria-atomic":"true"},r.monthLabels[o]," ",this.focusedDay.getFullYear())),t("duet-visually-hidden",null,t("label",{htmlFor:this.monthSelectId},r.monthSelectLabel)),t("div",{class:"duet-date-dialog-select"},t("select",{id:this.monthSelectId,class:"duet-date-month-select",ref:t=>this.monthSelectNode=t,onChange:this.handleMonthSelect},r.monthLabels.map(((e,a)=>t("option",{key:e,value:a,selected:a===o,disabled:!C(new Date(d,a,1),n?L(n):null,l?I(l):null)},e)))),t("div",{class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",null,r.monthLabelsShort[o]),t("duet-icon",{name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"}))),t("duet-visually-hidden",null,t("label",{htmlFor:this.yearSelectId},r.yearSelectLabel)),t("div",{class:"duet-date-dialog-select"},t("select",{id:this.yearSelectId,class:"duet-date-year-select",onChange:this.handleYearSelect},function(t,e){for(var a=[],i=t;i<=e;i++)a.push(i);return a}(p,h).map((e=>t("option",{key:e,selected:e===d},e)))),t("div",{class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",null,this.focusedDay.getFullYear()),t("duet-icon",{name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"})))),t("div",{class:"duet-date-dialog-buttons"},t("duet-action-button",{accessibleLabel:b[this.language].prevMonthLabel,actionName:b[this.language].prevMonthLabel,class:"duet-date-dialog-prev",onClick:this.handlePreviousMonthClick,disabled:c,"icon-name":"action-arrow-left-small"},r.prevMonthLabel),t("duet-action-button",{accessibleLabel:b[this.language].nextMonthLabel,actionName:b[this.language].nextMonthLabel,class:"duet-date-dialog-next",onClick:this.handleNextMonthClick,disabled:u,"icon-name":"action-arrow-right-small"},r.nextMonthLabel))),t(U,{selectedDate:e,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,language:this.language,theme:this.theme,min:n,max:l,focusedDayRef:t=>this.focusedDayNode=t,onFocusEnter:this.enableActiveFocus,onFocusExit:this.disableActiveFocus})),t(s,{moveFocusTo:this.closeButtonNode})))}get element(){return o(this)}static get watchers(){return{language:["watchLanguageStateHandler"],min:["updateValidity"],max:["updateValidity"],value:["updateValidity","updateInternalValue"],required:["updateValidity"]}}};H.style='*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;display:flex;align-items:center;justify-content:center;width:48px;height:calc(100% - 2px);color:rgb(0, 41, 77);cursor:pointer;background:transparent !important;border-left:1px solid rgb(207, 210, 212) !important;border-radius:0 4px 4px 0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(207, 207, 209)}.duet-date-button.sc-duet-date-picker::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(207, 210, 212, 0.2) 0%, rgba(207, 210, 212, 0.2) 1px, rgba(207, 210, 212, 0.1) 1px, rgba(207, 210, 212, 0) 100%)}.duet-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 245, 247) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-button.sc-duet-date-picker:focus{color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px rgb(0, 119, 179)}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px rgb(23, 28, 58)}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;background:rgba(0, 41, 77, 0.75);transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}.duet-date-dialog.duet-theme-turva.sc-duet-date-picker{background:rgba(23, 28, 58, 0.75)}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(228, 228, 230)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva.sc-duet-date-picker{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-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table-button.sc-duet-date-picker{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !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:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25 !important;color:rgb(0, 41, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(230, 242, 248) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(249, 230, 234) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 77, 128) !important;background:rgb(243, 249, 252) !important;box-shadow:0 0 0 1px rgb(0, 119, 179) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(148, 9, 37) !important;background:rgb(252, 243, 244) !important;box-shadow:0 0 0 1px rgb(198, 12, 48) !important}.duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px rgb(0, 119, 179) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:focus{z-index:200;box-shadow:0 0 5px rgb(0, 119, 179) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{box-shadow:0 0 5px rgb(198, 12, 48) !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(144, 149, 153) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(116, 116, 117) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(144, 149, 153) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(116, 116, 117);background:rgb(245, 245, 247);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 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:1.25rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);pointer-events:none;border-radius:4px}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{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-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px rgb(0, 119, 179)}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px rgb(23, 28, 58)}.duet-date-dialog-mobile-header.sc-duet-date-picker{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(207, 210, 212)}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(207, 207, 209)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(0, 41, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 245, 247) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 245, 247) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px rgb(0, 119, 179)}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px rgb(23, 28, 58)}';export{H as duet_date_picker}
4
+ import{h as t,r as e,c as a,H as i,g as o}from"./p-f235b6ff.js";import{i as d}from"./p-4ebf1618.js";import{c as r}from"./p-c1325e35.js";import{F as s}from"./p-9fb2e28a.js";import{g as n,a as l,c,d as u}from"./p-076452be.js";import"./p-5a9d75e1.js";const p={day:"numeric",month:"long"},h={day:"numeric",month:"long",year:"numeric"},b={fi:{buttonLabel:"Valitse päivämäärä",prevMonthLabel:"Edellinen kuukausi",nextMonthLabel:"Seuraava kuukausi",monthSelectLabel:"Kuukausi",yearSelectLabel:"Vuosi",closeLabel:"Sulje ikkuna",selected:"Valittu päivämäärä on",keyboardInstruction:"Voit navigoida päivämääriä nuolinäppäimillä",dayLabels:["Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai","Sunnuntai"],monthLabels:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthLabelsShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],formatterShort:new Intl.DateTimeFormat("fi-FI",p),formatterLong:new Intl.DateTimeFormat("fi-FI",h)},en:{buttonLabel:"Choose date",prevMonthLabel:"Previous month",nextMonthLabel:"Next month",monthSelectLabel:"Month",yearSelectLabel:"Year",closeLabel:"Close window",selected:"Selected date is",keyboardInstruction:"You can use arrow keys to navigate dates",dayLabels:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthLabels:["January","February","March","April","May","June","July","August","September","October","November","December"],monthLabelsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("en-GB",p),formatterLong:new Intl.DateTimeFormat("en-GB",h)},sv:{buttonLabel:"Välj datum",prevMonthLabel:"Föregående månad",nextMonthLabel:"Nästa månad",monthSelectLabel:"Månad",yearSelectLabel:"År",closeLabel:"Stäng fönstret",selected:"Valt datum är",keyboardInstruction:"Använd piltangenterna för att navigera i kalender",dayLabels:["Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag","Söndag"],monthLabels:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthLabelsShort:["Jan","Feb","Mars","April","Maj","Juni","Juli","Aug","Sep","Okt","Nov","Dec"],formatterShort:new Intl.DateTimeFormat("sv-SE",p),formatterLong:new Intl.DateTimeFormat("sv-SE",h)}};const m=({onClick:e,placeholder:a,name:i,inputLabel:o,value:d,valueAsDate:r,formattedValue:s,language:n,identifier:l,theme:c,disabled:u,error:p,role:h,required:m,tooltip:g,tooltipDirection:k,labelHidden:f,buttonRef:v,inputRef:y,onInput:x,onBlur:w,onFocus:S,accessibleActiveDescendant:D,accessibleControls:M,accessibleOwns:L,accessibleDescribedBy:I,echoPlaceholder:A,caption:F})=>{const{buttonLabel:C,selected:V,formatterLong:j}=b[n];return t("div",{class:{"duet-theme-turva":"turva"===c,"duet-date-input":!0}},t("duet-input",{label:o,value:s,placeholder:a,id:l,disabled:u,theme:c,error:p,role:h,required:m,tooltip:g,tooltipDirection:k,margin:"none",component:"date",labelHidden:f,accessibleAutocomplete:"none",onDuetInput:x,onDuetFocus:S,onDuetBlur:w,autoComplete:"off",disallowPattern:"[^0-9\\.\\-\\/]",expand:!0,ref:y,accessibleActiveDescendant:D,accessibleControls:M,accessibleOwns:L,accessibleDescribedBy:I,echoPlaceholder:A,caption:F},t("button",{class:{"duet-date-button":!0,"duet-no-label":f},onClick:e,disabled:u,ref:v,type:"button"},t("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M2.25 24A2.252 2.252 0 0 1 0 21.75V5.25A2.252 2.252 0 0 1 2.25 3H6V.75a.75.75 0 0 1 1.5 0V3h9V.75a.75.75 0 0 1 1.5 0V3h3.75A2.252 2.252 0 0 1 24 5.25v16.5A2.252 2.252 0 0 1 21.75 24zm-.75-2.25c0 .414.336.75.75.75h19.5a.75.75 0 0 0 .75-.75V10.5h-21zM22.5 9V5.25a.75.75 0 0 0-.75-.75H18V6a.75.75 0 0 1-1.5 0V4.5h-9V6A.75.75 0 0 1 6 6V4.5H2.25a.75.75 0 0 0-.75.75V9z"/><circle cx="5.625" cy="13.875" r="1.125"/><circle cx="5.625" cy="19.125" r="1.125"/><circle cx="12" cy="13.875" r="1.125"/><circle cx="12" cy="19.125" r="1.125"/><circle cx="18.375" cy="13.875" r="1.125"/><path d="M18.375 20.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.171-1.122l.027.003a1.118 1.118 0 0 1 1.052 1.12c0 .619-.505 1.124-1.125 1.124z"/></svg>',margin:"none",size:"small",color:"currentColor"}),t("duet-visually-hidden",null,C,r&&t("span",null,", ",V," ",j.format(r))))),t("input",{type:"hidden",name:i,value:d}))},g=/^(\d{1,2})[\.\-\/](\d{1,2})[\.\-\/](\d{4})$/,k=/^(\d{4})-(\d{2})-(\d{2})$/;function f(t,e,a){var i=parseInt(a,10),o=parseInt(e,10),d=parseInt(t,10);if(Number.isInteger(d)&&Number.isInteger(o)&&Number.isInteger(i)&&o>0&&o<=12&&i>0&&i<=31&&d>0)return new Date(d,o-1,i)}function v(t){if(!t)return;const e=t.match(g);return e?f(e[3],e[2],e[1]):void 0}function y(t){if(!t)return;const e=t.match(k);return e?f(e[1],e[2],e[3]):void 0}function x(t,e){if(!t)return"";var a=t.getDate().toString(10),i=(t.getMonth()+1).toString(10),o=t.getFullYear().toString(10);return t.getDate()<10&&(a=`0${a}`),t.getMonth()<9&&(i=`0${i}`),e.replace(/MM/i,i).replace(/YYYY/i,o).replace(/DD/i,a)}function w(t,e){return null!=t&&null!=e&&t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function S(t,e){var a=new Date(t);return a.setDate(a.getDate()+e),a}function D(t,e=1){var a=new Date(t),i=a.getDay(),o=(i<e?7:0)+i-e;return a.setDate(a.getDate()-o),a}function M(t,e=1){var a=new Date(t),i=a.getDay(),o=6+(i<e?-7:0)-(i-e);return a.setDate(a.getDate()+o),a}function L(t){return new Date(t.getFullYear(),t.getMonth(),1)}function I(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function A(t,e){const a=new Date(t);return a.setMonth(e),a}function F(t,e){const a=new Date(t);return a.setFullYear(e),a}function C(t,e,a){return V(t,e,a)===t}function V(t,e,a){const i=t.getTime();return e&&e instanceof Date&&i<e.getTime()?e:a&&a instanceof Date&&i>a.getTime()?a:t}const j=({focusedDay:e,today:a,day:i,language:o,onDaySelect:d,onKeyboardNavigation:r,ref:s,inRange:n,isSelected:l})=>{const c=w(i,a),u=w(i,e),p=i.getMonth()!==e.getMonth(),h=!n,{formatterShort:m}=b[o];return t("button",{class:{"duet-date-table-button":!0,outside:h,disabled:p,today:c},tabIndex:u?0:-1,onClick:function(t){d(t,i)},onKeyDown:r,"aria-disabled":h||p,"aria-pressed":l?"true":"false",type:"button",ref:s},t("span",{"aria-hidden":"true"},i.getDate()),t("duet-visually-hidden",null,m.format(i)))};function z(t){var e;const a=t.trim().split("+"),i=a.pop();return["shift"===(null===(e=a[0])||void 0===e?void 0:e.toLowerCase()),i]}function E(t){const e=Object.keys(t).map((e=>[z(e),t[e]]));return function(t){if(!(t instanceof KeyboardEvent))return;const a=e.find((([[e,a]])=>(a.toUpperCase()===t.key.toUpperCase()||a===t.code)&&e===t.shiftKey));a&&(a[1](t),t.preventDefault())}}const U=({selectedDate:e,focusedDate:a,labelledById:i,theme:o,language:d,min:r,max:s,onDateSelect:n,onKeyboardNavigation:l,focusedDayRef:c,onFocusEnter:u,onFocusExit:p})=>{const{dayLabels:h}=b[d],m=new Date,g=function(t,e=1){return function(t,e){const a=[];let i=t;for(;!w(i,e);)a.push(i),i=S(i,1);return a.push(i),a}(D(L(t),e),M(I(t),e))}(a);return t("table",{class:{"duet-date-table":!0,"duet-theme-turva":"turva"===o},"aria-labelledby":i,onFocusin:u,onFocusout:function(t){const e=t.relatedTarget;e&&!t.currentTarget.contains(e)&&p(t)}},t("thead",null,t("tr",null,h.map((e=>t("th",{scope:"col"},t("span",{"aria-hidden":"true"},e.substr(0,2)),t("duet-visually-hidden",null,e)))))),t("tbody",null,function(t){const e=[];for(let a=0;a<t.length;a+=7)e.push(t.slice(a,a+7));return e}(g).map((i=>t("tr",{class:"duet-date-table-row"},i.map((i=>t("td",{class:"duet-date-table-cell"},t(j,{day:i,today:m,language:d,focusedDay:a,inRange:C(i,r,s),isSelected:w(i,e),onDaySelect:n,onKeyboardNavigation:l,ref:t=>{t&&w(i,a)&&c(t)}})))))))))},H=class{constructor(t){e(this,t),this.duetChange=a(this,"duetChange",7),this.duetBlur=a(this,"duetBlur",7),this.duetFocus=a(this,"duetFocus",7),this.monthSelectId=r("DuetDatePicker"),this.yearSelectId=r("DuetDatePicker"),this.dialogLabelId=r("DuetDatePicker"),this.initialTouchX=null,this.initialTouchY=null,this.focusTarget=null,this.enableActiveFocus=()=>{this.focusTarget="day-button"},this.disableActiveFocus=()=>{this.focusTarget=null},this.toggleOpen=t=>{t.preventDefault(),this.open?this.hide(!1):this.show()},this.handleBlur=t=>{t.stopPropagation(),this.duetBlur.emit({component:"duet-date-picker"})},this.handleFocus=t=>{t.stopPropagation(),this.duetFocus.emit({component:"duet-date-picker"})},this.handleTouchStart=t=>{const e=t.changedTouches[0];this.initialTouchX=e.pageX,this.initialTouchY=e.pageY},this.handleTouchMove=t=>{t.preventDefault()},this.handleTouchEnd=t=>{const e=t.changedTouches[0],a=e.pageX-this.initialTouchX,i=e.pageY-this.initialTouchY,o=Math.abs(a)>=70&&Math.abs(i)<=70,d=Math.abs(i)>=70&&Math.abs(a)<=70&&i>0;o?this.addMonths(a<0?1:-1):d&&(this.hide(),t.preventDefault()),this.initialTouchY=null,this.initialTouchX=null},this.handleNextMonthClick=t=>{t.preventDefault(),this.addMonths(1)},this.handlePreviousMonthClick=t=>{t.preventDefault(),this.addMonths(-1)},this.handleEscKey=E({Escape:()=>this.hide(),Esc:()=>this.hide()}),this.handleKeyboardNavigation=E({ArrowRight:()=>this.addDays(1),Right:()=>this.addDays(1),ArrowLeft:()=>this.addDays(-1),Left:()=>this.addDays(-1),ArrowDown:()=>this.addDays(7),Down:()=>this.addDays(7),ArrowUp:()=>this.addDays(-7),Up:()=>this.addDays(-7),Home:()=>this.startOfWeek(),End:()=>this.endOfWeek(),PageUp:()=>this.addMonths(-1),PageDown:()=>this.addMonths(1),"Shift+PageUp":()=>this.addYears(-1),"Shift+PageDown":()=>this.addYears(1)}),this.handleDaySelect=(t,e)=>{const a=y(this.min),i=y(this.max);this.determineValidity(e),C(e,a,i)&&(this.setValue(e),this.hide())},this.handleMonthSelect=t=>{this.setMonth(parseInt(t.target.value,10))},this.handleYearSelect=t=>{this.setYear(parseInt(t.target.value,10))},this.handleInputChange=t=>{this.inputValue=t.detail.value;const e=v(this.inputValue);this.determineValidity(e),(e||""===this.inputValue)&&this.setValue(e)},this.open=!1,this.focusedDay=new Date,this.inputValue="",this.theme="",this.expand=!1,this.name="",this.identifier="",this.label="",this.caption=void 0,this.margin="auto",this.language=n(),this.placeholderDefaults={fi:"pp.kk.vvvv",en:"dd.mm.yyyy",sv:"dd.mm.åååå"},this.placeholder=l(this.placeholderDefaults,this.language),this.echoPlaceholder=!1,this.disabled=!1,this.error="",this.labelHidden=!1,this.role=void 0,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.required=!1,this.direction="right",this.tooltip="",this.tooltipDirection="auto",this.value="",this.min="",this.max="",this.incrementYears=10,this.validity=void 0}watchLanguageStateHandler(t,e){t!==e&&this.placeholder===this.placeholderDefaults[e]&&(this.placeholder=l(this.placeholderDefaults,t))}updateValidity(){this.determineValidity(y(this.value))}updateInternalValue(){const t=y(this.value),e=v(this.inputValue);t?w(t,e)||(this.inputValue=x(t,"dd.mm.yyyy")):this.inputValue=""}componentWillLoad(){d(this),this.determineValidity(y(this.value)),this.updateInternalValue()}componentDidUpdate(){switch(this.focusTarget){case"toggle-button":this.datePickerButton.focus(),this.focusTarget=null;break;case"day-button":this.focusedDayNode.focus();break;case"month-select":this.monthSelectNode.focus(),this.focusTarget=null}}connectedCallback(){c(this)}disconnectedCallback(){u(this)}async setFocus(t){this.datePickerInput.setFocus(t)}async show(){this.open=!0,this.focusTarget="month-select",this.setFocusedDay(y(this.value)||new Date)}async hide(t=!0){this.open=!1,t&&(this.focusTarget="toggle-button")}addDays(t){this.setFocusedDay(S(this.focusedDay,t))}addMonths(t){this.setMonth(this.focusedDay.getMonth()+t)}addYears(t){this.setYear(this.focusedDay.getFullYear()+t)}startOfWeek(){this.setFocusedDay(D(this.focusedDay))}endOfWeek(){this.setFocusedDay(M(this.focusedDay))}setMonth(t){const e=A(L(this.focusedDay),t),a=I(e),i=A(this.focusedDay,t);this.setFocusedDay(V(i,e,a))}setYear(t){const e=F(L(this.focusedDay),t),a=I(e),i=F(this.focusedDay,t);this.setFocusedDay(V(i,e,a))}setFocusedDay(t){this.focusedDay=V(t,y(this.min),y(this.max))}determineValidity(t){var e,a;const i=""!==(null!==(a=null===(e=this.datePickerInput)||void 0===e?void 0:e.value)&&void 0!==a?a:"")&&null==t,o=this.required&&null==t,d=!!t&&!C(t,null,y(this.max)),r=!!t&&!C(t,y(this.min));this.validity={patternMismatch:!1,customError:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:o,badInput:i,rangeUnderflow:r,rangeOverflow:d,valid:!(o||i||r||d)}}setValue(t){const e=function(t){return x(t,"YYYY-MM-DD")}(t);e!==this.value&&(this.value=e,this.duetChange.emit({component:"duet-date-picker",value:this.value,valueAsDate:t}))}handleDocumentClick(t){this.open&&t.composedPath().every((t=>t!==this.dialogWrapperNode&&t!==this.datePickerButton))&&this.hide(!1)}render(){const e=y(this.value),a=(e||this.focusedDay).getFullYear(),o=this.focusedDay.getMonth(),d=this.focusedDay.getFullYear(),r=b[this.language],n=y(this.min),l=y(this.max),c=null!=n&&n.getMonth()===o&&n.getFullYear()===d,u=null!=l&&l.getMonth()===o&&l.getFullYear()===d;let p=a-this.incrementYears,h=a+this.incrementYears;return n&&(p=Math.max(p,n.getFullYear())),l&&(h=Math.min(h,l.getFullYear())),t(i,{class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},t("div",{class:"duet-date"},t(m,{value:this.value,valueAsDate:e,formattedValue:this.inputValue,language:this.language,onInput:this.handleInputChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onClick:this.toggleOpen,name:this.name,disabled:this.disabled,error:this.error,role:this.role,required:this.required,theme:this.theme,tooltip:this.tooltip,tooltipDirection:this.tooltipDirection,labelHidden:this.labelHidden,placeholder:this.placeholder,inputLabel:this.label,identifier:this.identifier,buttonRef:t=>this.datePickerButton=t,inputRef:t=>this.datePickerInput=t,accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy,echoPlaceholder:this.echoPlaceholder,caption:this.caption})),t("div",{class:{"duet-theme-turva":"turva"===this.theme,"duet-date-dialog":!0,left:"left"===this.direction,error:!!this.error,active:this.open},role:"dialog","aria-modal":"true","aria-hidden":this.open?"false":"true","aria-labelledby":this.dialogLabelId,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},t(s,{moveFocusTo:this.focusedDayNode}),t("div",{class:"duet-date-dialog-wrapper",onKeyDown:this.handleEscKey,ref:t=>this.dialogWrapperNode=t},t("duet-visually-hidden",{"aria-live":"polite"},r.keyboardInstruction),t("div",{class:"duet-date-dialog-mobile-header"},t("duet-label",{margin:"none"},this.label),t("button",{class:"duet-date-picker-close",ref:t=>this.closeButtonNode=t,onClick:()=>this.hide(),type:"button"},t("duet-icon",{name:"navigation-close-small",margin:"none",color:"currentColor",size:"xx-small"}),t("duet-visually-hidden",null,r.closeLabel))),t("div",{class:"duet-date-dialog-header"},t("div",{class:"duet-date-dialog-dropdowns"},t("duet-visually-hidden",null,t("h2",{id:this.dialogLabelId,"aria-live":"polite","aria-atomic":"true"},r.monthLabels[o]," ",this.focusedDay.getFullYear())),t("duet-visually-hidden",null,t("label",{htmlFor:this.monthSelectId},r.monthSelectLabel)),t("div",{class:"duet-date-dialog-select"},t("select",{id:this.monthSelectId,class:"duet-date-month-select",ref:t=>this.monthSelectNode=t,onChange:this.handleMonthSelect},r.monthLabels.map(((e,a)=>t("option",{key:e,value:a,selected:a===o,disabled:!C(new Date(d,a,1),n?L(n):null,l?I(l):null)},e)))),t("div",{class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",null,r.monthLabelsShort[o]),t("duet-icon",{name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"}))),t("duet-visually-hidden",null,t("label",{htmlFor:this.yearSelectId},r.yearSelectLabel)),t("div",{class:"duet-date-dialog-select"},t("select",{id:this.yearSelectId,class:"duet-date-year-select",onChange:this.handleYearSelect},function(t,e){for(var a=[],i=t;i<=e;i++)a.push(i);return a}(p,h).map((e=>t("option",{key:e,selected:e===d},e)))),t("div",{class:"duet-date-dialog-select-label","aria-hidden":"true"},t("span",null,this.focusedDay.getFullYear()),t("duet-icon",{name:"action-arrow-down-small",color:"currentColor",margin:"none",size:"xxx-small"})))),t("div",{class:"duet-date-dialog-buttons"},t("duet-action-button",{accessibleLabel:b[this.language].prevMonthLabel,actionName:b[this.language].prevMonthLabel,class:"duet-date-dialog-prev",onClick:this.handlePreviousMonthClick,disabled:c,"icon-name":"action-arrow-left-small"},r.prevMonthLabel),t("duet-action-button",{accessibleLabel:b[this.language].nextMonthLabel,actionName:b[this.language].nextMonthLabel,class:"duet-date-dialog-next",onClick:this.handleNextMonthClick,disabled:u,"icon-name":"action-arrow-right-small"},r.nextMonthLabel))),t(U,{selectedDate:e,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,language:this.language,theme:this.theme,min:n,max:l,focusedDayRef:t=>this.focusedDayNode=t,onFocusEnter:this.enableActiveFocus,onFocusExit:this.disableActiveFocus})),t(s,{moveFocusTo:this.closeButtonNode})))}get element(){return o(this)}static get watchers(){return{language:["watchLanguageStateHandler"],min:["updateValidity"],max:["updateValidity"],value:["updateValidity","updateInternalValue"],required:["updateValidity"]}}};H.style='*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;display:flex;align-items:center;justify-content:center;width:48px;height:calc(100% - 2px);color:rgb(0, 41, 77);cursor:pointer;background:transparent !important;border-left:1px solid rgb(207, 210, 212) !important;border-radius:0 4px 4px 0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(207, 207, 209)}.duet-date-button.sc-duet-date-picker::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(207, 210, 212, 0.2) 0%, rgba(207, 210, 212, 0.2) 1px, rgba(207, 210, 212, 0.1) 1px, rgba(207, 210, 212, 0) 100%)}.duet-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 245, 247) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-button.sc-duet-date-picker:focus{color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px rgb(0, 119, 179)}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px rgb(23, 28, 58)}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;background:rgba(0, 41, 77, 0.75);transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}.duet-date-dialog.duet-theme-turva.sc-duet-date-picker{background:rgba(23, 28, 58, 0.75)}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(228, 228, 230)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva.sc-duet-date-picker{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-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table-button.sc-duet-date-picker{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !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:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25 !important;color:rgb(0, 41, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(230, 242, 248) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(249, 230, 234) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 77, 128) !important;background:rgb(243, 249, 252) !important;box-shadow:0 0 0 1px rgb(0, 119, 179) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(148, 9, 37) !important;background:rgb(252, 243, 244) !important;box-shadow:0 0 0 1px rgb(198, 12, 48) !important}.duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px rgb(0, 119, 179) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:focus{z-index:200;box-shadow:0 0 5px rgb(0, 119, 179) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{box-shadow:0 0 5px rgb(198, 12, 48) !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(144, 149, 153) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(116, 116, 117) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(144, 149, 153) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(116, 116, 117);background:rgb(245, 245, 247);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 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:1.25rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);pointer-events:none;border-radius:4px}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{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-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px rgb(0, 119, 179)}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px rgb(23, 28, 58)}.duet-date-dialog-mobile-header.sc-duet-date-picker{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(207, 210, 212)}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(207, 207, 209)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(0, 41, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 245, 247) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 245, 247) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px rgb(0, 119, 179)}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px rgb(23, 28, 58)}';export{H as duet_date_picker}
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"3.0.47"};let n,l,s,o=!1,i=!1,c=!1,r=!1,a=!1;const f={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},u="s-id",$="sty-id",d="c-id",h="http://www.w3.org/1999/xlink",p={},m=e=>"object"==(e=typeof e)||"function"===e;function y(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,s=null,o=null,i=!1,c=!1;const r=[],a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!m(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(a(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,g);const f=w(e,null);return f.l=t,r.length>0&&(f.o=r),f.i=s,f.u=o,f},w=(e,t)=>({$:0,h:e,t,p:null,o:null,l:null,i:null,u:null}),v={},g={forEach:(e,t)=>e.map(k).forEach(t),map:(e,t)=>e.map(k).map(t).map(j)},k=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.h,vtext:e.t}),j=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},O=(e,t,n,l,s,o,i)=>{let c,r,a,f;if(1===o.nodeType){for(c=o.getAttribute(d),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(a={$:0,m:r[0],v:r[1],g:r[2],k:r[3],h:o.tagName.toLowerCase(),p:o,l:null,o:null,i:null,u:null,t:null},t.push(a),o.removeAttribute(d),e.o||(e.o=[]),e.o[a.k]=a,e=a,l&&"0"===a.g&&(l[a.k]=a.p))),f=o.childNodes.length-1;f>=0;f--)O(e,t,n,l,s,o.childNodes[f],i);if(o.shadowRoot)for(f=o.shadowRoot.childNodes.length-1;f>=0;f--)O(e,t,n,l,s,o.shadowRoot.childNodes[f],i)}else if(8===o.nodeType)r=o.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],a={$:0,m:r[1],v:r[2],g:r[3],k:r[4],p:o,l:null,o:null,i:null,u:null,h:null,t:null},"t"===c?(a.p=o.nextSibling,a.p&&3===a.p.nodeType&&(a.t=a.p.textContent,t.push(a),o.remove(),e.o||(e.o=[]),e.o[a.k]=a,l&&"0"===a.g&&(l[a.k]=a.p))):a.m===i&&("s"===c?(a.h="slot",o["s-sn"]=r[5]?a.u=r[5]:"",o["s-sr"]=!0,l&&(a.p=Me.createElement(a.h),a.u&&a.p.setAttribute("name",a.u),o.parentNode.insertBefore(a.p,o),o.remove(),"0"===a.g&&(l[a.k]=a.p)),n.push(a),e.o||(e.o=[]),e.o[a.k]=a):"r"===c&&(l?o.remove():(s["s-cr"]=o,o["s-cn"]=!0))));else if(e&&"style"===e.h){const t=w(null,o.textContent);t.p=o,t.k="0",e.o=[t]}},S=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)S(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)S(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},x=e=>ve(e).j,R=(e,t,n)=>{const l=x(e);return{emit:e=>C(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},C=(e,t,n)=>{const l=_e.ce(t,n);return e.dispatchEvent(l),l},M=new WeakMap,_=(e,t,n)=>{let l=Re.get(e);Ee&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Re.set(e,l)},I=(e,t)=>{var n;let l=N(t);const s=Re.get(l);if(e=11===e.nodeType?e:Me,s)if("string"==typeof s){let t,o=M.get(e=e.head||e);if(o||M.set(e,o=new Set),!o.has(l)){if(e.host&&(t=e.querySelector(`[${$}="${l}"]`)))t.innerHTML=s;else{t=Me.createElement("style"),t.innerHTML=s;const l=null!==(n=_e.O)&&void 0!==n?n:y(Me);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}o&&o.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l},N=e=>"sc-"+e.S,E=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),P=(e,t,n,l,s,o)=>{if(n!==l){let c=je(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,s=L(n),o=L(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(c||"o"!==t[0]||"n"!==t[1]){const a=m(l);if((c||a&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?c=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(i){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!c||4&o||s)&&!a&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):je(Ce,r)?r.slice(2):r[2]+t.slice(3),n&&_e.rel(e,t,n,!1),l&&_e.ael(e,t,l,!1)}},T=/\s/,L=e=>e?e.split(T):[],U=(e,t,n,l)=>{const s=11===t.p.nodeType&&t.p.host?t.p.host:t.p,o=e&&e.l||p,i=t.l||p;for(l in o)l in i||P(s,l,o[l],void 0,n,t.$);for(l in i)P(s,l,o[l],i[l],n,t.$)},D=(e,t,i,a)=>{const f=t.o[i];let u,$,d,h=0;if(o||(c=!0,"slot"===f.h&&(n&&a.classList.add(n+"-s"),f.$|=f.o?2:1)),null!==f.t)u=f.p=Me.createTextNode(f.t);else if(1&f.$)u=f.p=Me.createTextNode("");else{if(r||(r="svg"===f.h),u=f.p=Me.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&f.$?"slot-fb":f.h),r&&"foreignObject"===f.h&&(r=!1),U(null,f,r),null!=n&&u["s-si"]!==n&&u.classList.add(u["s-si"]=n),f.o)for(h=0;h<f.o.length;++h)$=D(e,f,h,u),$&&u.appendChild($);"svg"===f.h?r=!1:"foreignObject"===u.tagName&&(r=!0)}return u["s-hn"]=s,3&f.$&&(u["s-sr"]=!0,u["s-cr"]=l,u["s-sn"]=f.u||"",d=e&&e.o&&e.o[i],d&&d.h===f.h&&e.p&&F(e.p,!1)),u},F=(e,t)=>{_e.$|=1;const n=e.childNodes;for(let l=n.length-1;l>=0;l--){const e=n[l];e["s-hn"]!==s&&e["s-ol"]&&(V(e).insertBefore(e,H(e)),e["s-ol"].remove(),e["s-ol"]=void 0,c=!0),t&&F(e,t)}_e.$&=-2},W=(e,t,n,l,o,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===s&&(r=r.shadowRoot);o<=i;++o)l[o]&&(c=D(null,n,o,e),c&&(l[o].p=c,r.insertBefore(c,H(t))))},A=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.p,Q(l),i=!0,s["s-ol"]?s["s-ol"].remove():F(s,!0),s.remove())},B=(e,t)=>e.h===t.h&&("slot"===e.h?e.u===t.u:e.i===t.i),H=e=>e&&e["s-ol"]||e,V=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,q=(e,t)=>{const n=t.p=e.p,l=e.o,s=t.o,o=t.h,i=t.t;let c;null===i?(r="svg"===o||"foreignObject"!==o&&r,"slot"===o||U(e,t,r),null!==l&&null!==s?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,f=t.length-1,u=t[0],$=t[f],d=l.length-1,h=l[0],p=l[d];for(;i<=f&&c<=d;)if(null==u)u=t[++i];else if(null==$)$=t[--f];else if(null==h)h=l[++c];else if(null==p)p=l[--d];else if(B(u,h))q(u,h),u=t[++i],h=l[++c];else if(B($,p))q($,p),$=t[--f],p=l[--d];else if(B(u,p))"slot"!==u.h&&"slot"!==p.h||F(u.p.parentNode,!1),q(u,p),e.insertBefore(u.p,$.p.nextSibling),u=t[++i],p=l[--d];else if(B($,h))"slot"!==u.h&&"slot"!==p.h||F($.p.parentNode,!1),q($,h),e.insertBefore($.p,u.p),$=t[--f],h=l[++c];else{for(r=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].i&&t[a].i===h.i){r=a;break}r>=0?(o=t[r],o.h!==h.h?s=D(t&&t[c],n,r,e):(q(o,h),t[r]=void 0,s=o.p),h=l[++c]):(s=D(t&&t[c],n,c,e),h=l[++c]),s&&V(u.p).insertBefore(s,H(u.p))}i>f?W(e,null==l[d+1]?null:l[d+1].p,n,l,c,d):c>d&&A(t,i,f)})(n,l,t,s):null!==s?(null!==e.t&&(n.textContent=""),W(n,null,t,s,0,s.length-1)):null!==l&&A(l,0,l.length-1),r&&"svg"===o&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.t!==i&&(n.data=i)},z=e=>{const t=e.childNodes;let n,l,s,o,i,c;for(l=0,s=t.length;l<s;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(i=n["s-sn"],n.hidden=!1,o=0;o<s;o++)if(c=t[o].nodeType,t[o]["s-hn"]!==n["s-hn"]||""!==i){if(1===c&&i===t[o].getAttribute("slot")){n.hidden=!0;break}}else if(1===c||3===c&&""!==t[o].textContent.trim()){n.hidden=!0;break}z(n)}},G=[],J=e=>{let t,n,l,s,o,c,r=0;const a=e.childNodes,f=a.length;for(;r<f;r++){if(t=a[r],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],c=l.length-1;c>=0;c--)n=l[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(K(n,s)?(o=G.find((e=>e.R===n)),i=!0,n["s-sn"]=n["s-sn"]||s,o?o.C=t:G.push({C:t,R:n}),n["s-sr"]&&G.map((e=>{K(e.R,n["s-sn"])&&(o=G.find((e=>e.R===n)),o&&!e.C&&(e.C=o.C))}))):G.some((e=>e.R===n))||G.push({R:n}));1===t.nodeType&&J(t)}},K=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Q=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Q)},X=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},Y=(e,t)=>{if(e.$|=16,!(4&e.$))return X(e,e._),We((()=>Z(e,t)));e.$|=512},Z=(e,t)=>{const n=e.I;let l;return t&&(e.$|=256,e.N&&(e.N.map((([e,t])=>se(n,e,t))),e.N=null),l=se(n,"componentWillLoad")),l=oe(l,(()=>se(n,"componentWillRender"))),oe(l,(()=>ee(e,n,t)))},ee=async(e,t,n)=>{const l=e.j,s=l["s-rc"];n&&(e=>{const t=e.P,n=e.j,l=t.$,s=I(Ie&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&l&&n.classList.add(s+"-s"))})(e);te(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>ne(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},te=(e,t)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t)=>{const r=e.j,a=e.P,f=e.T||w(null,null),u=(e=>e&&e.h===v)(t)?t:b(null,null,t);if(s=r.tagName,a.L&&(u.l=u.l||{},a.L.map((([e,t])=>u.l[t]=r[e]))),u.h=null,u.$|=4,e.T=u,u.p=f.p=r.shadowRoot||r,n=r["s-sc"],l=r["s-cr"],o=Ie&&0!=(1&a.$),i=!1,q(f,u),_e.$|=1,c){let e,t,n,l,s,o;J(u.p);let i=0;for(;i<G.length;i++)e=G[i],t=e.R,t["s-ol"]||(n=Me.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<G.length;i++)if(e=G[i],t=e.R,e.C){for(l=e.C.parentNode,s=e.C.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&l===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&l!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}i&&z(u.p),_e.$&=-2,G.length=0})(e,t)}catch(r){Oe(r,e.j)}return null},ne=e=>{const t=e.j,n=e.I,l=e._;se(n,"componentDidRender"),64&e.$?se(n,"componentDidUpdate"):(e.$|=64,ie(t),se(n,"componentDidLoad"),e.U(t),l||le()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&Fe((()=>Y(e,!1))),e.$&=-517},le=()=>{ie(Me.documentElement),Fe((()=>C(Ce,"appload",{detail:{namespace:e}})))},se=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(l){Oe(l)}},oe=(e,t)=>e&&e.then?e.then(t):t(),ie=e=>e.classList.add("hydrated"),ce=(e,t,n)=>{if(t.F){e.watchers&&(t.W=e.watchers);const l=Object.entries(t.F),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ve(this).A.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ve(e),o=s.j,i=s.A.get(t),c=s.$,r=s.I;if(n=((e,t)=>null==e||m(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.A.set(t,n),r)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(l){Oe(l,o)}}))}2==(18&c)&&Y(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ve(this);return n.B.then((()=>n.I[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){_e.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.L.push([e,s]),s}))}}return e},re=e=>{se(e,"connectedCallback")},ae=e=>{if(0==(1&_e.$)){const t=ve(e),n=t.P,l=()=>{};if(1&t.$)he(e,t,n.H),re(t.I);else{let l;if(t.$|=1,l=e.getAttribute(u),l){if(Ie&&1&n.$){const t=I(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],i=s?[]:null,c=l.T=w(t,null);_e.V||S(Me.body,_e.V=new Map),e[u]=n,e.removeAttribute(u),O(c,o,[],i,e,e,n),o.map((e=>{const n=e.m+"."+e.v,l=_e.V.get(n),o=e.p;l&&Ie&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),_e.V.delete(n)})),s&&i.map((e=>{e&&s.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&fe(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){X(t,t._=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),Fe((()=>(async(e,t,n,l,s)=>{if(0==(32&t.$)){{if(t.$|=32,(s=xe(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.W=s.watchers,ce(s,n,2),s.isProxied=!0);const e=()=>{};t.$|=8;try{new s(t)}catch(c){Oe(c)}t.$&=-9,t.$|=128,e(),re(t.I)}if(s.style){let e=s.style;const t=N(n);if(!Re.has(t)){const l=()=>{};8&n.$&&(e=await __sc_import_duet("./p-6ee53ac3.js").then((n=>n.scopeCss(e,t,!1)))),_(t,e,!!(1&n.$)),l()}}}const o=t._,i=()=>Y(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)))}l()}},fe=e=>{const t=e["s-cr"]=Me.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},ue=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&_e.$)&&2&ve(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},$e=(e,t={})=>{var n;const l=[],s=t.exclude||[],o=Ce.customElements,i=Me.head,c=i.querySelector("meta[charset]"),r=Me.createElement("style"),a=[],f=Me.querySelectorAll(`[${$}]`);let u,d=!0,h=0;for(Object.assign(_e,t),_e.q=new URL(t.resourcesUrl||"./",Me.baseURI).href,_e.$|=2;h<f.length;h++)_(f[h].getAttribute($),E(f[h].innerHTML),!0);e.map((e=>{e[1].map((t=>{const n={$:t[0],S:t[1],F:t[2],H:t[3]};n.F=t[2],n.H=t[3],n.L=[],n.W={},!Ie&&1&n.$&&(n.$|=8);const i=n.S,c=class extends HTMLElement{constructor(e){super(e),ke(e=this,n),1&n.$&&(Ie?e.attachShadow({mode:"open",delegatesFocus:!!(16&n.$)}):"shadowRoot"in e||(e.shadowRoot=e)),ue(e,n)}connectedCallback(){u&&(clearTimeout(u),u=null),d?a.push(this):_e.jmp((()=>ae(this)))}disconnectedCallback(){_e.jmp((()=>(()=>{if(0==(1&_e.$)){const e=ve(this),t=e.I;e.G&&(e.G.map((e=>e())),e.G=void 0),se(t,"disconnectedCallback")}})()))}componentOnReady(){return ve(this).J}};n.K=e[0],s.includes(i)||o.get(i)||(l.push(i),o.define(i,ce(c,n,1)))}))}));{r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles","");const e=null!==(n=_e.O)&&void 0!==n?n:y(Me);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}d=!1,a.length?a.map((e=>e.connectedCallback())):_e.jmp((()=>u=setTimeout(le,30)))},de=(e,t)=>t,he=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=me(e,n),i=pe(t,s),c=ye(n);_e.ael(o,l,i,c),(t.G=t.G||[]).push((()=>_e.rel(o,l,i,c)))}))},pe=(e,t)=>n=>{try{256&e.$?e.I[t](n):(e.N=e.N||[]).push([t,n])}catch(l){Oe(l)}},me=(e,t)=>4&t?Me:8&t?Ce:16&t?Me.body:e,ye=e=>0!=(2&e),be=e=>_e.O=e,we=new WeakMap,ve=e=>we.get(e),ge=(e,t)=>we.set(t.I=e,t),ke=(e,t)=>{const n={$:0,j:e,P:t,A:new Map};return n.B=new Promise((e=>n.D=e)),n.J=new Promise((e=>n.U=e)),e["s-p"]=[],e["s-rc"]=[],he(e,n,t.H),we.set(e,n)},je=(e,t)=>t in e,Oe=(e,t)=>(0,console.error)(e,t),Se=new Map,xe=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Se.get(n);return l?l[t]:__sc_import_duet(`./${n}.entry.js`).then((e=>(Se.set(n,e),e[t])),Oe)
4
+ const e="duet",t={cdnURILocal:"http://0.0.0.0:3334",cdnURIProd:"https://cdn.duetds.com/api",duetIconVersion:"3.0.49"};let n,l,s,o=!1,i=!1,c=!1,r=!1,a=!1;const f={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},u="s-id",$="sty-id",d="c-id",h="http://www.w3.org/1999/xlink",p={},m=e=>"object"==(e=typeof e)||"function"===e;function y(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const b=(e,t,...n)=>{let l=null,s=null,o=null,i=!1,c=!1;const r=[],a=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!m(l))&&(l+=""),i&&c?r[r.length-1].t+=l:r.push(i?w(null,l):l),c=i)};if(a(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,g);const f=w(e,null);return f.l=t,r.length>0&&(f.o=r),f.i=s,f.u=o,f},w=(e,t)=>({$:0,h:e,t,p:null,o:null,l:null,i:null,u:null}),v={},g={forEach:(e,t)=>e.map(k).forEach(t),map:(e,t)=>e.map(k).map(t).map(j)},k=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.h,vtext:e.t}),j=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=w(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},O=(e,t,n,l,s,o,i)=>{let c,r,a,f;if(1===o.nodeType){for(c=o.getAttribute(d),c&&(r=c.split("."),r[0]!==i&&"0"!==r[0]||(a={$:0,m:r[0],v:r[1],g:r[2],k:r[3],h:o.tagName.toLowerCase(),p:o,l:null,o:null,i:null,u:null,t:null},t.push(a),o.removeAttribute(d),e.o||(e.o=[]),e.o[a.k]=a,e=a,l&&"0"===a.g&&(l[a.k]=a.p))),f=o.childNodes.length-1;f>=0;f--)O(e,t,n,l,s,o.childNodes[f],i);if(o.shadowRoot)for(f=o.shadowRoot.childNodes.length-1;f>=0;f--)O(e,t,n,l,s,o.shadowRoot.childNodes[f],i)}else if(8===o.nodeType)r=o.nodeValue.split("."),r[1]!==i&&"0"!==r[1]||(c=r[0],a={$:0,m:r[1],v:r[2],g:r[3],k:r[4],p:o,l:null,o:null,i:null,u:null,h:null,t:null},"t"===c?(a.p=o.nextSibling,a.p&&3===a.p.nodeType&&(a.t=a.p.textContent,t.push(a),o.remove(),e.o||(e.o=[]),e.o[a.k]=a,l&&"0"===a.g&&(l[a.k]=a.p))):a.m===i&&("s"===c?(a.h="slot",o["s-sn"]=r[5]?a.u=r[5]:"",o["s-sr"]=!0,l&&(a.p=Me.createElement(a.h),a.u&&a.p.setAttribute("name",a.u),o.parentNode.insertBefore(a.p,o),o.remove(),"0"===a.g&&(l[a.k]=a.p)),n.push(a),e.o||(e.o=[]),e.o[a.k]=a):"r"===c&&(l?o.remove():(s["s-cr"]=o,o["s-cn"]=!0))));else if(e&&"style"===e.h){const t=w(null,o.textContent);t.p=o,t.k="0",e.o=[t]}},S=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)S(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)S(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},x=e=>ve(e).j,R=(e,t,n)=>{const l=x(e);return{emit:e=>C(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},C=(e,t,n)=>{const l=_e.ce(t,n);return e.dispatchEvent(l),l},M=new WeakMap,_=(e,t,n)=>{let l=Re.get(e);Ee&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Re.set(e,l)},I=(e,t)=>{var n;let l=N(t);const s=Re.get(l);if(e=11===e.nodeType?e:Me,s)if("string"==typeof s){let t,o=M.get(e=e.head||e);if(o||M.set(e,o=new Set),!o.has(l)){if(e.host&&(t=e.querySelector(`[${$}="${l}"]`)))t.innerHTML=s;else{t=Me.createElement("style"),t.innerHTML=s;const l=null!==(n=_e.O)&&void 0!==n?n:y(Me);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}o&&o.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l},N=e=>"sc-"+e.S,E=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),P=(e,t,n,l,s,o)=>{if(n!==l){let c=je(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,s=L(n),o=L(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(c||"o"!==t[0]||"n"!==t[1]){const a=m(l);if((c||a&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?c=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(i){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!c||4&o||s)&&!a&&(l=!0===l?"":l,f?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):je(Ce,r)?r.slice(2):r[2]+t.slice(3),n&&_e.rel(e,t,n,!1),l&&_e.ael(e,t,l,!1)}},T=/\s/,L=e=>e?e.split(T):[],U=(e,t,n,l)=>{const s=11===t.p.nodeType&&t.p.host?t.p.host:t.p,o=e&&e.l||p,i=t.l||p;for(l in o)l in i||P(s,l,o[l],void 0,n,t.$);for(l in i)P(s,l,o[l],i[l],n,t.$)},D=(e,t,i,a)=>{const f=t.o[i];let u,$,d,h=0;if(o||(c=!0,"slot"===f.h&&(n&&a.classList.add(n+"-s"),f.$|=f.o?2:1)),null!==f.t)u=f.p=Me.createTextNode(f.t);else if(1&f.$)u=f.p=Me.createTextNode("");else{if(r||(r="svg"===f.h),u=f.p=Me.createElementNS(r?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&f.$?"slot-fb":f.h),r&&"foreignObject"===f.h&&(r=!1),U(null,f,r),null!=n&&u["s-si"]!==n&&u.classList.add(u["s-si"]=n),f.o)for(h=0;h<f.o.length;++h)$=D(e,f,h,u),$&&u.appendChild($);"svg"===f.h?r=!1:"foreignObject"===u.tagName&&(r=!0)}return u["s-hn"]=s,3&f.$&&(u["s-sr"]=!0,u["s-cr"]=l,u["s-sn"]=f.u||"",d=e&&e.o&&e.o[i],d&&d.h===f.h&&e.p&&F(e.p,!1)),u},F=(e,t)=>{_e.$|=1;const n=e.childNodes;for(let l=n.length-1;l>=0;l--){const e=n[l];e["s-hn"]!==s&&e["s-ol"]&&(V(e).insertBefore(e,H(e)),e["s-ol"].remove(),e["s-ol"]=void 0,c=!0),t&&F(e,t)}_e.$&=-2},W=(e,t,n,l,o,i)=>{let c,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===s&&(r=r.shadowRoot);o<=i;++o)l[o]&&(c=D(null,n,o,e),c&&(l[o].p=c,r.insertBefore(c,H(t))))},A=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.p,Q(l),i=!0,s["s-ol"]?s["s-ol"].remove():F(s,!0),s.remove())},B=(e,t)=>e.h===t.h&&("slot"===e.h?e.u===t.u:e.i===t.i),H=e=>e&&e["s-ol"]||e,V=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,q=(e,t)=>{const n=t.p=e.p,l=e.o,s=t.o,o=t.h,i=t.t;let c;null===i?(r="svg"===o||"foreignObject"!==o&&r,"slot"===o||U(e,t,r),null!==l&&null!==s?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,f=t.length-1,u=t[0],$=t[f],d=l.length-1,h=l[0],p=l[d];for(;i<=f&&c<=d;)if(null==u)u=t[++i];else if(null==$)$=t[--f];else if(null==h)h=l[++c];else if(null==p)p=l[--d];else if(B(u,h))q(u,h),u=t[++i],h=l[++c];else if(B($,p))q($,p),$=t[--f],p=l[--d];else if(B(u,p))"slot"!==u.h&&"slot"!==p.h||F(u.p.parentNode,!1),q(u,p),e.insertBefore(u.p,$.p.nextSibling),u=t[++i],p=l[--d];else if(B($,h))"slot"!==u.h&&"slot"!==p.h||F($.p.parentNode,!1),q($,h),e.insertBefore($.p,u.p),$=t[--f],h=l[++c];else{for(r=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].i&&t[a].i===h.i){r=a;break}r>=0?(o=t[r],o.h!==h.h?s=D(t&&t[c],n,r,e):(q(o,h),t[r]=void 0,s=o.p),h=l[++c]):(s=D(t&&t[c],n,c,e),h=l[++c]),s&&V(u.p).insertBefore(s,H(u.p))}i>f?W(e,null==l[d+1]?null:l[d+1].p,n,l,c,d):c>d&&A(t,i,f)})(n,l,t,s):null!==s?(null!==e.t&&(n.textContent=""),W(n,null,t,s,0,s.length-1)):null!==l&&A(l,0,l.length-1),r&&"svg"===o&&(r=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.t!==i&&(n.data=i)},z=e=>{const t=e.childNodes;let n,l,s,o,i,c;for(l=0,s=t.length;l<s;l++)if(n=t[l],1===n.nodeType){if(n["s-sr"])for(i=n["s-sn"],n.hidden=!1,o=0;o<s;o++)if(c=t[o].nodeType,t[o]["s-hn"]!==n["s-hn"]||""!==i){if(1===c&&i===t[o].getAttribute("slot")){n.hidden=!0;break}}else if(1===c||3===c&&""!==t[o].textContent.trim()){n.hidden=!0;break}z(n)}},G=[],J=e=>{let t,n,l,s,o,c,r=0;const a=e.childNodes,f=a.length;for(;r<f;r++){if(t=a[r],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],c=l.length-1;c>=0;c--)n=l[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(K(n,s)?(o=G.find((e=>e.R===n)),i=!0,n["s-sn"]=n["s-sn"]||s,o?o.C=t:G.push({C:t,R:n}),n["s-sr"]&&G.map((e=>{K(e.R,n["s-sn"])&&(o=G.find((e=>e.R===n)),o&&!e.C&&(e.C=o.C))}))):G.some((e=>e.R===n))||G.push({R:n}));1===t.nodeType&&J(t)}},K=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,Q=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(Q)},X=(e,t)=>{t&&!e.M&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.M=t)))},Y=(e,t)=>{if(e.$|=16,!(4&e.$))return X(e,e._),We((()=>Z(e,t)));e.$|=512},Z=(e,t)=>{const n=e.I;let l;return t&&(e.$|=256,e.N&&(e.N.map((([e,t])=>se(n,e,t))),e.N=null),l=se(n,"componentWillLoad")),l=oe(l,(()=>se(n,"componentWillRender"))),oe(l,(()=>ee(e,n,t)))},ee=async(e,t,n)=>{const l=e.j,s=l["s-rc"];n&&(e=>{const t=e.P,n=e.j,l=t.$,s=I(Ie&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&l&&n.classList.add(s+"-s"))})(e);te(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>ne(e);0===t.length?n():(Promise.all(t).then(n),e.$|=4,t.length=0)}},te=(e,t)=>{try{t=t.render(),e.$&=-17,e.$|=2,((e,t)=>{const r=e.j,a=e.P,f=e.T||w(null,null),u=(e=>e&&e.h===v)(t)?t:b(null,null,t);if(s=r.tagName,a.L&&(u.l=u.l||{},a.L.map((([e,t])=>u.l[t]=r[e]))),u.h=null,u.$|=4,e.T=u,u.p=f.p=r.shadowRoot||r,n=r["s-sc"],l=r["s-cr"],o=Ie&&0!=(1&a.$),i=!1,q(f,u),_e.$|=1,c){let e,t,n,l,s,o;J(u.p);let i=0;for(;i<G.length;i++)e=G[i],t=e.R,t["s-ol"]||(n=Me.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<G.length;i++)if(e=G[i],t=e.R,e.C){for(l=e.C.parentNode,s=e.C.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&l===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&l!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}i&&z(u.p),_e.$&=-2,G.length=0})(e,t)}catch(r){Oe(r,e.j)}return null},ne=e=>{const t=e.j,n=e.I,l=e._;se(n,"componentDidRender"),64&e.$?se(n,"componentDidUpdate"):(e.$|=64,ie(t),se(n,"componentDidLoad"),e.U(t),l||le()),e.D(t),e.M&&(e.M(),e.M=void 0),512&e.$&&Fe((()=>Y(e,!1))),e.$&=-517},le=()=>{ie(Me.documentElement),Fe((()=>C(Ce,"appload",{detail:{namespace:e}})))},se=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(l){Oe(l)}},oe=(e,t)=>e&&e.then?e.then(t):t(),ie=e=>e.classList.add("hydrated"),ce=(e,t,n)=>{if(t.F){e.watchers&&(t.W=e.watchers);const l=Object.entries(t.F),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ve(this).A.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ve(e),o=s.j,i=s.A.get(t),c=s.$,r=s.I;if(n=((e,t)=>null==e||m(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.F[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.A.set(t,n),r)){if(l.W&&128&c){const e=l.W[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(l){Oe(l,o)}}))}2==(18&c)&&Y(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ve(this);return n.B.then((()=>n.I[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){_e.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.L.push([e,s]),s}))}}return e},re=e=>{se(e,"connectedCallback")},ae=e=>{if(0==(1&_e.$)){const t=ve(e),n=t.P,l=()=>{};if(1&t.$)he(e,t,n.H),re(t.I);else{let l;if(t.$|=1,l=e.getAttribute(u),l){if(Ie&&1&n.$){const t=I(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],i=s?[]:null,c=l.T=w(t,null);_e.V||S(Me.body,_e.V=new Map),e[u]=n,e.removeAttribute(u),O(c,o,[],i,e,e,n),o.map((e=>{const n=e.m+"."+e.v,l=_e.V.get(n),o=e.p;l&&Ie&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),_e.V.delete(n)})),s&&i.map((e=>{e&&s.appendChild(e)}))})(e,n.S,l,t)}l||12&n.$&&fe(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){X(t,t._=n);break}}n.F&&Object.entries(n.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),Fe((()=>(async(e,t,n,l,s)=>{if(0==(32&t.$)){{if(t.$|=32,(s=xe(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.W=s.watchers,ce(s,n,2),s.isProxied=!0);const e=()=>{};t.$|=8;try{new s(t)}catch(c){Oe(c)}t.$&=-9,t.$|=128,e(),re(t.I)}if(s.style){let e=s.style;const t=N(n);if(!Re.has(t)){const l=()=>{};8&n.$&&(e=await __sc_import_duet("./p-6ee53ac3.js").then((n=>n.scopeCss(e,t,!1)))),_(t,e,!!(1&n.$)),l()}}}const o=t._,i=()=>Y(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)))}l()}},fe=e=>{const t=e["s-cr"]=Me.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},ue=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.$){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&_e.$)&&2&ve(this).$){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},$e=(e,t={})=>{var n;const l=[],s=t.exclude||[],o=Ce.customElements,i=Me.head,c=i.querySelector("meta[charset]"),r=Me.createElement("style"),a=[],f=Me.querySelectorAll(`[${$}]`);let u,d=!0,h=0;for(Object.assign(_e,t),_e.q=new URL(t.resourcesUrl||"./",Me.baseURI).href,_e.$|=2;h<f.length;h++)_(f[h].getAttribute($),E(f[h].innerHTML),!0);e.map((e=>{e[1].map((t=>{const n={$:t[0],S:t[1],F:t[2],H:t[3]};n.F=t[2],n.H=t[3],n.L=[],n.W={},!Ie&&1&n.$&&(n.$|=8);const i=n.S,c=class extends HTMLElement{constructor(e){super(e),ke(e=this,n),1&n.$&&(Ie?e.attachShadow({mode:"open",delegatesFocus:!!(16&n.$)}):"shadowRoot"in e||(e.shadowRoot=e)),ue(e,n)}connectedCallback(){u&&(clearTimeout(u),u=null),d?a.push(this):_e.jmp((()=>ae(this)))}disconnectedCallback(){_e.jmp((()=>(()=>{if(0==(1&_e.$)){const e=ve(this),t=e.I;e.G&&(e.G.map((e=>e())),e.G=void 0),se(t,"disconnectedCallback")}})()))}componentOnReady(){return ve(this).J}};n.K=e[0],s.includes(i)||o.get(i)||(l.push(i),o.define(i,ce(c,n,1)))}))}));{r.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles","");const e=null!==(n=_e.O)&&void 0!==n?n:y(Me);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}d=!1,a.length?a.map((e=>e.connectedCallback())):_e.jmp((()=>u=setTimeout(le,30)))},de=(e,t)=>t,he=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=me(e,n),i=pe(t,s),c=ye(n);_e.ael(o,l,i,c),(t.G=t.G||[]).push((()=>_e.rel(o,l,i,c)))}))},pe=(e,t)=>n=>{try{256&e.$?e.I[t](n):(e.N=e.N||[]).push([t,n])}catch(l){Oe(l)}},me=(e,t)=>4&t?Me:8&t?Ce:16&t?Me.body:e,ye=e=>0!=(2&e),be=e=>_e.O=e,we=new WeakMap,ve=e=>we.get(e),ge=(e,t)=>we.set(t.I=e,t),ke=(e,t)=>{const n={$:0,j:e,P:t,A:new Map};return n.B=new Promise((e=>n.D=e)),n.J=new Promise((e=>n.U=e)),e["s-p"]=[],e["s-rc"]=[],he(e,n,t.H),we.set(e,n)},je=(e,t)=>t in e,Oe=(e,t)=>(0,console.error)(e,t),Se=new Map,xe=e=>{const t=e.S.replace(/-/g,"_"),n=e.K,l=Se.get(n);return l?l[t]:__sc_import_duet(`./${n}.entry.js`).then((e=>(Se.set(n,e),e[t])),Oe)
5
5
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Re=new Map,Ce="undefined"!=typeof window?window:{},Me=Ce.document||{head:{}},_e={$:0,q:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},Ie=(()=>(Me.head.attachShadow+"").indexOf("[native")>-1)(),Ne=e=>Promise.resolve(e),Ee=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Pe=[],Te=[],Le=(e,t)=>n=>{e.push(n),a||(a=!0,t&&4&_e.$?Fe(De):_e.raf(De))},Ue=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){Oe(t)}e.length=0},De=()=>{Ue(Pe),Ue(Te),(a=Pe.length>0)&&_e.raf(De)},Fe=e=>Ne().then(e),We=Le(Te,!0);export{f as B,t as E,de as F,v as H,e as N,_e as a,$e as b,R as c,Me as d,x as g,b as h,Ne as p,ge as r,be as s,Ce as w}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-7dc36831.system.js","./p-33b3aba4.system.js"],(function(e){"use strict";var r,t,o,a;return{setters:[function(e){r=e.r;t=e.h;o=e.H},function(e){a=e.i}],execute:function(){var n="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:rgb(0, 41, 77);text-decoration:none}.duet-breadcrumb:hover{color:rgb(0, 77, 128)}.duet-breadcrumb.duet-theme-turva{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-theme-turva:hover{color:rgb(148, 9, 37)}.duet-breadcrumb:focus{outline:0}.duet-breadcrumb:active{opacity:0.75}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:hover{color:rgb(0, 41, 77)}.duet-breadcrumb.duet-breadcrumb-without-href.duet-theme-turva:hover{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:active{opacity:1}";var u=e("duet_breadcrumb",function(){function e(e){r(this,e);this.theme="";this.href="";this.icon="";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.render=function(){return t(o,null,t("a",{class:{"duet-breadcrumb":true,"duet-theme-turva":this.theme==="turva","duet-breadcrumb-without-href":!this.href},href:this.href?this.href:undefined,"aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{size:"x-small",name:this.icon,margin:"none",color:"currentColor"}),!this.icon&&t("slot",null)))};return e}());u.style=n}}}));
4
+ System.register(["./p-473e553e.system.js","./p-33b3aba4.system.js"],(function(e){"use strict";var r,t,o,a;return{setters:[function(e){r=e.r;t=e.h;o=e.H},function(e){a=e.i}],execute:function(){var n="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:rgb(0, 41, 77);text-decoration:none}.duet-breadcrumb:hover{color:rgb(0, 77, 128)}.duet-breadcrumb.duet-theme-turva{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-theme-turva:hover{color:rgb(148, 9, 37)}.duet-breadcrumb:focus{outline:0}.duet-breadcrumb:active{opacity:0.75}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:hover{color:rgb(0, 41, 77)}.duet-breadcrumb.duet-breadcrumb-without-href.duet-theme-turva:hover{color:rgb(23, 28, 58)}.duet-breadcrumb.duet-breadcrumb-without-href:active{opacity:1}";var u=e("duet_breadcrumb",function(){function e(e){r(this,e);this.theme="";this.href="";this.icon="";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.render=function(){return t(o,null,t("a",{class:{"duet-breadcrumb":true,"duet-theme-turva":this.theme==="turva","duet-breadcrumb-without-href":!this.href},href:this.href?this.href:undefined,"aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{size:"x-small",name:this.icon,margin:"none",color:"currentColor"}),!this.icon&&t("slot",null)))};return e}());u.style=n}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,i,o){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function a(t){try{s(o.next(t))}catch(e){r(e)}}function d(t){try{s(o["throw"](t))}catch(e){r(e)}}function s(t){t.done?i(t.value):n(t.value).then(a,d)}s((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,n,r,a;return a={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function d(t){return function(e){return s([t,e])}}function s(d){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,d[0]&&(i=0)),i)try{if(o=1,n&&(r=d[0]&2?n["return"]:d[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,d[1])).done)return r;if(n=0,r)d=[d[0]&2,r.value];switch(d[0]){case 0:case 1:r=d;break;case 4:i.label++;return{value:d[1],done:false};case 5:i.label++;n=d[1];d=[0];continue;case 7:d=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(d[0]===6||d[0]===2)){i=0;continue}if(d[0]===3&&(!r||d[1]>r[0]&&d[1]<r[3])){i.label=d[1];break}if(d[0]===6&&i.label<r[1]){i.label=r[1];r=d;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(d);break}if(r[2])i.ops.pop();i.trys.pop();continue}d=e.call(t,i)}catch(s){d=[6,s];n=0}finally{o=r=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-7dc36831.system.js","./p-33b3aba4.system.js","./p-eb55ccd2.system.js"],(function(t){"use strict";var e,i,o,n,r,a;return{setters:[function(t){e=t.r;i=t.h;o=t.g;n=t.H},function(t){r=t.i},function(t){a=t.w}],execute:function(){var d="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-list-component{margin-bottom:16px !important;width:100%}.duet-list-component.duet-p-0{padding:0 !important}.duet-list-component.duet-m-0{margin:0 !important}";var s=t("duet_list",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.padding="auto";this.mobile="left";this.breakpoint="small";this.variation="default";this.labelWidth="30"}t.prototype.componentWillLoad=function(){r(this)};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=this.element;this.mutationO=a(t,"duet-list-item",(function(){e.updateListItems()}));this.updateListItems();return[2]}))}))};t.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};t.prototype.toggleClass=function(t,e,i){if(i){t.classList.add(e)}else{t.classList.remove(e)}};t.prototype.updateListItems=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=Array.from(this.element.querySelectorAll("duet-list-item"));t.forEach((function(t){t.classList.add("duet-list-width-".concat(e.labelWidth));t.classList.add("duet-list-variation-".concat(e.variation));e.toggleClass(t,"duet-p-0",e.padding==="none");e.toggleClass(t,"duet-list-mobile-center",e.mobile==="center");e.toggleClass(t,"duet-list-breakpoint-large",e.breakpoint==="large");e.toggleClass(t,"duet-list-striped",e.variation==="striped");e.toggleClass(t,"duet-list-bordered",e.variation==="bordered");e.toggleClass(t,"duet-list-inner-bordered",e.variation==="inner-bordered");e.toggleClass(t,"duet-theme-turva",e.theme==="turva")}));return[2]}))}))};t.prototype.render=function(){return i("dl",{class:{"duet-list-component":true,"duet-m-0":this.margin==="none"}},i("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{theme:["updateListItems"],padding:["updateListItems"],mobile:["updateListItems"],breakpoint:["updateListItems"],variation:["updateListItems"],labelWidth:["updateListItems"]}},enumerable:false,configurable:true});return t}());s.style=d;var l='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-flow:row;width:100%;overflow:visible;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){:host{flex-wrap:wrap}}:host dt,:host dd{margin-inline-start:0;-webkit-hyphens:auto;hyphens:auto;text-align:left;word-break:break-all;word-break:break-word}@media (max-width: 35.9375em){:host dt,:host dd{flex:inherit;flex-basis:100% !important;width:100%;padding-bottom:4px !important}}:host dt{padding:16px !important;font-weight:600}@media (max-width: 35.9375em){:host dt{padding-bottom:4px !important}}.duet-theme-turva :host dt{font-weight:700}:host dd{padding:16px !important;margin-left:auto;text-align:left}@media (max-width: 35.9375em){:host dd{padding-top:0 !important}}:host(:not(.duet-list-striped)) dt{padding:8px !important;padding-left:0 !important}@media (max-width: 35.9375em){:host(:not(.duet-list-striped)) dt{padding-bottom:4px !important}}:host(:not(.duet-list-striped)) dd{padding:8px !important;padding-left:0 !important}@media (max-width: 35.9375em){:host(:not(.duet-list-striped)) dd{padding-top:0 !important}}: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-list-striped:nth-child(odd)) dt,:host(.duet-list-striped:nth-child(odd)) dd{background:rgb(245, 248, 250)}:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dt,:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dd{background:rgb(245, 245, 247)}:host(.duet-list-bordered){border-block-start:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered:last-child){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered.duet-theme-turva){border-block-start:1px solid rgb(228, 228, 230)}:host(.duet-list-bordered.duet-theme-turva:last-child){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-list-inner-bordered:not(:last-child)){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child)){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-width-70) dd{flex-basis:35%}:host(.duet-p-0) dt,:host(.duet-p-0) dd{padding-top:0 !important;padding-bottom:4px !important}@media (max-width: 35.9375em){:host(.duet-list-mobile-center) dt,:host(.duet-list-mobile-center) dd{text-align:center}}@media (max-width: 61.9375em){:host(.duet-list-breakpoint-large){flex-wrap:wrap}:host(.duet-list-breakpoint-large) dt,:host(.duet-list-breakpoint-large) dd{flex:inherit;flex-basis:100% !important;width:100%;padding-bottom:4px !important}:host(.duet-list-breakpoint-large) dd{padding-top:0 !important}}:host(.duet-list-breakpoint-large.duet-list-striped) dd{padding-bottom:16px !important}@media (max-width: 61.9375em){:host(.duet-list-breakpoint-large.duet-list-mobile-center) dt,:host(.duet-list-breakpoint-large.duet-list-mobile-center) dd{text-align:center !important}}';var u=t("duet_list_item",function(){function t(t){e(this,t)}t.prototype.render=function(){return i(n,null,i("dt",null,i("slot",{name:"label"})),i("dd",null,i("slot",{name:"value"})))};return t}());u.style=l}}}));
4
+ */System.register(["./p-473e553e.system.js","./p-33b3aba4.system.js","./p-eb55ccd2.system.js"],(function(t){"use strict";var e,i,o,n,r,a;return{setters:[function(t){e=t.r;i=t.h;o=t.g;n=t.H},function(t){r=t.i},function(t){a=t.w}],execute:function(){var d="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-list-component{margin-bottom:16px !important;width:100%}.duet-list-component.duet-p-0{padding:0 !important}.duet-list-component.duet-m-0{margin:0 !important}";var s=t("duet_list",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.padding="auto";this.mobile="left";this.breakpoint="small";this.variation="default";this.labelWidth="30"}t.prototype.componentWillLoad=function(){r(this)};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=this.element;this.mutationO=a(t,"duet-list-item",(function(){e.updateListItems()}));this.updateListItems();return[2]}))}))};t.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};t.prototype.toggleClass=function(t,e,i){if(i){t.classList.add(e)}else{t.classList.remove(e)}};t.prototype.updateListItems=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=Array.from(this.element.querySelectorAll("duet-list-item"));t.forEach((function(t){t.classList.add("duet-list-width-".concat(e.labelWidth));t.classList.add("duet-list-variation-".concat(e.variation));e.toggleClass(t,"duet-p-0",e.padding==="none");e.toggleClass(t,"duet-list-mobile-center",e.mobile==="center");e.toggleClass(t,"duet-list-breakpoint-large",e.breakpoint==="large");e.toggleClass(t,"duet-list-striped",e.variation==="striped");e.toggleClass(t,"duet-list-bordered",e.variation==="bordered");e.toggleClass(t,"duet-list-inner-bordered",e.variation==="inner-bordered");e.toggleClass(t,"duet-theme-turva",e.theme==="turva")}));return[2]}))}))};t.prototype.render=function(){return i("dl",{class:{"duet-list-component":true,"duet-m-0":this.margin==="none"}},i("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{theme:["updateListItems"],padding:["updateListItems"],mobile:["updateListItems"],breakpoint:["updateListItems"],variation:["updateListItems"],labelWidth:["updateListItems"]}},enumerable:false,configurable:true});return t}());s.style=d;var l='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-flow:row;width:100%;overflow:visible;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){:host{flex-wrap:wrap}}:host dt,:host dd{margin-inline-start:0;-webkit-hyphens:auto;hyphens:auto;text-align:left;word-break:break-all;word-break:break-word}@media (max-width: 35.9375em){:host dt,:host dd{flex:inherit;flex-basis:100% !important;width:100%;padding-bottom:4px !important}}:host dt{padding:16px !important;font-weight:600}@media (max-width: 35.9375em){:host dt{padding-bottom:4px !important}}.duet-theme-turva :host dt{font-weight:700}:host dd{padding:16px !important;margin-left:auto;text-align:left}@media (max-width: 35.9375em){:host dd{padding-top:0 !important}}:host(:not(.duet-list-striped)) dt{padding:8px !important;padding-left:0 !important}@media (max-width: 35.9375em){:host(:not(.duet-list-striped)) dt{padding-bottom:4px !important}}:host(:not(.duet-list-striped)) dd{padding:8px !important;padding-left:0 !important}@media (max-width: 35.9375em){:host(:not(.duet-list-striped)) dd{padding-top:0 !important}}: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-list-striped:nth-child(odd)) dt,:host(.duet-list-striped:nth-child(odd)) dd{background:rgb(245, 248, 250)}:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dt,:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dd{background:rgb(245, 245, 247)}:host(.duet-list-bordered){border-block-start:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered:last-child){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered.duet-theme-turva){border-block-start:1px solid rgb(228, 228, 230)}:host(.duet-list-bordered.duet-theme-turva:last-child){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-list-inner-bordered:not(:last-child)){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child)){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-width-70) dd{flex-basis:35%}:host(.duet-p-0) dt,:host(.duet-p-0) dd{padding-top:0 !important;padding-bottom:4px !important}@media (max-width: 35.9375em){:host(.duet-list-mobile-center) dt,:host(.duet-list-mobile-center) dd{text-align:center}}@media (max-width: 61.9375em){:host(.duet-list-breakpoint-large){flex-wrap:wrap}:host(.duet-list-breakpoint-large) dt,:host(.duet-list-breakpoint-large) dd{flex:inherit;flex-basis:100% !important;width:100%;padding-bottom:4px !important}:host(.duet-list-breakpoint-large) dd{padding-top:0 !important}}:host(.duet-list-breakpoint-large.duet-list-striped) dd{padding-bottom:16px !important}@media (max-width: 61.9375em){:host(.duet-list-breakpoint-large.duet-list-mobile-center) dt,:host(.duet-list-breakpoint-large.duet-list-mobile-center) dd{text-align:center !important}}';var u=t("duet_list_item",function(){function t(t){e(this,t)}t.prototype.render=function(){return i(n,null,i("dt",null,i("slot",{name:"label"})),i("dd",null,i("slot",{name:"value"})))};return t}());u.style=l}}}));